@seatlayer/js 0.86.2 → 0.86.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +32 -19
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +31 -18
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -3302,7 +3302,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3302
3302
|
private realtime;
|
|
3303
3303
|
private accessEl;
|
|
3304
3304
|
/** @internal */ readonly apiBase: string;
|
|
3305
|
-
/** @internal */
|
|
3305
|
+
/** @internal */ controller: PickerController;
|
|
3306
3306
|
/** @internal */ maxTickets: number;
|
|
3307
3307
|
/** Exact ticket count required before checkout; null keeps ordinary 1..max behavior. */
|
|
3308
3308
|
/** @internal */ readonly exactTickets: number | null;
|
|
@@ -3329,6 +3329,8 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3329
3329
|
private ro;
|
|
3330
3330
|
private viewportResizeHandler;
|
|
3331
3331
|
/** @internal */ holdTimer: ReturnType<typeof setInterval> | null;
|
|
3332
|
+
private loadAbort;
|
|
3333
|
+
private readonly transportAbort;
|
|
3332
3334
|
private toastTimer;
|
|
3333
3335
|
/** The availability read every other caller joins. See refreshOfferAvailability. */
|
|
3334
3336
|
private offerReadInFlight;
|
|
@@ -3420,6 +3422,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3420
3422
|
/** The progressive reveal has finished for the chart currently mounted, and
|
|
3421
3423
|
* the closure that says so once the render facts exist to say it with. */
|
|
3422
3424
|
private seatsRevealed;
|
|
3425
|
+
private seatsReadyResolve;
|
|
3423
3426
|
private seatsRevealedReport;
|
|
3424
3427
|
/** The seat the confirm card is about — the same facade as `confirmEl`. */
|
|
3425
3428
|
/** @internal */ get confirmSeat(): ExpandedSeat | null;
|
|
@@ -3621,6 +3624,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3621
3624
|
/** Controller callbacks are wired once, before the first async chart load. */
|
|
3622
3625
|
private wireController;
|
|
3623
3626
|
render(): Promise<this>;
|
|
3627
|
+
private loadAndFinishChart;
|
|
3624
3628
|
/** @internal Both hand off to pickerWebMcpBridge, which owns the mapping. */
|
|
3625
3629
|
registerAgentTools(): Promise<void>;
|
|
3626
3630
|
/** @internal */ webMcpHost(holds: boolean): WebMcpHost;
|
|
@@ -3717,6 +3721,8 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3717
3721
|
private observeLayout;
|
|
3718
3722
|
/** Render the shared controller into the already-mounted canvas host. */
|
|
3719
3723
|
private loadChart;
|
|
3724
|
+
/** Keep returning buyers behind the veil until their hold is authoritative. */
|
|
3725
|
+
private restoreHoldForFirstPaint;
|
|
3720
3726
|
/** Resume a redirect checkout from this tab's storage, never from the URL. */
|
|
3721
3727
|
private resumeHostedOrder;
|
|
3722
3728
|
/**
|
|
@@ -3879,7 +3885,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3879
3885
|
/** @internal */ rememberedHoldId(): string | null;
|
|
3880
3886
|
/** @internal */ rememberHold(hold: HoldResult): void;
|
|
3881
3887
|
/** @internal */ forgetHold(): void;
|
|
3882
|
-
/** @internal */ resumeHoldFromServer(holdId: string): Promise<HoldResult | null>;
|
|
3888
|
+
/** @internal */ resumeHoldFromServer(holdId: string, failOnUnavailable?: boolean): Promise<HoldResult | null>;
|
|
3883
3889
|
private restoreRememberedHold;
|
|
3884
3890
|
/** Section-bearing objects on the active floor (single-floor → doc.objects). */
|
|
3885
3891
|
private activeFloorObjects;
|
package/dist/index.d.ts
CHANGED
|
@@ -3302,7 +3302,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3302
3302
|
private realtime;
|
|
3303
3303
|
private accessEl;
|
|
3304
3304
|
/** @internal */ readonly apiBase: string;
|
|
3305
|
-
/** @internal */
|
|
3305
|
+
/** @internal */ controller: PickerController;
|
|
3306
3306
|
/** @internal */ maxTickets: number;
|
|
3307
3307
|
/** Exact ticket count required before checkout; null keeps ordinary 1..max behavior. */
|
|
3308
3308
|
/** @internal */ readonly exactTickets: number | null;
|
|
@@ -3329,6 +3329,8 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3329
3329
|
private ro;
|
|
3330
3330
|
private viewportResizeHandler;
|
|
3331
3331
|
/** @internal */ holdTimer: ReturnType<typeof setInterval> | null;
|
|
3332
|
+
private loadAbort;
|
|
3333
|
+
private readonly transportAbort;
|
|
3332
3334
|
private toastTimer;
|
|
3333
3335
|
/** The availability read every other caller joins. See refreshOfferAvailability. */
|
|
3334
3336
|
private offerReadInFlight;
|
|
@@ -3420,6 +3422,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3420
3422
|
/** The progressive reveal has finished for the chart currently mounted, and
|
|
3421
3423
|
* the closure that says so once the render facts exist to say it with. */
|
|
3422
3424
|
private seatsRevealed;
|
|
3425
|
+
private seatsReadyResolve;
|
|
3423
3426
|
private seatsRevealedReport;
|
|
3424
3427
|
/** The seat the confirm card is about — the same facade as `confirmEl`. */
|
|
3425
3428
|
/** @internal */ get confirmSeat(): ExpandedSeat | null;
|
|
@@ -3621,6 +3624,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3621
3624
|
/** Controller callbacks are wired once, before the first async chart load. */
|
|
3622
3625
|
private wireController;
|
|
3623
3626
|
render(): Promise<this>;
|
|
3627
|
+
private loadAndFinishChart;
|
|
3624
3628
|
/** @internal Both hand off to pickerWebMcpBridge, which owns the mapping. */
|
|
3625
3629
|
registerAgentTools(): Promise<void>;
|
|
3626
3630
|
/** @internal */ webMcpHost(holds: boolean): WebMcpHost;
|
|
@@ -3717,6 +3721,8 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3717
3721
|
private observeLayout;
|
|
3718
3722
|
/** Render the shared controller into the already-mounted canvas host. */
|
|
3719
3723
|
private loadChart;
|
|
3724
|
+
/** Keep returning buyers behind the veil until their hold is authoritative. */
|
|
3725
|
+
private restoreHoldForFirstPaint;
|
|
3720
3726
|
/** Resume a redirect checkout from this tab's storage, never from the URL. */
|
|
3721
3727
|
private resumeHostedOrder;
|
|
3722
3728
|
/**
|
|
@@ -3879,7 +3885,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3879
3885
|
/** @internal */ rememberedHoldId(): string | null;
|
|
3880
3886
|
/** @internal */ rememberHold(hold: HoldResult): void;
|
|
3881
3887
|
/** @internal */ forgetHold(): void;
|
|
3882
|
-
/** @internal */ resumeHoldFromServer(holdId: string): Promise<HoldResult | null>;
|
|
3888
|
+
/** @internal */ resumeHoldFromServer(holdId: string, failOnUnavailable?: boolean): Promise<HoldResult | null>;
|
|
3883
3889
|
private restoreRememberedHold;
|
|
3884
3890
|
/** Section-bearing objects on the active floor (single-floor → doc.objects). */
|
|
3885
3891
|
private activeFloorObjects;
|