@urun-sh/core 0.6.17 → 0.6.18

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.
@@ -1,5 +1,5 @@
1
- import { ad as SessionDirectoryRequestOptions, ai as SessionNameSource, h as AppOptions, g as App$1, aj as SessionPhase, ap as SessionStatus, al as SessionPhaseName, A as AccessTokenOptions, a2 as RuntimeArtifact, a3 as RuntimeArtifactDownload, W as Recording, aG as TransportState, ab as Session$1, C as ChannelEndpoint, aD as TransportSession, d as ActivitySignalMode, i as AttachOptions, ac as SessionDiagnostic, b as ActivationEvent, ao as SessionStatsSample, B as GenerationTick, _ as RecordingsAccessor, a4 as RuntimeArtifactsAccessor, ag as SessionEndResult, aq as SessionStream$1, ay as StreamDataTransport, af as SessionDocumentImpl, ax as StreamChunkOptions, n as ChunkReadable, Q as Presence, w as DocConnector, y as DocTokenSupplier, x as DocServerUrlResolver, a0 as RequestOptions, a1 as RequestStreamOptions, aw as StoreOptions, av as Store, l as ChannelMultiplexer, ah as SessionFailureKind, J as MediaSession, P as PathHealthReporting, aC as TransportOfferResponse, aL as WtAudioLaneSeam, aM as WtAudioUplinkSeam, aT as WtVideoUplinkSeam, aS as WtDataUplinkSender, O as PathLiveness, aQ as WtDataLaneSink } from './stream-data-Ds1Nj4Xb.mjs';
2
- export { c as ActivationState, j as AudioPlayoutOptions, D as DERIVED_LEG_SEP, o as DGRAM_HEADER_BYTES, s as DerivedLegRole, t as DgramHeader, v as DocConnectionState, G as GENERATION_TICK_EMIT_INTERVAL_MS, z as GENERATION_TICK_MAX_EXTRAPOLATION_MS, I as InboundStatsSample, M as MediaChunkBinding, E as MediaChunkSource, F as MediaChunkSourceFactory, H as MediaRecorderChunkSourceOptions, N as NegotiatorDataLaneSeam, K as NegotiatorOptions, R as PresenceState, S as PrewakeOptions, T as PrewakeResult, U as PrewakeStatus, V as QuicStreamDataTransport, X as RecordingBucket, Y as RecordingLifecycle, Z as RecordingStatus, $ as ReleaseSessionBeaconOptions, a5 as RuntimeAvailability, a6 as RuntimeWakeDetail, a7 as RuntimeWakeGolden, a8 as RuntimeWakeReasonCode, a9 as SIGNALING_PROTOCOL_VERSION, aa as STREAM_END, ae as SessionDocument, ak as SessionPhaseError, an as SessionStatsOptions, ar as SessionText, as as SignalCarrier, at as Signaling, au as StartSessionOptions, az as TransportEstablishedNotify, aA as TransportNegotiator, aB as TransportOfferRequest, aF as TransportSessionSignaling, aH as VideoPlayoutOptions, aI as WT_CONTROL_FRAME_MAX, aJ as WT_DATA_STREAM_VERSION, aK as WatchGenerationTickOptions, aN as WtControlDecoder, aO as WtControlMessage, aP as WtDataEnvelope, aR as WtDataStreamParser, aV as consumeWtDataStreams, aY as decodeStreamEnvelope, a_ as derivedLegName, a$ as derivedLegRole, b0 as encodeStreamEnvelope, b1 as encodeWtControlFrame, b2 as isPendingRecording, b3 as mediaRecorderChunkSource, b4 as parseDgramHeader, b5 as prewake, b6 as releaseSessionBeacon, b9 as watchGenerationTick, ba as writeDgramHeader } from './stream-data-Ds1Nj4Xb.mjs';
1
+ import { ag as SessionDirectoryRequestOptions, al as SessionNameSource, h as AppOptions, g as App$1, am as SessionPhase, as as SessionStatus, ao as SessionPhaseName, A as AccessTokenOptions, a5 as RuntimeArtifact, a6 as RuntimeArtifactDownload, Z as Recording, aJ as TransportState, ae as Session$1, C as ChannelEndpoint, aG as TransportSession, d as ActivitySignalMode, i as AttachOptions, af as SessionDiagnostic, b as ActivationEvent, ar as SessionStatsSample, H as GenerationTick, a1 as RecordingsAccessor, a7 as RuntimeArtifactsAccessor, aj as SessionEndResult, at as SessionStream$1, aB as StreamDataTransport, ai as SessionDocumentImpl, aA as StreamChunkOptions, p as ChunkReadable, T as Presence, y as DocConnector, E as DocTokenSupplier, z as DocServerUrlResolver, a3 as RequestOptions, a4 as RequestStreamOptions, az as StoreOptions, ay as Store, n as ChannelMultiplexer, ak as SessionFailureKind, O as MediaSession, R as PathHealthReporting, aF as TransportOfferResponse, aO as WtAudioLaneSeam, aP as WtAudioUplinkSeam, aW as WtVideoUplinkSeam, aV as WtDataUplinkSender, S as PathLiveness, aT as WtDataLaneSink } from './backoff-DxQ5__tj.mjs';
2
+ export { c as ActivationState, j as AudioPlayoutOptions, B as BACKOFF_BASE_MS, k as BACKOFF_MAX_ATTEMPTS, l as BACKOFF_MAX_MS, D as DERIVED_LEG_SEP, q as DGRAM_HEADER_BYTES, u as DerivedLegRole, v as DgramHeader, x as DocConnectionState, G as GENERATION_TICK_EMIT_INTERVAL_MS, F as GENERATION_TICK_MAX_EXTRAPOLATION_MS, I as InboundStatsSample, M as MediaChunkBinding, J as MediaChunkSource, K as MediaChunkSourceFactory, N as MediaRecorderChunkSourceOptions, P as NegotiatorDataLaneSeam, Q as NegotiatorOptions, U as PresenceState, V as PrewakeOptions, W as PrewakeResult, X as PrewakeStatus, Y as QuicStreamDataTransport, _ as RecordingBucket, $ as RecordingLifecycle, a0 as RecordingStatus, a2 as ReleaseSessionBeaconOptions, a8 as RuntimeAvailability, a9 as RuntimeWakeDetail, aa as RuntimeWakeGolden, ab as RuntimeWakeReasonCode, ac as SIGNALING_PROTOCOL_VERSION, ad as STREAM_END, ah as SessionDocument, an as SessionPhaseError, aq as SessionStatsOptions, au as SessionText, av as SignalCarrier, aw as Signaling, ax as StartSessionOptions, aC as TransportEstablishedNotify, aD as TransportNegotiator, aE as TransportOfferRequest, aI as TransportSessionSignaling, aK as VideoPlayoutOptions, aL as WT_CONTROL_FRAME_MAX, aM as WT_DATA_STREAM_VERSION, aN as WatchGenerationTickOptions, aQ as WtControlDecoder, aR as WtControlMessage, aS as WtDataEnvelope, aU as WtDataStreamParser, aY as computeBackoffDelay, aZ as consumeWtDataStreams, b0 as decodeStreamEnvelope, b2 as derivedLegName, b3 as derivedLegRole, b4 as encodeStreamEnvelope, b5 as encodeWtControlFrame, b6 as isPendingRecording, b7 as isRetryableSessionError, b8 as mediaRecorderChunkSource, b9 as parseDgramHeader, ba as prewake, bb as releaseSessionBeacon, be as watchGenerationTick, bf as writeDgramHeader } from './backoff-DxQ5__tj.mjs';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
5
5
 
