Skip to content

UnifiedClient

UnifiedClient: object

Defined in: packages/core/src/client.ts:34

Companion object for the UnifiedClient type. Provides factory utility.

readonly create(options?): UnifiedClient

Creates the main SDK client that manages plugins and routes requests.

UnifiedClientOptions

client configuration with optional plugins

UnifiedClient

a new UnifiedClient instance

none

returns a fully functional UnifiedClient

Not idempotent — each call creates a new client

readonly is(value): value is UnifiedClient

Type guard for UnifiedClient.

unknown

the value to check

value is UnifiedClient

true if value implements UnifiedClient interface

returns true if value has all required UnifiedClient methods

const client = UnifiedClient.create({ plugins: [twitchPlugin] });