@urun-sh/core 0.6.49 → 0.6.51
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/adapter/index.js +8 -8
- package/dist/adapter/index.mjs +1 -1
- package/dist/{app-I3KI26AA.mjs → app-43NLUS2C.mjs} +1 -1
- package/dist/{backoff-MRE0etUD.d.ts → backoff-B6Y9M7p2.d.mts} +2 -0
- package/dist/{backoff-MRE0etUD.d.mts → backoff-B6Y9M7p2.d.ts} +2 -0
- package/dist/{backoff-6U_u9XNT.d.mts → backoff-CeVr3Xea.d.mts} +2 -0
- package/dist/{backoff-6U_u9XNT.d.ts → backoff-CeVr3Xea.d.ts} +2 -0
- package/dist/chunk-W6TWWUZW.mjs +33 -0
- package/dist/index.browser.d.mts +20 -2
- package/dist/index.browser.d.ts +20 -2
- package/dist/index.browser.js +5 -5
- package/dist/index.browser.mjs +4 -4
- package/dist/index.d.mts +20 -2
- package/dist/index.d.ts +20 -2
- package/dist/index.js +8 -8
- package/dist/index.mjs +1 -1
- package/dist/internal.browser.d.mts +2 -2
- package/dist/internal.browser.d.ts +2 -2
- package/dist/internal.d.mts +2 -2
- package/dist/internal.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunk-7CWOD4OB.mjs +0 -33
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ah as SessionDirectoryRequestOptions, am as SessionNameSource, h as AppOptions, g as App$1, an as SessionPhase, at as SessionStatus, ap as SessionPhaseName, a as AccessTokenOptions, a6 as RuntimeArtifact, a7 as RuntimeArtifactDownload, _ as Recording, aM as TransportState, af as Session$1, C as ChannelEndpoint, aJ as TransportSession, d as ActivitySignalMode, i as AttachOptions, ag as SessionDiagnostic, b as ActivationEvent, as as SessionStatsSample, I as GenerationTick, a2 as RecordingsAccessor, a8 as RuntimeArtifactsAccessor, ak as SessionEndResult, au as SessionStream$1, aD as StreamDataTransport, aj as SessionDocumentImpl, aC as StreamChunkOptions, p as ChunkReadable, U as Presence, y as DocConnector, E as DocTokenSupplier, z as DocServerUrlResolver, aw as SfuAttachCredential, a4 as RequestOptions, a5 as RequestStreamOptions, aB as StoreOptions, aA as Store, n as ChannelMultiplexer, al as SessionFailureKind, P as MediaSession, S as PathHealthReporting, aI as TransportOfferResponse, aR as WtAudioLaneSeam, aS as WtAudioUplinkSeam, aZ as WtVideoUplinkSeam, aY as WtDataUplinkSender, T as PathLiveness, aW as WtDataLaneSink } from './backoff-
|
|
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, F as ENVELOPE_KIND, G as GENERATION_TICK_EMIT_INTERVAL_MS, H as GENERATION_TICK_MAX_EXTRAPOLATION_MS, J as InboundStatsSample, M as MediaChunkBinding, K as MediaChunkSource, N as MediaChunkSourceFactory, O as MediaRecorderChunkSourceOptions, Q as NegotiatorDataLaneSeam, R as NegotiatorOptions, V as PresenceState, W as PrewakeOptions, X as PrewakeResult, Y as PrewakeStatus, Z as QuicStreamDataTransport, $ as RecordingBucket, a0 as RecordingLifecycle, a1 as RecordingStatus, a3 as ReleaseSessionBeaconOptions, a9 as RuntimeAvailability, aa as RuntimeWakeDetail, ab as RuntimeWakeGolden, ac as RuntimeWakeReasonCode, ad as SIGNALING_PROTOCOL_VERSION, ae as STREAM_END, ai as SessionDocument, ao as SessionPhaseError, ar as SessionStatsOptions, av as SessionText, ax as SignalCarrier, ay as Signaling, az as StartSessionOptions, aE as StreamFragmentReassembler, aF as TransportEstablishedNotify, aG as TransportNegotiator, aH as TransportOfferRequest, aL as TransportSessionSignaling, aN as VideoPlayoutOptions, aO as WT_CONTROL_FRAME_MAX, aP as WT_DATA_STREAM_VERSION, aQ as WatchGenerationTickOptions, aT as WtControlDecoder, aU as WtControlMessage, aV as WtDataEnvelope, aX as WtDataStreamParser, a$ as computeBackoffDelay, b0 as consumeWtDataStreams, b3 as decodeStreamEnvelope, b5 as derivedLegName, b6 as derivedLegRole, b7 as encodeStreamEnvelope, b8 as encodeStreamFragments, b9 as encodeWtControlFrame, ba as isPendingRecording, bb as isRetryableSessionError, bc as mediaRecorderChunkSource, bd as parseDgramHeader, be as prewake, bf as releaseSessionBeacon, bi as watchGenerationTick, bj as writeDgramHeader } from './backoff-
|
|
1
|
+
import { ah as SessionDirectoryRequestOptions, am as SessionNameSource, h as AppOptions, g as App$1, an as SessionPhase, at as SessionStatus, ap as SessionPhaseName, a as AccessTokenOptions, a6 as RuntimeArtifact, a7 as RuntimeArtifactDownload, _ as Recording, aM as TransportState, af as Session$1, C as ChannelEndpoint, aJ as TransportSession, d as ActivitySignalMode, i as AttachOptions, ag as SessionDiagnostic, b as ActivationEvent, as as SessionStatsSample, I as GenerationTick, a2 as RecordingsAccessor, a8 as RuntimeArtifactsAccessor, ak as SessionEndResult, au as SessionStream$1, aD as StreamDataTransport, aj as SessionDocumentImpl, aC as StreamChunkOptions, p as ChunkReadable, U as Presence, y as DocConnector, E as DocTokenSupplier, z as DocServerUrlResolver, aw as SfuAttachCredential, a4 as RequestOptions, a5 as RequestStreamOptions, aB as StoreOptions, aA as Store, n as ChannelMultiplexer, al as SessionFailureKind, P as MediaSession, S as PathHealthReporting, aI as TransportOfferResponse, aR as WtAudioLaneSeam, aS as WtAudioUplinkSeam, aZ as WtVideoUplinkSeam, aY as WtDataUplinkSender, T as PathLiveness, aW as WtDataLaneSink } from './backoff-B6Y9M7p2.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, F as ENVELOPE_KIND, G as GENERATION_TICK_EMIT_INTERVAL_MS, H as GENERATION_TICK_MAX_EXTRAPOLATION_MS, J as InboundStatsSample, M as MediaChunkBinding, K as MediaChunkSource, N as MediaChunkSourceFactory, O as MediaRecorderChunkSourceOptions, Q as NegotiatorDataLaneSeam, R as NegotiatorOptions, V as PresenceState, W as PrewakeOptions, X as PrewakeResult, Y as PrewakeStatus, Z as QuicStreamDataTransport, $ as RecordingBucket, a0 as RecordingLifecycle, a1 as RecordingStatus, a3 as ReleaseSessionBeaconOptions, a9 as RuntimeAvailability, aa as RuntimeWakeDetail, ab as RuntimeWakeGolden, ac as RuntimeWakeReasonCode, ad as SIGNALING_PROTOCOL_VERSION, ae as STREAM_END, ai as SessionDocument, ao as SessionPhaseError, ar as SessionStatsOptions, av as SessionText, ax as SignalCarrier, ay as Signaling, az as StartSessionOptions, aE as StreamFragmentReassembler, aF as TransportEstablishedNotify, aG as TransportNegotiator, aH as TransportOfferRequest, aL as TransportSessionSignaling, aN as VideoPlayoutOptions, aO as WT_CONTROL_FRAME_MAX, aP as WT_DATA_STREAM_VERSION, aQ as WatchGenerationTickOptions, aT as WtControlDecoder, aU as WtControlMessage, aV as WtDataEnvelope, aX as WtDataStreamParser, a$ as computeBackoffDelay, b0 as consumeWtDataStreams, b3 as decodeStreamEnvelope, b5 as derivedLegName, b6 as derivedLegRole, b7 as encodeStreamEnvelope, b8 as encodeStreamFragments, b9 as encodeWtControlFrame, ba as isPendingRecording, bb as isRetryableSessionError, bc as mediaRecorderChunkSource, bd as parseDgramHeader, be as prewake, bf as releaseSessionBeacon, bi as watchGenerationTick, bj as writeDgramHeader } from './backoff-B6Y9M7p2.mjs';
|
|
3
3
|
import 'yjs';
|
|
4
4
|
import 'y-protocols/awareness';
|
|
5
5
|
|
|
@@ -366,6 +366,8 @@ declare class PresenceTracker {
|
|
|
366
366
|
interface SessionConstructorOptions {
|
|
367
367
|
|
|
368
368
|
activity?: ActivitySignalMode;
|
|
369
|
+
|
|
370
|
+
presenceIdleMs?: number;
|
|
369
371
|
}
|
|
370
372
|
|
|
371
373
|
declare const DOC_LIVE_GATE_TIMEOUT_MS = 20000;
|
|
@@ -461,6 +463,11 @@ declare class Session implements Session$1 {
|
|
|
461
463
|
|
|
462
464
|
private _activityMode;
|
|
463
465
|
|
|
466
|
+
private _presenceIdleMs;
|
|
467
|
+
private _presenceLastActivityAt;
|
|
468
|
+
private _presencePresent;
|
|
469
|
+
private _presenceTimer;
|
|
470
|
+
|
|
464
471
|
private _presenceTracker;
|
|
465
472
|
|
|
466
473
|
private _gateDocUp;
|
|
@@ -556,6 +563,15 @@ declare class Session implements Session$1 {
|
|
|
556
563
|
|
|
557
564
|
touch(): void;
|
|
558
565
|
|
|
566
|
+
keepalive(): void;
|
|
567
|
+
|
|
568
|
+
presenceDetach(): void;
|
|
569
|
+
|
|
570
|
+
private _notePresenceActivity;
|
|
571
|
+
private _presenceSweep;
|
|
572
|
+
|
|
573
|
+
private _presenceDetachNow;
|
|
574
|
+
|
|
559
575
|
private _autoTouch;
|
|
560
576
|
|
|
561
577
|
activity(): void;
|
|
@@ -994,6 +1010,8 @@ interface ActivityTracker {
|
|
|
994
1010
|
|
|
995
1011
|
touch(): void;
|
|
996
1012
|
|
|
1013
|
+
lastActivityAt(): number | undefined;
|
|
1014
|
+
|
|
997
1015
|
dispose(): void;
|
|
998
1016
|
}
|
|
999
1017
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ah as SessionDirectoryRequestOptions, am as SessionNameSource, h as AppOptions, g as App$1, an as SessionPhase, at as SessionStatus, ap as SessionPhaseName, a as AccessTokenOptions, a6 as RuntimeArtifact, a7 as RuntimeArtifactDownload, _ as Recording, aM as TransportState, af as Session$1, C as ChannelEndpoint, aJ as TransportSession, d as ActivitySignalMode, i as AttachOptions, ag as SessionDiagnostic, b as ActivationEvent, as as SessionStatsSample, I as GenerationTick, a2 as RecordingsAccessor, a8 as RuntimeArtifactsAccessor, ak as SessionEndResult, au as SessionStream$1, aD as StreamDataTransport, aj as SessionDocumentImpl, aC as StreamChunkOptions, p as ChunkReadable, U as Presence, y as DocConnector, E as DocTokenSupplier, z as DocServerUrlResolver, aw as SfuAttachCredential, a4 as RequestOptions, a5 as RequestStreamOptions, aB as StoreOptions, aA as Store, n as ChannelMultiplexer, al as SessionFailureKind, P as MediaSession, S as PathHealthReporting, aI as TransportOfferResponse, aR as WtAudioLaneSeam, aS as WtAudioUplinkSeam, aZ as WtVideoUplinkSeam, aY as WtDataUplinkSender, T as PathLiveness, aW as WtDataLaneSink } from './backoff-
|
|
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, F as ENVELOPE_KIND, G as GENERATION_TICK_EMIT_INTERVAL_MS, H as GENERATION_TICK_MAX_EXTRAPOLATION_MS, J as InboundStatsSample, M as MediaChunkBinding, K as MediaChunkSource, N as MediaChunkSourceFactory, O as MediaRecorderChunkSourceOptions, Q as NegotiatorDataLaneSeam, R as NegotiatorOptions, V as PresenceState, W as PrewakeOptions, X as PrewakeResult, Y as PrewakeStatus, Z as QuicStreamDataTransport, $ as RecordingBucket, a0 as RecordingLifecycle, a1 as RecordingStatus, a3 as ReleaseSessionBeaconOptions, a9 as RuntimeAvailability, aa as RuntimeWakeDetail, ab as RuntimeWakeGolden, ac as RuntimeWakeReasonCode, ad as SIGNALING_PROTOCOL_VERSION, ae as STREAM_END, ai as SessionDocument, ao as SessionPhaseError, ar as SessionStatsOptions, av as SessionText, ax as SignalCarrier, ay as Signaling, az as StartSessionOptions, aE as StreamFragmentReassembler, aF as TransportEstablishedNotify, aG as TransportNegotiator, aH as TransportOfferRequest, aL as TransportSessionSignaling, aN as VideoPlayoutOptions, aO as WT_CONTROL_FRAME_MAX, aP as WT_DATA_STREAM_VERSION, aQ as WatchGenerationTickOptions, aT as WtControlDecoder, aU as WtControlMessage, aV as WtDataEnvelope, aX as WtDataStreamParser, a$ as computeBackoffDelay, b0 as consumeWtDataStreams, b3 as decodeStreamEnvelope, b5 as derivedLegName, b6 as derivedLegRole, b7 as encodeStreamEnvelope, b8 as encodeStreamFragments, b9 as encodeWtControlFrame, ba as isPendingRecording, bb as isRetryableSessionError, bc as mediaRecorderChunkSource, bd as parseDgramHeader, be as prewake, bf as releaseSessionBeacon, bi as watchGenerationTick, bj as writeDgramHeader } from './backoff-
|
|
1
|
+
import { ah as SessionDirectoryRequestOptions, am as SessionNameSource, h as AppOptions, g as App$1, an as SessionPhase, at as SessionStatus, ap as SessionPhaseName, a as AccessTokenOptions, a6 as RuntimeArtifact, a7 as RuntimeArtifactDownload, _ as Recording, aM as TransportState, af as Session$1, C as ChannelEndpoint, aJ as TransportSession, d as ActivitySignalMode, i as AttachOptions, ag as SessionDiagnostic, b as ActivationEvent, as as SessionStatsSample, I as GenerationTick, a2 as RecordingsAccessor, a8 as RuntimeArtifactsAccessor, ak as SessionEndResult, au as SessionStream$1, aD as StreamDataTransport, aj as SessionDocumentImpl, aC as StreamChunkOptions, p as ChunkReadable, U as Presence, y as DocConnector, E as DocTokenSupplier, z as DocServerUrlResolver, aw as SfuAttachCredential, a4 as RequestOptions, a5 as RequestStreamOptions, aB as StoreOptions, aA as Store, n as ChannelMultiplexer, al as SessionFailureKind, P as MediaSession, S as PathHealthReporting, aI as TransportOfferResponse, aR as WtAudioLaneSeam, aS as WtAudioUplinkSeam, aZ as WtVideoUplinkSeam, aY as WtDataUplinkSender, T as PathLiveness, aW as WtDataLaneSink } from './backoff-B6Y9M7p2.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, F as ENVELOPE_KIND, G as GENERATION_TICK_EMIT_INTERVAL_MS, H as GENERATION_TICK_MAX_EXTRAPOLATION_MS, J as InboundStatsSample, M as MediaChunkBinding, K as MediaChunkSource, N as MediaChunkSourceFactory, O as MediaRecorderChunkSourceOptions, Q as NegotiatorDataLaneSeam, R as NegotiatorOptions, V as PresenceState, W as PrewakeOptions, X as PrewakeResult, Y as PrewakeStatus, Z as QuicStreamDataTransport, $ as RecordingBucket, a0 as RecordingLifecycle, a1 as RecordingStatus, a3 as ReleaseSessionBeaconOptions, a9 as RuntimeAvailability, aa as RuntimeWakeDetail, ab as RuntimeWakeGolden, ac as RuntimeWakeReasonCode, ad as SIGNALING_PROTOCOL_VERSION, ae as STREAM_END, ai as SessionDocument, ao as SessionPhaseError, ar as SessionStatsOptions, av as SessionText, ax as SignalCarrier, ay as Signaling, az as StartSessionOptions, aE as StreamFragmentReassembler, aF as TransportEstablishedNotify, aG as TransportNegotiator, aH as TransportOfferRequest, aL as TransportSessionSignaling, aN as VideoPlayoutOptions, aO as WT_CONTROL_FRAME_MAX, aP as WT_DATA_STREAM_VERSION, aQ as WatchGenerationTickOptions, aT as WtControlDecoder, aU as WtControlMessage, aV as WtDataEnvelope, aX as WtDataStreamParser, a$ as computeBackoffDelay, b0 as consumeWtDataStreams, b3 as decodeStreamEnvelope, b5 as derivedLegName, b6 as derivedLegRole, b7 as encodeStreamEnvelope, b8 as encodeStreamFragments, b9 as encodeWtControlFrame, ba as isPendingRecording, bb as isRetryableSessionError, bc as mediaRecorderChunkSource, bd as parseDgramHeader, be as prewake, bf as releaseSessionBeacon, bi as watchGenerationTick, bj as writeDgramHeader } from './backoff-B6Y9M7p2.js';
|
|
3
3
|
import 'yjs';
|
|
4
4
|
import 'y-protocols/awareness';
|
|
5
5
|
|
|
@@ -366,6 +366,8 @@ declare class PresenceTracker {
|
|
|
366
366
|
interface SessionConstructorOptions {
|
|
367
367
|
|
|
368
368
|
activity?: ActivitySignalMode;
|
|
369
|
+
|
|
370
|
+
presenceIdleMs?: number;
|
|
369
371
|
}
|
|
370
372
|
|
|
371
373
|
declare const DOC_LIVE_GATE_TIMEOUT_MS = 20000;
|
|
@@ -461,6 +463,11 @@ declare class Session implements Session$1 {
|
|
|
461
463
|
|
|
462
464
|
private _activityMode;
|
|
463
465
|
|
|
466
|
+
private _presenceIdleMs;
|
|
467
|
+
private _presenceLastActivityAt;
|
|
468
|
+
private _presencePresent;
|
|
469
|
+
private _presenceTimer;
|
|
470
|
+
|
|
464
471
|
private _presenceTracker;
|
|
465
472
|
|
|
466
473
|
private _gateDocUp;
|
|
@@ -556,6 +563,15 @@ declare class Session implements Session$1 {
|
|
|
556
563
|
|
|
557
564
|
touch(): void;
|
|
558
565
|
|
|
566
|
+
keepalive(): void;
|
|
567
|
+
|
|
568
|
+
presenceDetach(): void;
|
|
569
|
+
|
|
570
|
+
private _notePresenceActivity;
|
|
571
|
+
private _presenceSweep;
|
|
572
|
+
|
|
573
|
+
private _presenceDetachNow;
|
|
574
|
+
|
|
559
575
|
private _autoTouch;
|
|
560
576
|
|
|
561
577
|
activity(): void;
|
|
@@ -994,6 +1010,8 @@ interface ActivityTracker {
|
|
|
994
1010
|
|
|
995
1011
|
touch(): void;
|
|
996
1012
|
|
|
1013
|
+
lastActivityAt(): number | undefined;
|
|
1014
|
+
|
|
997
1015
|
dispose(): void;
|
|
998
1016
|
}
|
|
999
1017
|
|