Reference
Function: createLiveClient()
Function: createLiveClient() in @ticketlayer/live.
@ticketlayer/live / index / createLiveClient
function createLiveClient(options: CreateLiveClientOptions): Promise<TicketlayerLive>;Defined in: createLiveClient.ts:88
@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>