@moqtap/codec 0.4.1 → 0.4.3
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-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-SDWRXXOO.cjs → chunk-HO44OANK.cjs} +2 -3
- package/dist/{chunk-Q46ZURKX.js → chunk-HYI6LFMD.js} +2 -3
- package/dist/{chunk-4BDEU3D4.cjs → chunk-JB5VDJ2V.cjs} +27 -4
- package/dist/{chunk-XHDPQHYR.cjs → chunk-JTRU76JN.cjs} +33 -2
- package/dist/{chunk-GCBFHZW6.js → chunk-NZ7GYEMT.js} +27 -4
- package/dist/{chunk-5O764MBD.cjs → chunk-OGZTQA24.cjs} +6 -6
- package/dist/{chunk-BLEFTWEB.js → chunk-Q5D6OW6Q.js} +33 -2
- 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-BHHfBTnV.d.ts → codec-B2lYE0YA.d.ts} +1 -1
- package/dist/{codec-C-Yk2RNa.d.ts → codec-BFg5xnrJ.d.ts} +1 -1
- package/dist/{codec-BB0U8MF2.d.cts → codec-BWQ5Jlap.d.cts} +1 -1
- package/dist/{codec-z6_2PSzi.d.cts → codec-B_QST4y1.d.cts} +1 -1
- package/dist/{codec-COy4uuPO.d.cts → codec-BbbLDSKA.d.cts} +1 -1
- package/dist/{codec-BO5Go0Lm.d.cts → codec-C7UzTYSS.d.cts} +1 -1
- package/dist/{codec-BN6jk0Td.d.cts → codec-C8aSvE41.d.cts} +1 -1
- package/dist/{codec-w8z2j_uo.d.cts → codec-CAbm9d_n.d.cts} +1 -1
- package/dist/{codec-D2QVSH9D.d.ts → codec-CpZrZ3ok.d.ts} +1 -1
- package/dist/{codec-J7ekOSMc.d.ts → codec-DFU-6Rax.d.ts} +1 -1
- package/dist/{codec-iMEwV1UO.d.ts → codec-Db-0pk38.d.ts} +1 -1
- package/dist/{codec-BU0gaSZm.d.ts → codec-DftaRuVz.d.ts} +1 -1
- package/dist/{codec-DNfml-se.d.ts → codec-Va_wZCF_.d.ts} +1 -1
- package/dist/{codec-DoOGjjDq.d.cts → codec-lqDowbyT.d.cts} +1 -1
- package/dist/draft11-session.d.cts +1 -1
- package/dist/draft11-session.d.ts +1 -1
- package/dist/draft11.cjs +2 -2
- package/dist/draft11.d.cts +3 -3
- package/dist/draft11.d.ts +3 -3
- package/dist/draft11.js +1 -1
- package/dist/draft12-session.d.cts +1 -1
- package/dist/draft12-session.d.ts +1 -1
- package/dist/draft12.cjs +2 -2
- package/dist/draft12.d.cts +3 -3
- package/dist/draft12.d.ts +3 -3
- package/dist/draft12.js +1 -1
- package/dist/draft13-session.d.cts +1 -1
- package/dist/draft13-session.d.ts +1 -1
- package/dist/draft13.cjs +2 -2
- package/dist/draft13.d.cts +3 -3
- package/dist/draft13.d.ts +3 -3
- package/dist/draft13.js +1 -1
- package/dist/draft14-session.d.cts +1 -1
- package/dist/draft14-session.d.ts +1 -1
- package/dist/draft14.cjs +2 -2
- package/dist/draft14.d.cts +3 -3
- package/dist/draft14.d.ts +3 -3
- package/dist/draft14.js +1 -1
- package/dist/draft15-session.d.cts +1 -1
- package/dist/draft15-session.d.ts +1 -1
- package/dist/draft15.cjs +2 -2
- package/dist/draft15.d.cts +3 -3
- package/dist/draft15.d.ts +3 -3
- package/dist/draft15.js +1 -1
- package/dist/draft16-session.d.cts +1 -1
- package/dist/draft16-session.d.ts +1 -1
- package/dist/draft16.cjs +2 -2
- package/dist/draft16.d.cts +3 -3
- package/dist/draft16.d.ts +3 -3
- package/dist/draft16.js +1 -1
- package/dist/draft17-session.d.cts +1 -1
- package/dist/draft17-session.d.ts +1 -1
- package/dist/draft17.cjs +2 -2
- package/dist/draft17.d.cts +3 -3
- package/dist/draft17.d.ts +3 -3
- package/dist/draft17.js +1 -1
- package/dist/index.cjs +14 -14
- package/dist/index.d.cts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.js +7 -7
- package/dist/session.d.cts +7 -7
- package/dist/session.d.ts +7 -7
- package/dist/{types-C2qKTRR_.d.cts → types-Bio-91Rt.d.cts} +2 -1
- package/dist/{types-C2qKTRR_.d.ts → types-Bio-91Rt.d.ts} +2 -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-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 +2 -2
- package/src/drafts/draft11/codec.ts +2 -3
- package/src/drafts/draft11/types.ts +1 -1
- package/src/drafts/draft12/codec.ts +27 -4
- package/src/drafts/draft12/types.ts +2 -1
- package/src/drafts/draft13/codec.ts +2 -3
- package/src/drafts/draft13/types.ts +1 -1
- package/src/drafts/draft14/codec.ts +33 -2
- 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/types.ts +2 -2
package/dist/draft17.cjs
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkOGZTQA24cjs = require('./chunk-OGZTQA24.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
@@ -100,4 +100,4 @@ var DRAFT_VERSION = 0xff000011n;
|
|
|
100
100
|
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
exports.BIDIRECTIONAL_MESSAGES = _chunkYTPZZI2Mcjs.BIDIRECTIONAL_MESSAGES; exports.CLIENT_ONLY_MESSAGES = _chunkYTPZZI2Mcjs.CLIENT_ONLY_MESSAGES; exports.CONTROL_MESSAGES = _chunkYTPZZI2Mcjs.CONTROL_MESSAGES; exports.DRAFT_VERSION = DRAFT_VERSION; exports.Draft17SessionFSM = _chunkYTPZZI2Mcjs.Draft17SessionFSM; exports.MESSAGE_ID_MAP =
|
|
103
|
+
exports.BIDIRECTIONAL_MESSAGES = _chunkYTPZZI2Mcjs.BIDIRECTIONAL_MESSAGES; exports.CLIENT_ONLY_MESSAGES = _chunkYTPZZI2Mcjs.CLIENT_ONLY_MESSAGES; exports.CONTROL_MESSAGES = _chunkYTPZZI2Mcjs.CONTROL_MESSAGES; exports.DRAFT_VERSION = DRAFT_VERSION; exports.Draft17SessionFSM = _chunkYTPZZI2Mcjs.Draft17SessionFSM; exports.MESSAGE_ID_MAP = _chunkOGZTQA24cjs.MESSAGE_ID_MAP; exports.MESSAGE_TYPE_MAP = _chunkOGZTQA24cjs.MESSAGE_TYPE_MAP; exports.MSG_FETCH = _chunkOGZTQA24cjs.MSG_FETCH; exports.MSG_FETCH_OK = _chunkOGZTQA24cjs.MSG_FETCH_OK; exports.MSG_GOAWAY = _chunkOGZTQA24cjs.MSG_GOAWAY; exports.MSG_NAMESPACE = _chunkOGZTQA24cjs.MSG_NAMESPACE; exports.MSG_NAMESPACE_DONE = _chunkOGZTQA24cjs.MSG_NAMESPACE_DONE; exports.MSG_PUBLISH = _chunkOGZTQA24cjs.MSG_PUBLISH; exports.MSG_PUBLISH_BLOCKED = _chunkOGZTQA24cjs.MSG_PUBLISH_BLOCKED; exports.MSG_PUBLISH_DONE = _chunkOGZTQA24cjs.MSG_PUBLISH_DONE; exports.MSG_PUBLISH_NAMESPACE = _chunkOGZTQA24cjs.MSG_PUBLISH_NAMESPACE; exports.MSG_PUBLISH_OK = _chunkOGZTQA24cjs.MSG_PUBLISH_OK; exports.MSG_REQUEST_ERROR = _chunkOGZTQA24cjs.MSG_REQUEST_ERROR; exports.MSG_REQUEST_OK = _chunkOGZTQA24cjs.MSG_REQUEST_OK; exports.MSG_REQUEST_UPDATE = _chunkOGZTQA24cjs.MSG_REQUEST_UPDATE; exports.MSG_SETUP = _chunkOGZTQA24cjs.MSG_SETUP; exports.MSG_SUBSCRIBE = _chunkOGZTQA24cjs.MSG_SUBSCRIBE; exports.MSG_SUBSCRIBE_NAMESPACE = _chunkOGZTQA24cjs.MSG_SUBSCRIBE_NAMESPACE; exports.MSG_SUBSCRIBE_OK = _chunkOGZTQA24cjs.MSG_SUBSCRIBE_OK; exports.MSG_TRACK_STATUS = _chunkOGZTQA24cjs.MSG_TRACK_STATUS; exports.SERVER_ONLY_MESSAGES = _chunkYTPZZI2Mcjs.SERVER_ONLY_MESSAGES; exports.SETUP_OPT_AUTHORITY = _chunkOGZTQA24cjs.SETUP_OPT_AUTHORITY; exports.SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE = _chunkOGZTQA24cjs.SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE; exports.SETUP_OPT_MOQT_IMPLEMENTATION = _chunkOGZTQA24cjs.SETUP_OPT_MOQT_IMPLEMENTATION; exports.SETUP_OPT_PATH = _chunkOGZTQA24cjs.SETUP_OPT_PATH; exports.createDataStreamDecoder = _chunkOGZTQA24cjs.createDataStreamDecoder; exports.createDraft17Codec = _chunkOGZTQA24cjs.createDraft17Codec; exports.createDraft17SessionState = _chunkYTPZZI2Mcjs.createDraft17SessionState; exports.createFetchStreamDecoder = _chunkOGZTQA24cjs.createFetchStreamDecoder; exports.createStreamDecoder = _chunkOGZTQA24cjs.createStreamDecoder; exports.createSubgroupStreamDecoder = _chunkOGZTQA24cjs.createSubgroupStreamDecoder; exports.decodeDataStream = _chunkOGZTQA24cjs.decodeDataStream; exports.decodeDatagram = _chunkOGZTQA24cjs.decodeDatagram; exports.decodeFetchStream = _chunkOGZTQA24cjs.decodeFetchStream; exports.decodeMessage = _chunkOGZTQA24cjs.decodeMessage; exports.decodeSubgroupStream = _chunkOGZTQA24cjs.decodeSubgroupStream; exports.encodeDatagram = _chunkOGZTQA24cjs.encodeDatagram; exports.encodeFetchStream = _chunkOGZTQA24cjs.encodeFetchStream; exports.encodeMessage = _chunkOGZTQA24cjs.encodeMessage; exports.encodeSubgroupStream = _chunkOGZTQA24cjs.encodeSubgroupStream; exports.getLegalIncoming = _chunkYTPZZI2Mcjs.getLegalIncoming; exports.getLegalOutgoing = _chunkYTPZZI2Mcjs.getLegalOutgoing;
|
package/dist/draft17.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { D as Draft17Codec, c as createDraft17Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
2
|
-
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft17DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft17MessageType } from './types-
|
|
3
|
-
export { g as DataStreamHeader, h as Draft17BaseMessage, i as Draft17Fetch, j as Draft17FetchOk, k as Draft17GoAway, D as Draft17Message, l as Draft17Namespace, m as Draft17NamespaceDone, n as Draft17Params, o as Draft17Publish, p as Draft17PublishBlocked, q as Draft17PublishDone, r as Draft17PublishNamespace, s as Draft17PublishOk, t as Draft17RequestError, u as Draft17RequestOk, v as Draft17RequestUpdate, w as Draft17Setup, x as Draft17SetupOptions, y as Draft17Subscribe, z as Draft17SubscribeNamespace, A as Draft17SubscribeOk, B as Draft17TrackProperties, C as Draft17TrackStatus, E as FetchObjectPayload, J as JoiningFetch, L as LargestObject, G as StandaloneFetch, H as SubscriptionFilter, U as UnknownParam } from './types-
|
|
1
|
+
export { D as Draft17Codec, c as createDraft17Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-C8aSvE41.cjs';
|
|
2
|
+
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft17DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft17MessageType } from './types-D9eiB_9A.cjs';
|
|
3
|
+
export { g as DataStreamHeader, h as Draft17BaseMessage, i as Draft17Fetch, j as Draft17FetchOk, k as Draft17GoAway, D as Draft17Message, l as Draft17Namespace, m as Draft17NamespaceDone, n as Draft17Params, o as Draft17Publish, p as Draft17PublishBlocked, q as Draft17PublishDone, r as Draft17PublishNamespace, s as Draft17PublishOk, t as Draft17RequestError, u as Draft17RequestOk, v as Draft17RequestUpdate, w as Draft17Setup, x as Draft17SetupOptions, y as Draft17Subscribe, z as Draft17SubscribeNamespace, A as Draft17SubscribeOk, B as Draft17TrackProperties, C as Draft17TrackStatus, E as FetchObjectPayload, J as JoiningFetch, L as LargestObject, G as StandaloneFetch, H as SubscriptionFilter, U as UnknownParam } from './types-D9eiB_9A.cjs';
|
|
4
4
|
export { Draft17SessionFSM, createDraft17SessionState } from './draft17-session.cjs';
|
|
5
5
|
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-C7UONex5.cjs';
|
|
6
6
|
import { b as DecodeResult } from './types-DuIO7cWK.cjs';
|
package/dist/draft17.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { D as Draft17Codec, c as createDraft17Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-
|
|
2
|
-
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft17DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft17MessageType } from './types-
|
|
3
|
-
export { g as DataStreamHeader, h as Draft17BaseMessage, i as Draft17Fetch, j as Draft17FetchOk, k as Draft17GoAway, D as Draft17Message, l as Draft17Namespace, m as Draft17NamespaceDone, n as Draft17Params, o as Draft17Publish, p as Draft17PublishBlocked, q as Draft17PublishDone, r as Draft17PublishNamespace, s as Draft17PublishOk, t as Draft17RequestError, u as Draft17RequestOk, v as Draft17RequestUpdate, w as Draft17Setup, x as Draft17SetupOptions, y as Draft17Subscribe, z as Draft17SubscribeNamespace, A as Draft17SubscribeOk, B as Draft17TrackProperties, C as Draft17TrackStatus, E as FetchObjectPayload, J as JoiningFetch, L as LargestObject, G as StandaloneFetch, H as SubscriptionFilter, U as UnknownParam } from './types-
|
|
1
|
+
export { D as Draft17Codec, c as createDraft17Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage } from './codec-CpZrZ3ok.js';
|
|
2
|
+
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft17DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft17MessageType } from './types-D9eiB_9A.js';
|
|
3
|
+
export { g as DataStreamHeader, h as Draft17BaseMessage, i as Draft17Fetch, j as Draft17FetchOk, k as Draft17GoAway, D as Draft17Message, l as Draft17Namespace, m as Draft17NamespaceDone, n as Draft17Params, o as Draft17Publish, p as Draft17PublishBlocked, q as Draft17PublishDone, r as Draft17PublishNamespace, s as Draft17PublishOk, t as Draft17RequestError, u as Draft17RequestOk, v as Draft17RequestUpdate, w as Draft17Setup, x as Draft17SetupOptions, y as Draft17Subscribe, z as Draft17SubscribeNamespace, A as Draft17SubscribeOk, B as Draft17TrackProperties, C as Draft17TrackStatus, E as FetchObjectPayload, J as JoiningFetch, L as LargestObject, G as StandaloneFetch, H as SubscriptionFilter, U as UnknownParam } from './types-D9eiB_9A.js';
|
|
4
4
|
export { Draft17SessionFSM, createDraft17SessionState } from './draft17-session.js';
|
|
5
5
|
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-X-IYEGoG.js';
|
|
6
6
|
import { b as DecodeResult } from './types-DuIO7cWK.js';
|
package/dist/draft17.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJTRU76JNcjs = require('./chunk-JTRU76JN.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkWMJVSBBEcjs = require('./chunk-WMJVSBBE.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkBAG6YWCPcjs = require('./chunk-BAG6YWCP.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkOGZTQA24cjs = require('./chunk-OGZTQA24.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkPKEOQSSZcjs = require('./chunk-PKEOQSSZ.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkHO44OANKcjs = require('./chunk-HO44OANK.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkJB5VDJ2Vcjs = require('./chunk-JB5VDJ2V.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkSIYYMFCCcjs = require('./chunk-SIYYMFCC.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkHZHSO7EWcjs = require('./chunk-HZHSO7EW.cjs');
|
|
@@ -67,19 +67,19 @@ Supported draft values: ${Object.keys(DRAFT_VERSIONS).join(", ")}`
|
|
|
67
67
|
case "10":
|
|
68
68
|
return _chunkPKEOQSSZcjs.createDraft10Codec.call(void 0, );
|
|
69
69
|
case "11":
|
|
70
|
-
return
|
|
70
|
+
return _chunkHO44OANKcjs.createDraft11Codec.call(void 0, );
|
|
71
71
|
case "12":
|
|
72
|
-
return
|
|
72
|
+
return _chunkJB5VDJ2Vcjs.createDraft12Codec.call(void 0, );
|
|
73
73
|
case "13":
|
|
74
|
-
return
|
|
74
|
+
return _chunkSIYYMFCCcjs.createDraft13Codec.call(void 0, );
|
|
75
75
|
case "14":
|
|
76
|
-
return
|
|
76
|
+
return _chunkJTRU76JNcjs.createDraft14Codec.call(void 0, );
|
|
77
77
|
case "15":
|
|
78
|
-
return
|
|
78
|
+
return _chunkWMJVSBBEcjs.createDraft15Codec.call(void 0, );
|
|
79
79
|
case "16":
|
|
80
|
-
return
|
|
80
|
+
return _chunkBAG6YWCPcjs.createDraft16Codec.call(void 0, );
|
|
81
81
|
case "17":
|
|
82
|
-
return
|
|
82
|
+
return _chunkOGZTQA24cjs.createDraft17Codec.call(void 0, );
|
|
83
83
|
default:
|
|
84
84
|
throw new Error(`Unsupported draft: ${draft}`);
|
|
85
85
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -4,24 +4,24 @@ import { D as Draft07Codec } from './codec-CFWQY9Lj.cjs';
|
|
|
4
4
|
import { D as Draft08Codec } from './codec-R9TJCq-E.cjs';
|
|
5
5
|
import { D as Draft09Codec } from './codec-j819z_hL.cjs';
|
|
6
6
|
import { D as Draft10Codec } from './codec-DDUBJGn0.cjs';
|
|
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-
|
|
7
|
+
import { D as Draft11Codec } from './codec-CAbm9d_n.cjs';
|
|
8
|
+
import { D as Draft12Codec } from './codec-BbbLDSKA.cjs';
|
|
9
|
+
import { D as Draft13Codec } from './codec-lqDowbyT.cjs';
|
|
10
|
+
import { D as Draft14Codec } from './codec-C7UzTYSS.cjs';
|
|
11
|
+
import { D as Draft15Codec } from './codec-BWQ5Jlap.cjs';
|
|
12
|
+
import { D as Draft16Codec } from './codec-B_QST4y1.cjs';
|
|
13
|
+
import { D as Draft17Codec } from './codec-C8aSvE41.cjs';
|
|
14
14
|
import './types-Dl4IaAHR.cjs';
|
|
15
15
|
import './types-jV1yDDBA.cjs';
|
|
16
16
|
import './types-B3g5G9KP.cjs';
|
|
17
17
|
import './types-0IWbU9Z_.cjs';
|
|
18
|
-
import './types
|
|
19
|
-
import './types-
|
|
20
|
-
import './types-
|
|
21
|
-
import './types
|
|
22
|
-
import './types-
|
|
23
|
-
import './types-
|
|
24
|
-
import './types-
|
|
18
|
+
import './types-Ck45Ex5S.cjs';
|
|
19
|
+
import './types-Bio-91Rt.cjs';
|
|
20
|
+
import './types-CXlSn0I9.cjs';
|
|
21
|
+
import './types-DjmrHp_s.cjs';
|
|
22
|
+
import './types-CPaYBsMG.cjs';
|
|
23
|
+
import './types-Cm9fjeYC.cjs';
|
|
24
|
+
import './types-D9eiB_9A.cjs';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* @moqtap/codec — MoQT wire-format codec
|
package/dist/index.d.ts
CHANGED
|
@@ -4,24 +4,24 @@ import { D as Draft07Codec } from './codec-CewFCsEy.js';
|
|
|
4
4
|
import { D as Draft08Codec } from './codec-wtt6WF1K.js';
|
|
5
5
|
import { D as Draft09Codec } from './codec-3Ppy_5Gd.js';
|
|
6
6
|
import { D as Draft10Codec } from './codec-ZwV-Njt6.js';
|
|
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-
|
|
7
|
+
import { D as Draft11Codec } from './codec-Va_wZCF_.js';
|
|
8
|
+
import { D as Draft12Codec } from './codec-DFU-6Rax.js';
|
|
9
|
+
import { D as Draft13Codec } from './codec-DftaRuVz.js';
|
|
10
|
+
import { D as Draft14Codec } from './codec-Db-0pk38.js';
|
|
11
|
+
import { D as Draft15Codec } from './codec-B2lYE0YA.js';
|
|
12
|
+
import { D as Draft16Codec } from './codec-BFg5xnrJ.js';
|
|
13
|
+
import { D as Draft17Codec } from './codec-CpZrZ3ok.js';
|
|
14
14
|
import './types-Dl4IaAHR.js';
|
|
15
15
|
import './types-jV1yDDBA.js';
|
|
16
16
|
import './types-B3g5G9KP.js';
|
|
17
17
|
import './types-0IWbU9Z_.js';
|
|
18
|
-
import './types
|
|
19
|
-
import './types-
|
|
20
|
-
import './types-
|
|
21
|
-
import './types
|
|
22
|
-
import './types-
|
|
23
|
-
import './types-
|
|
24
|
-
import './types-
|
|
18
|
+
import './types-Ck45Ex5S.js';
|
|
19
|
+
import './types-Bio-91Rt.js';
|
|
20
|
+
import './types-CXlSn0I9.js';
|
|
21
|
+
import './types-DjmrHp_s.js';
|
|
22
|
+
import './types-CPaYBsMG.js';
|
|
23
|
+
import './types-Cm9fjeYC.js';
|
|
24
|
+
import './types-D9eiB_9A.js';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* @moqtap/codec — MoQT wire-format codec
|
package/dist/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDraft14Codec
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q5D6OW6Q.js";
|
|
4
4
|
import {
|
|
5
5
|
createDraft15Codec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RZ3UML47.js";
|
|
7
7
|
import {
|
|
8
8
|
createDraft16Codec
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HYI6LFMD.js";
|
|
10
10
|
import {
|
|
11
11
|
createDraft17Codec
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UP4XPH4J.js";
|
|
13
13
|
import {
|
|
14
14
|
createDraft10Codec
|
|
15
15
|
} from "./chunk-SHMA4PBY.js";
|
|
16
16
|
import {
|
|
17
17
|
createDraft11Codec
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-COWGGUL4.js";
|
|
19
19
|
import {
|
|
20
20
|
createDraft12Codec
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NZ7GYEMT.js";
|
|
22
22
|
import {
|
|
23
23
|
createDraft13Codec
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CXFAQKL3.js";
|
|
25
25
|
import {
|
|
26
26
|
createDraft07Codec
|
|
27
27
|
} from "./chunk-7KBAWOBA.js";
|
package/dist/session.d.cts
CHANGED
|
@@ -5,13 +5,13 @@ 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-
|
|
8
|
+
import { D as Draft11Message, a as Draft11MessageType } from './types-Ck45Ex5S.cjs';
|
|
9
|
+
import { D as Draft12Message, a as Draft12MessageType } from './types-Bio-91Rt.cjs';
|
|
10
|
+
import { D as Draft13Message, a as Draft13MessageType } from './types-CXlSn0I9.cjs';
|
|
11
|
+
import { D as Draft14Message, a as Draft14MessageType } from './types-DjmrHp_s.cjs';
|
|
12
|
+
import { D as Draft15Message, a as Draft15MessageType } from './types-CPaYBsMG.cjs';
|
|
13
|
+
import { D as Draft16Message, a as Draft16MessageType } from './types-Cm9fjeYC.cjs';
|
|
14
|
+
import { D as Draft17Message, a as Draft17MessageType } from './types-D9eiB_9A.cjs';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @moqtap/codec/session — MoQT session state machine
|
package/dist/session.d.ts
CHANGED
|
@@ -5,13 +5,13 @@ 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-
|
|
8
|
+
import { D as Draft11Message, a as Draft11MessageType } from './types-Ck45Ex5S.js';
|
|
9
|
+
import { D as Draft12Message, a as Draft12MessageType } from './types-Bio-91Rt.js';
|
|
10
|
+
import { D as Draft13Message, a as Draft13MessageType } from './types-CXlSn0I9.js';
|
|
11
|
+
import { D as Draft14Message, a as Draft14MessageType } from './types-DjmrHp_s.js';
|
|
12
|
+
import { D as Draft15Message, a as Draft15MessageType } from './types-CPaYBsMG.js';
|
|
13
|
+
import { D as Draft16Message, a as Draft16MessageType } from './types-Cm9fjeYC.js';
|
|
14
|
+
import { D as Draft17Message, a as Draft17MessageType } from './types-D9eiB_9A.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @moqtap/codec/session — MoQT session state machine
|
|
@@ -6,11 +6,12 @@ interface UnknownParam {
|
|
|
6
6
|
interface AuthorizationToken {
|
|
7
7
|
readonly alias_type: bigint;
|
|
8
8
|
readonly token_type: bigint;
|
|
9
|
-
readonly token_value:
|
|
9
|
+
readonly token_value: Uint8Array;
|
|
10
10
|
}
|
|
11
11
|
interface Draft12SetupParams {
|
|
12
12
|
path?: string;
|
|
13
13
|
max_request_id?: bigint;
|
|
14
|
+
authorization_token?: AuthorizationToken;
|
|
14
15
|
unknown?: UnknownParam[];
|
|
15
16
|
}
|
|
16
17
|
interface Draft12Params {
|
|
@@ -6,11 +6,12 @@ interface UnknownParam {
|
|
|
6
6
|
interface AuthorizationToken {
|
|
7
7
|
readonly alias_type: bigint;
|
|
8
8
|
readonly token_type: bigint;
|
|
9
|
-
readonly token_value:
|
|
9
|
+
readonly token_value: Uint8Array;
|
|
10
10
|
}
|
|
11
11
|
interface Draft12SetupParams {
|
|
12
12
|
path?: string;
|
|
13
13
|
max_request_id?: bigint;
|
|
14
|
+
authorization_token?: AuthorizationToken;
|
|
14
15
|
unknown?: UnknownParam[];
|
|
15
16
|
}
|
|
16
17
|
interface Draft12Params {
|
|
@@ -7,7 +7,7 @@ interface AuthorizationToken {
|
|
|
7
7
|
readonly alias_type: bigint;
|
|
8
8
|
readonly token_alias?: bigint;
|
|
9
9
|
readonly token_type?: bigint;
|
|
10
|
-
readonly token_value?:
|
|
10
|
+
readonly token_value?: Uint8Array;
|
|
11
11
|
}
|
|
12
12
|
interface Draft17SetupOptions {
|
|
13
13
|
path?: string;
|
|
@@ -43,7 +43,7 @@ interface Draft17Params {
|
|
|
43
43
|
interface Draft17TrackProperties {
|
|
44
44
|
delivery_timeout?: bigint;
|
|
45
45
|
max_cache_duration?: bigint;
|
|
46
|
-
immutable_properties?:
|
|
46
|
+
immutable_properties?: Uint8Array;
|
|
47
47
|
default_publisher_priority?: bigint;
|
|
48
48
|
default_publisher_group_order?: bigint;
|
|
49
49
|
dynamic_groups?: bigint;
|
|
@@ -7,7 +7,7 @@ interface AuthorizationToken {
|
|
|
7
7
|
readonly alias_type: bigint;
|
|
8
8
|
readonly token_alias?: bigint;
|
|
9
9
|
readonly token_type?: bigint;
|
|
10
|
-
readonly token_value?:
|
|
10
|
+
readonly token_value?: Uint8Array;
|
|
11
11
|
}
|
|
12
12
|
interface Draft17SetupOptions {
|
|
13
13
|
path?: string;
|
|
@@ -43,7 +43,7 @@ interface Draft17Params {
|
|
|
43
43
|
interface Draft17TrackProperties {
|
|
44
44
|
delivery_timeout?: bigint;
|
|
45
45
|
max_cache_duration?: bigint;
|
|
46
|
-
immutable_properties?:
|
|
46
|
+
immutable_properties?: Uint8Array;
|
|
47
47
|
default_publisher_priority?: bigint;
|
|
48
48
|
default_publisher_group_order?: bigint;
|
|
49
49
|
dynamic_groups?: bigint;
|
|
@@ -25,7 +25,7 @@ interface UnknownParam {
|
|
|
25
25
|
interface AuthorizationToken {
|
|
26
26
|
readonly alias_type: bigint;
|
|
27
27
|
readonly token_type?: bigint;
|
|
28
|
-
readonly token_value?:
|
|
28
|
+
readonly token_value?: Uint8Array;
|
|
29
29
|
readonly token_alias?: bigint;
|
|
30
30
|
}
|
|
31
31
|
interface Draft14Params {
|
|
@@ -25,7 +25,7 @@ interface UnknownParam {
|
|
|
25
25
|
interface AuthorizationToken {
|
|
26
26
|
readonly alias_type: bigint;
|
|
27
27
|
readonly token_type?: bigint;
|
|
28
|
-
readonly token_value?:
|
|
28
|
+
readonly token_value?: Uint8Array;
|
|
29
29
|
readonly token_alias?: bigint;
|
|
30
30
|
}
|
|
31
31
|
interface Draft14Params {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moqtap/codec",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "MoQT wire-format codec and session state machine — multi-draft, zero dependencies",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
"test": "vitest run"
|
|
185
185
|
},
|
|
186
186
|
"devDependencies": {
|
|
187
|
-
"@moqtap/test-vectors": "^0.8.
|
|
187
|
+
"@moqtap/test-vectors": "^0.8.3",
|
|
188
188
|
"tsup": "^8.0.0",
|
|
189
189
|
"typescript": "^5.5.0",
|
|
190
190
|
"vitest": "^3.0.0"
|
|
@@ -158,8 +158,7 @@ function encodeParams(params: Draft11Params, w: BufferWriter): void {
|
|
|
158
158
|
const tmpW = new BufferWriter(64)
|
|
159
159
|
tmpW.writeVarInt(at.alias_type)
|
|
160
160
|
tmpW.writeVarInt(at.token_type)
|
|
161
|
-
|
|
162
|
-
tmpW.writeBytes(tokenBytes)
|
|
161
|
+
tmpW.writeBytes(at.token_value)
|
|
163
162
|
const raw = tmpW.finish()
|
|
164
163
|
w.writeVarInt(raw.byteLength)
|
|
165
164
|
w.writeBytes(raw)
|
|
@@ -231,7 +230,7 @@ function decodeParams(r: BufferReader): Draft11Params {
|
|
|
231
230
|
result.authorization_token = {
|
|
232
231
|
alias_type,
|
|
233
232
|
token_type,
|
|
234
|
-
token_value:
|
|
233
|
+
token_value: tokenBytes,
|
|
235
234
|
}
|
|
236
235
|
} else {
|
|
237
236
|
const bytes = r.readBytes(length)
|
|
@@ -12,7 +12,7 @@ export interface UnknownParam {
|
|
|
12
12
|
export interface AuthorizationToken {
|
|
13
13
|
readonly alias_type: bigint
|
|
14
14
|
readonly token_type: bigint
|
|
15
|
-
readonly token_value:
|
|
15
|
+
readonly token_value: Uint8Array
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
// Setup parameters (PATH, MAX_REQUEST_ID) — same even/odd encoding as later drafts
|
|
@@ -73,6 +73,7 @@ function encodeSetupParams(params: Draft12SetupParams, w: BufferWriter): void {
|
|
|
73
73
|
let count = 0
|
|
74
74
|
if (params.path !== undefined) count++
|
|
75
75
|
if (params.max_request_id !== undefined) count++
|
|
76
|
+
if (params.authorization_token !== undefined) count++
|
|
76
77
|
if (params.unknown) count += params.unknown.length
|
|
77
78
|
|
|
78
79
|
w.writeVarInt(count)
|
|
@@ -87,6 +88,17 @@ function encodeSetupParams(params: Draft12SetupParams, w: BufferWriter): void {
|
|
|
87
88
|
w.writeVarInt(SETUP_PARAM_MAX_REQUEST_ID)
|
|
88
89
|
w.writeVarInt(params.max_request_id)
|
|
89
90
|
}
|
|
91
|
+
if (params.authorization_token !== undefined) {
|
|
92
|
+
w.writeVarInt(PARAM_AUTHORIZATION_TOKEN)
|
|
93
|
+
const at = params.authorization_token
|
|
94
|
+
const tmpW = new BufferWriter(64)
|
|
95
|
+
tmpW.writeVarInt(at.alias_type)
|
|
96
|
+
tmpW.writeVarInt(at.token_type)
|
|
97
|
+
tmpW.writeBytes(at.token_value)
|
|
98
|
+
const raw = tmpW.finish()
|
|
99
|
+
w.writeVarInt(raw.byteLength)
|
|
100
|
+
w.writeBytes(raw)
|
|
101
|
+
}
|
|
90
102
|
if (params.unknown) {
|
|
91
103
|
for (const u of params.unknown) {
|
|
92
104
|
const id = BigInt(u.id)
|
|
@@ -127,10 +139,22 @@ function decodeSetupParams(r: BufferReader): Draft12SetupParams {
|
|
|
127
139
|
}
|
|
128
140
|
} else {
|
|
129
141
|
const length = Number(r.readVarInt())
|
|
130
|
-
const
|
|
142
|
+
const startOff = r.offset
|
|
131
143
|
if (paramType === SETUP_PARAM_PATH) {
|
|
144
|
+
const bytes = r.readBytes(length)
|
|
132
145
|
result.path = textDecoder.decode(bytes)
|
|
146
|
+
} else if (paramType === PARAM_AUTHORIZATION_TOKEN) {
|
|
147
|
+
const alias_type = r.readVarInt()
|
|
148
|
+
const token_type = r.readVarInt()
|
|
149
|
+
const tokenBytesLen = length - (r.offset - startOff)
|
|
150
|
+
const tokenBytes = r.readBytes(tokenBytesLen)
|
|
151
|
+
result.authorization_token = {
|
|
152
|
+
alias_type,
|
|
153
|
+
token_type,
|
|
154
|
+
token_value: tokenBytes,
|
|
155
|
+
}
|
|
133
156
|
} else {
|
|
157
|
+
const bytes = r.readBytes(length)
|
|
134
158
|
unknown.push({
|
|
135
159
|
id: `0x${paramType.toString(16)}`,
|
|
136
160
|
length,
|
|
@@ -166,8 +190,7 @@ function encodeParams(params: Draft12Params, w: BufferWriter): void {
|
|
|
166
190
|
const tmpW = new BufferWriter(64)
|
|
167
191
|
tmpW.writeVarInt(at.alias_type)
|
|
168
192
|
tmpW.writeVarInt(at.token_type)
|
|
169
|
-
|
|
170
|
-
tmpW.writeBytes(tokenBytes)
|
|
193
|
+
tmpW.writeBytes(at.token_value)
|
|
171
194
|
const raw = tmpW.finish()
|
|
172
195
|
w.writeVarInt(raw.byteLength)
|
|
173
196
|
w.writeBytes(raw)
|
|
@@ -234,7 +257,7 @@ function decodeParams(r: BufferReader): Draft12Params {
|
|
|
234
257
|
result.authorization_token = {
|
|
235
258
|
alias_type,
|
|
236
259
|
token_type,
|
|
237
|
-
token_value:
|
|
260
|
+
token_value: tokenBytes,
|
|
238
261
|
}
|
|
239
262
|
} else {
|
|
240
263
|
const bytes = r.readBytes(length)
|
|
@@ -12,13 +12,14 @@ export interface UnknownParam {
|
|
|
12
12
|
export interface AuthorizationToken {
|
|
13
13
|
readonly alias_type: bigint
|
|
14
14
|
readonly token_type: bigint
|
|
15
|
-
readonly token_value:
|
|
15
|
+
readonly token_value: Uint8Array
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
// Setup parameters (PATH, MAX_REQUEST_ID) — same even/odd encoding as later drafts
|
|
19
19
|
export interface Draft12SetupParams {
|
|
20
20
|
path?: string // 0x01 odd
|
|
21
21
|
max_request_id?: bigint // 0x02 even
|
|
22
|
+
authorization_token?: AuthorizationToken // 0x03 odd
|
|
22
23
|
unknown?: UnknownParam[]
|
|
23
24
|
}
|
|
24
25
|
|
|
@@ -85,8 +85,7 @@ function encodeAuthorizationToken(at: AuthorizationToken, w: BufferWriter): void
|
|
|
85
85
|
if (aliasType === 1 || aliasType === 3) {
|
|
86
86
|
// REGISTER, USE_VALUE have token_type + token_value
|
|
87
87
|
tmpW.writeVarInt(at.token_type ?? 0n)
|
|
88
|
-
|
|
89
|
-
tmpW.writeBytes(tokenBytes)
|
|
88
|
+
tmpW.writeBytes(at.token_value ?? new Uint8Array(0))
|
|
90
89
|
}
|
|
91
90
|
const raw = tmpW.finish()
|
|
92
91
|
w.writeVarInt(raw.byteLength)
|
|
@@ -105,7 +104,7 @@ function decodeAuthorizationToken(r: BufferReader, length: number): Authorizatio
|
|
|
105
104
|
result.token_type = r.readVarInt()
|
|
106
105
|
const tokenBytesLen = length - (r.offset - startOff)
|
|
107
106
|
const tokenBytes = r.readBytes(tokenBytesLen)
|
|
108
|
-
result.token_value =
|
|
107
|
+
result.token_value = tokenBytes
|
|
109
108
|
}
|
|
110
109
|
return result as unknown as AuthorizationToken
|
|
111
110
|
}
|
|
@@ -14,7 +14,7 @@ export interface AuthorizationToken {
|
|
|
14
14
|
readonly alias_type: bigint
|
|
15
15
|
readonly token_alias?: bigint // present for DELETE(0), REGISTER(1), USE_ALIAS(2)
|
|
16
16
|
readonly token_type?: bigint // present for USE_VALUE(3), REGISTER(1)
|
|
17
|
-
readonly token_value?:
|
|
17
|
+
readonly token_value?: Uint8Array // present for USE_VALUE(3), REGISTER(1)
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
// Setup parameters (PATH, MAX_REQUEST_ID, AUTHORIZATION_TOKEN, MAX_AUTH_TOKEN_CACHE_SIZE)
|