@seatlayer/js 0.67.2 → 0.67.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.d.cts CHANGED
@@ -538,6 +538,8 @@ interface PubApiOptions {
538
538
  access?: BuyerAccessContext;
539
539
  /** A 409 named specific inventory the buyer can no longer have. */
540
540
  onObjectUnavailable?: (event: SelectedObjectUnavailableEvent) => void;
541
+ /** Public-sale campaign label copied into hold/order attribution. */
542
+ referral?: string;
541
543
  }
542
544
 
543
545
  /**
@@ -1731,6 +1733,13 @@ interface SeatPickerOptions {
1731
1733
  * with `{ surface: 'buyer' }` merged into the props. A throwing sink never
1732
1734
  * breaks the widget. Route it to your product analytics (e.g. PostHog). */
1733
1735
  onAnalytics?: (event: string, props: Record<string, unknown>) => void;
1736
+ /**
1737
+ * Optional organiser-defined campaign/referral label (max 120 characters).
1738
+ * On the public SeatLayer transport it is frozen onto the hold, then copied
1739
+ * to the Managed order, organiser reporting and booking webhook. It grants no
1740
+ * inventory access and is ignored by host-supplied transports.
1741
+ */
1742
+ referral?: string;
1734
1743
  /**
1735
1744
  * Hide the "Powered by SeatLayer" attribution badge in the side panel foot.
1736
1745
  * The chart theme's own `hideBadge` flag (paid orgs) also hides it — the badge
package/dist/index.d.ts CHANGED
@@ -538,6 +538,8 @@ interface PubApiOptions {
538
538
  access?: BuyerAccessContext;
539
539
  /** A 409 named specific inventory the buyer can no longer have. */
540
540
  onObjectUnavailable?: (event: SelectedObjectUnavailableEvent) => void;
541
+ /** Public-sale campaign label copied into hold/order attribution. */
542
+ referral?: string;
541
543
  }
542
544
 
543
545
  /**
@@ -1731,6 +1733,13 @@ interface SeatPickerOptions {
1731
1733
  * with `{ surface: 'buyer' }` merged into the props. A throwing sink never
1732
1734
  * breaks the widget. Route it to your product analytics (e.g. PostHog). */
1733
1735
  onAnalytics?: (event: string, props: Record<string, unknown>) => void;
1736
+ /**
1737
+ * Optional organiser-defined campaign/referral label (max 120 characters).
1738
+ * On the public SeatLayer transport it is frozen onto the hold, then copied
1739
+ * to the Managed order, organiser reporting and booking webhook. It grants no
1740
+ * inventory access and is ignored by host-supplied transports.
1741
+ */
1742
+ referral?: string;
1734
1743
  /**
1735
1744
  * Hide the "Powered by SeatLayer" attribution badge in the side panel foot.
1736
1745
  * The chart theme's own `hideBadge` flag (paid orgs) also hides it — the badge