@nexartis/homeport-sdk - v1.0.0
    Preparing search index...

    Class HomeportClient

    @nexartis/homeport-sdk/core

    Main entry point for the Homeport SDK core module. Re-exports all public types, classes, and utility functions.

    Index

    Constructors

    Properties

    baseUrl: string

    Accessors

    Methods

    • Deep health check — returns full health status including individual subsystem checks. Unlike health(), this provides a summary healthy boolean and per-check details.

      Returns Promise<HomeportHealthStatus & { degradedChecks: string[]; healthy: boolean }>

    • Invalidate cache entries matching the given pattern.

      Parameters

      • Optionalpattern: string | RegExp

      Returns void

    • Convenience: is NNN healthy? Never throws. Uses deepHealth() so the result is consistent — a service with degraded subsystems is not considered healthy.

      Returns Promise<boolean>

    • Update trace context for subsequent requests.

      Parameters

      • ctx: { traceparent?: string; tracestate?: string }

      Returns void