createLiveClient
@ticketlayer/live / index / createLiveClient
Function: createLiveClient()
function createLiveClient(options: CreateLiveClientOptions): Promise<TicketlayerLive>;
Defined in: createLiveClient.ts:496
@ticketlayer/live - the buyer-facing client for the Ticketlayer Live surface.
The client surface (sales operations + session/queue) is GENERATED from the backstage sales-surface projection + the live-api spec (see client.ts). The only hand-written part is createLiveClient (browser/native ergonomics).
Runs in the browser and React Native (publishable key + X-Live-Session header
- pluggable token storage). Web builds may additionally bundle @ticketlayer/elements; native apps use the headless client + webview checkout.
Parameters
| Parameter | Type |
|---|---|
options | CreateLiveClientOptions |
Returns
Promise<TicketlayerLive>