@seatlayer/core 0.109.0 → 0.109.2

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
@@ -2408,6 +2408,20 @@ interface AccessibleSectionStep extends AccessibleSectionSummary {
2408
2408
  total: number;
2409
2409
  }
2410
2410
 
2411
+ /**
2412
+ * Small pure helpers the PickerController leans on. Kept out of the controller
2413
+ * so its file stays under the size ratchet and these stay unit-testable.
2414
+ */
2415
+
2416
+ /**
2417
+ * A replace refused because the hold it named is gone (released, expired or
2418
+ * unknown). The API says `reason: 'hold_not_active'`; an older API answers a
2419
+ * bare `conflict` that names no seat. The id is dead either way: every retry
2420
+ * that names it gets the same 409, which is how a buyer got stuck on
2421
+ * 2026-10-26. Only a fresh hold helps.
2422
+ */
2423
+ declare function isDeadHoldRefusal(err: unknown, replaced: boolean): boolean;
2424
+
2411
2425
  /**
2412
2426
  * The access needs THIS chart actually offers, with live free counts.
2413
2427
  *
@@ -3455,4 +3469,4 @@ declare function formatMinor(minor: number, currency?: string, locale?: string):
3455
3469
  /** Bare symbol for input adornments ("€", "$", "₹"). */
3456
3470
  declare function currencySymbol(currency?: string): string;
3457
3471
 
3458
- export { AccessibilityType, type AccessibleSectionStep, type AccessibleSectionSummary, type AccessibleSpread, type AvailabilityRefreshInput, type AvailabilityRefreshOutcome, BoothType, CURRENCY_CHOICES, Category, CategoryTier, ChartDoc, DEFAULT_CURRENCY, type Dict, type Direction, EMPTY_AVAILABILITY_REFRESH, EventConfigurationRef, EventConfigurationVersion, ExpandedSeat, FloorLabelStyle, GAAreaState, HOLD_CLOCK_SKEW_MS, type HoldConflict, type HoldInfo, type HoldRecoveryShape, type HoldSelectionRequest, type HoldServerItem, ISeatmapRenderer, LABEL_FADE_MS, LEGIBILITY_HYSTERESIS_PX, LOCALE_NAMES, LabelLayers, type Locale, LodRung, type MoneyFormatOptions, type PanoramaResult, type PickerAccessNeed, type PickerCallbacks, PickerController, type PickerGAArea, type PickerMapTheme, type PickerOptions, type PickerRealtimeConnection, type PickerRealtimeSink, type PickerRenderPerformanceProfile, type PickerSalesNotice, type PickerSalesState, type PickerSeat, PickerSelectionError, type PickerSelectionValidator, type PickerSelectionValidity, type PickerSelectionViolation, type PickerStatusChange, type PickerTransport, Point, RendererCallbacks, RendererMinimapSnapshot, RendererOptions, RendererQualityEvidence, RendererViewMode, SUPPORTED_LOCALES, SeatCommercialAttributes, type SeatHoverDetails, SeatMark, type SeatNoteInput, type SeatNoteRow, type SeatNoteTone, type SeatPrice, type SeatPriceMap, SeatRingHook, SeatStatus, SeatmapRenderer, type SectionCategory, type SectionSummary, TRANSLATED_LOCALES, type TableSelectionDetails, accessNeedsFor, accessibilityLabelKey, applyOrganizerSeatGlyph, asPickerSalesState, attachVisibilityCatchUp, clearOrganizerSeatGlyph, compactRowLabel, createRenderer, crossesThreshold, currencyExponent, currencySymbol, formatDate, formatMinor, formatMoney, fromMinorUnits, generateSeatPanorama, generateSeatThumb, getLocale, holdHasLapsed, holdRecoveryShape, hysteresisScale, isLocaleLoaded, isOrganizerGlyphPainted, loadLocale, localeDirection, numberLocale, onLocaleChange, ownPriceRings, reconcileAvailability, refreshChangedSomething, renderedPx, resolveCurrency, resolveLocale, seatBasePrice, seatNoteRowModel, seatPriceEntry, seatPriceFor, seatPriceRange, setLocale, setMoneyLocale, setStringOverrides, shouldWaitForHoldExpiry, t, tCount, zoomTowardPoint };
3472
+ export { AccessibilityType, type AccessibleSectionStep, type AccessibleSectionSummary, type AccessibleSpread, type AvailabilityRefreshInput, type AvailabilityRefreshOutcome, BoothType, CURRENCY_CHOICES, Category, CategoryTier, ChartDoc, DEFAULT_CURRENCY, type Dict, type Direction, EMPTY_AVAILABILITY_REFRESH, EventConfigurationRef, EventConfigurationVersion, ExpandedSeat, FloorLabelStyle, GAAreaState, HOLD_CLOCK_SKEW_MS, type HoldConflict, type HoldInfo, type HoldRecoveryShape, type HoldSelectionRequest, type HoldServerItem, ISeatmapRenderer, LABEL_FADE_MS, LEGIBILITY_HYSTERESIS_PX, LOCALE_NAMES, LabelLayers, type Locale, LodRung, type MoneyFormatOptions, type PanoramaResult, type PickerAccessNeed, type PickerCallbacks, PickerController, type PickerGAArea, type PickerMapTheme, type PickerOptions, type PickerRealtimeConnection, type PickerRealtimeSink, type PickerRenderPerformanceProfile, type PickerSalesNotice, type PickerSalesState, type PickerSeat, PickerSelectionError, type PickerSelectionValidator, type PickerSelectionValidity, type PickerSelectionViolation, type PickerStatusChange, type PickerTransport, Point, RendererCallbacks, RendererMinimapSnapshot, RendererOptions, RendererQualityEvidence, RendererViewMode, SUPPORTED_LOCALES, SeatCommercialAttributes, type SeatHoverDetails, SeatMark, type SeatNoteInput, type SeatNoteRow, type SeatNoteTone, type SeatPrice, type SeatPriceMap, SeatRingHook, SeatStatus, SeatmapRenderer, type SectionCategory, type SectionSummary, TRANSLATED_LOCALES, type TableSelectionDetails, accessNeedsFor, accessibilityLabelKey, applyOrganizerSeatGlyph, asPickerSalesState, attachVisibilityCatchUp, clearOrganizerSeatGlyph, compactRowLabel, createRenderer, crossesThreshold, currencyExponent, currencySymbol, formatDate, formatMinor, formatMoney, fromMinorUnits, generateSeatPanorama, generateSeatThumb, getLocale, holdHasLapsed, holdRecoveryShape, hysteresisScale, isDeadHoldRefusal, isLocaleLoaded, isOrganizerGlyphPainted, loadLocale, localeDirection, numberLocale, onLocaleChange, ownPriceRings, reconcileAvailability, refreshChangedSomething, renderedPx, resolveCurrency, resolveLocale, seatBasePrice, seatNoteRowModel, seatPriceEntry, seatPriceFor, seatPriceRange, setLocale, setMoneyLocale, setStringOverrides, shouldWaitForHoldExpiry, t, tCount, zoomTowardPoint };
package/dist/index.d.ts CHANGED
@@ -2408,6 +2408,20 @@ interface AccessibleSectionStep extends AccessibleSectionSummary {
2408
2408
  total: number;
2409
2409
  }
