@moqtap/codec 0.9.0 → 0.11.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 +173 -0
- package/dist/auth-redaction-DsdLq4Qs.d.cts +102 -0
- package/dist/auth-redaction-DsdLq4Qs.d.ts +102 -0
- package/dist/{chunk-PU2KV7VP.cjs → chunk-27K5BUAG.cjs} +485 -515
- package/dist/{chunk-BV6MITLO.js → chunk-3RNQMGKA.js} +365 -390
- package/dist/{chunk-2XH6PHXR.js → chunk-5AWIXOLB.js} +442 -467
- package/dist/{chunk-4XLYCT5Q.cjs → chunk-5IMHJIAZ.cjs} +52 -2
- package/dist/{chunk-TVSFDQYE.cjs → chunk-5JGZCKJO.cjs} +513 -531
- package/dist/{chunk-IADVBKEJ.cjs → chunk-73K4OSAN.cjs} +407 -432
- package/dist/{chunk-N2V7Z37J.js → chunk-7VQKRGRD.js} +19 -3
- package/dist/{chunk-UZO5Z2XT.cjs → chunk-A3UCQOIB.cjs} +490 -515
- package/dist/{chunk-JKMYAUGY.js → chunk-A7PDMVXM.js} +35 -11
- package/dist/{chunk-VZHL2U2N.cjs → chunk-A7VQO6YC.cjs} +54 -38
- package/dist/{chunk-KCH4BQXK.cjs → chunk-ACQHZLRZ.cjs} +73 -47
- package/dist/{chunk-H6DTAIWM.js → chunk-BBICOMW6.js} +47 -19
- package/dist/{chunk-MAXEHYVB.cjs → chunk-BNIUVOCJ.cjs} +554 -612
- package/dist/{chunk-QGIHC6BA.cjs → chunk-CNC6ANS4.cjs} +70 -46
- package/dist/{chunk-NH4L6NIY.js → chunk-FDLQSWHK.js} +437 -467
- package/dist/{chunk-IJAF6PAY.js → chunk-FFNOE4UR.js} +19 -3
- package/dist/{chunk-CZNW3R5E.cjs → chunk-GMENT63T.cjs} +54 -38
- package/dist/{chunk-7ENEWAMZ.cjs → chunk-HM7BLRVP.cjs} +305 -305
- package/dist/{chunk-XHAP2YST.js → chunk-HZONHFNO.js} +19 -3
- package/dist/{chunk-EVCPBFSR.cjs → chunk-ILYABWDK.cjs} +83 -55
- package/dist/{chunk-IDV2JYJ6.cjs → chunk-KRSFTZVO.cjs} +56 -40
- package/dist/{chunk-RIIA4ALQ.cjs → chunk-KSPH6KMH.cjs} +54 -38
- package/dist/{chunk-UA5XFP4O.cjs → chunk-KTY4LAUV.cjs} +485 -494
- package/dist/{chunk-RZTLQAKF.js → chunk-OJNLJT5D.js} +0 -1
- package/dist/{chunk-YJGOD3Y4.js → chunk-PJK2ZS3I.js} +492 -550
- package/dist/{chunk-TMXRYOBS.js → chunk-PSMZKHOC.js} +444 -453
- package/dist/{chunk-7RE6KSIY.cjs → chunk-Q5JQGHWY.cjs} +0 -1
- package/dist/{chunk-23KRITJ6.js → chunk-SQTUQY5E.js} +37 -11
- package/dist/{chunk-XQGEOFGE.js → chunk-WCRLAKDW.js} +253 -253
- package/dist/{chunk-KYVTM5VI.js → chunk-WL2YUEXH.js} +19 -3
- package/dist/{chunk-Q7NSUXXB.js → chunk-YCNIVZS7.js} +464 -482
- package/dist/{chunk-KLPWJU6W.js → chunk-YRZQVNZO.js} +50 -0
- package/dist/{codec-Bym-K2q2.d.cts → codec-76xzrLTL.d.cts} +21 -2
- package/dist/{codec-BKsVu3Fr.d.ts → codec-8p40WdLg.d.ts} +21 -2
- package/dist/{codec-Dl_QIXMz.d.ts → codec-BN2Bu0KI.d.ts} +20 -1
- package/dist/{codec-D4RvFQmu.d.ts → codec-Bb6GKTrv.d.ts} +21 -2
- package/dist/{codec-DAyiF5sq.d.cts → codec-BgpfHoAd.d.cts} +21 -2
- package/dist/{codec-CA6nbbEk.d.ts → codec-BkheTXO7.d.ts} +21 -2
- package/dist/{codec-DchsPfr3.d.cts → codec-BwVDkokh.d.cts} +21 -2
- package/dist/{codec-CgZdadPt.d.cts → codec-C5s1eBJX.d.cts} +21 -2
- package/dist/codec-CM5yd6n3.d.ts +38 -0
- package/dist/{codec-DJmqoIsp.d.cts → codec-Cb8HC3XV.d.cts} +21 -2
- package/dist/codec-Clu_skx8.d.cts +38 -0
- package/dist/{codec-DzkdW4kO.d.cts → codec-CpOpemR8.d.cts} +20 -1
- package/dist/{codec-CXCjya_G.d.cts → codec-Cshdl9Tt.d.cts} +20 -1
- package/dist/{codec-CSBFdPgP.d.cts → codec-DELe00w_.d.cts} +21 -2
- package/dist/{codec-C_xxsbKy.d.cts → codec-DHzKAUCa.d.cts} +21 -2
- package/dist/{codec--CVeqGQv.d.ts → codec-DdVBtvx7.d.ts} +20 -1
- package/dist/{codec-CviAa4lp.d.ts → codec-DlxGuYMv.d.ts} +21 -2
- package/dist/{codec-BNy5syCU.d.ts → codec-DxtgPxJS.d.ts} +20 -1
- package/dist/{codec-CtvFK4aV.d.cts → codec-GAY4lybi.d.cts} +21 -2
- package/dist/{codec-Cfo_z5ET.d.cts → codec-I8u2pfS4.d.cts} +20 -1
- package/dist/{codec-vddqy0KY.d.cts → codec-XLrnreeu.d.cts} +21 -2
- package/dist/{codec-O-1Js7h4.d.ts → codec-c0YEwwWn.d.ts} +21 -2
- package/dist/{codec-Cl73EfRW.d.ts → codec-ejDu-va6.d.ts} +21 -2
- package/dist/{codec-C006F75E.d.ts → codec-kaBUzdpV.d.ts} +21 -2
- package/dist/{codec-C5evFHL-.d.ts → codec-mVYqkIUF.d.ts} +21 -2
- package/dist/{codec-BMwgZIgG.d.ts → codec-qSbO5nOa.d.ts} +21 -2
- package/dist/{codec-BQa6Qsav.d.ts → codec-yYKGOipj.d.ts} +21 -2
- package/dist/{codec-DzLvG8Wb.d.cts → codec-zfzg9uiy.d.cts} +21 -2
- package/dist/draft07.cjs +48 -4
- package/dist/draft07.d.cts +42 -2
- package/dist/draft07.d.ts +42 -2
- package/dist/draft07.js +49 -5
- package/dist/draft08.cjs +76 -3
- package/dist/draft08.d.cts +70 -2
- package/dist/draft08.d.ts +70 -2
- package/dist/draft08.js +77 -4
- package/dist/draft09.cjs +76 -3
- package/dist/draft09.d.cts +70 -2
- package/dist/draft09.d.ts +70 -2
- package/dist/draft09.js +77 -4
- package/dist/draft10.cjs +76 -3
- package/dist/draft10.d.cts +70 -2
- package/dist/draft10.d.ts +70 -2
- package/dist/draft10.js +77 -4
- package/dist/draft11-session.d.cts +1 -1
- package/dist/draft11-session.d.ts +1 -1
- package/dist/draft11.cjs +104 -3
- package/dist/draft11.d.cts +100 -4
- package/dist/draft11.d.ts +100 -4
- package/dist/draft11.js +105 -4
- package/dist/draft12-session.d.cts +1 -1
- package/dist/draft12-session.d.ts +1 -1
- package/dist/draft12.cjs +113 -3
- package/dist/draft12.d.cts +109 -4
- package/dist/draft12.d.ts +109 -4
- package/dist/draft12.js +114 -4
- package/dist/draft13-session.d.cts +1 -1
- package/dist/draft13-session.d.ts +1 -1
- package/dist/draft13.cjs +105 -3
- package/dist/draft13.d.cts +101 -4
- package/dist/draft13.d.ts +101 -4
- package/dist/draft13.js +106 -4
- package/dist/draft14-session.d.cts +1 -1
- package/dist/draft14-session.d.ts +1 -1
- package/dist/draft14.cjs +107 -3
- package/dist/draft14.d.cts +103 -30
- package/dist/draft14.d.ts +103 -30
- package/dist/draft14.js +108 -4
- package/dist/draft15-session.d.cts +1 -1
- package/dist/draft15-session.d.ts +1 -1
- package/dist/draft15.cjs +69 -3
- package/dist/draft15.d.cts +65 -22
- package/dist/draft15.d.ts +65 -22
- package/dist/draft15.js +70 -4
- package/dist/draft16-session.cjs +2 -2
- package/dist/draft16-session.d.cts +1 -1
- package/dist/draft16-session.d.ts +1 -1
- package/dist/draft16-session.js +1 -1
- package/dist/draft16.cjs +76 -8
- package/dist/draft16.d.cts +67 -13
- package/dist/draft16.d.ts +67 -13
- package/dist/draft16.js +73 -5
- package/dist/draft17-session.d.cts +1 -1
- package/dist/draft17-session.d.ts +1 -1
- package/dist/draft17.cjs +77 -3
- package/dist/draft17.d.cts +73 -4
- package/dist/draft17.d.ts +73 -4
- package/dist/draft17.js +78 -4
- package/dist/draft18-session.d.cts +1 -1
- package/dist/draft18-session.d.ts +1 -1
- package/dist/draft18.cjs +8 -3
- package/dist/draft18.d.cts +4 -3
- package/dist/draft18.d.ts +4 -3
- package/dist/draft18.js +9 -4
- package/dist/draft19-session.d.cts +1 -1
- package/dist/draft19-session.d.ts +1 -1
- package/dist/draft19.cjs +11 -4
- package/dist/draft19.d.cts +4 -3
- package/dist/draft19.d.ts +4 -3
- package/dist/draft19.js +12 -5
- package/dist/draft20-session.d.cts +1 -1
- package/dist/draft20-session.d.ts +1 -1
- package/dist/draft20.cjs +8 -3
- package/dist/draft20.d.cts +4 -3
- package/dist/draft20.d.ts +4 -3
- package/dist/draft20.js +9 -4
- package/dist/index.cjs +30 -30
- package/dist/index.d.cts +25 -24
- package/dist/index.d.ts +25 -24
- package/dist/index.js +15 -15
- package/dist/session.cjs +2 -2
- package/dist/session.d.cts +10 -10
- package/dist/session.d.ts +10 -10
- package/dist/session.js +1 -1
- package/dist/{types-zHgCS6o5.d.cts → types-Btp416jt.d.cts} +15 -7
- package/dist/{types-zHgCS6o5.d.ts → types-Btp416jt.d.ts} +15 -7
- package/dist/{types-Cm9fjeYC.d.cts → types-BxTL1NXw.d.cts} +9 -2
- package/dist/{types-Cm9fjeYC.d.ts → types-BxTL1NXw.d.ts} +9 -2
- package/dist/{types-Bio-91Rt.d.cts → types-CI_SX4Xe.d.cts} +2 -2
- package/dist/{types-Bio-91Rt.d.ts → types-CI_SX4Xe.d.ts} +2 -2
- package/dist/{types-HI_bbXka.d.cts → types-CmqT0jUf.d.cts} +1 -1
- package/dist/{types-HI_bbXka.d.ts → types-CmqT0jUf.d.ts} +1 -1
- package/dist/{types-CPaYBsMG.d.cts → types-CuibHYcf.d.cts} +9 -2
- package/dist/{types-CPaYBsMG.d.ts → types-CuibHYcf.d.ts} +9 -2
- package/dist/{types-CWCQwuvy.d.cts → types-CwN7AEoL.d.cts} +24 -12
- package/dist/{types-CWCQwuvy.d.ts → types-CwN7AEoL.d.ts} +24 -12
- package/dist/{types-Ck45Ex5S.d.cts → types-D0kTgUuL.d.cts} +1 -1
- package/dist/{types-Ck45Ex5S.d.ts → types-D0kTgUuL.d.ts} +1 -1
- package/dist/{types-D9eiB_9A.d.cts → types-DAnalt5K.d.cts} +9 -2
- package/dist/{types-D9eiB_9A.d.ts → types-DAnalt5K.d.ts} +9 -2
- package/dist/{types-CXlSn0I9.d.cts → types-DjxexghA.d.cts} +2 -2
- package/dist/{types-CXlSn0I9.d.ts → types-DjxexghA.d.ts} +2 -2
- package/dist/{types-Cqp10JtB.d.cts → types-DxXNP32l.d.cts} +10 -2
- package/dist/{types-Cqp10JtB.d.ts → types-DxXNP32l.d.ts} +10 -2
- package/package.json +3 -3
- package/src/core/auth-redaction.ts +192 -0
- package/src/drafts/draft07/codec.ts +40 -0
- package/src/drafts/draft07/error-codes.ts +44 -0
- package/src/drafts/draft07/index.ts +15 -0
- package/src/drafts/draft08/codec.ts +40 -0
- package/src/drafts/draft08/error-codes.ts +76 -0
- package/src/drafts/draft08/index.ts +21 -0
- package/src/drafts/draft09/codec.ts +40 -0
- package/src/drafts/draft09/error-codes.ts +76 -0
- package/src/drafts/draft09/index.ts +21 -0
- package/src/drafts/draft10/codec.ts +40 -0
- package/src/drafts/draft10/error-codes.ts +76 -0
- package/src/drafts/draft10/index.ts +21 -0
- package/src/drafts/draft11/codec.ts +71 -8
- package/src/drafts/draft11/error-codes.ts +106 -0
- package/src/drafts/draft11/index.ts +23 -0
- package/src/drafts/draft11/types.ts +1 -1
- package/src/drafts/draft12/codec.ts +83 -16
- package/src/drafts/draft12/error-codes.ts +116 -0
- package/src/drafts/draft12/index.ts +25 -0
- package/src/drafts/draft12/types.ts +2 -2
- package/src/drafts/draft13/codec.ts +75 -11
- package/src/drafts/draft13/error-codes.ts +107 -0
- package/src/drafts/draft13/index.ts +23 -0
- package/src/drafts/draft13/types.ts +3 -3
- package/src/drafts/draft14/codec.ts +79 -12
- package/src/drafts/draft14/data-streams.ts +331 -259
- package/src/drafts/draft14/error-codes.ts +109 -0
- package/src/drafts/draft14/index.ts +23 -0
- package/src/drafts/draft14/types.ts +1 -1
- package/src/drafts/draft15/codec.ts +71 -8
- package/src/drafts/draft15/data-streams.ts +489 -444
- package/src/drafts/draft15/error-codes.ts +66 -0
- package/src/drafts/draft15/index.ts +15 -0
- package/src/drafts/draft15/types.ts +9 -2
- package/src/drafts/draft16/codec.ts +149 -49
- package/src/drafts/draft16/data-streams.ts +513 -442
- package/src/drafts/draft16/error-codes.ts +68 -0
- package/src/drafts/draft16/index.ts +15 -0
- package/src/drafts/draft16/messages.ts +4 -4
- package/src/drafts/draft16/session-fsm.ts +0 -1
- package/src/drafts/draft16/types.ts +24 -10
- package/src/drafts/draft17/codec.ts +77 -10
- package/src/drafts/draft17/data-streams.ts +567 -488
- package/src/drafts/draft17/index.ts +15 -0
- package/src/drafts/draft17/types.ts +9 -2
- package/src/drafts/draft18/codec.ts +70 -7
- package/src/drafts/draft18/data-streams.ts +570 -482
- package/src/drafts/draft18/index.ts +3 -0
- package/src/drafts/draft18/types.ts +18 -10
- package/src/drafts/draft19/codec.ts +95 -23
- package/src/drafts/draft19/data-streams.ts +570 -482
- package/src/drafts/draft19/error-codes.ts +3 -1
- package/src/drafts/draft19/index.ts +3 -0
- package/src/drafts/draft19/messages.ts +3 -1
- package/src/drafts/draft19/types.ts +32 -18
- package/src/drafts/draft20/codec.ts +115 -36
- package/src/drafts/draft20/data-streams.ts +610 -563
- package/src/drafts/draft20/index.ts +3 -0
- package/src/drafts/draft20/types.ts +31 -13
- package/dist/codec-BJ7BHuiZ.d.ts +0 -18
- package/dist/codec-C6Mx4bwz.d.cts +0 -18
package/dist/index.cjs
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkA3UCQOIBcjs = require('./chunk-A3UCQOIB.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk5JGZCKJOcjs = require('./chunk-5JGZCKJO.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkBNIUVOCJcjs = require('./chunk-BNIUVOCJ.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkHM7BLRVPcjs = require('./chunk-HM7BLRVP.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk73K4OSANcjs = require('./chunk-73K4OSAN.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkKTY4LAUVcjs = require('./chunk-KTY4LAUV.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk27K5BUAGcjs = require('./chunk-27K5BUAG.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkKSPH6KMHcjs = require('./chunk-KSPH6KMH.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkCNC6ANS4cjs = require('./chunk-CNC6ANS4.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkILYABWDKcjs = require('./chunk-ILYABWDK.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunkACQHZLRZcjs = require('./chunk-ACQHZLRZ.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _chunkKRSFTZVOcjs = require('./chunk-KRSFTZVO.cjs');
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkA7VQO6YCcjs = require('./chunk-A7VQO6YC.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkGMENT63Tcjs = require('./chunk-GMENT63T.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
var
|
|
45
|
+
var _chunk5IMHJIAZcjs = require('./chunk-5IMHJIAZ.cjs');
|
|
46
46
|
|
|
47
47
|
// src/core/accessors.ts
|
|
48
48
|
function pick(msg, names) {
|
|
@@ -119,33 +119,33 @@ Supported draft values: ${Object.keys(DRAFT_VERSIONS).join(", ")}`
|
|
|
119
119
|
}
|
|
120
120
|
switch (options.draft) {
|
|
121
121
|
case "07":
|
|
122
|
-
return
|
|
122
|
+
return _chunkKRSFTZVOcjs.createDraft07Codec.call(void 0, );
|
|
123
123
|
case "08":
|
|
124
|
-
return
|
|
124
|
+
return _chunkA7VQO6YCcjs.createDraft08Codec.call(void 0, );
|
|
125
125
|
case "09":
|
|
126
|
-
return
|
|
126
|
+
return _chunkGMENT63Tcjs.createDraft09Codec.call(void 0, );
|
|
127
127
|
case "10":
|
|
128
|
-
return
|
|
128
|
+
return _chunkKSPH6KMHcjs.createDraft10Codec.call(void 0, );
|
|
129
129
|
case "11":
|
|
130
|
-
return
|
|
130
|
+
return _chunkCNC6ANS4cjs.createDraft11Codec.call(void 0, );
|
|
131
131
|
case "12":
|
|
132
|
-
return
|
|
132
|
+
return _chunkILYABWDKcjs.createDraft12Codec.call(void 0, );
|
|
133
133
|
case "13":
|
|
134
|
-
return
|
|
134
|
+
return _chunkACQHZLRZcjs.createDraft13Codec.call(void 0, );
|
|
135
135
|
case "14":
|
|
136
|
-
return
|
|
136
|
+
return _chunkHM7BLRVPcjs.createDraft14Codec.call(void 0, );
|
|
137
137
|
case "15":
|
|
138
|
-
return
|
|
138
|
+
return _chunk73K4OSANcjs.createDraft15Codec.call(void 0, );
|
|
139
139
|
case "16":
|
|
140
|
-
return
|
|
140
|
+
return _chunkKTY4LAUVcjs.createDraft16Codec.call(void 0, );
|
|
141
141
|
case "17":
|
|
142
|
-
return
|
|
142
|
+
return _chunk27K5BUAGcjs.createDraft17Codec.call(void 0, );
|
|
143
143
|
case "18":
|
|
144
|
-
return
|
|
144
|
+
return _chunkA3UCQOIBcjs.createDraft18Codec.call(void 0, );
|
|
145
145
|
case "19":
|
|
146
|
-
return
|
|
146
|
+
return _chunk5JGZCKJOcjs.createDraft19Codec.call(void 0, );
|
|
147
147
|
case "20":
|
|
148
|
-
return
|
|
148
|
+
return _chunkBNIUVOCJcjs.createDraft20Codec.call(void 0, );
|
|
149
149
|
default:
|
|
150
150
|
throw new Error(`Unsupported draft: ${draft}`);
|
|
151
151
|
}
|
|
@@ -158,4 +158,4 @@ Supported draft values: ${Object.keys(DRAFT_VERSIONS).join(", ")}`
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
exports.DRAFT_VERSIONS = DRAFT_VERSIONS; exports.DecodeError =
|
|
161
|
+
exports.DRAFT_VERSIONS = DRAFT_VERSIONS; exports.DecodeError = _chunk5IMHJIAZcjs.DecodeError; exports.createCodec = createCodec; exports.joiningRequestIdOf = joiningRequestIdOf; exports.requestIdOf = requestIdOf; exports.trackAliasOf = trackAliasOf; exports.trackOf = trackOf;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
import { C as CodecOptions } from './types-DG5_iKuv.cjs';
|
|
2
2
|
export { B as BaseCodec, D as DecodeError, a as DecodeErrorCode, b as DecodeResult, c as Draft } from './types-DG5_iKuv.cjs';
|
|
3
|
-
import { D as Draft07Codec } from './codec-
|
|
4
|
-
import { D as Draft08Codec } from './codec-
|
|
5
|
-
import { D as Draft09Codec } from './codec-
|
|
6
|
-
import { D as Draft10Codec } from './codec-
|
|
7
|
-
import { D as Draft11Codec } from './codec-
|
|
8
|
-
import { D as Draft12Codec } from './codec-
|
|
9
|
-
import { D as Draft13Codec } from './codec-
|
|
10
|
-
import { D as Draft14Codec } from './codec-
|
|
11
|
-
import { D as Draft15Codec } from './codec-
|
|
12
|
-
import { D as Draft16Codec } from './codec-
|
|
13
|
-
import { D as Draft17Codec } from './codec-
|
|
14
|
-
import { D as Draft18Codec } from './codec-
|
|
15
|
-
import { D as Draft19Codec } from './codec-
|
|
16
|
-
import { D as Draft20Codec } from './codec-
|
|
3
|
+
import { D as Draft07Codec } from './codec-Clu_skx8.cjs';
|
|
4
|
+
import { D as Draft08Codec } from './codec-CpOpemR8.cjs';
|
|
5
|
+
import { D as Draft09Codec } from './codec-Cshdl9Tt.cjs';
|
|
6
|
+
import { D as Draft10Codec } from './codec-I8u2pfS4.cjs';
|
|
7
|
+
import { D as Draft11Codec } from './codec-BgpfHoAd.cjs';
|
|
8
|
+
import { D as Draft12Codec } from './codec-GAY4lybi.cjs';
|
|
9
|
+
import { D as Draft13Codec } from './codec-DHzKAUCa.cjs';
|
|
10
|
+
import { D as Draft14Codec } from './codec-zfzg9uiy.cjs';
|
|
11
|
+
import { D as Draft15Codec } from './codec-XLrnreeu.cjs';
|
|
12
|
+
import { D as Draft16Codec } from './codec-Cb8HC3XV.cjs';
|
|
13
|
+
import { D as Draft17Codec } from './codec-BwVDkokh.cjs';
|
|
14
|
+
import { D as Draft18Codec } from './codec-DELe00w_.cjs';
|
|
15
|
+
import { D as Draft19Codec } from './codec-C5s1eBJX.cjs';
|
|
16
|
+
import { D as Draft20Codec } from './codec-76xzrLTL.cjs';
|
|
17
|
+
import './auth-redaction-DsdLq4Qs.cjs';
|
|
17
18
|
import './types-Dl4IaAHR.cjs';
|
|
18
19
|
import './types-jV1yDDBA.cjs';
|
|
19
20
|
import './types-B3g5G9KP.cjs';
|
|
20
21
|
import './types-0IWbU9Z_.cjs';
|
|
21
|
-
import './types-
|
|
22
|
-
import './types-
|
|
23
|
-
import './types-
|
|
24
|
-
import './types-
|
|
25
|
-
import './types-
|
|
26
|
-
import './types-
|
|
27
|
-
import './types-
|
|
28
|
-
import './types-
|
|
29
|
-
import './types-
|
|
30
|
-
import './types-
|
|
22
|
+
import './types-D0kTgUuL.cjs';
|
|
23
|
+
import './types-CI_SX4Xe.cjs';
|
|
24
|
+
import './types-DjxexghA.cjs';
|
|
25
|
+
import './types-CmqT0jUf.cjs';
|
|
26
|
+
import './types-CuibHYcf.cjs';
|
|
27
|
+
import './types-BxTL1NXw.cjs';
|
|
28
|
+
import './types-DAnalt5K.cjs';
|
|
29
|
+
import './types-DxXNP32l.cjs';
|
|
30
|
+
import './types-Btp416jt.cjs';
|
|
31
|
+
import './types-CwN7AEoL.cjs';
|
|
31
32
|
|
|
32
33
|
/**
|
|
33
34
|
* Draft-agnostic readers for decoded control messages.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
import { C as CodecOptions } from './types-DG5_iKuv.js';
|
|
2
2
|
export { B as BaseCodec, D as DecodeError, a as DecodeErrorCode, b as DecodeResult, c as Draft } from './types-DG5_iKuv.js';
|
|
3
|
-
import { D as Draft07Codec } from './codec-
|
|
4
|
-
import { D as Draft08Codec } from './codec-
|
|
5
|
-
import { D as Draft09Codec } from './codec-
|
|
6
|
-
import { D as Draft10Codec } from './codec
|
|
7
|
-
import { D as Draft11Codec } from './codec-
|
|
8
|
-
import { D as Draft12Codec } from './codec-
|
|
9
|
-
import { D as Draft13Codec } from './codec-
|
|
10
|
-
import { D as Draft14Codec } from './codec-
|
|
11
|
-
import { D as Draft15Codec } from './codec-
|
|
12
|
-
import { D as Draft16Codec } from './codec-
|
|
13
|
-
import { D as Draft17Codec } from './codec-
|
|
14
|
-
import { D as Draft18Codec } from './codec-
|
|
15
|
-
import { D as Draft19Codec } from './codec-
|
|
16
|
-
import { D as Draft20Codec } from './codec-
|
|
3
|
+
import { D as Draft07Codec } from './codec-CM5yd6n3.js';
|
|
4
|
+
import { D as Draft08Codec } from './codec-BN2Bu0KI.js';
|
|
5
|
+
import { D as Draft09Codec } from './codec-DxtgPxJS.js';
|
|
6
|
+
import { D as Draft10Codec } from './codec-DdVBtvx7.js';
|
|
7
|
+
import { D as Draft11Codec } from './codec-BkheTXO7.js';
|
|
8
|
+
import { D as Draft12Codec } from './codec-8p40WdLg.js';
|
|
9
|
+
import { D as Draft13Codec } from './codec-c0YEwwWn.js';
|
|
10
|
+
import { D as Draft14Codec } from './codec-yYKGOipj.js';
|
|
11
|
+
import { D as Draft15Codec } from './codec-qSbO5nOa.js';
|
|
12
|
+
import { D as Draft16Codec } from './codec-kaBUzdpV.js';
|
|
13
|
+
import { D as Draft17Codec } from './codec-Bb6GKTrv.js';
|
|
14
|
+
import { D as Draft18Codec } from './codec-ejDu-va6.js';
|
|
15
|
+
import { D as Draft19Codec } from './codec-DlxGuYMv.js';
|
|
16
|
+
import { D as Draft20Codec } from './codec-mVYqkIUF.js';
|
|
17
|
+
import './auth-redaction-DsdLq4Qs.js';
|
|
17
18
|
import './types-Dl4IaAHR.js';
|
|
18
19
|
import './types-jV1yDDBA.js';
|
|
19
20
|
import './types-B3g5G9KP.js';
|
|
20
21
|
import './types-0IWbU9Z_.js';
|
|
21
|
-
import './types-
|
|
22
|
-
import './types-
|
|
23
|
-
import './types-
|
|
24
|
-
import './types-
|
|
25
|
-
import './types-
|
|
26
|
-
import './types-
|
|
27
|
-
import './types-
|
|
28
|
-
import './types-
|
|
29
|
-
import './types-
|
|
30
|
-
import './types-
|
|
22
|
+
import './types-D0kTgUuL.js';
|
|
23
|
+
import './types-CI_SX4Xe.js';
|
|
24
|
+
import './types-DjxexghA.js';
|
|
25
|
+
import './types-CmqT0jUf.js';
|
|
26
|
+
import './types-CuibHYcf.js';
|
|
27
|
+
import './types-BxTL1NXw.js';
|
|
28
|
+
import './types-DAnalt5K.js';
|
|
29
|
+
import './types-DxXNP32l.js';
|
|
30
|
+
import './types-Btp416jt.js';
|
|
31
|
+
import './types-CwN7AEoL.js';
|
|
31
32
|
|
|
32
33
|
/**
|
|
33
34
|
* Draft-agnostic readers for decoded control messages.
|
package/dist/index.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDraft18Codec
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5AWIXOLB.js";
|
|
4
4
|
import {
|
|
5
5
|
createDraft19Codec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YCNIVZS7.js";
|
|
7
7
|
import {
|
|
8
8
|
createDraft20Codec
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PJK2ZS3I.js";
|
|
10
10
|
import {
|
|
11
11
|
createDraft14Codec
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WCRLAKDW.js";
|
|
13
13
|
import {
|
|
14
14
|
createDraft15Codec
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3RNQMGKA.js";
|
|
16
16
|
import {
|
|
17
17
|
createDraft16Codec
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PSMZKHOC.js";
|
|
19
19
|
import {
|
|
20
20
|
createDraft17Codec
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FDLQSWHK.js";
|
|
22
22
|
import {
|
|
23
23
|
createDraft10Codec
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-7VQKRGRD.js";
|
|
25
25
|
import {
|
|
26
26
|
createDraft11Codec
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-A7PDMVXM.js";
|
|
28
28
|
import {
|
|
29
29
|
createDraft12Codec
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BBICOMW6.js";
|
|
31
31
|
import {
|
|
32
32
|
createDraft13Codec
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-SQTUQY5E.js";
|
|
34
34
|
import {
|
|
35
35
|
createDraft07Codec
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-WL2YUEXH.js";
|
|
37
37
|
import {
|
|
38
38
|
createDraft08Codec
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-HZONHFNO.js";
|
|
40
40
|
import {
|
|
41
41
|
createDraft09Codec
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-FFNOE4UR.js";
|
|
43
43
|
import {
|
|
44
44
|
DecodeError
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-YRZQVNZO.js";
|
|
46
46
|
|
|
47
47
|
// src/core/accessors.ts
|
|
48
48
|
function pick(msg, names) {
|
package/dist/session.cjs
CHANGED
|
@@ -15,7 +15,7 @@ var _chunkE65QKRSNcjs = require('./chunk-E65QKRSN.cjs');
|
|
|
15
15
|
var _chunkJKOEJZ5Bcjs = require('./chunk-JKOEJZ5B.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkQ5JQGHWYcjs = require('./chunk-Q5JQGHWY.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkYTPZZI2Mcjs = require('./chunk-YTPZZI2M.cjs');
|
|
@@ -55,7 +55,7 @@ function createSessionState(options) {
|
|
|
55
55
|
"13": _chunkLV5C6MECcjs.createDraft13SessionState,
|
|
56
56
|
"14": _chunkE65QKRSNcjs.createDraft14SessionState,
|
|
57
57
|
"15": _chunkJKOEJZ5Bcjs.createDraft15SessionState,
|
|
58
|
-
"16":
|
|
58
|
+
"16": _chunkQ5JQGHWYcjs.createDraft16SessionState,
|
|
59
59
|
"17": _chunkYTPZZI2Mcjs.createDraft17SessionState,
|
|
60
60
|
"18": _chunkA655PHFXcjs.createDraft18SessionState,
|
|
61
61
|
"19": _chunkCQ65LKPQcjs.createDraft19SessionState,
|
package/dist/session.d.cts
CHANGED
|
@@ -5,16 +5,16 @@ import { D as Draft07Message, a as Draft07MessageType } from './types-Dl4IaAHR.c
|
|
|
5
5
|
import { D as Draft08Message, a as Draft08MessageType } from './types-jV1yDDBA.cjs';
|
|
6
6
|
import { D as Draft09Message, a as Draft09MessageType } from './types-B3g5G9KP.cjs';
|
|
7
7
|
import { D as Draft10Message, a as Draft10MessageType } from './types-0IWbU9Z_.cjs';
|
|
8
|
-
import { D as Draft11Message, a as Draft11MessageType } from './types-
|
|
9
|
-
import { D as Draft12Message, a as Draft12MessageType } from './types-
|
|
10
|
-
import { D as Draft13Message, a as Draft13MessageType } from './types-
|
|
11
|
-
import { D as Draft14Message, a as Draft14MessageType } from './types-
|
|
12
|
-
import { D as Draft15Message, a as Draft15MessageType } from './types-
|
|
13
|
-
import { D as Draft16Message, a as Draft16MessageType } from './types-
|
|
14
|
-
import { D as Draft17Message, a as Draft17MessageType } from './types-
|
|
15
|
-
import { D as Draft18Message, a as Draft18MessageType } from './types-
|
|
16
|
-
import { D as Draft19Message, a as Draft19MessageType } from './types-
|
|
17
|
-
import { D as Draft20Message, a as Draft20MessageType } from './types-
|
|
8
|
+
import { D as Draft11Message, a as Draft11MessageType } from './types-D0kTgUuL.cjs';
|
|
9
|
+
import { D as Draft12Message, a as Draft12MessageType } from './types-CI_SX4Xe.cjs';
|
|
10
|
+
import { D as Draft13Message, a as Draft13MessageType } from './types-DjxexghA.cjs';
|
|
11
|
+
import { D as Draft14Message, a as Draft14MessageType } from './types-CmqT0jUf.cjs';
|
|
12
|
+
import { D as Draft15Message, a as Draft15MessageType } from './types-CuibHYcf.cjs';
|
|
13
|
+
import { D as Draft16Message, a as Draft16MessageType } from './types-BxTL1NXw.cjs';
|
|
14
|
+
import { D as Draft17Message, a as Draft17MessageType } from './types-DAnalt5K.cjs';
|
|
15
|
+
import { D as Draft18Message, a as Draft18MessageType } from './types-DxXNP32l.cjs';
|
|
16
|
+
import { D as Draft19Message, a as Draft19MessageType } from './types-Btp416jt.cjs';
|
|
17
|
+
import { D as Draft20Message, a as Draft20MessageType } from './types-CwN7AEoL.cjs';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @moqtap/codec/session — MoQT session state machine
|
package/dist/session.d.ts
CHANGED
|
@@ -5,16 +5,16 @@ import { D as Draft07Message, a as Draft07MessageType } from './types-Dl4IaAHR.j
|
|
|
5
5
|
import { D as Draft08Message, a as Draft08MessageType } from './types-jV1yDDBA.js';
|
|
6
6
|
import { D as Draft09Message, a as Draft09MessageType } from './types-B3g5G9KP.js';
|
|
7
7
|
import { D as Draft10Message, a as Draft10MessageType } from './types-0IWbU9Z_.js';
|
|
8
|
-
import { D as Draft11Message, a as Draft11MessageType } from './types-
|
|
9
|
-
import { D as Draft12Message, a as Draft12MessageType } from './types-
|
|
10
|
-
import { D as Draft13Message, a as Draft13MessageType } from './types-
|
|
11
|
-
import { D as Draft14Message, a as Draft14MessageType } from './types-
|
|
12
|
-
import { D as Draft15Message, a as Draft15MessageType } from './types-
|
|
13
|
-
import { D as Draft16Message, a as Draft16MessageType } from './types-
|
|
14
|
-
import { D as Draft17Message, a as Draft17MessageType } from './types-
|
|
15
|
-
import { D as Draft18Message, a as Draft18MessageType } from './types-
|
|
16
|
-
import { D as Draft19Message, a as Draft19MessageType } from './types-
|
|
17
|
-
import { D as Draft20Message, a as Draft20MessageType } from './types-
|
|
8
|
+
import { D as Draft11Message, a as Draft11MessageType } from './types-D0kTgUuL.js';
|
|
9
|
+
import { D as Draft12Message, a as Draft12MessageType } from './types-CI_SX4Xe.js';
|
|
10
|
+
import { D as Draft13Message, a as Draft13MessageType } from './types-DjxexghA.js';
|
|
11
|
+
import { D as Draft14Message, a as Draft14MessageType } from './types-CmqT0jUf.js';
|
|
12
|
+
import { D as Draft15Message, a as Draft15MessageType } from './types-CuibHYcf.js';
|
|
13
|
+
import { D as Draft16Message, a as Draft16MessageType } from './types-BxTL1NXw.js';
|
|
14
|
+
import { D as Draft17Message, a as Draft17MessageType } from './types-DAnalt5K.js';
|
|
15
|
+
import { D as Draft18Message, a as Draft18MessageType } from './types-DxXNP32l.js';
|
|
16
|
+
import { D as Draft19Message, a as Draft19MessageType } from './types-Btp416jt.js';
|
|
17
|
+
import { D as Draft20Message, a as Draft20MessageType } from './types-CwN7AEoL.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @moqtap/codec/session — MoQT session state machine
|
package/dist/session.js
CHANGED
|
@@ -11,7 +11,7 @@ interface AuthorizationToken {
|
|
|
11
11
|
}
|
|
12
12
|
interface Draft19SetupOptions {
|
|
13
13
|
path?: string;
|
|
14
|
-
authorization_token?: AuthorizationToken;
|
|
14
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
15
15
|
max_auth_token_cache_size?: bigint;
|
|
16
16
|
authority?: string;
|
|
17
17
|
max_filter_ranges?: bigint;
|
|
@@ -41,7 +41,7 @@ interface LargestObject {
|
|
|
41
41
|
}
|
|
42
42
|
interface Draft19Params {
|
|
43
43
|
object_delivery_timeout?: bigint;
|
|
44
|
-
authorization_token?: AuthorizationToken;
|
|
44
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
45
45
|
rendezvous_timeout?: bigint;
|
|
46
46
|
subgroup_delivery_timeout?: bigint;
|
|
47
47
|
expires?: bigint;
|
|
@@ -51,11 +51,11 @@ interface Draft19Params {
|
|
|
51
51
|
subscriber_priority?: bigint;
|
|
52
52
|
location_filter?: LocationFilter;
|
|
53
53
|
group_order?: bigint;
|
|
54
|
-
subgroup_filter?: RangeFilter;
|
|
55
|
-
objectid_filter?: RangeFilter;
|
|
56
|
-
priority_filter?: RangeFilter;
|
|
57
|
-
object_property_filter?: RangeFilter;
|
|
58
|
-
track_property_filter?: RangeFilter;
|
|
54
|
+
subgroup_filter?: readonly RangeFilter[];
|
|
55
|
+
objectid_filter?: readonly RangeFilter[];
|
|
56
|
+
priority_filter?: readonly RangeFilter[];
|
|
57
|
+
object_property_filter?: readonly RangeFilter[];
|
|
58
|
+
track_property_filter?: readonly RangeFilter[];
|
|
59
59
|
new_group_request?: bigint;
|
|
60
60
|
track_namespace_prefix?: string[];
|
|
61
61
|
unknown?: UnknownParam[];
|
|
@@ -250,10 +250,18 @@ interface FetchStream {
|
|
|
250
250
|
type Draft19DataStream = SubgroupStream | DatagramObject | FetchStream;
|
|
251
251
|
interface SubgroupStreamHeader {
|
|
252
252
|
readonly type: 'subgroup_header';
|
|
253
|
+
/**
|
|
254
|
+
* The stream Type Flags, the same value `SubgroupStream.headerType` carries.
|
|
255
|
+
* Without it the incremental decoder drops every flag the header encodes
|
|
256
|
+
* and a consumer cannot tell the modes apart.
|
|
257
|
+
*/
|
|
258
|
+
readonly headerType: number;
|
|
253
259
|
readonly trackAlias: bigint;
|
|
254
260
|
readonly groupId: bigint;
|
|
255
261
|
readonly subgroupId: bigint;
|
|
256
262
|
readonly publisherPriority: number;
|
|
263
|
+
readonly endOfGroup?: boolean;
|
|
264
|
+
readonly firstObject?: boolean;
|
|
257
265
|
}
|
|
258
266
|
interface FetchStreamHeader {
|
|
259
267
|
readonly type: 'fetch_header';
|
|
@@ -11,7 +11,7 @@ interface AuthorizationToken {
|
|
|
11
11
|
}
|
|
12
12
|
interface Draft19SetupOptions {
|
|
13
13
|
path?: string;
|
|
14
|
-
authorization_token?: AuthorizationToken;
|
|
14
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
15
15
|
max_auth_token_cache_size?: bigint;
|
|
16
16
|
authority?: string;
|
|
17
17
|
max_filter_ranges?: bigint;
|
|
@@ -41,7 +41,7 @@ interface LargestObject {
|
|
|
41
41
|
}
|
|
42
42
|
interface Draft19Params {
|
|
43
43
|
object_delivery_timeout?: bigint;
|
|
44
|
-
authorization_token?: AuthorizationToken;
|
|
44
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
45
45
|
rendezvous_timeout?: bigint;
|
|
46
46
|
subgroup_delivery_timeout?: bigint;
|
|
47
47
|
expires?: bigint;
|
|
@@ -51,11 +51,11 @@ interface Draft19Params {
|
|
|
51
51
|
subscriber_priority?: bigint;
|
|
52
52
|
location_filter?: LocationFilter;
|
|
53
53
|
group_order?: bigint;
|
|
54
|
-
subgroup_filter?: RangeFilter;
|
|
55
|
-
objectid_filter?: RangeFilter;
|
|
56
|
-
priority_filter?: RangeFilter;
|
|
57
|
-
object_property_filter?: RangeFilter;
|
|
58
|
-
track_property_filter?: RangeFilter;
|
|
54
|
+
subgroup_filter?: readonly RangeFilter[];
|
|
55
|
+
objectid_filter?: readonly RangeFilter[];
|
|
56
|
+
priority_filter?: readonly RangeFilter[];
|
|
57
|
+
object_property_filter?: readonly RangeFilter[];
|
|
58
|
+
track_property_filter?: readonly RangeFilter[];
|
|
59
59
|
new_group_request?: bigint;
|
|
60
60
|
track_namespace_prefix?: string[];
|
|
61
61
|
unknown?: UnknownParam[];
|
|
@@ -250,10 +250,18 @@ interface FetchStream {
|
|
|
250
250
|
type Draft19DataStream = SubgroupStream | DatagramObject | FetchStream;
|
|
251
251
|
interface SubgroupStreamHeader {
|
|
252
252
|
readonly type: 'subgroup_header';
|
|
253
|
+
/**
|
|
254
|
+
* The stream Type Flags, the same value `SubgroupStream.headerType` carries.
|
|
255
|
+
* Without it the incremental decoder drops every flag the header encodes
|
|
256
|
+
* and a consumer cannot tell the modes apart.
|
|
257
|
+
*/
|
|
258
|
+
readonly headerType: number;
|
|
253
259
|
readonly trackAlias: bigint;
|
|
254
260
|
readonly groupId: bigint;
|
|
255
261
|
readonly subgroupId: bigint;
|
|
256
262
|
readonly publisherPriority: number;
|
|
263
|
+
readonly endOfGroup?: boolean;
|
|
264
|
+
readonly firstObject?: boolean;
|
|
257
265
|
}
|
|
258
266
|
interface FetchStreamHeader {
|
|
259
267
|
readonly type: 'fetch_header';
|
|
@@ -12,7 +12,7 @@ interface AuthorizationToken {
|
|
|
12
12
|
interface Draft16SetupParams {
|
|
13
13
|
path?: string;
|
|
14
14
|
max_request_id?: bigint;
|
|
15
|
-
authorization_token?: AuthorizationToken;
|
|
15
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
16
16
|
max_auth_token_cache_size?: bigint;
|
|
17
17
|
authority?: string;
|
|
18
18
|
moqt_implementation?: string;
|
|
@@ -36,7 +36,7 @@ interface Draft16TrackExtensions {
|
|
|
36
36
|
}
|
|
37
37
|
interface Draft16Params {
|
|
38
38
|
delivery_timeout?: bigint;
|
|
39
|
-
authorization_token?: AuthorizationToken;
|
|
39
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
40
40
|
max_cache_duration?: bigint;
|
|
41
41
|
expires?: bigint;
|
|
42
42
|
largest_object?: LargestObject;
|
|
@@ -249,10 +249,17 @@ interface FetchStream {
|
|
|
249
249
|
type Draft16DataStream = SubgroupStream | DatagramObject | FetchStream;
|
|
250
250
|
interface SubgroupStreamHeader {
|
|
251
251
|
readonly type: 'subgroup_header';
|
|
252
|
+
/**
|
|
253
|
+
* The stream Type Flags, the same value `SubgroupStream.headerType` carries.
|
|
254
|
+
* Without it the incremental decoder drops every flag the header encodes
|
|
255
|
+
* and a consumer cannot tell the modes apart.
|
|
256
|
+
*/
|
|
257
|
+
readonly headerType: number;
|
|
252
258
|
readonly trackAlias: bigint;
|
|
253
259
|
readonly groupId: bigint;
|
|
254
260
|
readonly subgroupId: bigint;
|
|
255
261
|
readonly publisherPriority: number;
|
|
262
|
+
readonly endOfGroup?: boolean;
|
|
256
263
|
}
|
|
257
264
|
interface FetchStreamHeader {
|
|
258
265
|
readonly type: 'fetch_header';
|
|
@@ -12,7 +12,7 @@ interface AuthorizationToken {
|
|
|
12
12
|
interface Draft16SetupParams {
|
|
13
13
|
path?: string;
|
|
14
14
|
max_request_id?: bigint;
|
|
15
|
-
authorization_token?: AuthorizationToken;
|
|
15
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
16
16
|
max_auth_token_cache_size?: bigint;
|
|
17
17
|
authority?: string;
|
|
18
18
|
moqt_implementation?: string;
|
|
@@ -36,7 +36,7 @@ interface Draft16TrackExtensions {
|
|
|
36
36
|
}
|
|
37
37
|
interface Draft16Params {
|
|
38
38
|
delivery_timeout?: bigint;
|
|
39
|
-
authorization_token?: AuthorizationToken;
|
|
39
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
40
40
|
max_cache_duration?: bigint;
|
|
41
41
|
expires?: bigint;
|
|
42
42
|
largest_object?: LargestObject;
|
|
@@ -249,10 +249,17 @@ interface FetchStream {
|
|
|
249
249
|
type Draft16DataStream = SubgroupStream | DatagramObject | FetchStream;
|
|
250
250
|
interface SubgroupStreamHeader {
|
|
251
251
|
readonly type: 'subgroup_header';
|
|
252
|
+
/**
|
|
253
|
+
* The stream Type Flags, the same value `SubgroupStream.headerType` carries.
|
|
254
|
+
* Without it the incremental decoder drops every flag the header encodes
|
|
255
|
+
* and a consumer cannot tell the modes apart.
|
|
256
|
+
*/
|
|
257
|
+
readonly headerType: number;
|
|
252
258
|
readonly trackAlias: bigint;
|
|
253
259
|
readonly groupId: bigint;
|
|
254
260
|
readonly subgroupId: bigint;
|
|
255
261
|
readonly publisherPriority: number;
|
|
262
|
+
readonly endOfGroup?: boolean;
|
|
256
263
|
}
|
|
257
264
|
interface FetchStreamHeader {
|
|
258
265
|
readonly type: 'fetch_header';
|
|
@@ -11,12 +11,12 @@ interface AuthorizationToken {
|
|
|
11
11
|
interface Draft12SetupParams {
|
|
12
12
|
path?: string;
|
|
13
13
|
max_request_id?: bigint;
|
|
14
|
-
authorization_token?: AuthorizationToken;
|
|
14
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
15
15
|
unknown?: UnknownParam[];
|
|
16
16
|
}
|
|
17
17
|
interface Draft12Params {
|
|
18
18
|
delivery_timeout?: bigint;
|
|
19
|
-
authorization_token?: AuthorizationToken;
|
|
19
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
20
20
|
max_cache_duration?: bigint;
|
|
21
21
|
unknown?: UnknownParam[];
|
|
22
22
|
}
|
|
@@ -11,12 +11,12 @@ interface AuthorizationToken {
|
|
|
11
11
|
interface Draft12SetupParams {
|
|
12
12
|
path?: string;
|
|
13
13
|
max_request_id?: bigint;
|
|
14
|
-
authorization_token?: AuthorizationToken;
|
|
14
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
15
15
|
unknown?: UnknownParam[];
|
|
16
16
|
}
|
|
17
17
|
interface Draft12Params {
|
|
18
18
|
delivery_timeout?: bigint;
|
|
19
|
-
authorization_token?: AuthorizationToken;
|
|
19
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
20
20
|
max_cache_duration?: bigint;
|
|
21
21
|
unknown?: UnknownParam[];
|
|
22
22
|
}
|
|
@@ -36,7 +36,7 @@ interface Draft14Params {
|
|
|
36
36
|
max_auth_token_cache_size?: bigint;
|
|
37
37
|
moqt_implementation?: string;
|
|
38
38
|
delivery_timeout?: bigint;
|
|
39
|
-
authorization_token?: AuthorizationToken;
|
|
39
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
40
40
|
max_cache_duration?: bigint;
|
|
41
41
|
unknown?: UnknownParam[];
|
|
42
42
|
}
|
|
@@ -36,7 +36,7 @@ interface Draft14Params {
|
|
|
36
36
|
max_auth_token_cache_size?: bigint;
|
|
37
37
|
moqt_implementation?: string;
|
|
38
38
|
delivery_timeout?: bigint;
|
|
39
|
-
authorization_token?: AuthorizationToken;
|
|
39
|
+
authorization_token?: readonly AuthorizationToken[];
|
|
40
40
|
max_cache_duration?: bigint;
|
|
41
41
|
unknown?: UnknownParam[];
|
|
42
42
|
}
|