@moqtap/codec 0.8.1 → 0.9.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/CHANGELOG.md +49 -0
- package/README.md +16 -4
- package/dist/chunk-BMJMY6FX.cjs +868 -0
- package/dist/chunk-MAXEHYVB.cjs +2362 -0
- package/dist/{chunk-3YAR3I3S.js → chunk-Q7NSUXXB.js} +3 -1
- package/dist/{chunk-VWXUT5R2.cjs → chunk-TVSFDQYE.cjs} +3 -1
- package/dist/chunk-WX5PU7HF.js +868 -0
- package/dist/chunk-YJGOD3Y4.js +2362 -0
- package/dist/{codec-BLYAy2OP.d.ts → codec--CVeqGQv.d.ts} +1 -1
- package/dist/{codec-DujHf55Z.d.ts → codec-BJ7BHuiZ.d.ts} +1 -1
- package/dist/{codec-D47r_-Rl.d.ts → codec-BKsVu3Fr.d.ts} +1 -1
- package/dist/{codec-BNS3gS77.d.ts → codec-BMwgZIgG.d.ts} +1 -1
- package/dist/{codec-CI0BjmHc.d.ts → codec-BNy5syCU.d.ts} +1 -1
- package/dist/{codec-v6Vloc7H.d.ts → codec-BQa6Qsav.d.ts} +1 -1
- package/dist/codec-Bym-K2q2.d.cts +49 -0
- package/dist/{codec-D2JbI2tp.d.ts → codec-C006F75E.d.ts} +1 -1
- package/dist/codec-C5evFHL-.d.ts +49 -0
- package/dist/{codec-DQWQSam3.d.cts → codec-C6Mx4bwz.d.cts} +1 -1
- package/dist/{codec-DL0njGkL.d.ts → codec-CA6nbbEk.d.ts} +1 -1
- package/dist/{codec-D89DWXbv.d.cts → codec-CSBFdPgP.d.cts} +1 -1
- package/dist/{codec-DvcJgYKq.d.cts → codec-CXCjya_G.d.cts} +1 -1
- package/dist/{codec-hvkJfCF5.d.cts → codec-C_xxsbKy.d.cts} +1 -1
- package/dist/{codec-BOyrk_C9.d.cts → codec-Cfo_z5ET.d.cts} +1 -1
- package/dist/{codec-xeuGZY77.d.cts → codec-CgZdadPt.d.cts} +2 -2
- package/dist/{codec-WwwUipaU.d.ts → codec-Cl73EfRW.d.ts} +1 -1
- package/dist/{codec-BOtv3R5j.d.cts → codec-CtvFK4aV.d.cts} +1 -1
- package/dist/{codec-DAePx2NL.d.ts → codec-CviAa4lp.d.ts} +2 -2
- package/dist/{codec-DJmV04i0.d.ts → codec-D4RvFQmu.d.ts} +1 -1
- package/dist/{codec-cou9XBMF.d.cts → codec-DAyiF5sq.d.cts} +1 -1
- package/dist/{codec-CyApDKwf.d.cts → codec-DJmqoIsp.d.cts} +1 -1
- package/dist/{codec-NMsTK0GX.d.cts → codec-DchsPfr3.d.cts} +1 -1
- package/dist/{codec-DplRgIKq.d.ts → codec-Dl_QIXMz.d.ts} +1 -1
- package/dist/{codec-N3g1lxQQ.d.cts → codec-DzLvG8Wb.d.cts} +1 -1
- package/dist/{codec-D95gT98n.d.cts → codec-DzkdW4kO.d.cts} +1 -1
- package/dist/{codec-CWj5iTxA.d.ts → codec-O-1Js7h4.d.ts} +1 -1
- package/dist/{codec-BqqoYdh_.d.cts → codec-vddqy0KY.d.cts} +1 -1
- package/dist/draft07-session.d.cts +3 -3
- package/dist/draft07-session.d.ts +3 -3
- package/dist/draft07.d.cts +3 -3
- package/dist/draft07.d.ts +3 -3
- package/dist/draft08-session.d.cts +3 -3
- package/dist/draft08-session.d.ts +3 -3
- package/dist/draft08.d.cts +4 -4
- package/dist/draft08.d.ts +4 -4
- package/dist/draft09-session.d.cts +3 -3
- package/dist/draft09-session.d.ts +3 -3
- package/dist/draft09.d.cts +4 -4
- package/dist/draft09.d.ts +4 -4
- package/dist/draft10-session.d.cts +3 -3
- package/dist/draft10-session.d.ts +3 -3
- package/dist/draft10.d.cts +4 -4
- package/dist/draft10.d.ts +4 -4
- package/dist/draft11-session.d.cts +3 -3
- package/dist/draft11-session.d.ts +3 -3
- package/dist/draft11.d.cts +4 -4
- package/dist/draft11.d.ts +4 -4
- package/dist/draft12-session.d.cts +3 -3
- package/dist/draft12-session.d.ts +3 -3
- package/dist/draft12.d.cts +4 -4
- package/dist/draft12.d.ts +4 -4
- package/dist/draft13-session.d.cts +3 -3
- package/dist/draft13-session.d.ts +3 -3
- package/dist/draft13.d.cts +4 -4
- package/dist/draft13.d.ts +4 -4
- package/dist/draft14-session.d.cts +3 -3
- package/dist/draft14-session.d.ts +3 -3
- package/dist/draft14.d.cts +4 -4
- package/dist/draft14.d.ts +4 -4
- package/dist/draft15-session.d.cts +3 -3
- package/dist/draft15-session.d.ts +3 -3
- package/dist/draft15.d.cts +4 -4
- package/dist/draft15.d.ts +4 -4
- package/dist/draft16-session.d.cts +3 -3
- package/dist/draft16-session.d.ts +3 -3
- package/dist/draft16.d.cts +4 -4
- package/dist/draft16.d.ts +4 -4
- package/dist/draft17-session.d.cts +3 -3
- package/dist/draft17-session.d.ts +3 -3
- package/dist/draft17.d.cts +3 -3
- package/dist/draft17.d.ts +3 -3
- package/dist/draft18-session.d.cts +3 -3
- package/dist/draft18-session.d.ts +3 -3
- package/dist/draft18.d.cts +3 -3
- package/dist/draft18.d.ts +3 -3
- package/dist/draft19-session.d.cts +3 -3
- package/dist/draft19-session.d.ts +3 -3
- package/dist/draft19.cjs +2 -2
- package/dist/draft19.d.cts +3 -3
- package/dist/draft19.d.ts +3 -3
- package/dist/draft19.js +1 -1
- package/dist/draft20-session.cjs +8 -0
- package/dist/draft20-session.d.cts +195 -0
- package/dist/draft20-session.d.ts +195 -0
- package/dist/draft20-session.js +8 -0
- package/dist/draft20.cjs +217 -0
- package/dist/draft20.d.cts +175 -0
- package/dist/draft20.d.ts +175 -0
- package/dist/draft20.js +217 -0
- package/dist/index.cjs +9 -3
- package/dist/index.d.cts +32 -17
- package/dist/index.d.ts +32 -17
- package/dist/index.js +8 -2
- package/dist/{session-types-KsqyVp6y.d.cts → session-types-B9idsih-.d.cts} +13 -1
- package/dist/{session-types-C0l_-Ups.d.ts → session-types-Dn7b3RZM.d.ts} +13 -1
- package/dist/session.cjs +5 -1
- package/dist/session.d.cts +5 -3
- package/dist/session.d.ts +5 -3
- package/dist/session.js +5 -1
- package/dist/types-CWCQwuvy.d.cts +359 -0
- package/dist/types-CWCQwuvy.d.ts +359 -0
- package/dist/{types-CdCSIfvI.d.cts → types-DG5_iKuv.d.cts} +1 -1
- package/dist/{types-CdCSIfvI.d.ts → types-DG5_iKuv.d.ts} +1 -1
- package/package.json +16 -3
- package/src/core/session-types.ts +7 -0
- package/src/core/types.ts +1 -0
- package/src/drafts/draft19/codec.ts +4 -2
- package/src/drafts/draft20/codec.ts +1737 -0
- package/src/drafts/draft20/data-streams.ts +1291 -0
- package/src/drafts/draft20/error-codes.ts +135 -0
- package/src/drafts/draft20/index.ts +165 -0
- package/src/drafts/draft20/messages.ts +68 -0
- package/src/drafts/draft20/rules.ts +107 -0
- package/src/drafts/draft20/session-fsm.ts +1063 -0
- package/src/drafts/draft20/session.ts +21 -0
- package/src/drafts/draft20/types.ts +455 -0
- package/src/index.ts +20 -2
- package/src/session.ts +4 -0
package/dist/draft11.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft11Codec, c as createDraft11Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft11Codec, c as createDraft11Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-DAyiF5sq.cjs';
|
|
2
2
|
import { b as Draft11DataStream, c as DatagramObject, F as FetchStream, S as SubgroupStream, a as Draft11MessageType, D as Draft11Message } from './types-Ck45Ex5S.cjs';
|
|
3
3
|
export { A as AuthorizationToken, d as DataStreamEvent, e as DataStreamHeader, f as Draft11Announce, g as Draft11AnnounceCancel, h as Draft11AnnounceError, i as Draft11AnnounceOk, j as Draft11BaseMessage, k as Draft11ClientSetup, l as Draft11Fetch, m as Draft11FetchCancel, n as Draft11FetchError, o as Draft11FetchOk, p as Draft11GoAway, q as Draft11MaxRequestId, r as Draft11Params, s as Draft11RequestsBlocked, t as Draft11ServerSetup, u as Draft11SetupParams, v as Draft11Subscribe, w as Draft11SubscribeAnnounces, x as Draft11SubscribeAnnouncesError, y as Draft11SubscribeAnnouncesOk, z as Draft11SubscribeDone, B as Draft11SubscribeError, C as Draft11SubscribeOk, E as Draft11SubscribeUpdate, G as Draft11TrackStatus, H as Draft11TrackStatusRequest, I as Draft11Unannounce, J as Draft11Unsubscribe, K as Draft11UnsubscribeAnnounces, L as FetchObjectPayload, M as FetchStreamHeader, N as JoiningFetch, O as LargestLocation, P as ObjectPayload, Q as StandaloneFetch, R as SubgroupStreamHeader, U as UnknownParam } from './types-Ck45Ex5S.cjs';
|
|
4
4
|
export { createDraft11SessionState } from './draft11-session.cjs';
|
|
5
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
6
|
-
export { A as AnnouncePhase, F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-
|
|
7
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-B9idsih-.cjs';
|
|
6
|
+
export { A as AnnouncePhase, F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-B9idsih-.cjs';
|
|
7
|
+
import { b as DecodeResult } from './types-DG5_iKuv.cjs';
|
|
8
8
|
|
|
9
9
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
10
10
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
package/dist/draft11.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft11Codec, c as createDraft11Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft11Codec, c as createDraft11Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-CA6nbbEk.js';
|
|
2
2
|
import { b as Draft11DataStream, c as DatagramObject, F as FetchStream, S as SubgroupStream, a as Draft11MessageType, D as Draft11Message } from './types-Ck45Ex5S.js';
|
|
3
3
|
export { A as AuthorizationToken, d as DataStreamEvent, e as DataStreamHeader, f as Draft11Announce, g as Draft11AnnounceCancel, h as Draft11AnnounceError, i as Draft11AnnounceOk, j as Draft11BaseMessage, k as Draft11ClientSetup, l as Draft11Fetch, m as Draft11FetchCancel, n as Draft11FetchError, o as Draft11FetchOk, p as Draft11GoAway, q as Draft11MaxRequestId, r as Draft11Params, s as Draft11RequestsBlocked, t as Draft11ServerSetup, u as Draft11SetupParams, v as Draft11Subscribe, w as Draft11SubscribeAnnounces, x as Draft11SubscribeAnnouncesError, y as Draft11SubscribeAnnouncesOk, z as Draft11SubscribeDone, B as Draft11SubscribeError, C as Draft11SubscribeOk, E as Draft11SubscribeUpdate, G as Draft11TrackStatus, H as Draft11TrackStatusRequest, I as Draft11Unannounce, J as Draft11Unsubscribe, K as Draft11UnsubscribeAnnounces, L as FetchObjectPayload, M as FetchStreamHeader, N as JoiningFetch, O as LargestLocation, P as ObjectPayload, Q as StandaloneFetch, R as SubgroupStreamHeader, U as UnknownParam } from './types-Ck45Ex5S.js';
|
|
4
4
|
export { createDraft11SessionState } from './draft11-session.js';
|
|
5
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
6
|
-
export { A as AnnouncePhase, F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-
|
|
7
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-Dn7b3RZM.js';
|
|
6
|
+
export { A as AnnouncePhase, F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-Dn7b3RZM.js';
|
|
7
|
+
import { b as DecodeResult } from './types-DG5_iKuv.js';
|
|
8
8
|
|
|
9
9
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
10
10
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-
|
|
2
|
-
export { A as AnnouncePhase, b as AnnounceState, F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
1
|
+
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-B9idsih-.cjs';
|
|
2
|
+
export { A as AnnouncePhase, b as AnnounceState, F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-B9idsih-.cjs';
|
|
3
3
|
import { D as Draft12Message, a as Draft12MessageType } from './types-Bio-91Rt.cjs';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.cjs';
|
|
5
5
|
|
|
6
6
|
declare function createDraft12SessionState(role: SessionStateOptionsRole): SessionState<Draft12Message, Draft12MessageType>;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-
|
|
2
|
-
export { A as AnnouncePhase, b as AnnounceState, F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
1
|
+
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-Dn7b3RZM.js';
|
|
2
|
+
export { A as AnnouncePhase, b as AnnounceState, F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-Dn7b3RZM.js';
|
|
3
3
|
import { D as Draft12Message, a as Draft12MessageType } from './types-Bio-91Rt.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.js';
|
|
5
5
|
|
|
6
6
|
declare function createDraft12SessionState(role: SessionStateOptionsRole): SessionState<Draft12Message, Draft12MessageType>;
|
|
7
7
|
|
package/dist/draft12.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft12Codec, c as createDraft12Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft12Codec, c as createDraft12Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-CtvFK4aV.cjs';
|
|
2
2
|
import { b as Draft12DataStream, c as DatagramObject, F as FetchStream, S as SubgroupStream, a as Draft12MessageType, D as Draft12Message } from './types-Bio-91Rt.cjs';
|
|
3
3
|
export { A as AuthorizationToken, d as DataStreamEvent, e as DataStreamHeader, f as Draft12Announce, g as Draft12AnnounceCancel, h as Draft12AnnounceError, i as Draft12AnnounceOk, j as Draft12BaseMessage, k as Draft12ClientSetup, l as Draft12Fetch, m as Draft12FetchCancel, n as Draft12FetchError, o as Draft12FetchOk, p as Draft12GoAway, q as Draft12MaxRequestId, r as Draft12Params, s as Draft12Publish, t as Draft12PublishError, u as Draft12PublishOk, v as Draft12RequestsBlocked, w as Draft12ServerSetup, x as Draft12SetupParams, y as Draft12Subscribe, z as Draft12SubscribeAnnounces, B as Draft12SubscribeAnnouncesError, C as Draft12SubscribeAnnouncesOk, E as Draft12SubscribeDone, G as Draft12SubscribeError, H as Draft12SubscribeOk, I as Draft12SubscribeUpdate, J as Draft12TrackStatus, K as Draft12TrackStatusRequest, L as Draft12Unannounce, M as Draft12Unsubscribe, N as Draft12UnsubscribeAnnounces, O as FetchObjectPayload, P as FetchStreamHeader, Q as JoiningFetch, R as LargestLocation, T as ObjectPayload, U as StandaloneFetch, V as SubgroupStreamHeader, W as UnknownParam } from './types-Bio-91Rt.cjs';
|
|
4
4
|
export { createDraft12SessionState } from './draft12-session.cjs';
|
|
5
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
6
|
-
export { A as AnnouncePhase, F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-
|
|
7
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-B9idsih-.cjs';
|
|
6
|
+
export { A as AnnouncePhase, F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-B9idsih-.cjs';
|
|
7
|
+
import { b as DecodeResult } from './types-DG5_iKuv.cjs';
|
|
8
8
|
|
|
9
9
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
10
10
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
package/dist/draft12.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft12Codec, c as createDraft12Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft12Codec, c as createDraft12Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-BKsVu3Fr.js';
|
|
2
2
|
import { b as Draft12DataStream, c as DatagramObject, F as FetchStream, S as SubgroupStream, a as Draft12MessageType, D as Draft12Message } from './types-Bio-91Rt.js';
|
|
3
3
|
export { A as AuthorizationToken, d as DataStreamEvent, e as DataStreamHeader, f as Draft12Announce, g as Draft12AnnounceCancel, h as Draft12AnnounceError, i as Draft12AnnounceOk, j as Draft12BaseMessage, k as Draft12ClientSetup, l as Draft12Fetch, m as Draft12FetchCancel, n as Draft12FetchError, o as Draft12FetchOk, p as Draft12GoAway, q as Draft12MaxRequestId, r as Draft12Params, s as Draft12Publish, t as Draft12PublishError, u as Draft12PublishOk, v as Draft12RequestsBlocked, w as Draft12ServerSetup, x as Draft12SetupParams, y as Draft12Subscribe, z as Draft12SubscribeAnnounces, B as Draft12SubscribeAnnouncesError, C as Draft12SubscribeAnnouncesOk, E as Draft12SubscribeDone, G as Draft12SubscribeError, H as Draft12SubscribeOk, I as Draft12SubscribeUpdate, J as Draft12TrackStatus, K as Draft12TrackStatusRequest, L as Draft12Unannounce, M as Draft12Unsubscribe, N as Draft12UnsubscribeAnnounces, O as FetchObjectPayload, P as FetchStreamHeader, Q as JoiningFetch, R as LargestLocation, T as ObjectPayload, U as StandaloneFetch, V as SubgroupStreamHeader, W as UnknownParam } from './types-Bio-91Rt.js';
|
|
4
4
|
export { createDraft12SessionState } from './draft12-session.js';
|
|
5
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
6
|
-
export { A as AnnouncePhase, F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-
|
|
7
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-Dn7b3RZM.js';
|
|
6
|
+
export { A as AnnouncePhase, F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-Dn7b3RZM.js';
|
|
7
|
+
import { b as DecodeResult } from './types-DG5_iKuv.js';
|
|
8
8
|
|
|
9
9
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
10
10
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-
|
|
2
|
-
export { A as AnnouncePhase, b as AnnounceState, F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
1
|
+
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-B9idsih-.cjs';
|
|
2
|
+
export { A as AnnouncePhase, b as AnnounceState, F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-B9idsih-.cjs';
|
|
3
3
|
import { D as Draft13Message, a as Draft13MessageType } from './types-CXlSn0I9.cjs';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.cjs';
|
|
5
5
|
|
|
6
6
|
declare function createDraft13SessionState(role: SessionStateOptionsRole): SessionState<Draft13Message, Draft13MessageType>;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-
|
|
2
|
-
export { A as AnnouncePhase, b as AnnounceState, F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
1
|
+
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-Dn7b3RZM.js';
|
|
2
|
+
export { A as AnnouncePhase, b as AnnounceState, F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-Dn7b3RZM.js';
|
|
3
3
|
import { D as Draft13Message, a as Draft13MessageType } from './types-CXlSn0I9.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.js';
|
|
5
5
|
|
|
6
6
|
declare function createDraft13SessionState(role: SessionStateOptionsRole): SessionState<Draft13Message, Draft13MessageType>;
|
|
7
7
|
|
package/dist/draft13.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft13Codec, c as createDraft13Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft13Codec, c as createDraft13Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-C_xxsbKy.cjs';
|
|
2
2
|
import { b as Draft13DataStream, c as DatagramObject, F as FetchStream, S as SubgroupStream, a as Draft13MessageType, D as Draft13Message } from './types-CXlSn0I9.cjs';
|
|
3
3
|
export { A as AuthorizationToken, d as DataStreamEvent, e as DataStreamHeader, f as Draft13Announce, g as Draft13AnnounceCancel, h as Draft13AnnounceError, i as Draft13AnnounceOk, j as Draft13BaseMessage, k as Draft13ClientSetup, l as Draft13Fetch, m as Draft13FetchCancel, n as Draft13FetchError, o as Draft13FetchOk, p as Draft13GoAway, q as Draft13MaxRequestId, r as Draft13Params, s as Draft13Publish, t as Draft13PublishError, u as Draft13PublishOk, v as Draft13RequestsBlocked, w as Draft13ServerSetup, x as Draft13SetupParams, y as Draft13Subscribe, z as Draft13SubscribeDone, B as Draft13SubscribeError, C as Draft13SubscribeNamespace, E as Draft13SubscribeNamespaceError, G as Draft13SubscribeNamespaceOk, H as Draft13SubscribeOk, I as Draft13SubscribeUpdate, J as Draft13TrackStatus, K as Draft13TrackStatusError, L as Draft13TrackStatusOk, M as Draft13Unannounce, N as Draft13Unsubscribe, O as Draft13UnsubscribeNamespace, P as FetchObjectPayload, Q as FetchStreamHeader, R as JoiningFetch, T as LargestLocation, U as ObjectPayload, V as StandaloneFetch, W as SubgroupStreamHeader, X as UnknownParam } from './types-CXlSn0I9.cjs';
|
|
4
4
|
export { createDraft13SessionState } from './draft13-session.cjs';
|
|
5
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
6
|
-
export { A as AnnouncePhase, F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-
|
|
7
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-B9idsih-.cjs';
|
|
6
|
+
export { A as AnnouncePhase, F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-B9idsih-.cjs';
|
|
7
|
+
import { b as DecodeResult } from './types-DG5_iKuv.cjs';
|
|
8
8
|
|
|
9
9
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
10
10
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
package/dist/draft13.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft13Codec, c as createDraft13Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft13Codec, c as createDraft13Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-O-1Js7h4.js';
|
|
2
2
|
import { b as Draft13DataStream, c as DatagramObject, F as FetchStream, S as SubgroupStream, a as Draft13MessageType, D as Draft13Message } from './types-CXlSn0I9.js';
|
|
3
3
|
export { A as AuthorizationToken, d as DataStreamEvent, e as DataStreamHeader, f as Draft13Announce, g as Draft13AnnounceCancel, h as Draft13AnnounceError, i as Draft13AnnounceOk, j as Draft13BaseMessage, k as Draft13ClientSetup, l as Draft13Fetch, m as Draft13FetchCancel, n as Draft13FetchError, o as Draft13FetchOk, p as Draft13GoAway, q as Draft13MaxRequestId, r as Draft13Params, s as Draft13Publish, t as Draft13PublishError, u as Draft13PublishOk, v as Draft13RequestsBlocked, w as Draft13ServerSetup, x as Draft13SetupParams, y as Draft13Subscribe, z as Draft13SubscribeDone, B as Draft13SubscribeError, C as Draft13SubscribeNamespace, E as Draft13SubscribeNamespaceError, G as Draft13SubscribeNamespaceOk, H as Draft13SubscribeOk, I as Draft13SubscribeUpdate, J as Draft13TrackStatus, K as Draft13TrackStatusError, L as Draft13TrackStatusOk, M as Draft13Unannounce, N as Draft13Unsubscribe, O as Draft13UnsubscribeNamespace, P as FetchObjectPayload, Q as FetchStreamHeader, R as JoiningFetch, T as LargestLocation, U as ObjectPayload, V as StandaloneFetch, W as SubgroupStreamHeader, X as UnknownParam } from './types-CXlSn0I9.js';
|
|
4
4
|
export { createDraft13SessionState } from './draft13-session.js';
|
|
5
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
6
|
-
export { A as AnnouncePhase, F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-
|
|
7
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-Dn7b3RZM.js';
|
|
6
|
+
export { A as AnnouncePhase, F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-Dn7b3RZM.js';
|
|
7
|
+
import { b as DecodeResult } from './types-DG5_iKuv.js';
|
|
8
8
|
|
|
9
9
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
10
10
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-
|
|
2
|
-
export { F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, f as PublishState, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
1
|
+
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-B9idsih-.cjs';
|
|
2
|
+
export { F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, f as PublishState, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-B9idsih-.cjs';
|
|
3
3
|
import { D as Draft14Message, a as Draft14MessageType } from './types-HI_bbXka.cjs';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.cjs';
|
|
5
5
|
|
|
6
6
|
declare function createDraft14SessionState(role: SessionStateOptionsRole): SessionState<Draft14Message, Draft14MessageType>;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-
|
|
2
|
-
export { F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, f as PublishState, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
1
|
+
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-Dn7b3RZM.js';
|
|
2
|
+
export { F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, f as PublishState, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-Dn7b3RZM.js';
|
|
3
3
|
import { D as Draft14Message, a as Draft14MessageType } from './types-HI_bbXka.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.js';
|
|
5
5
|
|
|
6
6
|
declare function createDraft14SessionState(role: SessionStateOptionsRole): SessionState<Draft14Message, Draft14MessageType>;
|
|
7
7
|
|
package/dist/draft14.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft14Codec, c as createDraft14Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft14Codec, c as createDraft14Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-DzLvG8Wb.cjs';
|
|
2
2
|
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft14DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft14MessageType, D as Draft14Message } from './types-HI_bbXka.cjs';
|
|
3
3
|
export { A as AuthorizationToken, g as DataStreamHeader, h as Draft14BaseMessage, i as Draft14ClientSetup, j as Draft14Fetch, k as Draft14FetchCancel, l as Draft14FetchError, m as Draft14FetchOk, n as Draft14GoAway, o as Draft14MaxRequestId, p as Draft14Params, q as Draft14Publish, r as Draft14PublishDone, s as Draft14PublishError, t as Draft14PublishNamespace, u as Draft14PublishNamespaceCancel, v as Draft14PublishNamespaceDone, w as Draft14PublishNamespaceError, x as Draft14PublishNamespaceOk, y as Draft14PublishOk, z as Draft14RequestsBlocked, B as Draft14ServerSetup, C as Draft14Subscribe, E as Draft14SubscribeError, G as Draft14SubscribeNamespace, H as Draft14SubscribeNamespaceError, I as Draft14SubscribeNamespaceOk, J as Draft14SubscribeOk, K as Draft14SubscribeUpdate, L as Draft14TrackStatus, M as Draft14TrackStatusError, N as Draft14TrackStatusOk, P as Draft14Unsubscribe, Q as Draft14UnsubscribeNamespace, R as FetchObjectPayload, T as FetchType, U as FetchTypeValue, V as FilterType, W as FilterTypeValue, X as GroupOrder, Y as GroupOrderValue, Z as Location, _ as UnknownParam } from './types-HI_bbXka.cjs';
|
|
4
4
|
export { createDraft14SessionState } from './draft14-session.cjs';
|
|
5
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
6
|
-
export { F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-
|
|
7
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-B9idsih-.cjs';
|
|
6
|
+
export { F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-B9idsih-.cjs';
|
|
7
|
+
import { b as DecodeResult } from './types-DG5_iKuv.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Encode a subgroup stream header + objects.
|
package/dist/draft14.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft14Codec, c as createDraft14Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft14Codec, c as createDraft14Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-BQa6Qsav.js';
|
|
2
2
|
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft14DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft14MessageType, D as Draft14Message } from './types-HI_bbXka.js';
|
|
3
3
|
export { A as AuthorizationToken, g as DataStreamHeader, h as Draft14BaseMessage, i as Draft14ClientSetup, j as Draft14Fetch, k as Draft14FetchCancel, l as Draft14FetchError, m as Draft14FetchOk, n as Draft14GoAway, o as Draft14MaxRequestId, p as Draft14Params, q as Draft14Publish, r as Draft14PublishDone, s as Draft14PublishError, t as Draft14PublishNamespace, u as Draft14PublishNamespaceCancel, v as Draft14PublishNamespaceDone, w as Draft14PublishNamespaceError, x as Draft14PublishNamespaceOk, y as Draft14PublishOk, z as Draft14RequestsBlocked, B as Draft14ServerSetup, C as Draft14Subscribe, E as Draft14SubscribeError, G as Draft14SubscribeNamespace, H as Draft14SubscribeNamespaceError, I as Draft14SubscribeNamespaceOk, J as Draft14SubscribeOk, K as Draft14SubscribeUpdate, L as Draft14TrackStatus, M as Draft14TrackStatusError, N as Draft14TrackStatusOk, P as Draft14Unsubscribe, Q as Draft14UnsubscribeNamespace, R as FetchObjectPayload, T as FetchType, U as FetchTypeValue, V as FilterType, W as FilterTypeValue, X as GroupOrder, Y as GroupOrderValue, Z as Location, _ as UnknownParam } from './types-HI_bbXka.js';
|
|
4
4
|
export { createDraft14SessionState } from './draft14-session.js';
|
|
5
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
6
|
-
export { F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-
|
|
7
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-Dn7b3RZM.js';
|
|
6
|
+
export { F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-Dn7b3RZM.js';
|
|
7
|
+
import { b as DecodeResult } from './types-DG5_iKuv.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Encode a subgroup stream header + objects.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-
|
|
2
|
-
export { F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, f as PublishState, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
1
|
+
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-B9idsih-.cjs';
|
|
2
|
+
export { F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, f as PublishState, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-B9idsih-.cjs';
|
|
3
3
|
import { D as Draft15Message, a as Draft15MessageType } from './types-CPaYBsMG.cjs';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.cjs';
|
|
5
5
|
|
|
6
6
|
declare function createDraft15SessionState(role: SessionStateOptionsRole): SessionState<Draft15Message, Draft15MessageType>;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-
|
|
2
|
-
export { F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, f as PublishState, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
1
|
+
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-Dn7b3RZM.js';
|
|
2
|
+
export { F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, f as PublishState, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-Dn7b3RZM.js';
|
|
3
3
|
import { D as Draft15Message, a as Draft15MessageType } from './types-CPaYBsMG.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.js';
|
|
5
5
|
|
|
6
6
|
declare function createDraft15SessionState(role: SessionStateOptionsRole): SessionState<Draft15Message, Draft15MessageType>;
|
|
7
7
|
|
package/dist/draft15.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft15Codec, c as createDraft15Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft15Codec, c as createDraft15Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-vddqy0KY.cjs';
|
|
2
2
|
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft15DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft15MessageType, D as Draft15Message } from './types-CPaYBsMG.cjs';
|
|
3
3
|
export { g as DataStreamHeader, h as Draft15BaseMessage, i as Draft15ClientSetup, j as Draft15Fetch, k as Draft15FetchCancel, l as Draft15FetchOk, m as Draft15GoAway, n as Draft15MaxRequestId, o as Draft15Params, p as Draft15Publish, q as Draft15PublishDone, r as Draft15PublishNamespace, s as Draft15PublishNamespaceCancel, t as Draft15PublishNamespaceDone, u as Draft15PublishOk, v as Draft15RequestError, w as Draft15RequestOk, x as Draft15RequestsBlocked, y as Draft15ServerSetup, z as Draft15SetupParams, A as Draft15Subscribe, B as Draft15SubscribeNamespace, C as Draft15SubscribeOk, E as Draft15SubscribeUpdate, G as Draft15TrackStatus, H as Draft15Unsubscribe, I as Draft15UnsubscribeNamespace, J as FetchObjectPayload, K as JoiningFetch, L as LargestObject, M as StandaloneFetch, N as SubscriptionFilter, U as UnknownParam } from './types-CPaYBsMG.cjs';
|
|
4
4
|
export { createDraft15SessionState } from './draft15-session.cjs';
|
|
5
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
6
|
-
export { F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-
|
|
7
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-B9idsih-.cjs';
|
|
6
|
+
export { F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-B9idsih-.cjs';
|
|
7
|
+
import { b as DecodeResult } from './types-DG5_iKuv.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Encode a subgroup stream header + objects.
|
package/dist/draft15.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft15Codec, c as createDraft15Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft15Codec, c as createDraft15Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-BMwgZIgG.js';
|
|
2
2
|
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft15DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft15MessageType, D as Draft15Message } from './types-CPaYBsMG.js';
|
|
3
3
|
export { g as DataStreamHeader, h as Draft15BaseMessage, i as Draft15ClientSetup, j as Draft15Fetch, k as Draft15FetchCancel, l as Draft15FetchOk, m as Draft15GoAway, n as Draft15MaxRequestId, o as Draft15Params, p as Draft15Publish, q as Draft15PublishDone, r as Draft15PublishNamespace, s as Draft15PublishNamespaceCancel, t as Draft15PublishNamespaceDone, u as Draft15PublishOk, v as Draft15RequestError, w as Draft15RequestOk, x as Draft15RequestsBlocked, y as Draft15ServerSetup, z as Draft15SetupParams, A as Draft15Subscribe, B as Draft15SubscribeNamespace, C as Draft15SubscribeOk, E as Draft15SubscribeUpdate, G as Draft15TrackStatus, H as Draft15Unsubscribe, I as Draft15UnsubscribeNamespace, J as FetchObjectPayload, K as JoiningFetch, L as LargestObject, M as StandaloneFetch, N as SubscriptionFilter, U as UnknownParam } from './types-CPaYBsMG.js';
|
|
4
4
|
export { createDraft15SessionState } from './draft15-session.js';
|
|
5
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
6
|
-
export { F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-
|
|
7
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-Dn7b3RZM.js';
|
|
6
|
+
export { F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-Dn7b3RZM.js';
|
|
7
|
+
import { b as DecodeResult } from './types-DG5_iKuv.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Encode a subgroup stream header + objects.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-
|
|
2
|
-
export { F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, f as PublishState, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
1
|
+
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-B9idsih-.cjs';
|
|
2
|
+
export { F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, f as PublishState, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-B9idsih-.cjs';
|
|
3
3
|
import { D as Draft16Message, a as Draft16MessageType } from './types-Cm9fjeYC.cjs';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.cjs';
|
|
5
5
|
|
|
6
6
|
declare function createDraft16SessionState(role: SessionStateOptionsRole): SessionState<Draft16Message, Draft16MessageType>;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-
|
|
2
|
-
export { F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, f as PublishState, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
1
|
+
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-Dn7b3RZM.js';
|
|
2
|
+
export { F as FetchPhase, c as FetchState, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, f as PublishState, g as SessionPhase, h as SideEffect, i as SubscriptionPhase, j as SubscriptionState, T as TransitionResult, V as ValidationResult } from './session-types-Dn7b3RZM.js';
|
|
3
3
|
import { D as Draft16Message, a as Draft16MessageType } from './types-Cm9fjeYC.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.js';
|
|
5
5
|
|
|
6
6
|
declare function createDraft16SessionState(role: SessionStateOptionsRole): SessionState<Draft16Message, Draft16MessageType>;
|
|
7
7
|
|
package/dist/draft16.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft16Codec, c as createDraft16Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft16Codec, c as createDraft16Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-DJmqoIsp.cjs';
|
|
2
2
|
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft16DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft16MessageType, D as Draft16Message } from './types-Cm9fjeYC.cjs';
|
|
3
3
|
export { g as DataStreamHeader, h as Draft16BaseMessage, i as Draft16ClientSetup, j as Draft16Fetch, k as Draft16FetchCancel, l as Draft16FetchOk, m as Draft16GoAway, n as Draft16MaxRequestId, o as Draft16Namespace, p as Draft16NamespaceDone, q as Draft16Params, r as Draft16Publish, s as Draft16PublishDone, t as Draft16PublishNamespace, u as Draft16PublishNamespaceCancel, v as Draft16PublishNamespaceDone, w as Draft16PublishOk, x as Draft16RequestError, y as Draft16RequestOk, z as Draft16RequestUpdate, A as Draft16RequestsBlocked, B as Draft16ServerSetup, C as Draft16SetupParams, E as Draft16Subscribe, G as Draft16SubscribeNamespace, H as Draft16SubscribeOk, I as Draft16TrackStatus, J as Draft16Unsubscribe, K as FetchObjectPayload, L as JoiningFetch, M as LargestObject, N as StandaloneFetch, P as SubscriptionFilter, U as UnknownParam } from './types-Cm9fjeYC.cjs';
|
|
4
4
|
export { createDraft16SessionState } from './draft16-session.cjs';
|
|
5
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
6
|
-
export { F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-
|
|
7
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-B9idsih-.cjs';
|
|
6
|
+
export { F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-B9idsih-.cjs';
|
|
7
|
+
import { b as DecodeResult } from './types-DG5_iKuv.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Encode a subgroup stream header + objects.
|
package/dist/draft16.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft16Codec, c as createDraft16Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft16Codec, c as createDraft16Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-C006F75E.js';
|
|
2
2
|
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft16DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft16MessageType, D as Draft16Message } from './types-Cm9fjeYC.js';
|
|
3
3
|
export { g as DataStreamHeader, h as Draft16BaseMessage, i as Draft16ClientSetup, j as Draft16Fetch, k as Draft16FetchCancel, l as Draft16FetchOk, m as Draft16GoAway, n as Draft16MaxRequestId, o as Draft16Namespace, p as Draft16NamespaceDone, q as Draft16Params, r as Draft16Publish, s as Draft16PublishDone, t as Draft16PublishNamespace, u as Draft16PublishNamespaceCancel, v as Draft16PublishNamespaceDone, w as Draft16PublishOk, x as Draft16RequestError, y as Draft16RequestOk, z as Draft16RequestUpdate, A as Draft16RequestsBlocked, B as Draft16ServerSetup, C as Draft16SetupParams, E as Draft16Subscribe, G as Draft16SubscribeNamespace, H as Draft16SubscribeOk, I as Draft16TrackStatus, J as Draft16Unsubscribe, K as FetchObjectPayload, L as JoiningFetch, M as LargestObject, N as StandaloneFetch, P as SubscriptionFilter, U as UnknownParam } from './types-Cm9fjeYC.js';
|
|
4
4
|
export { createDraft16SessionState } from './draft16-session.js';
|
|
5
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
6
|
-
export { F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-
|
|
7
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-Dn7b3RZM.js';
|
|
6
|
+
export { F as FetchPhase, P as ProtocolViolation, d as ProtocolViolationCode, e as PublishPhase, a as SessionState, h as SideEffect, i as SubscriptionPhase } from './session-types-Dn7b3RZM.js';
|
|
7
|
+
import { b as DecodeResult } from './types-DG5_iKuv.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Encode a subgroup stream header + objects.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
2
|
-
export { P as ProtocolViolation, h as SideEffect } from './session-types-
|
|
1
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-B9idsih-.cjs';
|
|
2
|
+
export { P as ProtocolViolation, h as SideEffect } from './session-types-B9idsih-.cjs';
|
|
3
3
|
import { a as Draft17MessageType, D as Draft17Message } from './types-D9eiB_9A.cjs';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.cjs';
|
|
5
5
|
|
|
6
6
|
declare class Draft17SessionFSM {
|
|
7
7
|
private _phase;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
2
|
-
export { P as ProtocolViolation, h as SideEffect } from './session-types-
|
|
1
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-Dn7b3RZM.js';
|
|
2
|
+
export { P as ProtocolViolation, h as SideEffect } from './session-types-Dn7b3RZM.js';
|
|
3
3
|
import { a as Draft17MessageType, D as Draft17Message } from './types-D9eiB_9A.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.js';
|
|
5
5
|
|
|
6
6
|
declare class Draft17SessionFSM {
|
|
7
7
|
private _phase;
|
package/dist/draft17.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { D as Draft17Codec, c as createDraft17Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft17Codec, c as createDraft17Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-DchsPfr3.cjs';
|
|
2
2
|
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft17DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft17MessageType } from './types-D9eiB_9A.cjs';
|
|
3
3
|
export { g as DataStreamHeader, h as Draft17BaseMessage, i as Draft17Fetch, j as Draft17FetchOk, k as Draft17GoAway, D as Draft17Message, l as Draft17Namespace, m as Draft17NamespaceDone, n as Draft17Params, o as Draft17Publish, p as Draft17PublishBlocked, q as Draft17PublishDone, r as Draft17PublishNamespace, s as Draft17PublishOk, t as Draft17RequestError, u as Draft17RequestOk, v as Draft17RequestUpdate, w as Draft17Setup, x as Draft17SetupOptions, y as Draft17Subscribe, z as Draft17SubscribeNamespace, A as Draft17SubscribeOk, B as Draft17TrackProperties, C as Draft17TrackStatus, E as FetchObjectPayload, J as JoiningFetch, L as LargestObject, G as StandaloneFetch, H as SubscriptionFilter, U as UnknownParam } from './types-D9eiB_9A.cjs';
|
|
4
4
|
export { Draft17SessionFSM, createDraft17SessionState } from './draft17-session.cjs';
|
|
5
|
-
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
6
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-B9idsih-.cjs';
|
|
6
|
+
import { b as DecodeResult } from './types-DG5_iKuv.cjs';
|
|
7
7
|
|
|
8
8
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
9
9
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
package/dist/draft17.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { D as Draft17Codec, c as createDraft17Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft17Codec, c as createDraft17Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-D4RvFQmu.js';
|
|
2
2
|
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft17DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft17MessageType } from './types-D9eiB_9A.js';
|
|
3
3
|
export { g as DataStreamHeader, h as Draft17BaseMessage, i as Draft17Fetch, j as Draft17FetchOk, k as Draft17GoAway, D as Draft17Message, l as Draft17Namespace, m as Draft17NamespaceDone, n as Draft17Params, o as Draft17Publish, p as Draft17PublishBlocked, q as Draft17PublishDone, r as Draft17PublishNamespace, s as Draft17PublishOk, t as Draft17RequestError, u as Draft17RequestOk, v as Draft17RequestUpdate, w as Draft17Setup, x as Draft17SetupOptions, y as Draft17Subscribe, z as Draft17SubscribeNamespace, A as Draft17SubscribeOk, B as Draft17TrackProperties, C as Draft17TrackStatus, E as FetchObjectPayload, J as JoiningFetch, L as LargestObject, G as StandaloneFetch, H as SubscriptionFilter, U as UnknownParam } from './types-D9eiB_9A.js';
|
|
4
4
|
export { Draft17SessionFSM, createDraft17SessionState } from './draft17-session.js';
|
|
5
|
-
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
6
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-Dn7b3RZM.js';
|
|
6
|
+
import { b as DecodeResult } from './types-DG5_iKuv.js';
|
|
7
7
|
|
|
8
8
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
9
9
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
2
|
-
export { P as ProtocolViolation, h as SideEffect } from './session-types-
|
|
1
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-B9idsih-.cjs';
|
|
2
|
+
export { P as ProtocolViolation, h as SideEffect } from './session-types-B9idsih-.cjs';
|
|
3
3
|
import { a as Draft18MessageType, D as Draft18Message } from './types-Cqp10JtB.cjs';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.cjs';
|
|
5
5
|
|
|
6
6
|
declare class Draft18SessionFSM {
|
|
7
7
|
private _phase;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
2
|
-
export { P as ProtocolViolation, h as SideEffect } from './session-types-
|
|
1
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-Dn7b3RZM.js';
|
|
2
|
+
export { P as ProtocolViolation, h as SideEffect } from './session-types-Dn7b3RZM.js';
|
|
3
3
|
import { a as Draft18MessageType, D as Draft18Message } from './types-Cqp10JtB.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.js';
|
|
5
5
|
|
|
6
6
|
declare class Draft18SessionFSM {
|
|
7
7
|
private _phase;
|
package/dist/draft18.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { D as Draft18Codec, c as createDraft18Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft18Codec, c as createDraft18Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-CSBFdPgP.cjs';
|
|
2
2
|
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft18DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft18MessageType } from './types-Cqp10JtB.cjs';
|
|
3
3
|
export { g as DataStreamHeader, h as Draft18BaseMessage, i as Draft18Fetch, j as Draft18FetchOk, k as Draft18GoAway, D as Draft18Message, l as Draft18Namespace, m as Draft18NamespaceDone, n as Draft18Params, o as Draft18Publish, p as Draft18PublishBlocked, q as Draft18PublishDone, r as Draft18PublishNamespace, s as Draft18RequestError, t as Draft18RequestOk, u as Draft18RequestUpdate, v as Draft18Setup, w as Draft18SetupOptions, x as Draft18Subscribe, y as Draft18SubscribeNamespace, z as Draft18SubscribeOk, A as Draft18SubscribeTracks, B as Draft18TrackProperties, C as Draft18TrackStatus, E as FetchObjectPayload, J as JoiningFetch, L as LargestObject, R as Redirect, G as StandaloneFetch, H as SubscriptionFilter, U as UnknownParam } from './types-Cqp10JtB.cjs';
|
|
4
4
|
export { Draft18SessionFSM, createDraft18SessionState } from './draft18-session.cjs';
|
|
5
|
-
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
6
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-B9idsih-.cjs';
|
|
6
|
+
import { b as DecodeResult } from './types-DG5_iKuv.cjs';
|
|
7
7
|
|
|
8
8
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
9
9
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
package/dist/draft18.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { D as Draft18Codec, c as createDraft18Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft18Codec, c as createDraft18Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-Cl73EfRW.js';
|
|
2
2
|
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft18DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft18MessageType } from './types-Cqp10JtB.js';
|
|
3
3
|
export { g as DataStreamHeader, h as Draft18BaseMessage, i as Draft18Fetch, j as Draft18FetchOk, k as Draft18GoAway, D as Draft18Message, l as Draft18Namespace, m as Draft18NamespaceDone, n as Draft18Params, o as Draft18Publish, p as Draft18PublishBlocked, q as Draft18PublishDone, r as Draft18PublishNamespace, s as Draft18RequestError, t as Draft18RequestOk, u as Draft18RequestUpdate, v as Draft18Setup, w as Draft18SetupOptions, x as Draft18Subscribe, y as Draft18SubscribeNamespace, z as Draft18SubscribeOk, A as Draft18SubscribeTracks, B as Draft18TrackProperties, C as Draft18TrackStatus, E as FetchObjectPayload, J as JoiningFetch, L as LargestObject, R as Redirect, G as StandaloneFetch, H as SubscriptionFilter, U as UnknownParam } from './types-Cqp10JtB.js';
|
|
4
4
|
export { Draft18SessionFSM, createDraft18SessionState } from './draft18-session.js';
|
|
5
|
-
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
6
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-Dn7b3RZM.js';
|
|
6
|
+
import { b as DecodeResult } from './types-DG5_iKuv.js';
|
|
7
7
|
|
|
8
8
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
9
9
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
2
|
-
export { P as ProtocolViolation, h as SideEffect } from './session-types-
|
|
1
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-B9idsih-.cjs';
|
|
2
|
+
export { P as ProtocolViolation, h as SideEffect } from './session-types-B9idsih-.cjs';
|
|
3
3
|
import { a as Draft19MessageType, D as Draft19Message } from './types-zHgCS6o5.cjs';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.cjs';
|
|
5
5
|
|
|
6
6
|
declare class Draft19SessionFSM {
|
|
7
7
|
private _phase;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-
|
|
2
|
-
export { P as ProtocolViolation, h as SideEffect } from './session-types-
|
|
1
|
+
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-Dn7b3RZM.js';
|
|
2
|
+
export { P as ProtocolViolation, h as SideEffect } from './session-types-Dn7b3RZM.js';
|
|
3
3
|
import { a as Draft19MessageType, D as Draft19Message } from './types-zHgCS6o5.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DG5_iKuv.js';
|
|
5
5
|
|
|
6
6
|
declare class Draft19SessionFSM {
|
|
7
7
|
private _phase;
|
package/dist/draft19.cjs
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkTVSFDQYEcjs = require('./chunk-TVSFDQYE.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
@@ -186,4 +186,4 @@ var DRAFT_VERSION = 0xff000013n;
|
|
|
186
186
|
|
|
187
187
|
|
|
188
188
|
|
|
189
|
-
exports.BIDIRECTIONAL_MESSAGES = _chunkCQ65LKPQcjs.BIDIRECTIONAL_MESSAGES; exports.CLIENT_ONLY_MESSAGES = _chunkCQ65LKPQcjs.CLIENT_ONLY_MESSAGES; exports.CONTROL_MESSAGES = _chunkCQ65LKPQcjs.CONTROL_MESSAGES; exports.DRAFT_VERSION = DRAFT_VERSION; exports.DataStreamResetCode = DataStreamResetCode; exports.Draft19SessionFSM = _chunkCQ65LKPQcjs.Draft19SessionFSM; exports.MESSAGE_ID_MAP =
|
|
189
|
+
exports.BIDIRECTIONAL_MESSAGES = _chunkCQ65LKPQcjs.BIDIRECTIONAL_MESSAGES; exports.CLIENT_ONLY_MESSAGES = _chunkCQ65LKPQcjs.CLIENT_ONLY_MESSAGES; exports.CONTROL_MESSAGES = _chunkCQ65LKPQcjs.CONTROL_MESSAGES; exports.DRAFT_VERSION = DRAFT_VERSION; exports.DataStreamResetCode = DataStreamResetCode; exports.Draft19SessionFSM = _chunkCQ65LKPQcjs.Draft19SessionFSM; exports.MESSAGE_ID_MAP = _chunkTVSFDQYEcjs.MESSAGE_ID_MAP; exports.MESSAGE_TYPE_MAP = _chunkTVSFDQYEcjs.MESSAGE_TYPE_MAP; exports.MSG_FETCH = _chunkTVSFDQYEcjs.MSG_FETCH; exports.MSG_FETCH_OK = _chunkTVSFDQYEcjs.MSG_FETCH_OK; exports.MSG_GOAWAY = _chunkTVSFDQYEcjs.MSG_GOAWAY; exports.MSG_NAMESPACE = _chunkTVSFDQYEcjs.MSG_NAMESPACE; exports.MSG_NAMESPACE_DONE = _chunkTVSFDQYEcjs.MSG_NAMESPACE_DONE; exports.MSG_PUBLISH = _chunkTVSFDQYEcjs.MSG_PUBLISH; exports.MSG_PUBLISH_DONE = _chunkTVSFDQYEcjs.MSG_PUBLISH_DONE; exports.MSG_PUBLISH_NAMESPACE = _chunkTVSFDQYEcjs.MSG_PUBLISH_NAMESPACE; exports.MSG_PUBLISH_OK = _chunkTVSFDQYEcjs.MSG_PUBLISH_OK; exports.MSG_PUBLISH_SKIPPED = _chunkTVSFDQYEcjs.MSG_PUBLISH_SKIPPED; exports.MSG_REQUEST_ERROR = _chunkTVSFDQYEcjs.MSG_REQUEST_ERROR; exports.MSG_REQUEST_OK = _chunkTVSFDQYEcjs.MSG_REQUEST_OK; exports.MSG_REQUEST_UPDATE = _chunkTVSFDQYEcjs.MSG_REQUEST_UPDATE; exports.MSG_SETUP = _chunkTVSFDQYEcjs.MSG_SETUP; exports.MSG_SUBSCRIBE = _chunkTVSFDQYEcjs.MSG_SUBSCRIBE; exports.MSG_SUBSCRIBE_NAMESPACE = _chunkTVSFDQYEcjs.MSG_SUBSCRIBE_NAMESPACE; exports.MSG_SUBSCRIBE_OK = _chunkTVSFDQYEcjs.MSG_SUBSCRIBE_OK; exports.MSG_SUBSCRIBE_TRACKS = _chunkTVSFDQYEcjs.MSG_SUBSCRIBE_TRACKS; exports.MSG_TRACK_STATUS = _chunkTVSFDQYEcjs.MSG_TRACK_STATUS; exports.PublishDoneCode = PublishDoneCode; exports.RequestErrorCode = RequestErrorCode; exports.SERVER_ONLY_MESSAGES = _chunkCQ65LKPQcjs.SERVER_ONLY_MESSAGES; exports.SETUP_OPT_AUTHORITY = _chunkTVSFDQYEcjs.SETUP_OPT_AUTHORITY; exports.SETUP_OPT_AUTHORIZATION_TOKEN = _chunkTVSFDQYEcjs.SETUP_OPT_AUTHORIZATION_TOKEN; exports.SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE = _chunkTVSFDQYEcjs.SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE; exports.SETUP_OPT_MAX_FILTER_RANGES = _chunkTVSFDQYEcjs.SETUP_OPT_MAX_FILTER_RANGES; exports.SETUP_OPT_MAX_REQUEST_UPDATES = _chunkTVSFDQYEcjs.SETUP_OPT_MAX_REQUEST_UPDATES; exports.SETUP_OPT_MOQT_IMPLEMENTATION = _chunkTVSFDQYEcjs.SETUP_OPT_MOQT_IMPLEMENTATION; exports.SETUP_OPT_PATH = _chunkTVSFDQYEcjs.SETUP_OPT_PATH; exports.SessionTerminationCode = SessionTerminationCode; exports.createDataStreamDecoder = _chunkTVSFDQYEcjs.createDataStreamDecoder; exports.createDraft19Codec = _chunkTVSFDQYEcjs.createDraft19Codec; exports.createDraft19SessionState = _chunkCQ65LKPQcjs.createDraft19SessionState; exports.createFetchStreamDecoder = _chunkTVSFDQYEcjs.createFetchStreamDecoder; exports.createStreamDecoder = _chunkTVSFDQYEcjs.createStreamDecoder; exports.createSubgroupStreamDecoder = _chunkTVSFDQYEcjs.createSubgroupStreamDecoder; exports.decodeDataStream = _chunkTVSFDQYEcjs.decodeDataStream; exports.decodeDatagram = _chunkTVSFDQYEcjs.decodeDatagram; exports.decodeFetchStream = _chunkTVSFDQYEcjs.decodeFetchStream; exports.decodeMessage = _chunkTVSFDQYEcjs.decodeMessage; exports.decodeSubgroupStream = _chunkTVSFDQYEcjs.decodeSubgroupStream; exports.encodeDatagram = _chunkTVSFDQYEcjs.encodeDatagram; exports.encodeFetchStream = _chunkTVSFDQYEcjs.encodeFetchStream; exports.encodeMessage = _chunkTVSFDQYEcjs.encodeMessage; exports.encodeSubgroupStream = _chunkTVSFDQYEcjs.encodeSubgroupStream; exports.getLegalIncoming = _chunkCQ65LKPQcjs.getLegalIncoming; exports.getLegalOutgoing = _chunkCQ65LKPQcjs.getLegalOutgoing;
|
package/dist/draft19.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { D as Draft19Codec, c as createDraft19Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft19Codec, c as createDraft19Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-CgZdadPt.cjs';
|
|
2
2
|
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft19DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft19MessageType } from './types-zHgCS6o5.cjs';
|
|
3
3
|
export { g as DataStreamHeader, h as Draft19BaseMessage, i as Draft19Fetch, j as Draft19FetchOk, k as Draft19GoAway, D as Draft19Message, l as Draft19Namespace, m as Draft19NamespaceDone, n as Draft19Params, o as Draft19Publish, p as Draft19PublishDone, q as Draft19PublishNamespace, r as Draft19PublishSkipped, s as Draft19RequestError, t as Draft19RequestOk, u as Draft19RequestUpdate, v as Draft19Setup, w as Draft19SetupOptions, x as Draft19Subscribe, y as Draft19SubscribeNamespace, z as Draft19SubscribeOk, A as Draft19SubscribeTracks, B as Draft19TrackProperties, C as Draft19TrackStatus, E as FetchObjectPayload, J as JoiningFetch, L as LargestObject, G as LocationFilter, R as RangeFilter, H as RangeFilterRange, I as Redirect, K as StandaloneFetch, U as UnknownParam } from './types-zHgCS6o5.cjs';
|
|
4
4
|
export { Draft19SessionFSM, createDraft19SessionState } from './draft19-session.cjs';
|
|
5
|
-
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
6
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-B9idsih-.cjs';
|
|
6
|
+
import { b as DecodeResult } from './types-DG5_iKuv.cjs';
|
|
7
7
|
|
|
8
8
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
9
9
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
package/dist/draft19.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { D as Draft19Codec, c as createDraft19Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft19Codec, c as createDraft19Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-CviAa4lp.js';
|
|
2
2
|
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft19DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft19MessageType } from './types-zHgCS6o5.js';
|
|
3
3
|
export { g as DataStreamHeader, h as Draft19BaseMessage, i as Draft19Fetch, j as Draft19FetchOk, k as Draft19GoAway, D as Draft19Message, l as Draft19Namespace, m as Draft19NamespaceDone, n as Draft19Params, o as Draft19Publish, p as Draft19PublishDone, q as Draft19PublishNamespace, r as Draft19PublishSkipped, s as Draft19RequestError, t as Draft19RequestOk, u as Draft19RequestUpdate, v as Draft19Setup, w as Draft19SetupOptions, x as Draft19Subscribe, y as Draft19SubscribeNamespace, z as Draft19SubscribeOk, A as Draft19SubscribeTracks, B as Draft19TrackProperties, C as Draft19TrackStatus, E as FetchObjectPayload, J as JoiningFetch, L as LargestObject, G as LocationFilter, R as RangeFilter, H as RangeFilterRange, I as Redirect, K as StandaloneFetch, U as UnknownParam } from './types-zHgCS6o5.js';
|
|
4
4
|
export { Draft19SessionFSM, createDraft19SessionState } from './draft19-session.js';
|
|
5
|
-
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-
|
|
6
|
-
import { b as DecodeResult } from './types-
|
|
5
|
+
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-Dn7b3RZM.js';
|
|
6
|
+
import { b as DecodeResult } from './types-DG5_iKuv.js';
|
|
7
7
|
|
|
8
8
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
9
9
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|