@moqtap/codec 0.10.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 +147 -0
- package/dist/auth-redaction-DsdLq4Qs.d.cts +102 -0
- package/dist/auth-redaction-DsdLq4Qs.d.ts +102 -0
- package/dist/{chunk-RYKQXBG6.cjs → chunk-27K5BUAG.cjs} +481 -517
- package/dist/{chunk-WCPENYNE.js → chunk-3RNQMGKA.js} +359 -390
- package/dist/{chunk-TSUZ6GJV.js → chunk-5AWIXOLB.js} +438 -469
- package/dist/{chunk-4XLYCT5Q.cjs → chunk-5IMHJIAZ.cjs} +52 -2
- package/dist/{chunk-KTNERCTZ.cjs → chunk-5JGZCKJO.cjs} +488 -518
- package/dist/{chunk-WCTMPDUX.cjs → chunk-73K4OSAN.cjs} +401 -432
- package/dist/{chunk-N2V7Z37J.js → chunk-7VQKRGRD.js} +19 -3
- package/dist/{chunk-BIBMDTU5.cjs → chunk-A3UCQOIB.cjs} +486 -517
- package/dist/{chunk-K2B3OVFK.js → chunk-A7PDMVXM.js} +24 -3
- package/dist/{chunk-VZHL2U2N.cjs → chunk-A7VQO6YC.cjs} +54 -38
- package/dist/{chunk-AQ445VV7.cjs → chunk-ACQHZLRZ.cjs} +66 -46
- package/dist/{chunk-L5DRACXS.js → chunk-BBICOMW6.js} +25 -3
- package/dist/{chunk-T4VWPKDG.cjs → chunk-BNIUVOCJ.cjs} +529 -599
- package/dist/{chunk-UKKDOOUO.cjs → chunk-CNC6ANS4.cjs} +58 -37
- package/dist/{chunk-OZRK73NQ.js → chunk-FDLQSWHK.js} +433 -469
- package/dist/{chunk-IJAF6PAY.js → chunk-FFNOE4UR.js} +19 -3
- package/dist/{chunk-CZNW3R5E.cjs → chunk-GMENT63T.cjs} +54 -38
- package/dist/{chunk-XCRCAUGI.cjs → chunk-HM7BLRVP.cjs} +291 -297
- package/dist/{chunk-XHAP2YST.js → chunk-HZONHFNO.js} +19 -3
- package/dist/{chunk-SDJTSMOW.cjs → chunk-ILYABWDK.cjs} +60 -38
- package/dist/{chunk-IDV2JYJ6.cjs → chunk-KRSFTZVO.cjs} +56 -40
- package/dist/{chunk-RIIA4ALQ.cjs → chunk-KSPH6KMH.cjs} +54 -38
- package/dist/{chunk-OUNN4IQB.cjs → chunk-KTY4LAUV.cjs} +482 -497
- package/dist/{chunk-RZTLQAKF.js → chunk-OJNLJT5D.js} +0 -1
- package/dist/{chunk-FT3HDNIB.js → chunk-PJK2ZS3I.js} +467 -537
- package/dist/{chunk-G53WYUXL.js → chunk-PSMZKHOC.js} +441 -456
- package/dist/{chunk-7RE6KSIY.cjs → chunk-Q5JQGHWY.cjs} +0 -1
- package/dist/{chunk-BX2N7TZM.js → chunk-SQTUQY5E.js} +31 -11
- package/dist/{chunk-CF5DDD3Q.js → chunk-WCRLAKDW.js} +239 -245
- package/dist/{chunk-KYVTM5VI.js → chunk-WL2YUEXH.js} +19 -3
- package/dist/{chunk-KGDVC4O6.js → chunk-YCNIVZS7.js} +439 -469
- package/dist/{chunk-KLPWJU6W.js → chunk-YRZQVNZO.js} +50 -0
- package/dist/{codec-CFWu5KVT.d.cts → codec-76xzrLTL.d.cts} +21 -2
- package/dist/{codec-gl4_QEva.d.ts → codec-8p40WdLg.d.ts} +20 -1
- package/dist/{codec-Dl_QIXMz.d.ts → codec-BN2Bu0KI.d.ts} +20 -1
- package/dist/{codec-Bux_Q40X.d.ts → codec-Bb6GKTrv.d.ts} +21 -2
- package/dist/{codec-EvybrBuY.d.cts → codec-BgpfHoAd.d.cts} +20 -1
- package/dist/{codec-alVA27Uc.d.ts → codec-BkheTXO7.d.ts} +20 -1
- package/dist/{codec-Czejcmxr.d.cts → codec-BwVDkokh.d.cts} +21 -2
- package/dist/{codec-BrTi4K7r.d.cts → codec-C5s1eBJX.d.cts} +21 -2
- package/dist/codec-CM5yd6n3.d.ts +38 -0
- package/dist/{codec-CWnf8mn_.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-f7vxeVIS.d.cts → codec-DELe00w_.d.cts} +21 -2
- package/dist/{codec-DNmiG2e0.d.cts → codec-DHzKAUCa.d.cts} +20 -1
- package/dist/{codec--CVeqGQv.d.ts → codec-DdVBtvx7.d.ts} +20 -1
- package/dist/{codec-CBdOIfMY.d.ts → codec-DlxGuYMv.d.ts} +21 -2
- package/dist/{codec-BNy5syCU.d.ts → codec-DxtgPxJS.d.ts} +20 -1
- package/dist/{codec-guzqtfMk.d.cts → codec-GAY4lybi.d.cts} +20 -1
- package/dist/{codec-Cfo_z5ET.d.cts → codec-I8u2pfS4.d.cts} +20 -1
- package/dist/{codec-BxQTybUX.d.cts → codec-XLrnreeu.d.cts} +21 -2
- package/dist/{codec-DOmAmFkI.d.ts → codec-c0YEwwWn.d.ts} +20 -1
- package/dist/{codec-DaXjRrOV.d.ts → codec-ejDu-va6.d.ts} +21 -2
- package/dist/{codec-C3mdsGx3.d.ts → codec-kaBUzdpV.d.ts} +21 -2
- package/dist/{codec-CwZ6OCPP.d.ts → codec-mVYqkIUF.d.ts} +21 -2
- package/dist/{codec-08ZOr5wI.d.ts → codec-qSbO5nOa.d.ts} +21 -2
- package/dist/{codec-Cm3D261p.d.ts → codec-yYKGOipj.d.ts} +20 -1
- package/dist/{codec-Bd60SGKH.d.cts → codec-zfzg9uiy.d.cts} +20 -1
- 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.cjs +104 -3
- package/dist/draft11.d.cts +98 -2
- package/dist/draft11.d.ts +98 -2
- package/dist/draft11.js +105 -4
- package/dist/draft12.cjs +113 -3
- package/dist/draft12.d.cts +107 -2
- package/dist/draft12.d.ts +107 -2
- package/dist/draft12.js +114 -4
- package/dist/draft13.cjs +105 -3
- package/dist/draft13.d.cts +99 -2
- package/dist/draft13.d.ts +99 -2
- package/dist/draft13.js +106 -4
- package/dist/draft14.cjs +107 -3
- package/dist/draft14.d.cts +101 -28
- package/dist/draft14.d.ts +101 -28
- 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 +21 -20
- package/dist/index.d.ts +21 -20
- package/dist/index.js +15 -15
- package/dist/session.cjs +2 -2
- package/dist/session.d.cts +6 -6
- package/dist/session.d.ts +6 -6
- package/dist/session.js +1 -1
- package/dist/{types-C1rxh-id.d.cts → types-Btp416jt.d.cts} +8 -0
- package/dist/{types-C1rxh-id.d.ts → types-Btp416jt.d.ts} +8 -0
- package/dist/{types-CZTzbIzQ.d.cts → types-BxTL1NXw.d.cts} +7 -0
- package/dist/{types-CZTzbIzQ.d.ts → types-BxTL1NXw.d.ts} +7 -0
- package/dist/{types-pShrs3fN.d.cts → types-CuibHYcf.d.cts} +7 -0
- package/dist/{types-pShrs3fN.d.ts → types-CuibHYcf.d.ts} +7 -0
- package/dist/{types-CY-QWxd-.d.cts → types-CwN7AEoL.d.cts} +13 -1
- package/dist/{types-CY-QWxd-.d.ts → types-CwN7AEoL.d.ts} +13 -1
- package/dist/{types-D4bmW8rY.d.cts → types-DAnalt5K.d.cts} +7 -0
- package/dist/{types-D4bmW8rY.d.ts → types-DAnalt5K.d.ts} +7 -0
- package/dist/{types-Bg86GGVZ.d.cts → types-DxXNP32l.d.cts} +8 -0
- package/dist/{types-Bg86GGVZ.d.ts → types-DxXNP32l.d.ts} +8 -0
- 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 +60 -0
- package/src/drafts/draft11/error-codes.ts +106 -0
- package/src/drafts/draft11/index.ts +23 -0
- package/src/drafts/draft12/codec.ts +61 -0
- package/src/drafts/draft12/error-codes.ts +116 -0
- package/src/drafts/draft12/index.ts +25 -0
- package/src/drafts/draft13/codec.ts +69 -11
- package/src/drafts/draft13/error-codes.ts +107 -0
- package/src/drafts/draft13/index.ts +23 -0
- package/src/drafts/draft13/types.ts +1 -1
- package/src/drafts/draft14/codec.ts +65 -4
- 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/draft15/codec.ts +65 -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 +7 -0
- package/src/drafts/draft16/codec.ts +146 -52
- 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 +22 -8
- package/src/drafts/draft17/codec.ts +73 -12
- package/src/drafts/draft17/data-streams.ts +567 -488
- package/src/drafts/draft17/index.ts +15 -0
- package/src/drafts/draft17/types.ts +7 -0
- package/src/drafts/draft18/codec.ts +66 -9
- package/src/drafts/draft18/data-streams.ts +570 -482
- package/src/drafts/draft18/index.ts +3 -0
- package/src/drafts/draft18/types.ts +16 -8
- package/src/drafts/draft19/codec.ts +70 -10
- 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 +22 -11
- package/src/drafts/draft20/codec.ts +90 -23
- package/src/drafts/draft20/data-streams.ts +610 -563
- package/src/drafts/draft20/index.ts +3 -0
- package/src/drafts/draft20/types.ts +14 -2
- package/dist/codec-BJ7BHuiZ.d.ts +0 -18
- package/dist/codec-C6Mx4bwz.d.cts +0 -18
package/dist/draft17.cjs
CHANGED
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
|
|
41
|
+
var _chunk27K5BUAGcjs = require('./chunk-27K5BUAG.cjs');
|
|
41
42
|
|
|
42
43
|
|
|
43
44
|
|
|
@@ -48,7 +49,74 @@ var _chunkRYKQXBG6cjs = require('./chunk-RYKQXBG6.cjs');
|
|
|
48
49
|
|
|
49
50
|
|
|
50
51
|
var _chunkYTPZZI2Mcjs = require('./chunk-YTPZZI2M.cjs');
|
|
51
|
-
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
var _chunk5IMHJIAZcjs = require('./chunk-5IMHJIAZ.cjs');
|
|
55
|
+
|
|
56
|
+
// src/drafts/draft17/error-codes.ts
|
|
57
|
+
var SessionTerminationCode = {
|
|
58
|
+
NoError: 0x0n,
|
|
59
|
+
InternalError: 0x1n,
|
|
60
|
+
Unauthorized: 0x2n,
|
|
61
|
+
ProtocolViolation: 0x3n,
|
|
62
|
+
InvalidRequestId: 0x4n,
|
|
63
|
+
DuplicateTrackAlias: 0x5n,
|
|
64
|
+
KeyValueFormattingError: 0x6n,
|
|
65
|
+
InvalidRequiredRequestId: 0x7n,
|
|
66
|
+
InvalidPath: 0x8n,
|
|
67
|
+
MalformedPath: 0x9n,
|
|
68
|
+
GoawayTimeout: 0x10n,
|
|
69
|
+
ControlMessageTimeout: 0x11n,
|
|
70
|
+
DataStreamTimeout: 0x12n,
|
|
71
|
+
AuthTokenCacheOverflow: 0x13n,
|
|
72
|
+
DuplicateAuthTokenAlias: 0x14n,
|
|
73
|
+
VersionNegotiationFailed: 0x15n,
|
|
74
|
+
MalformedAuthToken: 0x16n,
|
|
75
|
+
UnknownAuthTokenAlias: 0x17n,
|
|
76
|
+
ExpiredAuthToken: 0x18n,
|
|
77
|
+
InvalidAuthority: 0x19n,
|
|
78
|
+
MalformedAuthority: 0x1an
|
|
79
|
+
};
|
|
80
|
+
var RequestErrorCode = {
|
|
81
|
+
InternalError: 0x0n,
|
|
82
|
+
Unauthorized: 0x1n,
|
|
83
|
+
Timeout: 0x2n,
|
|
84
|
+
NotSupported: 0x3n,
|
|
85
|
+
MalformedAuthToken: 0x4n,
|
|
86
|
+
ExpiredAuthToken: 0x5n,
|
|
87
|
+
GoingAway: 0x6n,
|
|
88
|
+
ExcessiveLoad: 0x9n,
|
|
89
|
+
DoesNotExist: 0x10n,
|
|
90
|
+
InvalidRange: 0x11n,
|
|
91
|
+
MalformedTrack: 0x12n,
|
|
92
|
+
DuplicateSubscription: 0x19n,
|
|
93
|
+
Uninterested: 0x20n,
|
|
94
|
+
PrefixOverlap: 0x30n,
|
|
95
|
+
NamespaceTooLarge: 0x31n,
|
|
96
|
+
InvalidJoiningRequestId: 0x32n
|
|
97
|
+
};
|
|
98
|
+
var PublishDoneCode = {
|
|
99
|
+
InternalError: 0x0n,
|
|
100
|
+
Unauthorized: 0x1n,
|
|
101
|
+
TrackEnded: 0x2n,
|
|
102
|
+
SubscriptionEnded: 0x3n,
|
|
103
|
+
GoingAway: 0x4n,
|
|
104
|
+
Expired: 0x5n,
|
|
105
|
+
TooFarBehind: 0x6n,
|
|
106
|
+
UpdateFailed: 0x8n,
|
|
107
|
+
ExcessiveLoad: 0x9n,
|
|
108
|
+
MalformedTrack: 0x12n
|
|
109
|
+
};
|
|
110
|
+
var DataStreamResetCode = {
|
|
111
|
+
InternalError: 0x0n,
|
|
112
|
+
Cancelled: 0x1n,
|
|
113
|
+
DeliveryTimeout: 0x2n,
|
|
114
|
+
SessionClosed: 0x3n,
|
|
115
|
+
UnknownObjectStatus: 0x4n,
|
|
116
|
+
TooFarBehind: 0x5n,
|
|
117
|
+
ExcessiveLoad: 0x9n,
|
|
118
|
+
MalformedTrack: 0x12n
|
|
119
|
+
};
|
|
52
120
|
|
|
53
121
|
// src/drafts/draft17/index.ts
|
|
54
122
|
var DRAFT_VERSION = 0xff000011n;
|
|
@@ -100,4 +168,10 @@ var DRAFT_VERSION = 0xff000011n;
|
|
|
100
168
|
|
|
101
169
|
|
|
102
170
|
|
|
103
|
-
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
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.DataStreamResetCode = DataStreamResetCode; exports.Draft17SessionFSM = _chunkYTPZZI2Mcjs.Draft17SessionFSM; exports.MESSAGE_ID_MAP = _chunk27K5BUAGcjs.MESSAGE_ID_MAP; exports.MESSAGE_TYPE_MAP = _chunk27K5BUAGcjs.MESSAGE_TYPE_MAP; exports.MSG_FETCH = _chunk27K5BUAGcjs.MSG_FETCH; exports.MSG_FETCH_OK = _chunk27K5BUAGcjs.MSG_FETCH_OK; exports.MSG_GOAWAY = _chunk27K5BUAGcjs.MSG_GOAWAY; exports.MSG_NAMESPACE = _chunk27K5BUAGcjs.MSG_NAMESPACE; exports.MSG_NAMESPACE_DONE = _chunk27K5BUAGcjs.MSG_NAMESPACE_DONE; exports.MSG_PUBLISH = _chunk27K5BUAGcjs.MSG_PUBLISH; exports.MSG_PUBLISH_BLOCKED = _chunk27K5BUAGcjs.MSG_PUBLISH_BLOCKED; exports.MSG_PUBLISH_DONE = _chunk27K5BUAGcjs.MSG_PUBLISH_DONE; exports.MSG_PUBLISH_NAMESPACE = _chunk27K5BUAGcjs.MSG_PUBLISH_NAMESPACE; exports.MSG_PUBLISH_OK = _chunk27K5BUAGcjs.MSG_PUBLISH_OK; exports.MSG_REQUEST_ERROR = _chunk27K5BUAGcjs.MSG_REQUEST_ERROR; exports.MSG_REQUEST_OK = _chunk27K5BUAGcjs.MSG_REQUEST_OK; exports.MSG_REQUEST_UPDATE = _chunk27K5BUAGcjs.MSG_REQUEST_UPDATE; exports.MSG_SETUP = _chunk27K5BUAGcjs.MSG_SETUP; exports.MSG_SUBSCRIBE = _chunk27K5BUAGcjs.MSG_SUBSCRIBE; exports.MSG_SUBSCRIBE_NAMESPACE = _chunk27K5BUAGcjs.MSG_SUBSCRIBE_NAMESPACE; exports.MSG_SUBSCRIBE_OK = _chunk27K5BUAGcjs.MSG_SUBSCRIBE_OK; exports.MSG_TRACK_STATUS = _chunk27K5BUAGcjs.MSG_TRACK_STATUS; exports.PublishDoneCode = PublishDoneCode; exports.REDACTION_FILL = _chunk5IMHJIAZcjs.REDACTION_FILL; exports.RequestErrorCode = RequestErrorCode; exports.SERVER_ONLY_MESSAGES = _chunkYTPZZI2Mcjs.SERVER_ONLY_MESSAGES; exports.SETUP_OPT_AUTHORITY = _chunk27K5BUAGcjs.SETUP_OPT_AUTHORITY; exports.SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE = _chunk27K5BUAGcjs.SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE; exports.SETUP_OPT_MOQT_IMPLEMENTATION = _chunk27K5BUAGcjs.SETUP_OPT_MOQT_IMPLEMENTATION; exports.SETUP_OPT_PATH = _chunk27K5BUAGcjs.SETUP_OPT_PATH; exports.SessionTerminationCode = SessionTerminationCode; exports.createDataStreamDecoder = _chunk27K5BUAGcjs.createDataStreamDecoder; exports.createDraft17Codec = _chunk27K5BUAGcjs.createDraft17Codec; exports.createDraft17SessionState = _chunkYTPZZI2Mcjs.createDraft17SessionState; exports.createFetchStreamDecoder = _chunk27K5BUAGcjs.createFetchStreamDecoder; exports.createStreamDecoder = _chunk27K5BUAGcjs.createStreamDecoder; exports.createSubgroupStreamDecoder = _chunk27K5BUAGcjs.createSubgroupStreamDecoder; exports.decodeDataStream = _chunk27K5BUAGcjs.decodeDataStream; exports.decodeDatagram = _chunk27K5BUAGcjs.decodeDatagram; exports.decodeFetchStream = _chunk27K5BUAGcjs.decodeFetchStream; exports.decodeMessage = _chunk27K5BUAGcjs.decodeMessage; exports.decodeSubgroupStream = _chunk27K5BUAGcjs.decodeSubgroupStream; exports.encodeDatagram = _chunk27K5BUAGcjs.encodeDatagram; exports.encodeFetchStream = _chunk27K5BUAGcjs.encodeFetchStream; exports.encodeMessage = _chunk27K5BUAGcjs.encodeMessage; exports.encodeSubgroupStream = _chunk27K5BUAGcjs.encodeSubgroupStream; exports.getLegalIncoming = _chunkYTPZZI2Mcjs.getLegalIncoming; exports.getLegalOutgoing = _chunkYTPZZI2Mcjs.getLegalOutgoing; exports.redactAuthTokens = _chunk27K5BUAGcjs.redactAuthTokens;
|
package/dist/draft17.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export { A as AuthRedaction, R as REDACTION_FILL } from './auth-redaction-DsdLq4Qs.cjs';
|
|
2
|
+
export { D as Draft17Codec, c as createDraft17Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage, r as redactAuthTokens } from './codec-BwVDkokh.cjs';
|
|
3
|
+
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-DAnalt5K.cjs';
|
|
4
|
+
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-DAnalt5K.cjs';
|
|
4
5
|
export { Draft17SessionFSM, createDraft17SessionState } from './draft17-session.cjs';
|
|
5
6
|
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-B9idsih-.cjs';
|
|
6
7
|
import { b as DecodeResult } from './types-DG5_iKuv.cjs';
|
|
@@ -16,6 +17,74 @@ declare function createSubgroupStreamDecoder(): TransformStream<Uint8Array, Subg
|
|
|
16
17
|
declare function createFetchStreamDecoder(): TransformStream<Uint8Array, FetchStreamHeader | ObjectPayload>;
|
|
17
18
|
declare function createDataStreamDecoder(): TransformStream<Uint8Array, DataStreamEvent>;
|
|
18
19
|
|
|
20
|
+
declare const SessionTerminationCode: {
|
|
21
|
+
readonly NoError: 0n;
|
|
22
|
+
readonly InternalError: 1n;
|
|
23
|
+
readonly Unauthorized: 2n;
|
|
24
|
+
readonly ProtocolViolation: 3n;
|
|
25
|
+
readonly InvalidRequestId: 4n;
|
|
26
|
+
readonly DuplicateTrackAlias: 5n;
|
|
27
|
+
readonly KeyValueFormattingError: 6n;
|
|
28
|
+
readonly InvalidRequiredRequestId: 7n;
|
|
29
|
+
readonly InvalidPath: 8n;
|
|
30
|
+
readonly MalformedPath: 9n;
|
|
31
|
+
readonly GoawayTimeout: 16n;
|
|
32
|
+
readonly ControlMessageTimeout: 17n;
|
|
33
|
+
readonly DataStreamTimeout: 18n;
|
|
34
|
+
readonly AuthTokenCacheOverflow: 19n;
|
|
35
|
+
readonly DuplicateAuthTokenAlias: 20n;
|
|
36
|
+
readonly VersionNegotiationFailed: 21n;
|
|
37
|
+
readonly MalformedAuthToken: 22n;
|
|
38
|
+
readonly UnknownAuthTokenAlias: 23n;
|
|
39
|
+
readonly ExpiredAuthToken: 24n;
|
|
40
|
+
readonly InvalidAuthority: 25n;
|
|
41
|
+
readonly MalformedAuthority: 26n;
|
|
42
|
+
};
|
|
43
|
+
type SessionTerminationCodeValue = (typeof SessionTerminationCode)[keyof typeof SessionTerminationCode];
|
|
44
|
+
declare const RequestErrorCode: {
|
|
45
|
+
readonly InternalError: 0n;
|
|
46
|
+
readonly Unauthorized: 1n;
|
|
47
|
+
readonly Timeout: 2n;
|
|
48
|
+
readonly NotSupported: 3n;
|
|
49
|
+
readonly MalformedAuthToken: 4n;
|
|
50
|
+
readonly ExpiredAuthToken: 5n;
|
|
51
|
+
readonly GoingAway: 6n;
|
|
52
|
+
readonly ExcessiveLoad: 9n;
|
|
53
|
+
readonly DoesNotExist: 16n;
|
|
54
|
+
readonly InvalidRange: 17n;
|
|
55
|
+
readonly MalformedTrack: 18n;
|
|
56
|
+
readonly DuplicateSubscription: 25n;
|
|
57
|
+
readonly Uninterested: 32n;
|
|
58
|
+
readonly PrefixOverlap: 48n;
|
|
59
|
+
readonly NamespaceTooLarge: 49n;
|
|
60
|
+
readonly InvalidJoiningRequestId: 50n;
|
|
61
|
+
};
|
|
62
|
+
type RequestErrorCodeValue = (typeof RequestErrorCode)[keyof typeof RequestErrorCode];
|
|
63
|
+
declare const PublishDoneCode: {
|
|
64
|
+
readonly InternalError: 0n;
|
|
65
|
+
readonly Unauthorized: 1n;
|
|
66
|
+
readonly TrackEnded: 2n;
|
|
67
|
+
readonly SubscriptionEnded: 3n;
|
|
68
|
+
readonly GoingAway: 4n;
|
|
69
|
+
readonly Expired: 5n;
|
|
70
|
+
readonly TooFarBehind: 6n;
|
|
71
|
+
readonly UpdateFailed: 8n;
|
|
72
|
+
readonly ExcessiveLoad: 9n;
|
|
73
|
+
readonly MalformedTrack: 18n;
|
|
74
|
+
};
|
|
75
|
+
type PublishDoneCodeValue = (typeof PublishDoneCode)[keyof typeof PublishDoneCode];
|
|
76
|
+
declare const DataStreamResetCode: {
|
|
77
|
+
readonly InternalError: 0n;
|
|
78
|
+
readonly Cancelled: 1n;
|
|
79
|
+
readonly DeliveryTimeout: 2n;
|
|
80
|
+
readonly SessionClosed: 3n;
|
|
81
|
+
readonly UnknownObjectStatus: 4n;
|
|
82
|
+
readonly TooFarBehind: 5n;
|
|
83
|
+
readonly ExcessiveLoad: 9n;
|
|
84
|
+
readonly MalformedTrack: 18n;
|
|
85
|
+
};
|
|
86
|
+
type DataStreamResetCodeValue = (typeof DataStreamResetCode)[keyof typeof DataStreamResetCode];
|
|
87
|
+
|
|
19
88
|
declare const MSG_REQUEST_UPDATE = 2n;
|
|
20
89
|
declare const MSG_SUBSCRIBE = 3n;
|
|
21
90
|
declare const MSG_SUBSCRIBE_OK = 4n;
|
|
@@ -50,4 +119,4 @@ declare function getLegalIncoming(phase: string, role: 'client' | 'server'): Set
|
|
|
50
119
|
|
|
51
120
|
declare const DRAFT_VERSION = 4278190097n;
|
|
52
121
|
|
|
53
|
-
export { BIDIRECTIONAL_MESSAGES, CLIENT_ONLY_MESSAGES, CONTROL_MESSAGES, DRAFT_VERSION, DataStreamEvent, DatagramObject, Draft17DataStream, Draft17MessageType, FetchStream, FetchStreamHeader, MESSAGE_ID_MAP, MESSAGE_TYPE_MAP, MSG_FETCH, MSG_FETCH_OK, MSG_GOAWAY, MSG_NAMESPACE, MSG_NAMESPACE_DONE, MSG_PUBLISH, MSG_PUBLISH_BLOCKED, MSG_PUBLISH_DONE, MSG_PUBLISH_NAMESPACE, MSG_PUBLISH_OK, MSG_REQUEST_ERROR, MSG_REQUEST_OK, MSG_REQUEST_UPDATE, MSG_SETUP, MSG_SUBSCRIBE, MSG_SUBSCRIBE_NAMESPACE, MSG_SUBSCRIBE_OK, MSG_TRACK_STATUS, ObjectPayload, SERVER_ONLY_MESSAGES, SETUP_OPT_AUTHORITY, SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE, SETUP_OPT_MOQT_IMPLEMENTATION, SETUP_OPT_PATH, SubgroupStream, SubgroupStreamHeader, createDataStreamDecoder, createFetchStreamDecoder, createSubgroupStreamDecoder, decodeDataStream, decodeDatagram, decodeFetchStream, decodeSubgroupStream, encodeDatagram, encodeFetchStream, encodeSubgroupStream, getLegalIncoming, getLegalOutgoing };
|
|
122
|
+
export { BIDIRECTIONAL_MESSAGES, CLIENT_ONLY_MESSAGES, CONTROL_MESSAGES, DRAFT_VERSION, DataStreamEvent, DataStreamResetCode, type DataStreamResetCodeValue, DatagramObject, Draft17DataStream, Draft17MessageType, FetchStream, FetchStreamHeader, MESSAGE_ID_MAP, MESSAGE_TYPE_MAP, MSG_FETCH, MSG_FETCH_OK, MSG_GOAWAY, MSG_NAMESPACE, MSG_NAMESPACE_DONE, MSG_PUBLISH, MSG_PUBLISH_BLOCKED, MSG_PUBLISH_DONE, MSG_PUBLISH_NAMESPACE, MSG_PUBLISH_OK, MSG_REQUEST_ERROR, MSG_REQUEST_OK, MSG_REQUEST_UPDATE, MSG_SETUP, MSG_SUBSCRIBE, MSG_SUBSCRIBE_NAMESPACE, MSG_SUBSCRIBE_OK, MSG_TRACK_STATUS, ObjectPayload, PublishDoneCode, type PublishDoneCodeValue, RequestErrorCode, type RequestErrorCodeValue, SERVER_ONLY_MESSAGES, SETUP_OPT_AUTHORITY, SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE, SETUP_OPT_MOQT_IMPLEMENTATION, SETUP_OPT_PATH, SessionTerminationCode, type SessionTerminationCodeValue, SubgroupStream, SubgroupStreamHeader, createDataStreamDecoder, createFetchStreamDecoder, createSubgroupStreamDecoder, decodeDataStream, decodeDatagram, decodeFetchStream, decodeSubgroupStream, encodeDatagram, encodeFetchStream, encodeSubgroupStream, getLegalIncoming, getLegalOutgoing };
|
package/dist/draft17.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export { A as AuthRedaction, R as REDACTION_FILL } from './auth-redaction-DsdLq4Qs.js';
|
|
2
|
+
export { D as Draft17Codec, c as createDraft17Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage, r as redactAuthTokens } from './codec-Bb6GKTrv.js';
|
|
3
|
+
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-DAnalt5K.js';
|
|
4
|
+
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-DAnalt5K.js';
|
|
4
5
|
export { Draft17SessionFSM, createDraft17SessionState } from './draft17-session.js';
|
|
5
6
|
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-Dn7b3RZM.js';
|
|
6
7
|
import { b as DecodeResult } from './types-DG5_iKuv.js';
|
|
@@ -16,6 +17,74 @@ declare function createSubgroupStreamDecoder(): TransformStream<Uint8Array, Subg
|
|
|
16
17
|
declare function createFetchStreamDecoder(): TransformStream<Uint8Array, FetchStreamHeader | ObjectPayload>;
|
|
17
18
|
declare function createDataStreamDecoder(): TransformStream<Uint8Array, DataStreamEvent>;
|
|
18
19
|
|
|
20
|
+
declare const SessionTerminationCode: {
|
|
21
|
+
readonly NoError: 0n;
|
|
22
|
+
readonly InternalError: 1n;
|
|
23
|
+
readonly Unauthorized: 2n;
|
|
24
|
+
readonly ProtocolViolation: 3n;
|
|
25
|
+
readonly InvalidRequestId: 4n;
|
|
26
|
+
readonly DuplicateTrackAlias: 5n;
|
|
27
|
+
readonly KeyValueFormattingError: 6n;
|
|
28
|
+
readonly InvalidRequiredRequestId: 7n;
|
|
29
|
+
readonly InvalidPath: 8n;
|
|
30
|
+
readonly MalformedPath: 9n;
|
|
31
|
+
readonly GoawayTimeout: 16n;
|
|
32
|
+
readonly ControlMessageTimeout: 17n;
|
|
33
|
+
readonly DataStreamTimeout: 18n;
|
|
34
|
+
readonly AuthTokenCacheOverflow: 19n;
|
|
35
|
+
readonly DuplicateAuthTokenAlias: 20n;
|
|
36
|
+
readonly VersionNegotiationFailed: 21n;
|
|
37
|
+
readonly MalformedAuthToken: 22n;
|
|
38
|
+
readonly UnknownAuthTokenAlias: 23n;
|
|
39
|
+
readonly ExpiredAuthToken: 24n;
|
|
40
|
+
readonly InvalidAuthority: 25n;
|
|
41
|
+
readonly MalformedAuthority: 26n;
|
|
42
|
+
};
|
|
43
|
+
type SessionTerminationCodeValue = (typeof SessionTerminationCode)[keyof typeof SessionTerminationCode];
|
|
44
|
+
declare const RequestErrorCode: {
|
|
45
|
+
readonly InternalError: 0n;
|
|
46
|
+
readonly Unauthorized: 1n;
|
|
47
|
+
readonly Timeout: 2n;
|
|
48
|
+
readonly NotSupported: 3n;
|
|
49
|
+
readonly MalformedAuthToken: 4n;
|
|
50
|
+
readonly ExpiredAuthToken: 5n;
|
|
51
|
+
readonly GoingAway: 6n;
|
|
52
|
+
readonly ExcessiveLoad: 9n;
|
|
53
|
+
readonly DoesNotExist: 16n;
|
|
54
|
+
readonly InvalidRange: 17n;
|
|
55
|
+
readonly MalformedTrack: 18n;
|
|
56
|
+
readonly DuplicateSubscription: 25n;
|
|
57
|
+
readonly Uninterested: 32n;
|
|
58
|
+
readonly PrefixOverlap: 48n;
|
|
59
|
+
readonly NamespaceTooLarge: 49n;
|
|
60
|
+
readonly InvalidJoiningRequestId: 50n;
|
|
61
|
+
};
|
|
62
|
+
type RequestErrorCodeValue = (typeof RequestErrorCode)[keyof typeof RequestErrorCode];
|
|
63
|
+
declare const PublishDoneCode: {
|
|
64
|
+
readonly InternalError: 0n;
|
|
65
|
+
readonly Unauthorized: 1n;
|
|
66
|
+
readonly TrackEnded: 2n;
|
|
67
|
+
readonly SubscriptionEnded: 3n;
|
|
68
|
+
readonly GoingAway: 4n;
|
|
69
|
+
readonly Expired: 5n;
|
|
70
|
+
readonly TooFarBehind: 6n;
|
|
71
|
+
readonly UpdateFailed: 8n;
|
|
72
|
+
readonly ExcessiveLoad: 9n;
|
|
73
|
+
readonly MalformedTrack: 18n;
|
|
74
|
+
};
|
|
75
|
+
type PublishDoneCodeValue = (typeof PublishDoneCode)[keyof typeof PublishDoneCode];
|
|
76
|
+
declare const DataStreamResetCode: {
|
|
77
|
+
readonly InternalError: 0n;
|
|
78
|
+
readonly Cancelled: 1n;
|
|
79
|
+
readonly DeliveryTimeout: 2n;
|
|
80
|
+
readonly SessionClosed: 3n;
|
|
81
|
+
readonly UnknownObjectStatus: 4n;
|
|
82
|
+
readonly TooFarBehind: 5n;
|
|
83
|
+
readonly ExcessiveLoad: 9n;
|
|
84
|
+
readonly MalformedTrack: 18n;
|
|
85
|
+
};
|
|
86
|
+
type DataStreamResetCodeValue = (typeof DataStreamResetCode)[keyof typeof DataStreamResetCode];
|
|
87
|
+
|
|
19
88
|
declare const MSG_REQUEST_UPDATE = 2n;
|
|
20
89
|
declare const MSG_SUBSCRIBE = 3n;
|
|
21
90
|
declare const MSG_SUBSCRIBE_OK = 4n;
|
|
@@ -50,4 +119,4 @@ declare function getLegalIncoming(phase: string, role: 'client' | 'server'): Set
|
|
|
50
119
|
|
|
51
120
|
declare const DRAFT_VERSION = 4278190097n;
|
|
52
121
|
|
|
53
|
-
export { BIDIRECTIONAL_MESSAGES, CLIENT_ONLY_MESSAGES, CONTROL_MESSAGES, DRAFT_VERSION, DataStreamEvent, DatagramObject, Draft17DataStream, Draft17MessageType, FetchStream, FetchStreamHeader, MESSAGE_ID_MAP, MESSAGE_TYPE_MAP, MSG_FETCH, MSG_FETCH_OK, MSG_GOAWAY, MSG_NAMESPACE, MSG_NAMESPACE_DONE, MSG_PUBLISH, MSG_PUBLISH_BLOCKED, MSG_PUBLISH_DONE, MSG_PUBLISH_NAMESPACE, MSG_PUBLISH_OK, MSG_REQUEST_ERROR, MSG_REQUEST_OK, MSG_REQUEST_UPDATE, MSG_SETUP, MSG_SUBSCRIBE, MSG_SUBSCRIBE_NAMESPACE, MSG_SUBSCRIBE_OK, MSG_TRACK_STATUS, ObjectPayload, SERVER_ONLY_MESSAGES, SETUP_OPT_AUTHORITY, SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE, SETUP_OPT_MOQT_IMPLEMENTATION, SETUP_OPT_PATH, SubgroupStream, SubgroupStreamHeader, createDataStreamDecoder, createFetchStreamDecoder, createSubgroupStreamDecoder, decodeDataStream, decodeDatagram, decodeFetchStream, decodeSubgroupStream, encodeDatagram, encodeFetchStream, encodeSubgroupStream, getLegalIncoming, getLegalOutgoing };
|
|
122
|
+
export { BIDIRECTIONAL_MESSAGES, CLIENT_ONLY_MESSAGES, CONTROL_MESSAGES, DRAFT_VERSION, DataStreamEvent, DataStreamResetCode, type DataStreamResetCodeValue, DatagramObject, Draft17DataStream, Draft17MessageType, FetchStream, FetchStreamHeader, MESSAGE_ID_MAP, MESSAGE_TYPE_MAP, MSG_FETCH, MSG_FETCH_OK, MSG_GOAWAY, MSG_NAMESPACE, MSG_NAMESPACE_DONE, MSG_PUBLISH, MSG_PUBLISH_BLOCKED, MSG_PUBLISH_DONE, MSG_PUBLISH_NAMESPACE, MSG_PUBLISH_OK, MSG_REQUEST_ERROR, MSG_REQUEST_OK, MSG_REQUEST_UPDATE, MSG_SETUP, MSG_SUBSCRIBE, MSG_SUBSCRIBE_NAMESPACE, MSG_SUBSCRIBE_OK, MSG_TRACK_STATUS, ObjectPayload, PublishDoneCode, type PublishDoneCodeValue, RequestErrorCode, type RequestErrorCodeValue, SERVER_ONLY_MESSAGES, SETUP_OPT_AUTHORITY, SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE, SETUP_OPT_MOQT_IMPLEMENTATION, SETUP_OPT_PATH, SessionTerminationCode, type SessionTerminationCodeValue, SubgroupStream, SubgroupStreamHeader, createDataStreamDecoder, createFetchStreamDecoder, createSubgroupStreamDecoder, decodeDataStream, decodeDatagram, decodeFetchStream, decodeSubgroupStream, encodeDatagram, encodeFetchStream, encodeSubgroupStream, getLegalIncoming, getLegalOutgoing };
|
package/dist/draft17.js
CHANGED
|
@@ -36,8 +36,9 @@ import {
|
|
|
36
36
|
encodeDatagram,
|
|
37
37
|
encodeFetchStream,
|
|
38
38
|
encodeMessage,
|
|
39
|
-
encodeSubgroupStream
|
|
40
|
-
|
|
39
|
+
encodeSubgroupStream,
|
|
40
|
+
redactAuthTokens
|
|
41
|
+
} from "./chunk-FDLQSWHK.js";
|
|
41
42
|
import {
|
|
42
43
|
BIDIRECTIONAL_MESSAGES,
|
|
43
44
|
CLIENT_ONLY_MESSAGES,
|
|
@@ -48,7 +49,74 @@ import {
|
|
|
48
49
|
getLegalIncoming,
|
|
49
50
|
getLegalOutgoing
|
|
50
51
|
} from "./chunk-Q7IGWV3P.js";
|
|
51
|
-
import
|
|
52
|
+
import {
|
|
53
|
+
REDACTION_FILL
|
|
54
|
+
} from "./chunk-YRZQVNZO.js";
|
|
55
|
+
|
|
56
|
+
// src/drafts/draft17/error-codes.ts
|
|
57
|
+
var SessionTerminationCode = {
|
|
58
|
+
NoError: 0x0n,
|
|
59
|
+
InternalError: 0x1n,
|
|
60
|
+
Unauthorized: 0x2n,
|
|
61
|
+
ProtocolViolation: 0x3n,
|
|
62
|
+
InvalidRequestId: 0x4n,
|
|
63
|
+
DuplicateTrackAlias: 0x5n,
|
|
64
|
+
KeyValueFormattingError: 0x6n,
|
|
65
|
+
InvalidRequiredRequestId: 0x7n,
|
|
66
|
+
InvalidPath: 0x8n,
|
|
67
|
+
MalformedPath: 0x9n,
|
|
68
|
+
GoawayTimeout: 0x10n,
|
|
69
|
+
ControlMessageTimeout: 0x11n,
|
|
70
|
+
DataStreamTimeout: 0x12n,
|
|
71
|
+
AuthTokenCacheOverflow: 0x13n,
|
|
72
|
+
DuplicateAuthTokenAlias: 0x14n,
|
|
73
|
+
VersionNegotiationFailed: 0x15n,
|
|
74
|
+
MalformedAuthToken: 0x16n,
|
|
75
|
+
UnknownAuthTokenAlias: 0x17n,
|
|
76
|
+
ExpiredAuthToken: 0x18n,
|
|
77
|
+
InvalidAuthority: 0x19n,
|
|
78
|
+
MalformedAuthority: 0x1an
|
|
79
|
+
};
|
|
80
|
+
var RequestErrorCode = {
|
|
81
|
+
InternalError: 0x0n,
|
|
82
|
+
Unauthorized: 0x1n,
|
|
83
|
+
Timeout: 0x2n,
|
|
84
|
+
NotSupported: 0x3n,
|
|
85
|
+
MalformedAuthToken: 0x4n,
|
|
86
|
+
ExpiredAuthToken: 0x5n,
|
|
87
|
+
GoingAway: 0x6n,
|
|
88
|
+
ExcessiveLoad: 0x9n,
|
|
89
|
+
DoesNotExist: 0x10n,
|
|
90
|
+
InvalidRange: 0x11n,
|
|
91
|
+
MalformedTrack: 0x12n,
|
|
92
|
+
DuplicateSubscription: 0x19n,
|
|
93
|
+
Uninterested: 0x20n,
|
|
94
|
+
PrefixOverlap: 0x30n,
|
|
95
|
+
NamespaceTooLarge: 0x31n,
|
|
96
|
+
InvalidJoiningRequestId: 0x32n
|
|
97
|
+
};
|
|
98
|
+
var PublishDoneCode = {
|
|
99
|
+
InternalError: 0x0n,
|
|
100
|
+
Unauthorized: 0x1n,
|
|
101
|
+
TrackEnded: 0x2n,
|
|
102
|
+
SubscriptionEnded: 0x3n,
|
|
103
|
+
GoingAway: 0x4n,
|
|
104
|
+
Expired: 0x5n,
|
|
105
|
+
TooFarBehind: 0x6n,
|
|
106
|
+
UpdateFailed: 0x8n,
|
|
107
|
+
ExcessiveLoad: 0x9n,
|
|
108
|
+
MalformedTrack: 0x12n
|
|
109
|
+
};
|
|
110
|
+
var DataStreamResetCode = {
|
|
111
|
+
InternalError: 0x0n,
|
|
112
|
+
Cancelled: 0x1n,
|
|
113
|
+
DeliveryTimeout: 0x2n,
|
|
114
|
+
SessionClosed: 0x3n,
|
|
115
|
+
UnknownObjectStatus: 0x4n,
|
|
116
|
+
TooFarBehind: 0x5n,
|
|
117
|
+
ExcessiveLoad: 0x9n,
|
|
118
|
+
MalformedTrack: 0x12n
|
|
119
|
+
};
|
|
52
120
|
|
|
53
121
|
// src/drafts/draft17/index.ts
|
|
54
122
|
var DRAFT_VERSION = 0xff000011n;
|
|
@@ -57,6 +125,7 @@ export {
|
|
|
57
125
|
CLIENT_ONLY_MESSAGES,
|
|
58
126
|
CONTROL_MESSAGES,
|
|
59
127
|
DRAFT_VERSION,
|
|
128
|
+
DataStreamResetCode,
|
|
60
129
|
Draft17SessionFSM,
|
|
61
130
|
MESSAGE_ID_MAP,
|
|
62
131
|
MESSAGE_TYPE_MAP,
|
|
@@ -78,11 +147,15 @@ export {
|
|
|
78
147
|
MSG_SUBSCRIBE_NAMESPACE,
|
|
79
148
|
MSG_SUBSCRIBE_OK,
|
|
80
149
|
MSG_TRACK_STATUS,
|
|
150
|
+
PublishDoneCode,
|
|
151
|
+
REDACTION_FILL,
|
|
152
|
+
RequestErrorCode,
|
|
81
153
|
SERVER_ONLY_MESSAGES,
|
|
82
154
|
SETUP_OPT_AUTHORITY,
|
|
83
155
|
SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE,
|
|
84
156
|
SETUP_OPT_MOQT_IMPLEMENTATION,
|
|
85
157
|
SETUP_OPT_PATH,
|
|
158
|
+
SessionTerminationCode,
|
|
86
159
|
createDataStreamDecoder,
|
|
87
160
|
createDraft17Codec,
|
|
88
161
|
createDraft17SessionState,
|
|
@@ -99,5 +172,6 @@ export {
|
|
|
99
172
|
encodeMessage,
|
|
100
173
|
encodeSubgroupStream,
|
|
101
174
|
getLegalIncoming,
|
|
102
|
-
getLegalOutgoing
|
|
175
|
+
getLegalOutgoing,
|
|
176
|
+
redactAuthTokens
|
|
103
177
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-B9idsih-.cjs';
|
|
2
2
|
export { P as ProtocolViolation, h as SideEffect } from './session-types-B9idsih-.cjs';
|
|
3
|
-
import { a as Draft18MessageType, D as Draft18Message } from './types-
|
|
3
|
+
import { a as Draft18MessageType, D as Draft18Message } from './types-DxXNP32l.cjs';
|
|
4
4
|
import './types-DG5_iKuv.cjs';
|
|
5
5
|
|
|
6
6
|
declare class Draft18SessionFSM {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-Dn7b3RZM.js';
|
|
2
2
|
export { P as ProtocolViolation, h as SideEffect } from './session-types-Dn7b3RZM.js';
|
|
3
|
-
import { a as Draft18MessageType, D as Draft18Message } from './types-
|
|
3
|
+
import { a as Draft18MessageType, D as Draft18Message } from './types-DxXNP32l.js';
|
|
4
4
|
import './types-DG5_iKuv.js';
|
|
5
5
|
|
|
6
6
|
declare class Draft18SessionFSM {
|
package/dist/draft18.cjs
CHANGED
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
|
|
43
|
+
var _chunkA3UCQOIBcjs = require('./chunk-A3UCQOIB.cjs');
|
|
43
44
|
|
|
44
45
|
|
|
45
46
|
|
|
@@ -50,7 +51,9 @@ var _chunkBIBMDTU5cjs = require('./chunk-BIBMDTU5.cjs');
|
|
|
50
51
|
|
|
51
52
|
|
|
52
53
|
var _chunkA655PHFXcjs = require('./chunk-A655PHFX.cjs');
|
|
53
|
-
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
var _chunk5IMHJIAZcjs = require('./chunk-5IMHJIAZ.cjs');
|
|
54
57
|
|
|
55
58
|
// src/drafts/draft18/error-codes.ts
|
|
56
59
|
var SessionTerminationCode = {
|
|
@@ -176,4 +179,6 @@ var DRAFT_VERSION = 0xff000012n;
|
|
|
176
179
|
|
|
177
180
|
|
|
178
181
|
|
|
179
|
-
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
exports.BIDIRECTIONAL_MESSAGES = _chunkA655PHFXcjs.BIDIRECTIONAL_MESSAGES; exports.CLIENT_ONLY_MESSAGES = _chunkA655PHFXcjs.CLIENT_ONLY_MESSAGES; exports.CONTROL_MESSAGES = _chunkA655PHFXcjs.CONTROL_MESSAGES; exports.DRAFT_VERSION = DRAFT_VERSION; exports.DataStreamResetCode = DataStreamResetCode; exports.Draft18SessionFSM = _chunkA655PHFXcjs.Draft18SessionFSM; exports.MESSAGE_ID_MAP = _chunkA3UCQOIBcjs.MESSAGE_ID_MAP; exports.MESSAGE_TYPE_MAP = _chunkA3UCQOIBcjs.MESSAGE_TYPE_MAP; exports.MSG_FETCH = _chunkA3UCQOIBcjs.MSG_FETCH; exports.MSG_FETCH_OK = _chunkA3UCQOIBcjs.MSG_FETCH_OK; exports.MSG_GOAWAY = _chunkA3UCQOIBcjs.MSG_GOAWAY; exports.MSG_NAMESPACE = _chunkA3UCQOIBcjs.MSG_NAMESPACE; exports.MSG_NAMESPACE_DONE = _chunkA3UCQOIBcjs.MSG_NAMESPACE_DONE; exports.MSG_PUBLISH = _chunkA3UCQOIBcjs.MSG_PUBLISH; exports.MSG_PUBLISH_BLOCKED = _chunkA3UCQOIBcjs.MSG_PUBLISH_BLOCKED; exports.MSG_PUBLISH_DONE = _chunkA3UCQOIBcjs.MSG_PUBLISH_DONE; exports.MSG_PUBLISH_NAMESPACE = _chunkA3UCQOIBcjs.MSG_PUBLISH_NAMESPACE; exports.MSG_PUBLISH_OK = _chunkA3UCQOIBcjs.MSG_PUBLISH_OK; exports.MSG_REQUEST_ERROR = _chunkA3UCQOIBcjs.MSG_REQUEST_ERROR; exports.MSG_REQUEST_OK = _chunkA3UCQOIBcjs.MSG_REQUEST_OK; exports.MSG_REQUEST_UPDATE = _chunkA3UCQOIBcjs.MSG_REQUEST_UPDATE; exports.MSG_SETUP = _chunkA3UCQOIBcjs.MSG_SETUP; exports.MSG_SUBSCRIBE = _chunkA3UCQOIBcjs.MSG_SUBSCRIBE; exports.MSG_SUBSCRIBE_NAMESPACE = _chunkA3UCQOIBcjs.MSG_SUBSCRIBE_NAMESPACE; exports.MSG_SUBSCRIBE_OK = _chunkA3UCQOIBcjs.MSG_SUBSCRIBE_OK; exports.MSG_SUBSCRIBE_TRACKS = _chunkA3UCQOIBcjs.MSG_SUBSCRIBE_TRACKS; exports.MSG_TRACK_STATUS = _chunkA3UCQOIBcjs.MSG_TRACK_STATUS; exports.PublishDoneCode = PublishDoneCode; exports.REDACTION_FILL = _chunk5IMHJIAZcjs.REDACTION_FILL; exports.RequestErrorCode = RequestErrorCode; exports.SERVER_ONLY_MESSAGES = _chunkA655PHFXcjs.SERVER_ONLY_MESSAGES; exports.SETUP_OPT_AUTHORITY = _chunkA3UCQOIBcjs.SETUP_OPT_AUTHORITY; exports.SETUP_OPT_AUTHORIZATION_TOKEN = _chunkA3UCQOIBcjs.SETUP_OPT_AUTHORIZATION_TOKEN; exports.SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE = _chunkA3UCQOIBcjs.SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE; exports.SETUP_OPT_MOQT_IMPLEMENTATION = _chunkA3UCQOIBcjs.SETUP_OPT_MOQT_IMPLEMENTATION; exports.SETUP_OPT_PATH = _chunkA3UCQOIBcjs.SETUP_OPT_PATH; exports.SessionTerminationCode = SessionTerminationCode; exports.createDataStreamDecoder = _chunkA3UCQOIBcjs.createDataStreamDecoder; exports.createDraft18Codec = _chunkA3UCQOIBcjs.createDraft18Codec; exports.createDraft18SessionState = _chunkA655PHFXcjs.createDraft18SessionState; exports.createFetchStreamDecoder = _chunkA3UCQOIBcjs.createFetchStreamDecoder; exports.createStreamDecoder = _chunkA3UCQOIBcjs.createStreamDecoder; exports.createSubgroupStreamDecoder = _chunkA3UCQOIBcjs.createSubgroupStreamDecoder; exports.decodeDataStream = _chunkA3UCQOIBcjs.decodeDataStream; exports.decodeDatagram = _chunkA3UCQOIBcjs.decodeDatagram; exports.decodeFetchStream = _chunkA3UCQOIBcjs.decodeFetchStream; exports.decodeMessage = _chunkA3UCQOIBcjs.decodeMessage; exports.decodeSubgroupStream = _chunkA3UCQOIBcjs.decodeSubgroupStream; exports.encodeDatagram = _chunkA3UCQOIBcjs.encodeDatagram; exports.encodeFetchStream = _chunkA3UCQOIBcjs.encodeFetchStream; exports.encodeMessage = _chunkA3UCQOIBcjs.encodeMessage; exports.encodeSubgroupStream = _chunkA3UCQOIBcjs.encodeSubgroupStream; exports.getLegalIncoming = _chunkA655PHFXcjs.getLegalIncoming; exports.getLegalOutgoing = _chunkA655PHFXcjs.getLegalOutgoing; exports.redactAuthTokens = _chunkA3UCQOIBcjs.redactAuthTokens;
|
package/dist/draft18.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export { A as AuthRedaction, R as REDACTION_FILL } from './auth-redaction-DsdLq4Qs.cjs';
|
|
2
|
+
export { D as Draft18Codec, c as createDraft18Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage, r as redactAuthTokens } from './codec-DELe00w_.cjs';
|
|
3
|
+
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft18DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft18MessageType } from './types-DxXNP32l.cjs';
|
|
4
|
+
export { g as DataStreamHeader, h as Draft18BaseMessage, i as Draft18Fetch, j as Draft18FetchOk, k as Draft18GoAway, D as Draft18Message, l as Draft18Namespace, m as Draft18NamespaceDone, n as Draft18Params, o as Draft18Publish, p as Draft18PublishBlocked, q as Draft18PublishDone, r as Draft18PublishNamespace, s as Draft18RequestError, t as Draft18RequestOk, u as Draft18RequestUpdate, v as Draft18Setup, w as Draft18SetupOptions, x as Draft18Subscribe, y as Draft18SubscribeNamespace, z as Draft18SubscribeOk, A as Draft18SubscribeTracks, B as Draft18TrackProperties, C as Draft18TrackStatus, E as FetchObjectPayload, J as JoiningFetch, L as LargestObject, R as Redirect, G as StandaloneFetch, H as SubscriptionFilter, U as UnknownParam } from './types-DxXNP32l.cjs';
|
|
4
5
|
export { Draft18SessionFSM, createDraft18SessionState } from './draft18-session.cjs';
|
|
5
6
|
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-B9idsih-.cjs';
|
|
6
7
|
import { b as DecodeResult } from './types-DG5_iKuv.cjs';
|
package/dist/draft18.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export { A as AuthRedaction, R as REDACTION_FILL } from './auth-redaction-DsdLq4Qs.js';
|
|
2
|
+
export { D as Draft18Codec, c as createDraft18Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage, r as redactAuthTokens } from './codec-ejDu-va6.js';
|
|
3
|
+
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft18DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft18MessageType } from './types-DxXNP32l.js';
|
|
4
|
+
export { g as DataStreamHeader, h as Draft18BaseMessage, i as Draft18Fetch, j as Draft18FetchOk, k as Draft18GoAway, D as Draft18Message, l as Draft18Namespace, m as Draft18NamespaceDone, n as Draft18Params, o as Draft18Publish, p as Draft18PublishBlocked, q as Draft18PublishDone, r as Draft18PublishNamespace, s as Draft18RequestError, t as Draft18RequestOk, u as Draft18RequestUpdate, v as Draft18Setup, w as Draft18SetupOptions, x as Draft18Subscribe, y as Draft18SubscribeNamespace, z as Draft18SubscribeOk, A as Draft18SubscribeTracks, B as Draft18TrackProperties, C as Draft18TrackStatus, E as FetchObjectPayload, J as JoiningFetch, L as LargestObject, R as Redirect, G as StandaloneFetch, H as SubscriptionFilter, U as UnknownParam } from './types-DxXNP32l.js';
|
|
4
5
|
export { Draft18SessionFSM, createDraft18SessionState } from './draft18-session.js';
|
|
5
6
|
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-Dn7b3RZM.js';
|
|
6
7
|
import { b as DecodeResult } from './types-DG5_iKuv.js';
|
package/dist/draft18.js
CHANGED
|
@@ -38,8 +38,9 @@ import {
|
|
|
38
38
|
encodeDatagram,
|
|
39
39
|
encodeFetchStream,
|
|
40
40
|
encodeMessage,
|
|
41
|
-
encodeSubgroupStream
|
|
42
|
-
|
|
41
|
+
encodeSubgroupStream,
|
|
42
|
+
redactAuthTokens
|
|
43
|
+
} from "./chunk-5AWIXOLB.js";
|
|
43
44
|
import {
|
|
44
45
|
BIDIRECTIONAL_MESSAGES,
|
|
45
46
|
CLIENT_ONLY_MESSAGES,
|
|
@@ -50,7 +51,9 @@ import {
|
|
|
50
51
|
getLegalIncoming,
|
|
51
52
|
getLegalOutgoing
|
|
52
53
|
} from "./chunk-IWYKDCXP.js";
|
|
53
|
-
import
|
|
54
|
+
import {
|
|
55
|
+
REDACTION_FILL
|
|
56
|
+
} from "./chunk-YRZQVNZO.js";
|
|
54
57
|
|
|
55
58
|
// src/drafts/draft18/error-codes.ts
|
|
56
59
|
var SessionTerminationCode = {
|
|
@@ -151,6 +154,7 @@ export {
|
|
|
151
154
|
MSG_SUBSCRIBE_TRACKS,
|
|
152
155
|
MSG_TRACK_STATUS,
|
|
153
156
|
PublishDoneCode,
|
|
157
|
+
REDACTION_FILL,
|
|
154
158
|
RequestErrorCode,
|
|
155
159
|
SERVER_ONLY_MESSAGES,
|
|
156
160
|
SETUP_OPT_AUTHORITY,
|
|
@@ -175,5 +179,6 @@ export {
|
|
|
175
179
|
encodeMessage,
|
|
176
180
|
encodeSubgroupStream,
|
|
177
181
|
getLegalIncoming,
|
|
178
|
-
getLegalOutgoing
|
|
182
|
+
getLegalOutgoing,
|
|
183
|
+
redactAuthTokens
|
|
179
184
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-B9idsih-.cjs';
|
|
2
2
|
export { P as ProtocolViolation, h as SideEffect } from './session-types-B9idsih-.cjs';
|
|
3
|
-
import { a as Draft19MessageType, D as Draft19Message } from './types-
|
|
3
|
+
import { a as Draft19MessageType, D as Draft19Message } from './types-Btp416jt.cjs';
|
|
4
4
|
import './types-DG5_iKuv.cjs';
|
|
5
5
|
|
|
6
6
|
declare class Draft19SessionFSM {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as SessionPhase, j as SubscriptionState, b as AnnounceState, f as PublishState, c as FetchState, V as ValidationResult, T as TransitionResult } from './session-types-Dn7b3RZM.js';
|
|
2
2
|
export { P as ProtocolViolation, h as SideEffect } from './session-types-Dn7b3RZM.js';
|
|
3
|
-
import { a as Draft19MessageType, D as Draft19Message } from './types-
|
|
3
|
+
import { a as Draft19MessageType, D as Draft19Message } from './types-Btp416jt.js';
|
|
4
4
|
import './types-DG5_iKuv.js';
|
|
5
5
|
|
|
6
6
|
declare class Draft19SessionFSM {
|
package/dist/draft19.cjs
CHANGED
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
|
|
45
|
+
var _chunk5JGZCKJOcjs = require('./chunk-5JGZCKJO.cjs');
|
|
45
46
|
|
|
46
47
|
|
|
47
48
|
|
|
@@ -52,7 +53,9 @@ var _chunkKTNERCTZcjs = require('./chunk-KTNERCTZ.cjs');
|
|
|
52
53
|
|
|
53
54
|
|
|
54
55
|
var _chunkCQ65LKPQcjs = require('./chunk-CQ65LKPQ.cjs');
|
|
55
|
-
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
var _chunk5IMHJIAZcjs = require('./chunk-5IMHJIAZ.cjs');
|
|
56
59
|
|
|
57
60
|
// src/drafts/draft19/error-codes.ts
|
|
58
61
|
var SessionTerminationCode = {
|
|
@@ -91,7 +94,9 @@ var RequestErrorCode = {
|
|
|
91
94
|
DoesNotExist: 0x10n,
|
|
92
95
|
InvalidRange: 0x11n,
|
|
93
96
|
MalformedTrack: 0x12n,
|
|
94
|
-
//
|
|
97
|
+
// 0x19 is unassigned in draft-19: Section 5.1 lets an endpoint hold multiple concurrent
|
|
98
|
+
// subscriptions to the same Track, so there is no DuplicateSubscription error. Draft-18
|
|
99
|
+
// binds 0x19 to DUPLICATE_SUBSCRIPTION.
|
|
95
100
|
Uninterested: 0x20n,
|
|
96
101
|
PrefixOverlap: 0x30n,
|
|
97
102
|
NamespaceTooLarge: 0x31n,
|
|
@@ -186,4 +191,6 @@ var DRAFT_VERSION = 0xff000013n;
|
|
|
186
191
|
|
|
187
192
|
|
|
188
193
|
|
|
189
|
-
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
exports.BIDIRECTIONAL_MESSAGES = _chunkCQ65LKPQcjs.BIDIRECTIONAL_MESSAGES; exports.CLIENT_ONLY_MESSAGES = _chunkCQ65LKPQcjs.CLIENT_ONLY_MESSAGES; exports.CONTROL_MESSAGES = _chunkCQ65LKPQcjs.CONTROL_MESSAGES; exports.DRAFT_VERSION = DRAFT_VERSION; exports.DataStreamResetCode = DataStreamResetCode; exports.Draft19SessionFSM = _chunkCQ65LKPQcjs.Draft19SessionFSM; exports.MESSAGE_ID_MAP = _chunk5JGZCKJOcjs.MESSAGE_ID_MAP; exports.MESSAGE_TYPE_MAP = _chunk5JGZCKJOcjs.MESSAGE_TYPE_MAP; exports.MSG_FETCH = _chunk5JGZCKJOcjs.MSG_FETCH; exports.MSG_FETCH_OK = _chunk5JGZCKJOcjs.MSG_FETCH_OK; exports.MSG_GOAWAY = _chunk5JGZCKJOcjs.MSG_GOAWAY; exports.MSG_NAMESPACE = _chunk5JGZCKJOcjs.MSG_NAMESPACE; exports.MSG_NAMESPACE_DONE = _chunk5JGZCKJOcjs.MSG_NAMESPACE_DONE; exports.MSG_PUBLISH = _chunk5JGZCKJOcjs.MSG_PUBLISH; exports.MSG_PUBLISH_DONE = _chunk5JGZCKJOcjs.MSG_PUBLISH_DONE; exports.MSG_PUBLISH_NAMESPACE = _chunk5JGZCKJOcjs.MSG_PUBLISH_NAMESPACE; exports.MSG_PUBLISH_OK = _chunk5JGZCKJOcjs.MSG_PUBLISH_OK; exports.MSG_PUBLISH_SKIPPED = _chunk5JGZCKJOcjs.MSG_PUBLISH_SKIPPED; exports.MSG_REQUEST_ERROR = _chunk5JGZCKJOcjs.MSG_REQUEST_ERROR; exports.MSG_REQUEST_OK = _chunk5JGZCKJOcjs.MSG_REQUEST_OK; exports.MSG_REQUEST_UPDATE = _chunk5JGZCKJOcjs.MSG_REQUEST_UPDATE; exports.MSG_SETUP = _chunk5JGZCKJOcjs.MSG_SETUP; exports.MSG_SUBSCRIBE = _chunk5JGZCKJOcjs.MSG_SUBSCRIBE; exports.MSG_SUBSCRIBE_NAMESPACE = _chunk5JGZCKJOcjs.MSG_SUBSCRIBE_NAMESPACE; exports.MSG_SUBSCRIBE_OK = _chunk5JGZCKJOcjs.MSG_SUBSCRIBE_OK; exports.MSG_SUBSCRIBE_TRACKS = _chunk5JGZCKJOcjs.MSG_SUBSCRIBE_TRACKS; exports.MSG_TRACK_STATUS = _chunk5JGZCKJOcjs.MSG_TRACK_STATUS; exports.PublishDoneCode = PublishDoneCode; exports.REDACTION_FILL = _chunk5IMHJIAZcjs.REDACTION_FILL; exports.RequestErrorCode = RequestErrorCode; exports.SERVER_ONLY_MESSAGES = _chunkCQ65LKPQcjs.SERVER_ONLY_MESSAGES; exports.SETUP_OPT_AUTHORITY = _chunk5JGZCKJOcjs.SETUP_OPT_AUTHORITY; exports.SETUP_OPT_AUTHORIZATION_TOKEN = _chunk5JGZCKJOcjs.SETUP_OPT_AUTHORIZATION_TOKEN; exports.SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE = _chunk5JGZCKJOcjs.SETUP_OPT_MAX_AUTH_TOKEN_CACHE_SIZE; exports.SETUP_OPT_MAX_FILTER_RANGES = _chunk5JGZCKJOcjs.SETUP_OPT_MAX_FILTER_RANGES; exports.SETUP_OPT_MAX_REQUEST_UPDATES = _chunk5JGZCKJOcjs.SETUP_OPT_MAX_REQUEST_UPDATES; exports.SETUP_OPT_MOQT_IMPLEMENTATION = _chunk5JGZCKJOcjs.SETUP_OPT_MOQT_IMPLEMENTATION; exports.SETUP_OPT_PATH = _chunk5JGZCKJOcjs.SETUP_OPT_PATH; exports.SessionTerminationCode = SessionTerminationCode; exports.createDataStreamDecoder = _chunk5JGZCKJOcjs.createDataStreamDecoder; exports.createDraft19Codec = _chunk5JGZCKJOcjs.createDraft19Codec; exports.createDraft19SessionState = _chunkCQ65LKPQcjs.createDraft19SessionState; exports.createFetchStreamDecoder = _chunk5JGZCKJOcjs.createFetchStreamDecoder; exports.createStreamDecoder = _chunk5JGZCKJOcjs.createStreamDecoder; exports.createSubgroupStreamDecoder = _chunk5JGZCKJOcjs.createSubgroupStreamDecoder; exports.decodeDataStream = _chunk5JGZCKJOcjs.decodeDataStream; exports.decodeDatagram = _chunk5JGZCKJOcjs.decodeDatagram; exports.decodeFetchStream = _chunk5JGZCKJOcjs.decodeFetchStream; exports.decodeMessage = _chunk5JGZCKJOcjs.decodeMessage; exports.decodeSubgroupStream = _chunk5JGZCKJOcjs.decodeSubgroupStream; exports.encodeDatagram = _chunk5JGZCKJOcjs.encodeDatagram; exports.encodeFetchStream = _chunk5JGZCKJOcjs.encodeFetchStream; exports.encodeMessage = _chunk5JGZCKJOcjs.encodeMessage; exports.encodeSubgroupStream = _chunk5JGZCKJOcjs.encodeSubgroupStream; exports.getLegalIncoming = _chunkCQ65LKPQcjs.getLegalIncoming; exports.getLegalOutgoing = _chunkCQ65LKPQcjs.getLegalOutgoing; exports.redactAuthTokens = _chunk5JGZCKJOcjs.redactAuthTokens;
|
package/dist/draft19.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export { A as AuthRedaction, R as REDACTION_FILL } from './auth-redaction-DsdLq4Qs.cjs';
|
|
2
|
+
export { D as Draft19Codec, c as createDraft19Codec, a as createStreamDecoder, d as decodeMessage, e as encodeMessage, r as redactAuthTokens } from './codec-C5s1eBJX.cjs';
|
|
3
|
+
import { b as DataStreamEvent, F as FetchStreamHeader, O as ObjectPayload, S as SubgroupStreamHeader, c as Draft19DataStream, d as DatagramObject, e as FetchStream, f as SubgroupStream, a as Draft19MessageType } from './types-Btp416jt.cjs';
|
|
4
|
+
export { g as DataStreamHeader, h as Draft19BaseMessage, i as Draft19Fetch, j as Draft19FetchOk, k as Draft19GoAway, D as Draft19Message, l as Draft19Namespace, m as Draft19NamespaceDone, n as Draft19Params, o as Draft19Publish, p as Draft19PublishDone, q as Draft19PublishNamespace, r as Draft19PublishSkipped, s as Draft19RequestError, t as Draft19RequestOk, u as Draft19RequestUpdate, v as Draft19Setup, w as Draft19SetupOptions, x as Draft19Subscribe, y as Draft19SubscribeNamespace, z as Draft19SubscribeOk, A as Draft19SubscribeTracks, B as Draft19TrackProperties, C as Draft19TrackStatus, E as FetchObjectPayload, J as JoiningFetch, L as LargestObject, G as LocationFilter, R as RangeFilter, H as RangeFilterRange, I as Redirect, K as StandaloneFetch, U as UnknownParam } from './types-Btp416jt.cjs';
|
|
4
5
|
export { Draft19SessionFSM, createDraft19SessionState } from './draft19-session.cjs';
|
|
5
6
|
export { P as ProtocolViolation, g as SessionPhase, h as SideEffect, T as TransitionResult, V as ValidationResult } from './session-types-B9idsih-.cjs';
|
|
6
7
|
import { b as DecodeResult } from './types-DG5_iKuv.cjs';
|