@@ -640,16 +640,6 @@ declare class ActivationMonitor {
640
640
  private _emit;
641
641
  }
642
642
 
643
- declare const BACKOFF_BASE_MS = 500;
644
-
645
- declare const BACKOFF_MAX_MS = 15000;
646
-
647
- declare const BACKOFF_MAX_ATTEMPTS = 6;
648
-
649
- declare function computeBackoffDelay(attempt: number, random?: () => number): number;
650
-
651
- declare function isRetryableSessionError(error: unknown): boolean;
652
-
653
643
  declare function createStore(options: StoreOptions): Store & {
654
644
  _getInternals(): {
655
645
  multiplexer: ChannelMultiplexer;
@@ -1356,4 +1346,4 @@ declare class FrameReassembler {
1356
1346
  private requestKeyframe;
1357
1347
  }
1358
1348
 
1359
- export { ACTIVATION_COLD_BOOT_AFTER_MS, ACTIVATION_DEGRADED_AFTER_MS, ACTIVATION_HINT_PATH, ACTIVATION_STILL_AFTER_MS, ACTIVITY_DOM_EVENTS, ACTIVITY_FIELD, ACTIVITY_STAMP_MIN_INTERVAL_MS, ActivationEvent, ActivationMonitor, type ActivationMonitorOptions, type ActivationStreamLike, type ActivityAwareness, type ActivityTracker, type ActivityTrackerOptions, App, App$1 as AppInterface, AppOptions, AttachOptions, BACKOFF_BASE_MS, BACKOFF_MAX_ATTEMPTS, BACKOFF_MAX_MS, COLD_BOOT_WHEN_LIVE_TIMEOUT_MS, type CameraWarp, type CameraWarpOptions, type CameraWarpTransform, type CaptureClaim, CaptureController, type CaptureControllerOptions, type CaptureKind, CaptureUnavailableError, ChunkReadable, type ClientToken, ClientTokenError, type ConsumingTransport, type CreateClientTokenOptions, type CreditBalance, type CreditLedgerEntry, CreditsClient, type CreditsClientOptions, CreditsError, type CreditsLedgerOptions, CreditsUnauthorizedError, DATA_CHANNEL_MESSAGE_CEILING, DEFAULT_DOC_SYNC_TIMEOUT_MS, DEFAULT_GATEWAY_URL, DEFAULT_PRODUCE_ACK_TIMEOUT_MS, DEFAULT_REFERENCE_JPEG_QUALITY, DEFAULT_REFERENCE_MAX_SIZE, DEFAULT_WHEN_LIVE_TIMEOUT_MS, DocTokenSupplier, FOCUS_FIELD, FOREGROUND_COALESCE_MS, FrameReassembler, GenerationTick, INPUT_PRESENCE_DEFAULT_HZ, INPUT_PRESENCE_FIELD, type InputPresenceAwareness, type InputPresencePublisher, type InputPresencePublisherOptions, type InputPresenceState, InvalidDurationError, LEGACY_ACTIVATION_HINT_PATH, type ListOptions, type ListResult, MediaSession, type NormalizeReferenceImageOptions, PLATFORM_DOC_NAME, PermanentLockedError, type PhaseObservable, PinRequiresActiveTempError, Presence, type PresenceAwarenessSink, type PresenceConnectivityState, type PresenceFocus, type PresenceInteractionKind, PresenceTracker, type PresenceTrackerOptions, type PresenceTransportLike, type PresenceVisibility, ProduceAckTimeoutError, type ReassembledFrame, type ReassemblerCallbacks, type ReassemblerOptions, Recording, RecordingNotFoundError, RecordingsAccessor, RecordingsClient, type RecordingsClientOptions, RecordingsError, RecordingsUnauthorizedError, type ReferenceImage, type ReferenceImageSource, type ReferenceImageType, RequestAbortError, RequestCancelledError, RequestDocSyncError, RequestError, RequestOptions, RequestStreamOptions, RequestTimeoutError, RetainNotTempError, type RetentionIntent, RuntimeArtifact, RuntimeArtifactDownload, RuntimeArtifactNotFoundError, RuntimeArtifactsAccessor, RuntimeArtifactsClient, type RuntimeArtifactsClientOptions, RuntimeArtifactsError, RuntimeArtifactsUnauthorizedError, Session, SessionAllocationError, SessionDiagnostic, SessionDirectory, SessionDirectoryError, SessionEndError, SessionEndResult, SessionEndUnavailableError, SessionFailedError, SessionFailureKind, Session$1 as SessionInterface, SessionNameSource, SessionPhase, SessionPhaseName, type SessionRetention, type SessionState, SessionStatsSample, SessionStatus, SessionStream$1 as SessionStream, type SessionSummary, Store, StoreOptions, StreamChunkOptions, StreamDirectionConflict, TransportOfferResponse, TransportSessionMismatchError, TransportState, URUN_DEV_ENV, USER_ACTIVITY_FIELD, USER_ACTIVITY_MIN_INTERVAL_MS, type UserActivityPayload, VISIBILITY_FIELD, type VideoStreamOptions, WIRE_MESSAGE_BUDGET, WebRtcSession, WebTransportSession, type WhenLiveOptions, WtDataLaneSink, activationHintFrom, cameraCaptureAvailable, captureStillFromVideo, computeBackoffDelay, createActivityTracker, createCameraWarp, createClientToken, createCreditsClient, createInputPresencePublisher, createRecordingsClient, createRuntimeArtifactsClient, createStore, describeSessionFailure, describeSessionPhase, fitWithin, isDurationString, isPausedPhase, isRetryableSessionError, isWakingPhase, normalizeReferenceImage, normalizeRetention, observeLeaveConfirm, observePageLifecycle, observePageTeardown, referenceImageErrorMessage, sessionDirectory, sessionFailureFromMediaError, sharedCaptureController, videoStream, whenLive };
1349
+ export { ACTIVATION_COLD_BOOT_AFTER_MS, ACTIVATION_DEGRADED_AFTER_MS, ACTIVATION_HINT_PATH, ACTIVATION_STILL_AFTER_MS, ACTIVITY_DOM_EVENTS, ACTIVITY_FIELD, ACTIVITY_STAMP_MIN_INTERVAL_MS, ActivationEvent, ActivationMonitor, type ActivationMonitorOptions, type ActivationStreamLike, type ActivityAwareness, type ActivityTracker, type ActivityTrackerOptions, App, App$1 as AppInterface, AppOptions, AttachOptions, COLD_BOOT_WHEN_LIVE_TIMEOUT_MS, type CameraWarp, type CameraWarpOptions, type CameraWarpTransform, type CaptureClaim, CaptureController, type CaptureControllerOptions, type CaptureKind, CaptureUnavailableError, ChunkReadable, type ClientToken, ClientTokenError, type ConsumingTransport, type CreateClientTokenOptions, type CreditBalance, type CreditLedgerEntry, CreditsClient, type CreditsClientOptions, CreditsError, type CreditsLedgerOptions, CreditsUnauthorizedError, DATA_CHANNEL_MESSAGE_CEILING, DEFAULT_DOC_SYNC_TIMEOUT_MS, DEFAULT_GATEWAY_URL, DEFAULT_PRODUCE_ACK_TIMEOUT_MS, DEFAULT_REFERENCE_JPEG_QUALITY, DEFAULT_REFERENCE_MAX_SIZE, DEFAULT_WHEN_LIVE_TIMEOUT_MS, DocTokenSupplier, FOCUS_FIELD, FOREGROUND_COALESCE_MS, FrameReassembler, GenerationTick, INPUT_PRESENCE_DEFAULT_HZ, INPUT_PRESENCE_FIELD, type InputPresenceAwareness, type InputPresencePublisher, type InputPresencePublisherOptions, type InputPresenceState, InvalidDurationError, LEGACY_ACTIVATION_HINT_PATH, type ListOptions, type ListResult, MediaSession, type NormalizeReferenceImageOptions, PLATFORM_DOC_NAME, PermanentLockedError, type PhaseObservable, PinRequiresActiveTempError, Presence, type PresenceAwarenessSink, type PresenceConnectivityState, type PresenceFocus, type PresenceInteractionKind, PresenceTracker, type PresenceTrackerOptions, type PresenceTransportLike, type PresenceVisibility, ProduceAckTimeoutError, type ReassembledFrame, type ReassemblerCallbacks, type ReassemblerOptions, Recording, RecordingNotFoundError, RecordingsAccessor, RecordingsClient, type RecordingsClientOptions, RecordingsError, RecordingsUnauthorizedError, type ReferenceImage, type ReferenceImageSource, type ReferenceImageType, RequestAbortError, RequestCancelledError, RequestDocSyncError, RequestError, RequestOptions, RequestStreamOptions, RequestTimeoutError, RetainNotTempError, type RetentionIntent, RuntimeArtifact, RuntimeArtifactDownload, RuntimeArtifactNotFoundError, RuntimeArtifactsAccessor, RuntimeArtifactsClient, type RuntimeArtifactsClientOptions, RuntimeArtifactsError, RuntimeArtifactsUnauthorizedError, Session, SessionAllocationError, SessionDiagnostic, SessionDirectory, SessionDirectoryError, SessionEndError, SessionEndResult, SessionEndUnavailableError, SessionFailedError, SessionFailureKind, Session$1 as SessionInterface, SessionNameSource, SessionPhase, SessionPhaseName, type SessionRetention, type SessionState, SessionStatsSample, SessionStatus, SessionStream$1 as SessionStream, type SessionSummary, Store, StoreOptions, StreamChunkOptions, StreamDirectionConflict, TransportOfferResponse, TransportSessionMismatchError, TransportState, URUN_DEV_ENV, USER_ACTIVITY_FIELD, USER_ACTIVITY_MIN_INTERVAL_MS, type UserActivityPayload, VISIBILITY_FIELD, type VideoStreamOptions, WIRE_MESSAGE_BUDGET, WebRtcSession, WebTransportSession, type WhenLiveOptions, WtDataLaneSink, activationHintFrom, cameraCaptureAvailable, captureStillFromVideo, createActivityTracker, createCameraWarp, createClientToken, createCreditsClient, createInputPresencePublisher, createRecordingsClient, createRuntimeArtifactsClient, createStore, describeSessionFailure, describeSessionPhase, fitWithin, isDurationString, isPausedPhase, isWakingPhase, normalizeReferenceImage, normalizeRetention, observeLeaveConfirm, observePageLifecycle, observePageTeardown, referenceImageErrorMessage, sessionDirectory, sessionFailureFromMediaError, sharedCaptureController, videoStream, whenLive };
@@ -1,5 +1,5 @@
1
- import { ad as SessionDirectoryRequestOptions, ai as SessionNameSource, h as AppOptions, g as App$1, aj as SessionPhase, ap as SessionStatus, al as SessionPhaseName, A as AccessTokenOptions, a2 as RuntimeArtifact, a3 as RuntimeArtifactDownload, W as Recording, aG as TransportState, ab as Session$1, C as ChannelEndpoint, aD as TransportSession, d as ActivitySignalMode, i as AttachOptions, ac as SessionDiagnostic, b as ActivationEvent, ao as SessionStatsSample, B as GenerationTick, _ as RecordingsAccessor, a4 as RuntimeArtifactsAccessor, ag as SessionEndResult, aq as SessionStream$1, ay as StreamDataTransport, af as SessionDocumentImpl, ax as StreamChunkOptions, n as ChunkReadable, Q as Presence, w as DocConnector, y as DocTokenSupplier, x as DocServerUrlResolver, a0 as RequestOptions, a1 as RequestStreamOptions, aw as StoreOptions, av as Store, l as ChannelMultiplexer, ah as SessionFailureKind, J as MediaSession, P as PathHealthReporting, aC as TransportOfferResponse, aL as WtAudioLaneSeam, aM as WtAudioUplinkSeam, aT as WtVideoUplinkSeam, aS as WtDataUplinkSender, O as PathLiveness, aQ as WtDataLaneSink } from './stream-data-Ds1Nj4Xb.js';
2
- export { c as ActivationState, j as AudioPlayoutOptions, D as DERIVED_LEG_SEP, o as DGRAM_HEADER_BYTES, s as DerivedLegRole, t as DgramHeader, v as DocConnectionState, G as GENERATION_TICK_EMIT_INTERVAL_MS, z as GENERATION_TICK_MAX_EXTRAPOLATION_MS, I as InboundStatsSample, M as MediaChunkBinding, E as MediaChunkSource, F as MediaChunkSourceFactory, H as MediaRecorderChunkSourceOptions, N as NegotiatorDataLaneSeam, K as NegotiatorOptions, R as PresenceState, S as PrewakeOptions, T as PrewakeResult, U as PrewakeStatus, V as QuicStreamDataTransport, X as RecordingBucket, Y as RecordingLifecycle, Z as RecordingStatus, $ as ReleaseSessionBeaconOptions, a5 as RuntimeAvailability, a6 as RuntimeWakeDetail, a7 as RuntimeWakeGolden, a8 as RuntimeWakeReasonCode, a9 as SIGNALING_PROTOCOL_VERSION, aa as STREAM_END, ae as SessionDocument, ak as SessionPhaseError, an as SessionStatsOptions, ar as SessionText, as as SignalCarrier, at as Signaling, au as StartSessionOptions, az as TransportEstablishedNotify, aA as TransportNegotiator, aB as TransportOfferRequest, aF as TransportSessionSignaling, aH as VideoPlayoutOptions, aI as WT_CONTROL_FRAME_MAX, aJ as WT_DATA_STREAM_VERSION, aK as WatchGenerationTickOptions, aN as WtControlDecoder, aO as WtControlMessage, aP as WtDataEnvelope, aR as WtDataStreamParser, aV as consumeWtDataStreams, aY as decodeStreamEnvelope, a_ as derivedLegName, a$ as derivedLegRole, b0 as encodeStreamEnvelope, b1 as encodeWtControlFrame, b2 as isPendingRecording, b3 as mediaRecorderChunkSource, b4 as parseDgramHeader, b5 as prewake, b6 as releaseSessionBeacon, b9 as watchGenerationTick, ba as writeDgramHeader } from './stream-data-Ds1Nj4Xb.js';
1
+ import { ag as SessionDirectoryRequestOptions, al as SessionNameSource, h as AppOptions, g as App$1, am as SessionPhase, as as SessionStatus, ao as SessionPhaseName, A as AccessTokenOptions, a5 as RuntimeArtifact, a6 as RuntimeArtifactDownload, Z as Recording, aJ as TransportState, ae as Session$1, C as ChannelEndpoint, aG as TransportSession, d as ActivitySignalMode, i as AttachOptions, af as SessionDiagnostic, b as ActivationEvent, ar as SessionStatsSample, H as GenerationTick, a1 as RecordingsAccessor, a7 as RuntimeArtifactsAccessor, aj as SessionEndResult, at as SessionStream$1, aB as StreamDataTransport, ai as SessionDocumentImpl, aA as StreamChunkOptions, p as ChunkReadable, T as Presence, y as DocConnector, E as DocTokenSupplier, z as DocServerUrlResolver, a3 as RequestOptions, a4 as RequestStreamOptions, az as StoreOptions, ay as Store, n as ChannelMultiplexer, ak as SessionFailureKind, O as MediaSession, R as PathHealthReporting, aF as TransportOfferResponse, aO as WtAudioLaneSeam, aP as WtAudioUplinkSeam, aW as WtVideoUplinkSeam, aV as WtDataUplinkSender, S as PathLiveness, aT as WtDataLaneSink } from './backoff-DxQ5__tj.js';
2
+ export { c as ActivationState, j as AudioPlayoutOptions, B as BACKOFF_BASE_MS, k as BACKOFF_MAX_ATTEMPTS, l as BACKOFF_MAX_MS, D as DERIVED_LEG_SEP, q as DGRAM_HEADER_BYTES, u as DerivedLegRole, v as DgramHeader, x as DocConnectionState, G as GENERATION_TICK_EMIT_INTERVAL_MS, F as GENERATION_TICK_MAX_EXTRAPOLATION_MS, I as InboundStatsSample, M as MediaChunkBinding, J as MediaChunkSource, K as MediaChunkSourceFactory, N as MediaRecorderChunkSourceOptions, P as NegotiatorDataLaneSeam, Q as NegotiatorOptions, U as PresenceState, V as PrewakeOptions, W as PrewakeResult, X as PrewakeStatus, Y as QuicStreamDataTransport, _ as RecordingBucket, $ as RecordingLifecycle, a0 as RecordingStatus, a2 as ReleaseSessionBeaconOptions, a8 as RuntimeAvailability, a9 as RuntimeWakeDetail, aa as RuntimeWakeGolden, ab as RuntimeWakeReasonCode, ac as SIGNALING_PROTOCOL_VERSION, ad as STREAM_END, ah as SessionDocument, an as SessionPhaseError, aq as SessionStatsOptions, au as SessionText, av as SignalCarrier, aw as Signaling, ax as StartSessionOptions, aC as TransportEstablishedNotify, aD as TransportNegotiator, aE as TransportOfferRequest, aI as TransportSessionSignaling, aK as VideoPlayoutOptions, aL as WT_CONTROL_FRAME_MAX, aM as WT_DATA_STREAM_VERSION, aN as WatchGenerationTickOptions, aQ as WtControlDecoder, aR as WtControlMessage, aS as WtDataEnvelope, aU as WtDataStreamParser, aY as computeBackoffDelay, aZ as consumeWtDataStreams, b0 as decodeStreamEnvelope, b2 as derivedLegName, b3 as derivedLegRole, b4 as encodeStreamEnvelope, b5 as encodeWtControlFrame, b6 as isPendingRecording, b7 as isRetryableSessionError, b8 as mediaRecorderChunkSource, b9 as parseDgramHeader, ba as prewake, bb as releaseSessionBeacon, be as watchGenerationTick, bf as writeDgramHeader } from './backoff-DxQ5__tj.js';
3
3
  import 'yjs';
4
4
  import 'y-protocols/awareness';
5
5
 
@@ -640,16 +640,6 @@ declare class ActivationMonitor {
640
640
  private _emit;
641
641
  }
642
642
 
643
- declare const BACKOFF_BASE_MS = 500;
644
-
645
- declare const BACKOFF_MAX_MS = 15000;
646
-
647
- declare const BACKOFF_MAX_ATTEMPTS = 6;
648
-
649
- declare function computeBackoffDelay(attempt: number, random?: () => number): number;
650
-
651
- declare function isRetryableSessionError(error: unknown): boolean;
652
-
653
643
  declare function createStore(options: StoreOptions): Store & {
654
644
  _getInternals(): {
655
645
  multiplexer: ChannelMultiplexer;
@@ -1356,4 +1346,4 @@ declare class FrameReassembler {
1356
1346
  private requestKeyframe;
1357
1347
  }
1358
1348
 
1359
- export { ACTIVATION_COLD_BOOT_AFTER_MS, ACTIVATION_DEGRADED_AFTER_MS, ACTIVATION_HINT_PATH, ACTIVATION_STILL_AFTER_MS, ACTIVITY_DOM_EVENTS, ACTIVITY_FIELD, ACTIVITY_STAMP_MIN_INTERVAL_MS, ActivationEvent, ActivationMonitor, type ActivationMonitorOptions, type ActivationStreamLike, type ActivityAwareness, type ActivityTracker, type ActivityTrackerOptions, App, App$1 as AppInterface, AppOptions, AttachOptions, BACKOFF_BASE_MS, BACKOFF_MAX_ATTEMPTS, BACKOFF_MAX_MS, COLD_BOOT_WHEN_LIVE_TIMEOUT_MS, type CameraWarp, type CameraWarpOptions, type CameraWarpTransform, type CaptureClaim, CaptureController, type CaptureControllerOptions, type CaptureKind, CaptureUnavailableError, ChunkReadable, type ClientToken, ClientTokenError, type ConsumingTransport, type CreateClientTokenOptions, type CreditBalance, type CreditLedgerEntry, CreditsClient, type CreditsClientOptions, CreditsError, type CreditsLedgerOptions, CreditsUnauthorizedError, DATA_CHANNEL_MESSAGE_CEILING, DEFAULT_DOC_SYNC_TIMEOUT_MS, DEFAULT_GATEWAY_URL, DEFAULT_PRODUCE_ACK_TIMEOUT_MS, DEFAULT_REFERENCE_JPEG_QUALITY, DEFAULT_REFERENCE_MAX_SIZE, DEFAULT_WHEN_LIVE_TIMEOUT_MS, DocTokenSupplier, FOCUS_FIELD, FOREGROUND_COALESCE_MS, FrameReassembler, GenerationTick, INPUT_PRESENCE_DEFAULT_HZ, INPUT_PRESENCE_FIELD, type InputPresenceAwareness, type InputPresencePublisher, type InputPresencePublisherOptions, type InputPresenceState, InvalidDurationError, LEGACY_ACTIVATION_HINT_PATH, type ListOptions, type ListResult, MediaSession, type NormalizeReferenceImageOptions, PLATFORM_DOC_NAME, PermanentLockedError, type PhaseObservable, PinRequiresActiveTempError, Presence, type PresenceAwarenessSink, type PresenceConnectivityState, type PresenceFocus, type PresenceInteractionKind, PresenceTracker, type PresenceTrackerOptions, type PresenceTransportLike, type PresenceVisibility, ProduceAckTimeoutError, type ReassembledFrame, type ReassemblerCallbacks, type ReassemblerOptions, Recording, RecordingNotFoundError, RecordingsAccessor, RecordingsClient, type RecordingsClientOptions, RecordingsError, RecordingsUnauthorizedError, type ReferenceImage, type ReferenceImageSource, type ReferenceImageType, RequestAbortError, RequestCancelledError, RequestDocSyncError, RequestError, RequestOptions, RequestStreamOptions, RequestTimeoutError, RetainNotTempError, type RetentionIntent, RuntimeArtifact, RuntimeArtifactDownload, RuntimeArtifactNotFoundError, RuntimeArtifactsAccessor, RuntimeArtifactsClient, type RuntimeArtifactsClientOptions, RuntimeArtifactsError, RuntimeArtifactsUnauthorizedError, Session, SessionAllocationError, SessionDiagnostic, SessionDirectory, SessionDirectoryError, SessionEndError, SessionEndResult, SessionEndUnavailableError, SessionFailedError, SessionFailureKind, Session$1 as SessionInterface, SessionNameSource, SessionPhase, SessionPhaseName, type SessionRetention, type SessionState, SessionStatsSample, SessionStatus, SessionStream$1 as SessionStream, type SessionSummary, Store, StoreOptions, StreamChunkOptions, StreamDirectionConflict, TransportOfferResponse, TransportSessionMismatchError, TransportState, URUN_DEV_ENV, USER_ACTIVITY_FIELD, USER_ACTIVITY_MIN_INTERVAL_MS, type UserActivityPayload, VISIBILITY_FIELD, type VideoStreamOptions, WIRE_MESSAGE_BUDGET, WebRtcSession, WebTransportSession, type WhenLiveOptions, WtDataLaneSink, activationHintFrom, cameraCaptureAvailable, captureStillFromVideo, computeBackoffDelay, createActivityTracker, createCameraWarp, createClientToken, createCreditsClient, createInputPresencePublisher, createRecordingsClient, createRuntimeArtifactsClient, createStore, describeSessionFailure, describeSessionPhase, fitWithin, isDurationString, isPausedPhase, isRetryableSessionError, isWakingPhase, normalizeReferenceImage, normalizeRetention, observeLeaveConfirm, observePageLifecycle, observePageTeardown, referenceImageErrorMessage, sessionDirectory, sessionFailureFromMediaError, sharedCaptureController, videoStream, whenLive };
1349
+ export { ACTIVATION_COLD_BOOT_AFTER_MS, ACTIVATION_DEGRADED_AFTER_MS, ACTIVATION_HINT_PATH, ACTIVATION_STILL_AFTER_MS, ACTIVITY_DOM_EVENTS, ACTIVITY_FIELD, ACTIVITY_STAMP_MIN_INTERVAL_MS, ActivationEvent, ActivationMonitor, type ActivationMonitorOptions, type ActivationStreamLike, type ActivityAwareness, type ActivityTracker, type ActivityTrackerOptions, App, App$1 as AppInterface, AppOptions, AttachOptions, COLD_BOOT_WHEN_LIVE_TIMEOUT_MS, type CameraWarp, type CameraWarpOptions, type CameraWarpTransform, type CaptureClaim, CaptureController, type CaptureControllerOptions, type CaptureKind, CaptureUnavailableError, ChunkReadable, type ClientToken, ClientTokenError, type ConsumingTransport, type CreateClientTokenOptions, type CreditBalance, type CreditLedgerEntry, CreditsClient, type CreditsClientOptions, CreditsError, type CreditsLedgerOptions, CreditsUnauthorizedError, DATA_CHANNEL_MESSAGE_CEILING, DEFAULT_DOC_SYNC_TIMEOUT_MS, DEFAULT_GATEWAY_URL, DEFAULT_PRODUCE_ACK_TIMEOUT_MS, DEFAULT_REFERENCE_JPEG_QUALITY, DEFAULT_REFERENCE_MAX_SIZE, DEFAULT_WHEN_LIVE_TIMEOUT_MS, DocTokenSupplier, FOCUS_FIELD, FOREGROUND_COALESCE_MS, FrameReassembler, GenerationTick, INPUT_PRESENCE_DEFAULT_HZ, INPUT_PRESENCE_FIELD, type InputPresenceAwareness, type InputPresencePublisher, type InputPresencePublisherOptions, type InputPresenceState, InvalidDurationError, LEGACY_ACTIVATION_HINT_PATH, type ListOptions, type ListResult, MediaSession, type NormalizeReferenceImageOptions, PLATFORM_DOC_NAME, PermanentLockedError, type PhaseObservable, PinRequiresActiveTempError, Presence, type PresenceAwarenessSink, type PresenceConnectivityState, type PresenceFocus, type PresenceInteractionKind, PresenceTracker, type PresenceTrackerOptions, type PresenceTransportLike, type PresenceVisibility, ProduceAckTimeoutError, type ReassembledFrame, type ReassemblerCallbacks, type ReassemblerOptions, Recording, RecordingNotFoundError, RecordingsAccessor, RecordingsClient, type RecordingsClientOptions, RecordingsError, RecordingsUnauthorizedError, type ReferenceImage, type ReferenceImageSource, type ReferenceImageType, RequestAbortError, RequestCancelledError, RequestDocSyncError, RequestError, RequestOptions, RequestStreamOptions, RequestTimeoutError, RetainNotTempError, type RetentionIntent, RuntimeArtifact, RuntimeArtifactDownload, RuntimeArtifactNotFoundError, RuntimeArtifactsAccessor, RuntimeArtifactsClient, type RuntimeArtifactsClientOptions, RuntimeArtifactsError, RuntimeArtifactsUnauthorizedError, Session, SessionAllocationError, SessionDiagnostic, SessionDirectory, SessionDirectoryError, SessionEndError, SessionEndResult, SessionEndUnavailableError, SessionFailedError, SessionFailureKind, Session$1 as SessionInterface, SessionNameSource, SessionPhase, SessionPhaseName, type SessionRetention, type SessionState, SessionStatsSample, SessionStatus, SessionStream$1 as SessionStream, type SessionSummary, Store, StoreOptions, StreamChunkOptions, StreamDirectionConflict, TransportOfferResponse, TransportSessionMismatchError, TransportState, URUN_DEV_ENV, USER_ACTIVITY_FIELD, USER_ACTIVITY_MIN_INTERVAL_MS, type UserActivityPayload, VISIBILITY_FIELD, type VideoStreamOptions, WIRE_MESSAGE_BUDGET, WebRtcSession, WebTransportSession, type WhenLiveOptions, WtDataLaneSink, activationHintFrom, cameraCaptureAvailable, captureStillFromVideo, createActivityTracker, createCameraWarp, createClientToken, createCreditsClient, createInputPresencePublisher, createRecordingsClient, createRuntimeArtifactsClient, createStore, describeSessionFailure, describeSessionPhase, fitWithin, isDurationString, isPausedPhase, isWakingPhase, normalizeReferenceImage, normalizeRetention, observeLeaveConfirm, observePageLifecycle, observePageTeardown, referenceImageErrorMessage, sessionDirectory, sessionFailureFromMediaError, sharedCaptureController, videoStream, whenLive };