Interface TierOptions

Options for the Tier constructor. Same as TierGetClientOptions, but baseURL is required.

Hierarchy

Properties

apiKey?: string
baseURL: string
debug?: boolean
fetchImpl?: ((input: URL | RequestInfo, init?: RequestInit) => Promise<Response>)

Type declaration

    • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
    • Parameters

      • input: URL | RequestInfo
      • Optional init: RequestInit

      Returns Promise<Response>

onError?: ((er: TierError) => any)

Type declaration

signal?: AbortSignal
userAgent?: string | false

Generated using TypeDoc