Skip to content

CreateClientOptions

Defined in: fragments.ts:610

optional apiBase?: string

Defined in: fragments.ts:617


optional fetchImpl?: (input, init?) => Promise<Response>

Defined in: fragments.ts:620

MDN Reference

URL | RequestInfo

RequestInit

Promise<Response>


optional mintToken?: MintTokenSource

Defined in: fragments.ts:619

Signed mint token (or a function returning one), sent on the mint POST.


optional organizationId?: string

Defined in: fragments.ts:616


optional publishableKey?: string

Defined in: fragments.ts:615

st_pk_… from the dashboard: a signed credential the server requires on every stream and content request (see publishableKey.ts). Explicit organizationId/apiBase win over its payload; the key is still sent, including on the fragment mint POST (see FetchFragmentsOptions).