2410
2410
 
2411
+ /**
2412
+ * Small pure helpers the PickerController leans on. Kept out of the controller
2413
+ * so its file stays under the size ratchet and these stay unit-testable.
2414
+ */
2415
+
2416
+ /**
2417
+ * A replace refused because the hold it named is gone (released, expired or
2418
+ * unknown). The API says `reason: 'hold_not_active'`; an older API answers a
2419
+ * bare `conflict` that names no seat. The id is dead either way: every retry
2420
+ * that names it gets the same 409, which is how a buyer got stuck on
2421
+ * 2026-10-26. Only a fresh hold helps.
2422
+ */
2423
+ declare function isDeadHoldRefusal(err: unknown, replaced: boolean): boolean;
2424
+
2411
2425
  /**
2412
2426
  * The access needs THIS chart actually offers, with live free counts.
2413
2427
  *
@@ -3455,4 +3469,4 @@ declare function formatMinor(minor: number, currency?: string, locale?: string):
3455
3469
  /** Bare symbol for input adornments ("€", "$", "₹"). */
3456
3470
  declare function currencySymbol(currency?: string): string;
3457
3471
 
3458
- export { AccessibilityType, type AccessibleSectionStep, type AccessibleSectionSummary, type AccessibleSpread, type AvailabilityRefreshInput, type AvailabilityRefreshOutcome, BoothType, CURRENCY_CHOICES, Category, CategoryTier, ChartDoc, DEFAULT_CURRENCY, type Dict, type Direction, EMPTY_AVAILABILITY_REFRESH, EventConfigurationRef, EventConfigurationVersion, ExpandedSeat, FloorLabelStyle, GAAreaState, HOLD_CLOCK_SKEW_MS, type HoldConflict, type HoldInfo, type HoldRecoveryShape, type HoldSelectionRequest, type HoldServerItem, ISeatmapRenderer, LABEL_FADE_MS, LEGIBILITY_HYSTERESIS_PX, LOCALE_NAMES, LabelLayers, type Locale, LodRung, type MoneyFormatOptions, type PanoramaResult, type PickerAccessNeed, type PickerCallbacks, PickerController, type PickerGAArea, type PickerMapTheme, type PickerOptions, type PickerRealtimeConnection, type PickerRealtimeSink, type PickerRenderPerformanceProfile, type PickerSalesNotice, type PickerSalesState, type PickerSeat, PickerSelectionError, type PickerSelectionValidator, type PickerSelectionValidity, type PickerSelectionViolation, type PickerStatusChange, type PickerTransport, Point, RendererCallbacks, RendererMinimapSnapshot, RendererOptions, RendererQualityEvidence, RendererViewMode, SUPPORTED_LOCALES, SeatCommercialAttributes, type SeatHoverDetails, SeatMark, type SeatNoteInput, type SeatNoteRow, type SeatNoteTone, type SeatPrice, type SeatPriceMap, SeatRingHook, SeatStatus, SeatmapRenderer, type SectionCategory, type SectionSummary, TRANSLATED_LOCALES, type TableSelectionDetails, accessNeedsFor, accessibilityLabelKey, applyOrganizerSeatGlyph, asPickerSalesState, attachVisibilityCatchUp, clearOrganizerSeatGlyph, compactRowLabel, createRenderer, crossesThreshold, currencyExponent, currencySymbol, formatDate, formatMinor, formatMoney, fromMinorUnits, generateSeatPanorama, generateSeatThumb, getLocale, holdHasLapsed, holdRecoveryShape, hysteresisScale, isLocaleLoaded, isOrganizerGlyphPainted, loadLocale, localeDirection, numberLocale, onLocaleChange, ownPriceRings, reconcileAvailability, refreshChangedSomething, renderedPx, resolveCurrency, resolveLocale, seatBasePrice, seatNoteRowModel, seatPriceEntry, seatPriceFor, seatPriceRange, setLocale, setMoneyLocale, setStringOverrides, shouldWaitForHoldExpiry, t, tCount, zoomTowardPoint };
3472
+ export { AccessibilityType, type AccessibleSectionStep, type AccessibleSectionSummary, type AccessibleSpread, type AvailabilityRefreshInput, type AvailabilityRefreshOutcome, BoothType, CURRENCY_CHOICES, Category, CategoryTier, ChartDoc, DEFAULT_CURRENCY, type Dict, type Direction, EMPTY_AVAILABILITY_REFRESH, EventConfigurationRef, EventConfigurationVersion, ExpandedSeat, FloorLabelStyle, GAAreaState, HOLD_CLOCK_SKEW_MS, type HoldConflict, type HoldInfo, type HoldRecoveryShape, type HoldSelectionRequest, type HoldServerItem, ISeatmapRenderer, LABEL_FADE_MS, LEGIBILITY_HYSTERESIS_PX, LOCALE_NAMES, LabelLayers, type Locale, LodRung, type MoneyFormatOptions, type PanoramaResult, type PickerAccessNeed, type PickerCallbacks, PickerController, type PickerGAArea, type PickerMapTheme, type PickerOptions, type PickerRealtimeConnection, type PickerRealtimeSink, type PickerRenderPerformanceProfile, type PickerSalesNotice, type PickerSalesState, type PickerSeat, PickerSelectionError, type PickerSelectionValidator, type PickerSelectionValidity, type PickerSelectionViolation, type PickerStatusChange, type PickerTransport, Point, RendererCallbacks, RendererMinimapSnapshot, RendererOptions, RendererQualityEvidence, RendererViewMode, SUPPORTED_LOCALES, SeatCommercialAttributes, type SeatHoverDetails, SeatMark, type SeatNoteInput, type SeatNoteRow, type SeatNoteTone, type SeatPrice, type SeatPriceMap, SeatRingHook, SeatStatus, SeatmapRenderer, type SectionCategory, type SectionSummary, TRANSLATED_LOCALES, type TableSelectionDetails, accessNeedsFor, accessibilityLabelKey, applyOrganizerSeatGlyph, asPickerSalesState, attachVisibilityCatchUp, clearOrganizerSeatGlyph, compactRowLabel, createRenderer, crossesThreshold, currencyExponent, currencySymbol, formatDate, formatMinor, formatMoney, fromMinorUnits, generateSeatPanorama, generateSeatThumb, getLocale, holdHasLapsed, holdRecoveryShape, hysteresisScale, isDeadHoldRefusal, isLocaleLoaded, isOrganizerGlyphPainted, loadLocale, localeDirection, numberLocale, onLocaleChange, ownPriceRings, reconcileAvailability, refreshChangedSomething, renderedPx, resolveCurrency, resolveLocale, seatBasePrice, seatNoteRowModel, seatPriceEntry, seatPriceFor, seatPriceRange, setLocale, setMoneyLocale, setStringOverrides, shouldWaitForHoldExpiry, t, tCount, zoomTowardPoint };