CreateClientOptions
Defined in: fragments.ts:610
Properties
Section titled “Properties”apiBase?
Section titled “apiBase?”
optionalapiBase?:string
Defined in: fragments.ts:617
fetchImpl?
Section titled “fetchImpl?”
optionalfetchImpl?: (input,init?) =>Promise<Response>
Defined in: fragments.ts:620
Parameters
Section titled “Parameters”URL | RequestInfo
RequestInit
Returns
Section titled “Returns”Promise<Response>
mintToken?
Section titled “mintToken?”
optionalmintToken?:MintTokenSource
Defined in: fragments.ts:619
Signed mint token (or a function returning one), sent on the mint POST.
organizationId?
Section titled “organizationId?”
optionalorganizationId?:string
Defined in: fragments.ts:616
publishableKey?
Section titled “publishableKey?”
optionalpublishableKey?: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).