@nexartis/nexartis-nanda-node-sdk - v1.2.1
    Preparing search index...

    Class NnnClient

    @nexartis/nexartis-nanda-node-sdk/core

    Main entry point for the NNN 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<NnnHealthStatus & { 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