@seatlayer/core 0.47.1 → 0.48.0

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.d.cts CHANGED
@@ -1443,6 +1443,12 @@ interface PickerTransport {
1443
1443
  inventoryModelVersion?: 1 | 2;
1444
1444
  };
1445
1445
  }>;
1446
+ /**
1447
+ * Optional event-scoped binary media transport. Required to render
1448
+ * SeatLayer-authored view-from-seat assets on private/Platform buyer
1449
+ * surfaces; the picker converts the returned bytes to a revocable blob URL.
1450
+ */
1451
+ asset?(key: string, asset: string): Promise<Blob>;
1446
1452
  /** `default` is the status of every seat NOT in `seats`; absent means `free`
1447
1453
  * (an older server names every seat). Never assume it. */
1448
1454
  objects(key: string): Promise<{
@@ -1451,6 +1457,9 @@ interface PickerTransport {
1451
1457
  hidden?: string[];
1452
1458
  closed?: string[];
1453
1459
  }>;
1460
+ /** Optional server-resolved ticket offers/prices. `live` bypasses shared cache
1461
+ * after a realtime seat frame so quota and fallback prices move together. */
1462
+ availability?(key: string, live?: boolean): Promise<unknown>;
1454
1463
  hold(key: string, selections: HoldSelectionRequest[], ttlMs?: number, replaceHoldId?: string): Promise<HoldResponse>;
1455
1464
  bestAvailable(key: string, qty: number, categoryKey?: string, zoneId?: string, ttlMs?: number): Promise<BestAvailableResponse>;
1456
1465
  release(key: string, labels: string[], holdId: string): Promise<unknown>;
@@ -2051,7 +2060,8 @@ declare function generateSeatThumb(seat: ExpandedSeat, focalPoint: Point, _neigh
2051
2060
  * (This used to cite a "150 KB product contract". That number was never true of
2052
2061
  * any shipped bundle — the dashboard advertised it while the artifact measured
2053
2062
  * 215 KB — so it is stated as the measured figure now, not as a budget nobody
2054
- * was holding. See docs/hosted-checkout-programme-2026-08-03.md §W4.)
2063
+ * was holding. The measured artifact, not an old marketing estimate, is the
2064
+ * bundle-size authority.)
2055
2065
  *
2056
2066
  * Scope: the buyer surface (picker, public event
2057
2067
  * page, SDK) ships fully translated in en/es/de/fr; dashboard pages route
@@ -2084,7 +2094,8 @@ declare function formatDate(value: number | Date, opts?: Intl.DateTimeFormatOpti
2084
2094
  * bundle — they are ~2.5 KB gzipped of the complete CDN artifact — and
2085
2095
  * code-splits each locale so a page/SDK only downloads the language it actually
2086
2096
  * uses. (The "150 KB product contract" this used to cite was never true of a
2087
- * shipped bundle; see docs/hosted-checkout-programme-2026-08-03.md §W4.)
2097
+ * shipped bundle; the measured artifact, not an old marketing estimate, is
2098
+ * the bundle-size authority.)
2088
2099
  *
2089
2100
  * `loadLocale('de')` dynamic-imports the German dictionary, registers it via
2090
2101
  * setLocale(), and resolves once it's active. English is built in, so
package/dist/index.d.ts CHANGED
@@ -1443,6 +1443,12 @@ interface PickerTransport {
1443
1443
  inventoryModelVersion?: 1 | 2;
1444
1444
  };
1445
1445
  }>;
1446
+ /**
1447
+ * Optional event-scoped binary media transport. Required to render
1448
+ * SeatLayer-authored view-from-seat assets on private/Platform buyer
1449
+ * surfaces; the picker converts the returned bytes to a revocable blob URL.
1450
+ */
1451
+ asset?(key: string, asset: string): Promise<Blob>;
1446
1452
  /** `default` is the status of every seat NOT in `seats`; absent means `free`
1447
1453
  * (an older server names every seat). Never assume it. */
1448
1454
  objects(key: string): Promise<{
@@ -1451,6 +1457,9 @@ interface PickerTransport {
1451
1457
  hidden?: string[];
1452
1458
  closed?: string[];
1453
1459
  }>;
1460
+ /** Optional server-resolved ticket offers/prices. `live` bypasses shared cache
1461
+ * after a realtime seat frame so quota and fallback prices move together. */
1462
+ availability?(key: string, live?: boolean): Promise<unknown>;
1454
1463
  hold(key: string, selections: HoldSelectionRequest[], ttlMs?: number, replaceHoldId?: string): Promise<HoldResponse>;
1455
1464
  bestAvailable(key: string, qty: number, categoryKey?: string, zoneId?: string, ttlMs?: number): Promise<BestAvailableResponse>;
1456
1465
  release(key: string, labels: string[], holdId: string): Promise<unknown>;
@@ -2051,7 +2060,8 @@ declare function generateSeatThumb(seat: ExpandedSeat, focalPoint: Point, _neigh
2051
2060
  * (This used to cite a "150 KB product contract". That number was never true of
2052
2061
  * any shipped bundle — the dashboard advertised it while the artifact measured
2053
2062
  * 215 KB — so it is stated as the measured figure now, not as a budget nobody
2054
- * was holding. See docs/hosted-checkout-programme-2026-08-03.md §W4.)
2063
+ * was holding. The measured artifact, not an old marketing estimate, is the
2064
+ * bundle-size authority.)
2055
2065
  *
2056
2066
  * Scope: the buyer surface (picker, public event
2057
2067
  * page, SDK) ships fully translated in en/es/de/fr; dashboard pages route
@@ -2084,7 +2094,8 @@ declare function formatDate(value: number | Date, opts?: Intl.DateTimeFormatOpti
2084
2094
  * bundle — they are ~2.5 KB gzipped of the complete CDN artifact — and
2085
2095
  * code-splits each locale so a page/SDK only downloads the language it actually
2086
2096
  * uses. (The "150 KB product contract" this used to cite was never true of a
2087
- * shipped bundle; see docs/hosted-checkout-programme-2026-08-03.md §W4.)
2097
+ * shipped bundle; the measured artifact, not an old marketing estimate, is
2098
+ * the bundle-size authority.)
2088
2099
  *
2089
2100
  * `loadLocale('de')` dynamic-imports the German dictionary, registers it via
2090
2101
  * setLocale(), and resolves once it's active. English is built in, so