@seatlayer/js 0.87.0 → 0.88.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
@@ -1192,6 +1192,16 @@ interface SeatPickerOptions {
1192
1192
  * owns hold persistence and supplies initialHoldId itself.
1193
1193
  */
1194
1194
  restoreHold?: boolean;
1195
+ /**
1196
+ * What happens to an active hold when the picker is closed or destroyed
1197
+ * before checkout. `'release'` (default) frees the seats on the server at
1198
+ * once. `'keep'` leaves the hold running for its remaining time and, with
1199
+ * `restoreHold`, resumes it the next time this event's picker mounts, so a
1200
+ * buyer who closes the map by accident finds their seats still held. The
1201
+ * buyer can still give seats back with the remove control on each ticket,
1202
+ * and the hold expires on its own timer.
1203
+ */
1204
+ holdOnClose?: 'release' | 'keep';
1195
1205
  /**
1196
1206
  * Render the real chart and live seat statuses without allowing selection,
1197
1207
  * holds or checkout. This is for venue previews and pre-sale Website pages;
package/dist/index.d.ts CHANGED
@@ -1192,6 +1192,16 @@ interface SeatPickerOptions {
1192
1192
  * owns hold persistence and supplies initialHoldId itself.
1193
1193
  */
1194
1194
  restoreHold?: boolean;
1195
+ /**
1196
+ * What happens to an active hold when the picker is closed or destroyed
1197
+ * before checkout. `'release'` (default) frees the seats on the server at
1198
+ * once. `'keep'` leaves the hold running for its remaining time and, with
1199
+ * `restoreHold`, resumes it the next time this event's picker mounts, so a
1200
+ * buyer who closes the map by accident finds their seats still held. The
1201
+ * buyer can still give seats back with the remove control on each ticket,
1202
+ * and the hold expires on its own timer.
1203
+ */
1204
+ holdOnClose?: 'release' | 'keep';
1195
1205
  /**
1196
1206
  * Render the real chart and live seat statuses without allowing selection,
1197
1207
  * holds or checkout. This is for venue previews and pre-sale Website pages;