A minimal client to use when calling standalone SDK functions. Typically, an instance of this class would be instantiated once at the start of an application and passed around through some dependency injection mechanism to parts of an application that need to make SDK calls.

Hierarchy (View Summary)

Constructors

Properties

_baseURL: null | URL
_hooks: SDKHooks
_httpClient: HTTPClient
_logger?: Logger
_options: SDKOptions & { hooks?: SDKHooks }

Methods