@moqtap/codec 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-A33U4WVS.cjs +1993 -0
- package/dist/chunk-A655PHFX.cjs +446 -0
- package/dist/{chunk-UJU63EFY.cjs → chunk-BAG6YWCP.cjs} +2 -3
- package/dist/{chunk-2UTVXWFF.js → chunk-COWGGUL4.js} +2 -3
- package/dist/{chunk-4IVZZOY3.js → chunk-CXFAQKL3.js} +2 -3
- package/dist/chunk-DLSGOZ6P.js +1993 -0
- package/dist/{chunk-SDWRXXOO.cjs → chunk-HO44OANK.cjs} +2 -3
- package/dist/{chunk-Q46ZURKX.js → chunk-HYI6LFMD.js} +2 -3
- package/dist/chunk-IWYKDCXP.js +446 -0
- package/dist/{chunk-WPFBK7UX.cjs → chunk-JB5VDJ2V.cjs} +4 -6
- package/dist/{chunk-2SGE5GMU.cjs → chunk-JTRU76JN.cjs} +4 -4
- package/dist/{chunk-TKBYPIN7.js → chunk-NZ7GYEMT.js} +4 -6
- package/dist/{chunk-5O764MBD.cjs → chunk-OGZTQA24.cjs} +6 -6
- package/dist/{chunk-76774UFF.js → chunk-Q5D6OW6Q.js} +4 -4
- package/dist/{chunk-XS77RBY7.js → chunk-RZ3UML47.js} +2 -4
- package/dist/{chunk-3XKO6PCR.cjs → chunk-SIYYMFCC.cjs} +2 -3
- package/dist/{chunk-Z6U26IRI.js → chunk-UP4XPH4J.js} +6 -6
- package/dist/{chunk-OKG2HT25.cjs → chunk-WMJVSBBE.cjs} +2 -4
- package/dist/{codec-CewFCsEy.d.ts → codec-3ZgEK-Yj.d.ts} +1 -1
- package/dist/{codec-C-Yk2RNa.d.ts → codec-6s9d5yZm.d.ts} +2 -2
- package/dist/{codec-w8z2j_uo.d.cts → codec-B6ouUJrm.d.cts} +2 -2
- package/dist/{codec-3Ppy_5Gd.d.ts → codec-BhW5CGZq.d.ts} +1 -1
- package/dist/{codec-wtt6WF1K.d.ts → codec-Bp4HPezr.d.ts} +1 -1
- package/dist/{codec-BB0U8MF2.d.cts → codec-BsSNjvB3.d.cts} +2 -2
- package/dist/codec-BvSmr-Jp.d.ts +30 -0
- package/dist/{codec-BU0gaSZm.d.ts → codec-BvzKRqiP.d.ts} +2 -2
- package/dist/{codec-D8REY9TB.d.ts → codec-BzRIVIzS.d.ts} +2 -2
- package/dist/{codec-DDUBJGn0.d.cts → codec-C17JvsEU.d.cts} +1 -1
- package/dist/{codec-CpBWhz9f.d.cts → codec-CBLLytyP.d.cts} +2 -2
- package/dist/{codec-DNfml-se.d.ts → codec-Cbv3sG2y.d.ts} +2 -2
- package/dist/{codec-R9TJCq-E.d.cts → codec-CzBmYisK.d.cts} +1 -1
- package/dist/{codec-CFWQY9Lj.d.cts → codec-D2YMCU11.d.cts} +1 -1
- package/dist/{codec-BN6jk0Td.d.cts → codec-D5Ss123f.d.cts} +2 -2
- package/dist/{codec-j819z_hL.d.cts → codec-DS-As0Pp.d.cts} +1 -1
- package/dist/{codec-D2QVSH9D.d.ts → codec-D_9X0i31.d.ts} +2 -2
- package/dist/{codec-z6_2PSzi.d.cts → codec-DbpLHKXN.d.cts} +2 -2
- package/dist/{codec-BHHfBTnV.d.ts → codec-DqHwYWM-.d.ts} +2 -2
- package/dist/{codec-iMEwV1UO.d.ts → codec-GayA_uN0.d.ts} +2 -2
- package/dist/codec-MxIhLDR5.d.cts +30 -0
- package/dist/{codec-DoOGjjDq.d.cts → codec-R28KwiGM.d.cts} +2 -2
- package/dist/{codec-ZwV-Njt6.d.ts → codec-Tdey03Bo.d.ts} +1 -1
- package/dist/{codec-BO5Go0Lm.d.cts → codec-yJ_axwtp.d.cts} +2 -2
- 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 +4 -4
- package/dist/draft11-session.d.ts +4 -4
- package/dist/draft11.cjs +2 -2
- package/dist/draft11.d.cts +6 -6
- package/dist/draft11.d.ts +6 -6
- package/dist/draft11.js +1 -1
- package/dist/draft12-session.d.cts +4 -4
- package/dist/draft12-session.d.ts +4 -4
- package/dist/draft12.cjs +2 -2
- package/dist/draft12.d.cts +6 -6
- package/dist/draft12.d.ts +6 -6
- package/dist/draft12.js +1 -1
- package/dist/draft13-session.d.cts +4 -4
- package/dist/draft13-session.d.ts +4 -4
- package/dist/draft13.cjs +2 -2
- package/dist/draft13.d.cts +6 -6
- package/dist/draft13.d.ts +6 -6
- package/dist/draft13.js +1 -1
- package/dist/draft14-session.d.cts +4 -4
- package/dist/draft14-session.d.ts +4 -4
- package/dist/draft14.cjs +2 -2
- package/dist/draft14.d.cts +6 -6
- package/dist/draft14.d.ts +6 -6
- package/dist/draft14.js +1 -1
- package/dist/draft15-session.d.cts +4 -4
- package/dist/draft15-session.d.ts +4 -4
- package/dist/draft15.cjs +2 -2
- package/dist/draft15.d.cts +6 -6
- package/dist/draft15.d.ts +6 -6
- package/dist/draft15.js +1 -1
- package/dist/draft16-session.d.cts +4 -4
- package/dist/draft16-session.d.ts +4 -4
- package/dist/draft16.cjs +2 -2
- package/dist/draft16.d.cts +6 -6
- package/dist/draft16.d.ts +6 -6
- package/dist/draft16.js +1 -1
- package/dist/draft17-session.d.cts +4 -4
- package/dist/draft17-session.d.ts +4 -4
- package/dist/draft17.cjs +2 -2
- package/dist/draft17.d.cts +5 -5
- package/dist/draft17.d.ts +5 -5
- package/dist/draft17.js +1 -1
- package/dist/draft18-session.cjs +8 -0
- package/dist/draft18-session.d.cts +50 -0
- package/dist/draft18-session.d.ts +50 -0
- package/dist/draft18-session.js +8 -0
- package/dist/draft18.cjs +179 -0
- package/dist/draft18.d.cts +126 -0
- package/dist/draft18.d.ts +126 -0
- package/dist/draft18.js +179 -0
- package/dist/index.cjs +21 -15
- package/dist/index.d.cts +26 -21
- package/dist/index.d.ts +26 -21
- package/dist/index.js +14 -8
- package/dist/{session-types-X-IYEGoG.d.ts → session-types-DBpCRtrL.d.ts} +1 -1
- package/dist/{session-types-C7UONex5.d.cts → session-types-sBaTRwDh.d.cts} +1 -1
- package/dist/session.cjs +5 -1
- package/dist/session.d.cts +12 -10
- package/dist/session.d.ts +12 -10
- package/dist/session.js +5 -1
- package/dist/{types-DuyE0ygT.d.cts → types-Bio-91Rt.d.cts} +1 -1
- package/dist/{types-DuyE0ygT.d.ts → types-Bio-91Rt.d.ts} +1 -1
- package/dist/{types-DuxfOYiO.d.cts → types-CPaYBsMG.d.cts} +1 -1
- package/dist/{types-DuxfOYiO.d.ts → types-CPaYBsMG.d.ts} +1 -1
- package/dist/{types-DrQpTW1G.d.cts → types-CXlSn0I9.d.cts} +1 -1
- package/dist/{types-DrQpTW1G.d.ts → types-CXlSn0I9.d.ts} +1 -1
- package/dist/{types--Q7_DcvP.d.cts → types-Ck45Ex5S.d.cts} +1 -1
- package/dist/{types--Q7_DcvP.d.ts → types-Ck45Ex5S.d.ts} +1 -1
- package/dist/{types-BFpFNM_m.d.cts → types-Cm9fjeYC.d.cts} +1 -1
- package/dist/{types-BFpFNM_m.d.ts → types-Cm9fjeYC.d.ts} +1 -1
- package/dist/{types-DuIO7cWK.d.cts → types-CnBuq68e.d.cts} +1 -1
- package/dist/{types-DuIO7cWK.d.ts → types-CnBuq68e.d.ts} +1 -1
- package/dist/types-Cqp10JtB.d.cts +249 -0
- package/dist/types-Cqp10JtB.d.ts +249 -0
- package/dist/{types-Br7fm2mf.d.cts → types-D9eiB_9A.d.cts} +2 -2
- package/dist/{types-Br7fm2mf.d.ts → types-D9eiB_9A.d.ts} +2 -2
- package/dist/{types--FGt0sAp.d.cts → types-DjmrHp_s.d.cts} +1 -1
- package/dist/{types--FGt0sAp.d.ts → types-DjmrHp_s.d.ts} +1 -1
- package/package.json +14 -2
- package/src/core/types.ts +13 -1
- package/src/drafts/draft11/codec.ts +2 -3
- package/src/drafts/draft11/types.ts +1 -1
- package/src/drafts/draft12/codec.ts +4 -6
- package/src/drafts/draft12/types.ts +1 -1
- package/src/drafts/draft13/codec.ts +2 -3
- package/src/drafts/draft13/types.ts +1 -1
- package/src/drafts/draft14/codec.ts +4 -4
- package/src/drafts/draft14/types.ts +1 -1
- package/src/drafts/draft15/codec.ts +2 -4
- package/src/drafts/draft15/types.ts +1 -1
- package/src/drafts/draft16/codec.ts +2 -3
- package/src/drafts/draft16/types.ts +1 -1
- package/src/drafts/draft17/codec.ts +6 -6
- package/src/drafts/draft17/error-codes.ts +72 -0
- package/src/drafts/draft17/types.ts +2 -2
- package/src/drafts/draft18/codec.ts +1310 -0
- package/src/drafts/draft18/data-streams.ts +996 -0
- package/src/drafts/draft18/error-codes.ts +75 -0
- package/src/drafts/draft18/index.ts +122 -0
- package/src/drafts/draft18/messages.ts +56 -0
- package/src/drafts/draft18/rules.ts +85 -0
- package/src/drafts/draft18/session-fsm.ts +451 -0
- package/src/drafts/draft18/session.ts +15 -0
- package/src/drafts/draft18/types.ts +347 -0
- package/src/index.ts +9 -1
- package/src/session.ts +4 -0
|
@@ -385,8 +385,7 @@ function encodeAuthorizationToken(at, w) {
|
|
|
385
385
|
}
|
|
386
386
|
if (aliasType === 1 || aliasType === 3) {
|
|
387
387
|
tmpW.writeVarInt(_nullishCoalesce(at.token_type, () => ( 0n)));
|
|
388
|
-
|
|
389
|
-
tmpW.writeBytes(tokenBytes);
|
|
388
|
+
tmpW.writeBytes(_nullishCoalesce(at.token_value, () => ( new Uint8Array(0))));
|
|
390
389
|
}
|
|
391
390
|
const raw = tmpW.finish();
|
|
392
391
|
w.writeVarInt(raw.byteLength);
|
|
@@ -404,7 +403,7 @@ function decodeAuthorizationToken(r, length) {
|
|
|
404
403
|
result.token_type = r.readVarInt();
|
|
405
404
|
const tokenBytesLen = length - (r.offset - startOff);
|
|
406
405
|
const tokenBytes = r.readBytes(tokenBytesLen);
|
|
407
|
-
result.token_value =
|
|
406
|
+
result.token_value = tokenBytes;
|
|
408
407
|
}
|
|
409
408
|
return result;
|
|
410
409
|
}
|
|
@@ -1028,9 +1028,9 @@ function encodeAuthorizationToken(token, w) {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
if (aliasType === 1 || aliasType === 3) {
|
|
1030
1030
|
w.writeVarInt(token.token_type ?? 0n);
|
|
1031
|
-
const
|
|
1032
|
-
w.writeVarInt(BigInt(
|
|
1033
|
-
w.writeBytes(
|
|
1031
|
+
const tv = token.token_value ?? new Uint8Array(0);
|
|
1032
|
+
w.writeVarInt(BigInt(tv.byteLength));
|
|
1033
|
+
w.writeBytes(tv);
|
|
1034
1034
|
}
|
|
1035
1035
|
}
|
|
1036
1036
|
function decodeAuthorizationToken(r) {
|
|
@@ -1046,7 +1046,7 @@ function decodeAuthorizationToken(r) {
|
|
|
1046
1046
|
result.token_type = r.readVarInt();
|
|
1047
1047
|
const len = Number(r.readVarInt());
|
|
1048
1048
|
const bytes = r.readBytes(len);
|
|
1049
|
-
result.token_value =
|
|
1049
|
+
result.token_value = bytes;
|
|
1050
1050
|
}
|
|
1051
1051
|
return result;
|
|
1052
1052
|
}
|
|
@@ -1261,7 +1261,7 @@ function encodeTrackProperties(props, writer) {
|
|
|
1261
1261
|
entries.push({
|
|
1262
1262
|
type: TPROP_IMMUTABLE_PROPERTIES,
|
|
1263
1263
|
encode: (w) => {
|
|
1264
|
-
const raw =
|
|
1264
|
+
const raw = props.immutable_properties;
|
|
1265
1265
|
w.writeVarInt(BigInt(raw.byteLength));
|
|
1266
1266
|
w.writeBytes(raw);
|
|
1267
1267
|
}
|
|
@@ -1346,7 +1346,7 @@ function decodeTrackProperties(reader, payloadEnd) {
|
|
|
1346
1346
|
const length = Number(reader.readVarInt());
|
|
1347
1347
|
const bytes = reader.readBytes(length);
|
|
1348
1348
|
if (propType === TPROP_IMMUTABLE_PROPERTIES) {
|
|
1349
|
-
result.immutable_properties =
|
|
1349
|
+
result.immutable_properties = bytes;
|
|
1350
1350
|
} else {
|
|
1351
1351
|
unknown.push({
|
|
1352
1352
|
id: `0x${propType.toString(16)}`,
|
|
@@ -852,8 +852,7 @@ function encodeAuthorizationToken(token, w) {
|
|
|
852
852
|
}
|
|
853
853
|
if (aliasType === 1 || aliasType === 3) {
|
|
854
854
|
w.writeVarInt(token.token_type);
|
|
855
|
-
|
|
856
|
-
w.writeBytes(tokenBytes);
|
|
855
|
+
w.writeBytes(token.token_value);
|
|
857
856
|
}
|
|
858
857
|
}
|
|
859
858
|
function decodeAuthorizationToken(r) {
|
|
@@ -865,8 +864,7 @@ function decodeAuthorizationToken(r) {
|
|
|
865
864
|
}
|
|
866
865
|
if (aliasType === 1 || aliasType === 3) {
|
|
867
866
|
result.token_type = r.readVarInt();
|
|
868
|
-
|
|
869
|
-
result.token_value_hex = _chunkJL3NEW3Ocjs.bytesToHex.call(void 0, tokenBytes);
|
|
867
|
+
result.token_value = r.readBytes(r.remaining);
|
|
870
868
|
}
|
|
871
869
|
return result;
|
|
872
870
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.js';
|
|
2
2
|
import { D as Draft07Message, S as SubgroupStream, b as DatagramObject, F as FetchStream } from './types-Dl4IaAHR.js';
|
|
3
3
|
|
|
4
4
|
interface Draft07Codec extends BaseCodec<Draft07Message> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft16Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft16DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.js';
|
|
2
|
+
import { D as Draft16Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft16DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-Cm9fjeYC.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-16 control message with type(varint) + length(uint16 BE) + payload.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft11Message, S as SubgroupStream, c as DatagramObject, F as FetchStream, b as Draft11DataStream } from './types
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
2
|
+
import { D as Draft11Message, S as SubgroupStream, c as DatagramObject, F as FetchStream, b as Draft11DataStream } from './types-Ck45Ex5S.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-11 control message with type(varint) + length(varint) + payload.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.js';
|
|
2
2
|
import { D as Draft09Message, S as SubgroupStream, c as DatagramObject, d as DatagramStatusObject, F as FetchStream, b as Draft09DataStream } from './types-B3g5G9KP.js';
|
|
3
3
|
|
|
4
4
|
declare function encodeMessage(message: Draft09Message): Uint8Array;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.js';
|
|
2
2
|
import { D as Draft08Message, S as SubgroupStream, c as DatagramObject, d as DatagramStatusObject, F as FetchStream, b as Draft08DataStream } from './types-jV1yDDBA.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft15Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft15DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
2
|
+
import { D as Draft15Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft15DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-CPaYBsMG.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-15 control message with type(varint) + length(uint16 BE) + payload.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.js';
|
|
2
|
+
import { D as Draft18Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft18DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-Cqp10JtB.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Encode a draft-18 control message with type(varint) + length(uint16 BE) + payload.
|
|
6
|
+
*/
|
|
7
|
+
declare function encodeMessage(message: Draft18Message): Uint8Array;
|
|
8
|
+
/**
|
|
9
|
+
* Decode a draft-18 control message from bytes (type + uint16 length + payload).
|
|
10
|
+
*/
|
|
11
|
+
declare function decodeMessage(bytes: Uint8Array): DecodeResult<Draft18Message>;
|
|
12
|
+
|
|
13
|
+
declare function createStreamDecoder(): TransformStream<Uint8Array, Draft18Message>;
|
|
14
|
+
interface Draft18Codec extends BaseCodec<Draft18Message> {
|
|
15
|
+
readonly draft: '18';
|
|
16
|
+
encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
17
|
+
encodeDatagram(dg: DatagramObject): Uint8Array;
|
|
18
|
+
encodeFetchStream(stream: FetchStream): Uint8Array;
|
|
19
|
+
decodeSubgroupStream(bytes: Uint8Array): DecodeResult<SubgroupStream>;
|
|
20
|
+
decodeDatagram(bytes: Uint8Array): DecodeResult<DatagramObject>;
|
|
21
|
+
decodeFetchStream(bytes: Uint8Array): DecodeResult<FetchStream>;
|
|
22
|
+
decodeDataStream(streamType: 'subgroup' | 'datagram' | 'fetch', bytes: Uint8Array): DecodeResult<Draft18DataStream>;
|
|
23
|
+
createStreamDecoder(): TransformStream<Uint8Array, Draft18Message>;
|
|
24
|
+
createSubgroupStreamDecoder(): TransformStream<Uint8Array, SubgroupStreamHeader | ObjectPayload>;
|
|
25
|
+
createFetchStreamDecoder(): TransformStream<Uint8Array, FetchStreamHeader | ObjectPayload>;
|
|
26
|
+
createDataStreamDecoder(): TransformStream<Uint8Array, DataStreamEvent>;
|
|
27
|
+
}
|
|
28
|
+
declare function createDraft18Codec(): Draft18Codec;
|
|
29
|
+
|
|
30
|
+
export { type Draft18Codec as D, createStreamDecoder as a, createDraft18Codec as c, decodeMessage as d, encodeMessage as e };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft13Message, S as SubgroupStream, c as DatagramObject, F as FetchStream, b as Draft13DataStream } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.js';
|
|
2
|
+
import { D as Draft13Message, S as SubgroupStream, c as DatagramObject, F as FetchStream, b as Draft13DataStream } from './types-CXlSn0I9.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-13 control message.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft12Message, S as SubgroupStream, c as DatagramObject, F as FetchStream, b as Draft12DataStream } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.js';
|
|
2
|
+
import { D as Draft12Message, S as SubgroupStream, c as DatagramObject, F as FetchStream, b as Draft12DataStream } from './types-Bio-91Rt.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-12 control message.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
2
2
|
import { D as Draft10Message, S as SubgroupStream, c as DatagramObject, d as DatagramStatusObject, F as FetchStream, b as Draft10DataStream } from './types-0IWbU9Z_.cjs';
|
|
3
3
|
|
|
4
4
|
declare function encodeMessage(message: Draft10Message): Uint8Array;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft12Message, S as SubgroupStream, c as DatagramObject, F as FetchStream, b as Draft12DataStream } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
2
|
+
import { D as Draft12Message, S as SubgroupStream, c as DatagramObject, F as FetchStream, b as Draft12DataStream } from './types-Bio-91Rt.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-12 control message.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft11Message, S as SubgroupStream, c as DatagramObject, F as FetchStream, b as Draft11DataStream } from './types
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.js';
|
|
2
|
+
import { D as Draft11Message, S as SubgroupStream, c as DatagramObject, F as FetchStream, b as Draft11DataStream } from './types-Ck45Ex5S.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-11 control message with type(varint) + length(varint) + payload.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
2
2
|
import { D as Draft08Message, S as SubgroupStream, c as DatagramObject, d as DatagramStatusObject, F as FetchStream, b as Draft08DataStream } from './types-jV1yDDBA.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
2
2
|
import { D as Draft07Message, S as SubgroupStream, b as DatagramObject, F as FetchStream } from './types-Dl4IaAHR.cjs';
|
|
3
3
|
|
|
4
4
|
interface Draft07Codec extends BaseCodec<Draft07Message> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft17Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft17DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
2
|
+
import { D as Draft17Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft17DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-D9eiB_9A.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-17 control message with type(varint) + length(uint16 BE) + payload.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
2
2
|
import { D as Draft09Message, S as SubgroupStream, c as DatagramObject, d as DatagramStatusObject, F as FetchStream, b as Draft09DataStream } from './types-B3g5G9KP.cjs';
|
|
3
3
|
|
|
4
4
|
declare function encodeMessage(message: Draft09Message): Uint8Array;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft17Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft17DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.js';
|
|
2
|
+
import { D as Draft17Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft17DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-D9eiB_9A.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-17 control message with type(varint) + length(uint16 BE) + payload.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft16Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft16DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
2
|
+
import { D as Draft16Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft16DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-Cm9fjeYC.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-16 control message with type(varint) + length(uint16 BE) + payload.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft15Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft15DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.js';
|
|
2
|
+
import { D as Draft15Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft15DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-CPaYBsMG.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-15 control message with type(varint) + length(uint16 BE) + payload.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft14Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft14DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.js';
|
|
2
|
+
import { D as Draft14Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft14DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-DjmrHp_s.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-14 control message with type(varint) + length(uint16 BE) + payload.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
2
|
+
import { D as Draft18Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft18DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-Cqp10JtB.cjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Encode a draft-18 control message with type(varint) + length(uint16 BE) + payload.
|
|
6
|
+
*/
|
|
7
|
+
declare function encodeMessage(message: Draft18Message): Uint8Array;
|
|
8
|
+
/**
|
|
9
|
+
* Decode a draft-18 control message from bytes (type + uint16 length + payload).
|
|
10
|
+
*/
|
|
11
|
+
declare function decodeMessage(bytes: Uint8Array): DecodeResult<Draft18Message>;
|
|
12
|
+
|
|
13
|
+
declare function createStreamDecoder(): TransformStream<Uint8Array, Draft18Message>;
|
|
14
|
+
interface Draft18Codec extends BaseCodec<Draft18Message> {
|
|
15
|
+
readonly draft: '18';
|
|
16
|
+
encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
17
|
+
encodeDatagram(dg: DatagramObject): Uint8Array;
|
|
18
|
+
encodeFetchStream(stream: FetchStream): Uint8Array;
|
|
19
|
+
decodeSubgroupStream(bytes: Uint8Array): DecodeResult<SubgroupStream>;
|
|
20
|
+
decodeDatagram(bytes: Uint8Array): DecodeResult<DatagramObject>;
|
|
21
|
+
decodeFetchStream(bytes: Uint8Array): DecodeResult<FetchStream>;
|
|
22
|
+
decodeDataStream(streamType: 'subgroup' | 'datagram' | 'fetch', bytes: Uint8Array): DecodeResult<Draft18DataStream>;
|
|
23
|
+
createStreamDecoder(): TransformStream<Uint8Array, Draft18Message>;
|
|
24
|
+
createSubgroupStreamDecoder(): TransformStream<Uint8Array, SubgroupStreamHeader | ObjectPayload>;
|
|
25
|
+
createFetchStreamDecoder(): TransformStream<Uint8Array, FetchStreamHeader | ObjectPayload>;
|
|
26
|
+
createDataStreamDecoder(): TransformStream<Uint8Array, DataStreamEvent>;
|
|
27
|
+
}
|
|
28
|
+
declare function createDraft18Codec(): Draft18Codec;
|
|
29
|
+
|
|
30
|
+
export { type Draft18Codec as D, createStreamDecoder as a, createDraft18Codec as c, decodeMessage as d, encodeMessage as e };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft13Message, S as SubgroupStream, c as DatagramObject, F as FetchStream, b as Draft13DataStream } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
2
|
+
import { D as Draft13Message, S as SubgroupStream, c as DatagramObject, F as FetchStream, b as Draft13DataStream } from './types-CXlSn0I9.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-13 control message.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.js';
|
|
2
2
|
import { D as Draft10Message, S as SubgroupStream, c as DatagramObject, d as DatagramStatusObject, F as FetchStream, b as Draft10DataStream } from './types-0IWbU9Z_.js';
|
|
3
3
|
|
|
4
4
|
declare function encodeMessage(message: Draft10Message): Uint8Array;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseCodec, b as DecodeResult } from './types-
|
|
2
|
-
import { D as Draft14Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft14DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types
|
|
1
|
+
import { B as BaseCodec, b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
2
|
+
import { D as Draft14Message, f as SubgroupStream, d as DatagramObject, e as FetchStream, c as Draft14DataStream, S as SubgroupStreamHeader, O as ObjectPayload, F as FetchStreamHeader, b as DataStreamEvent } from './types-DjmrHp_s.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Encode a draft-14 control message with type(varint) + length(uint16 BE) + payload.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-
|
|
2
|
-
export { A as AnnouncePhase, b as AnnounceState, 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-sBaTRwDh.cjs';
|
|
2
|
+
export { A as AnnouncePhase, b as AnnounceState, 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-sBaTRwDh.cjs';
|
|
3
3
|
import { D as Draft07Message, a as Draft07MessageType } from './types-Dl4IaAHR.cjs';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-CnBuq68e.cjs';
|
|
5
5
|
|
|
6
6
|
declare function createDraft07SessionState(role: SessionStateOptionsRole): SessionState<Draft07Message, Draft07MessageType>;
|
|
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, 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-DBpCRtrL.js';
|
|
2
|
+
export { A as AnnouncePhase, b as AnnounceState, 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-DBpCRtrL.js';
|
|
3
3
|
import { D as Draft07Message, a as Draft07MessageType } from './types-Dl4IaAHR.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-CnBuq68e.js';
|
|
5
5
|
|
|
6
6
|
declare function createDraft07SessionState(role: SessionStateOptionsRole): SessionState<Draft07Message, Draft07MessageType>;
|
|
7
7
|
|
package/dist/draft07.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as DecodeResult } from './types-
|
|
2
|
-
export { D as DecodeError, a as DecodeErrorCode } from './types-
|
|
3
|
-
export { D as Draft07Codec, c as createDraft07Codec } from './codec-
|
|
1
|
+
import { b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
2
|
+
export { D as DecodeError, a as DecodeErrorCode } from './types-CnBuq68e.cjs';
|
|
3
|
+
export { D as Draft07Codec, c as createDraft07Codec } from './codec-D2YMCU11.cjs';
|
|
4
4
|
import { b as DatagramObject, F as FetchStream, S as SubgroupStream, a as Draft07MessageType, D as Draft07Message } from './types-Dl4IaAHR.cjs';
|
|
5
5
|
export { A as Announce, c as AnnounceCancel, d as AnnounceError, e as AnnounceOk, C as ClientSetup, f as DataStreamEvent, g as DataStreamHeader, h as Draft07DataStream, i as Draft07Params, j as Draft07SetupParams, k as Fetch, l as FetchCancel, m as FetchError, n as FetchObjectPayload, o as FetchOk, p as FetchStreamHeader, G as GoAway, M as MaxSubscribeId, O as ObjectDatagram, q as ObjectPayload, r as ServerSetup, s as StreamHeaderSubgroup, t as SubgroupStreamHeader, u as Subscribe, v as SubscribeAnnounces, w as SubscribeAnnouncesError, x as SubscribeAnnouncesOk, y as SubscribeDone, z as SubscribeError, B as SubscribeOk, E as SubscribeUpdate, T as TrackStatus, H as TrackStatusRequest, U as Unannounce, I as UnknownParam, J as Unsubscribe, K as UnsubscribeAnnounces } from './types-Dl4IaAHR.cjs';
|
|
6
6
|
|
package/dist/draft07.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as DecodeResult } from './types-
|
|
2
|
-
export { D as DecodeError, a as DecodeErrorCode } from './types-
|
|
3
|
-
export { D as Draft07Codec, c as createDraft07Codec } from './codec-
|
|
1
|
+
import { b as DecodeResult } from './types-CnBuq68e.js';
|
|
2
|
+
export { D as DecodeError, a as DecodeErrorCode } from './types-CnBuq68e.js';
|
|
3
|
+
export { D as Draft07Codec, c as createDraft07Codec } from './codec-3ZgEK-Yj.js';
|
|
4
4
|
import { b as DatagramObject, F as FetchStream, S as SubgroupStream, a as Draft07MessageType, D as Draft07Message } from './types-Dl4IaAHR.js';
|
|
5
5
|
export { A as Announce, c as AnnounceCancel, d as AnnounceError, e as AnnounceOk, C as ClientSetup, f as DataStreamEvent, g as DataStreamHeader, h as Draft07DataStream, i as Draft07Params, j as Draft07SetupParams, k as Fetch, l as FetchCancel, m as FetchError, n as FetchObjectPayload, o as FetchOk, p as FetchStreamHeader, G as GoAway, M as MaxSubscribeId, O as ObjectDatagram, q as ObjectPayload, r as ServerSetup, s as StreamHeaderSubgroup, t as SubgroupStreamHeader, u as Subscribe, v as SubscribeAnnounces, w as SubscribeAnnouncesError, x as SubscribeAnnouncesOk, y as SubscribeDone, z as SubscribeError, B as SubscribeOk, E as SubscribeUpdate, T as TrackStatus, H as TrackStatusRequest, U as Unannounce, I as UnknownParam, J as Unsubscribe, K as UnsubscribeAnnounces } from './types-Dl4IaAHR.js';
|
|
6
6
|
|
|
@@ -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-sBaTRwDh.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-sBaTRwDh.cjs';
|
|
3
3
|
import { D as Draft08Message, a as Draft08MessageType } from './types-jV1yDDBA.cjs';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-CnBuq68e.cjs';
|
|
5
5
|
|
|
6
6
|
declare function createDraft08SessionState(role: SessionStateOptionsRole): SessionState<Draft08Message, Draft08MessageType>;
|
|
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-DBpCRtrL.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-DBpCRtrL.js';
|
|
3
3
|
import { D as Draft08Message, a as Draft08MessageType } from './types-jV1yDDBA.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-CnBuq68e.js';
|
|
5
5
|
|
|
6
6
|
declare function createDraft08SessionState(role: SessionStateOptionsRole): SessionState<Draft08Message, Draft08MessageType>;
|
|
7
7
|
|
package/dist/draft08.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft08Codec, c as createDraft08Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft08Codec, c as createDraft08Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-CzBmYisK.cjs';
|
|
2
2
|
import { b as Draft08DataStream, c as DatagramObject, d as DatagramStatusObject, F as FetchStream, S as SubgroupStream, a as Draft08MessageType, D as Draft08Message } from './types-jV1yDDBA.cjs';
|
|
3
3
|
export { e as DataStreamEvent, f as DataStreamHeader, g as Draft08Announce, h as Draft08AnnounceCancel, i as Draft08AnnounceError, j as Draft08AnnounceOk, k as Draft08BaseMessage, l as Draft08ClientSetup, m as Draft08Fetch, n as Draft08FetchCancel, o as Draft08FetchError, p as Draft08FetchOk, q as Draft08GoAway, r as Draft08MaxSubscribeId, s as Draft08Params, t as Draft08ServerSetup, u as Draft08SetupParams, v as Draft08Subscribe, w as Draft08SubscribeAnnounces, x as Draft08SubscribeAnnouncesError, y as Draft08SubscribeAnnouncesOk, z as Draft08SubscribeDone, A as Draft08SubscribeError, B as Draft08SubscribeOk, C as Draft08SubscribeUpdate, E as Draft08SubscribesBlocked, G as Draft08TrackStatus, H as Draft08TrackStatusRequest, I as Draft08Unannounce, J as Draft08Unsubscribe, K as Draft08UnsubscribeAnnounces, L as FetchObjectPayload, M as FetchStreamHeader, N as JoiningFetch, O as ObjectPayload, P as StandaloneFetch, Q as SubgroupStreamHeader, U as UnknownParam } from './types-jV1yDDBA.cjs';
|
|
4
4
|
export { createDraft08SessionState } from './draft08-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-sBaTRwDh.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-sBaTRwDh.cjs';
|
|
7
|
+
import { b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
8
8
|
|
|
9
9
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
10
10
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
package/dist/draft08.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft08Codec, c as createDraft08Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft08Codec, c as createDraft08Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-Bp4HPezr.js';
|
|
2
2
|
import { b as Draft08DataStream, c as DatagramObject, d as DatagramStatusObject, F as FetchStream, S as SubgroupStream, a as Draft08MessageType, D as Draft08Message } from './types-jV1yDDBA.js';
|
|
3
3
|
export { e as DataStreamEvent, f as DataStreamHeader, g as Draft08Announce, h as Draft08AnnounceCancel, i as Draft08AnnounceError, j as Draft08AnnounceOk, k as Draft08BaseMessage, l as Draft08ClientSetup, m as Draft08Fetch, n as Draft08FetchCancel, o as Draft08FetchError, p as Draft08FetchOk, q as Draft08GoAway, r as Draft08MaxSubscribeId, s as Draft08Params, t as Draft08ServerSetup, u as Draft08SetupParams, v as Draft08Subscribe, w as Draft08SubscribeAnnounces, x as Draft08SubscribeAnnouncesError, y as Draft08SubscribeAnnouncesOk, z as Draft08SubscribeDone, A as Draft08SubscribeError, B as Draft08SubscribeOk, C as Draft08SubscribeUpdate, E as Draft08SubscribesBlocked, G as Draft08TrackStatus, H as Draft08TrackStatusRequest, I as Draft08Unannounce, J as Draft08Unsubscribe, K as Draft08UnsubscribeAnnounces, L as FetchObjectPayload, M as FetchStreamHeader, N as JoiningFetch, O as ObjectPayload, P as StandaloneFetch, Q as SubgroupStreamHeader, U as UnknownParam } from './types-jV1yDDBA.js';
|
|
4
4
|
export { createDraft08SessionState } from './draft08-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-DBpCRtrL.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-DBpCRtrL.js';
|
|
7
|
+
import { b as DecodeResult } from './types-CnBuq68e.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-sBaTRwDh.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-sBaTRwDh.cjs';
|
|
3
3
|
import { D as Draft09Message, a as Draft09MessageType } from './types-B3g5G9KP.cjs';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-CnBuq68e.cjs';
|
|
5
5
|
|
|
6
6
|
declare function createDraft09SessionState(role: SessionStateOptionsRole): SessionState<Draft09Message, Draft09MessageType>;
|
|
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-DBpCRtrL.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-DBpCRtrL.js';
|
|
3
3
|
import { D as Draft09Message, a as Draft09MessageType } from './types-B3g5G9KP.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-CnBuq68e.js';
|
|
5
5
|
|
|
6
6
|
declare function createDraft09SessionState(role: SessionStateOptionsRole): SessionState<Draft09Message, Draft09MessageType>;
|
|
7
7
|
|
package/dist/draft09.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft09Codec, c as createDraft09Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft09Codec, c as createDraft09Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-DS-As0Pp.cjs';
|
|
2
2
|
import { b as Draft09DataStream, c as DatagramObject, d as DatagramStatusObject, F as FetchStream, S as SubgroupStream, a as Draft09MessageType, D as Draft09Message } from './types-B3g5G9KP.cjs';
|
|
3
3
|
export { e as DataStreamEvent, f as DataStreamHeader, g as Draft09Announce, h as Draft09AnnounceCancel, i as Draft09AnnounceError, j as Draft09AnnounceOk, k as Draft09BaseMessage, l as Draft09ClientSetup, m as Draft09Fetch, n as Draft09FetchCancel, o as Draft09FetchError, p as Draft09FetchOk, q as Draft09GoAway, r as Draft09MaxSubscribeId, s as Draft09Params, t as Draft09ServerSetup, u as Draft09SetupParams, v as Draft09Subscribe, w as Draft09SubscribeAnnounces, x as Draft09SubscribeAnnouncesError, y as Draft09SubscribeAnnouncesOk, z as Draft09SubscribeDone, A as Draft09SubscribeError, B as Draft09SubscribeOk, C as Draft09SubscribeUpdate, E as Draft09SubscribesBlocked, G as Draft09TrackStatus, H as Draft09TrackStatusRequest, I as Draft09Unannounce, J as Draft09Unsubscribe, K as Draft09UnsubscribeAnnounces, L as FetchObjectPayload, M as FetchStreamHeader, N as JoiningFetch, O as ObjectPayload, P as StandaloneFetch, Q as SubgroupStreamHeader, U as UnknownParam } from './types-B3g5G9KP.cjs';
|
|
4
4
|
export { createDraft09SessionState } from './draft09-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-sBaTRwDh.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-sBaTRwDh.cjs';
|
|
7
|
+
import { b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
8
8
|
|
|
9
9
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
10
10
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
package/dist/draft09.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft09Codec, c as createDraft09Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft09Codec, c as createDraft09Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-BhW5CGZq.js';
|
|
2
2
|
import { b as Draft09DataStream, c as DatagramObject, d as DatagramStatusObject, F as FetchStream, S as SubgroupStream, a as Draft09MessageType, D as Draft09Message } from './types-B3g5G9KP.js';
|
|
3
3
|
export { e as DataStreamEvent, f as DataStreamHeader, g as Draft09Announce, h as Draft09AnnounceCancel, i as Draft09AnnounceError, j as Draft09AnnounceOk, k as Draft09BaseMessage, l as Draft09ClientSetup, m as Draft09Fetch, n as Draft09FetchCancel, o as Draft09FetchError, p as Draft09FetchOk, q as Draft09GoAway, r as Draft09MaxSubscribeId, s as Draft09Params, t as Draft09ServerSetup, u as Draft09SetupParams, v as Draft09Subscribe, w as Draft09SubscribeAnnounces, x as Draft09SubscribeAnnouncesError, y as Draft09SubscribeAnnouncesOk, z as Draft09SubscribeDone, A as Draft09SubscribeError, B as Draft09SubscribeOk, C as Draft09SubscribeUpdate, E as Draft09SubscribesBlocked, G as Draft09TrackStatus, H as Draft09TrackStatusRequest, I as Draft09Unannounce, J as Draft09Unsubscribe, K as Draft09UnsubscribeAnnounces, L as FetchObjectPayload, M as FetchStreamHeader, N as JoiningFetch, O as ObjectPayload, P as StandaloneFetch, Q as SubgroupStreamHeader, U as UnknownParam } from './types-B3g5G9KP.js';
|
|
4
4
|
export { createDraft09SessionState } from './draft09-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-DBpCRtrL.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-DBpCRtrL.js';
|
|
7
|
+
import { b as DecodeResult } from './types-CnBuq68e.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-sBaTRwDh.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-sBaTRwDh.cjs';
|
|
3
3
|
import { D as Draft10Message, a as Draft10MessageType } from './types-0IWbU9Z_.cjs';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-CnBuq68e.cjs';
|
|
5
5
|
|
|
6
6
|
declare function createDraft10SessionState(role: SessionStateOptionsRole): SessionState<Draft10Message, Draft10MessageType>;
|
|
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-DBpCRtrL.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-DBpCRtrL.js';
|
|
3
3
|
import { D as Draft10Message, a as Draft10MessageType } from './types-0IWbU9Z_.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-CnBuq68e.js';
|
|
5
5
|
|
|
6
6
|
declare function createDraft10SessionState(role: SessionStateOptionsRole): SessionState<Draft10Message, Draft10MessageType>;
|
|
7
7
|
|
package/dist/draft10.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft10Codec, c as createDraft10Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft10Codec, c as createDraft10Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-C17JvsEU.cjs';
|
|
2
2
|
import { b as Draft10DataStream, c as DatagramObject, d as DatagramStatusObject, F as FetchStream, S as SubgroupStream, a as Draft10MessageType, D as Draft10Message } from './types-0IWbU9Z_.cjs';
|
|
3
3
|
export { e as DataStreamEvent, f as DataStreamHeader, g as Draft10Announce, h as Draft10AnnounceCancel, i as Draft10AnnounceError, j as Draft10AnnounceOk, k as Draft10BaseMessage, l as Draft10ClientSetup, m as Draft10Fetch, n as Draft10FetchCancel, o as Draft10FetchError, p as Draft10FetchOk, q as Draft10GoAway, r as Draft10MaxSubscribeId, s as Draft10Params, t as Draft10ServerSetup, u as Draft10SetupParams, v as Draft10Subscribe, w as Draft10SubscribeAnnounces, x as Draft10SubscribeAnnouncesError, y as Draft10SubscribeAnnouncesOk, z as Draft10SubscribeDone, A as Draft10SubscribeError, B as Draft10SubscribeOk, C as Draft10SubscribeUpdate, E as Draft10SubscribesBlocked, G as Draft10TrackStatus, H as Draft10TrackStatusRequest, I as Draft10Unannounce, J as Draft10Unsubscribe, K as Draft10UnsubscribeAnnounces, L as FetchObjectPayload, M as FetchStreamHeader, N as JoiningFetch, O as ObjectPayload, P as StandaloneFetch, Q as SubgroupStreamHeader, U as UnknownParam } from './types-0IWbU9Z_.cjs';
|
|
4
4
|
export { createDraft10SessionState } from './draft10-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-sBaTRwDh.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-sBaTRwDh.cjs';
|
|
7
|
+
import { b as DecodeResult } from './types-CnBuq68e.cjs';
|
|
8
8
|
|
|
9
9
|
declare function encodeSubgroupStream(stream: SubgroupStream): Uint8Array;
|
|
10
10
|
declare function encodeDatagram(dg: DatagramObject): Uint8Array;
|
package/dist/draft10.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as Draft10Codec, c as createDraft10Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
1
|
+
export { D as Draft10Codec, c as createDraft10Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-Tdey03Bo.js';
|
|
2
2
|
import { b as Draft10DataStream, c as DatagramObject, d as DatagramStatusObject, F as FetchStream, S as SubgroupStream, a as Draft10MessageType, D as Draft10Message } from './types-0IWbU9Z_.js';
|
|
3
3
|
export { e as DataStreamEvent, f as DataStreamHeader, g as Draft10Announce, h as Draft10AnnounceCancel, i as Draft10AnnounceError, j as Draft10AnnounceOk, k as Draft10BaseMessage, l as Draft10ClientSetup, m as Draft10Fetch, n as Draft10FetchCancel, o as Draft10FetchError, p as Draft10FetchOk, q as Draft10GoAway, r as Draft10MaxSubscribeId, s as Draft10Params, t as Draft10ServerSetup, u as Draft10SetupParams, v as Draft10Subscribe, w as Draft10SubscribeAnnounces, x as Draft10SubscribeAnnouncesError, y as Draft10SubscribeAnnouncesOk, z as Draft10SubscribeDone, A as Draft10SubscribeError, B as Draft10SubscribeOk, C as Draft10SubscribeUpdate, E as Draft10SubscribesBlocked, G as Draft10TrackStatus, H as Draft10TrackStatusRequest, I as Draft10Unannounce, J as Draft10Unsubscribe, K as Draft10UnsubscribeAnnounces, L as FetchObjectPayload, M as FetchStreamHeader, N as JoiningFetch, O as ObjectPayload, P as StandaloneFetch, Q as SubgroupStreamHeader, U as UnknownParam } from './types-0IWbU9Z_.js';
|
|
4
4
|
export { createDraft10SessionState } from './draft10-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-DBpCRtrL.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-DBpCRtrL.js';
|
|
7
|
+
import { b as DecodeResult } from './types-CnBuq68e.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-
|
|
3
|
-
import { D as Draft11Message, a as Draft11MessageType } from './types
|
|
4
|
-
import './types-
|
|
1
|
+
import { k as SessionStateOptionsRole, a as SessionState } from './session-types-sBaTRwDh.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-sBaTRwDh.cjs';
|
|
3
|
+
import { D as Draft11Message, a as Draft11MessageType } from './types-Ck45Ex5S.cjs';
|
|
4
|
+
import './types-CnBuq68e.cjs';
|
|
5
5
|
|
|
6
6
|
declare function createDraft11SessionState(role: SessionStateOptionsRole): SessionState<Draft11Message, Draft11MessageType>;
|
|
7
7
|
|