@moqtap/codec 0.2.1 → 0.2.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-LH4NTURO.js → chunk-2GODRVT5.js} +699 -589
- package/dist/{chunk-4RIXXEII.js → chunk-2ZT6CVSE.js} +274 -242
- package/dist/{chunk-XUUCOLWU.cjs → chunk-4N4INRE7.cjs} +332 -321
- package/dist/{chunk-PJRA2TQ5.js → chunk-73MWUKSJ.js} +274 -228
- package/dist/{chunk-NGVE2RZT.js → chunk-77MNXX3M.js} +549 -538
- package/dist/{chunk-A27S7HW7.js → chunk-7L43FE6P.js} +24 -3
- package/dist/{chunk-RVJAGE4S.cjs → chunk-ACQ4CUJP.cjs} +297 -265
- package/dist/{chunk-IBVM4DMJ.cjs → chunk-BGWGVINJ.cjs} +332 -321
- package/dist/{chunk-KFTCU2P6.js → chunk-C6KUWLQC.js} +0 -3
- package/dist/{chunk-CXDHOMHG.js → chunk-CEH7ESNC.js} +549 -538
- package/dist/{chunk-ZBKE2QRQ.js → chunk-E6P74GDT.js} +686 -599
- package/dist/{chunk-FUFTMAQD.cjs → chunk-FPISPJ5N.cjs} +785 -497
- package/dist/{chunk-7IVGHMKJ.cjs → chunk-FZDIEHQL.cjs} +300 -124
- package/dist/{chunk-ZSPO2GF2.cjs → chunk-GLBQDG4L.cjs} +971 -884
- package/dist/chunk-HDWJ2GDE.js +24 -0
- package/dist/{chunk-4YJANAXU.cjs → chunk-JGG7CMSZ.cjs} +469 -434
- package/dist/{chunk-IV2H5CFI.cjs → chunk-JTVCOMBI.cjs} +298 -266
- package/dist/chunk-KNDYS3DK.cjs +24 -0
- package/dist/{chunk-BPNL5YFQ.cjs → chunk-KZCYQ7ED.cjs} +5 -5
- package/dist/{chunk-U2B3B42P.js → chunk-MC7W6PMI.js} +709 -421
- package/dist/{chunk-MFAP7R6L.js → chunk-MRJWLGYH.js} +1 -1
- package/dist/{chunk-RWQ43Z4F.cjs → chunk-MZ7VU52O.cjs} +0 -3
- package/dist/{chunk-TMNGRIPL.js → chunk-N2KBF5Q2.js} +285 -109
- package/dist/{chunk-IV2HRJVT.js → chunk-PZBPH2D7.js} +274 -242
- package/dist/{chunk-FWISIR26.cjs → chunk-RUPCJTC3.cjs} +24 -3
- package/dist/{chunk-G26SJ6XS.cjs → chunk-S74DWJE2.cjs} +1001 -925
- package/dist/{chunk-NUX5BHWO.js → chunk-U3IPZYPX.js} +1113 -1037
- package/dist/{chunk-HSVYF6XX.cjs → chunk-VJUUZ4W2.cjs} +1106 -996
- package/dist/{chunk-ST24APEO.js → chunk-XSNX2IUJ.js} +574 -539
- package/dist/{chunk-K4OLITS2.cjs → chunk-YIG2C3LF.cjs} +295 -249
- package/dist/{drafts/draft15/codec.d.ts → codec-B2cH-f5V.d.cts} +11 -10
- package/dist/codec-B5K73Bdj.d.ts +30 -0
- package/dist/{codec-C_HMXNK_.d.ts → codec-BFeliJFc.d.ts} +4 -10
- package/dist/codec-BUMjz0J4.d.cts +30 -0
- package/dist/{codec-D0x8-SCw.d.cts → codec-Bap882Fh.d.cts} +3 -9
- package/dist/codec-BdVMRMOI.d.ts +34 -0
- package/dist/codec-Bq-tLtfP.d.ts +30 -0
- package/dist/codec-BwFgpeQu.d.ts +23 -0
- package/dist/{codec-95k8CAu5.d.cts → codec-C4n1PS09.d.cts} +3 -9
- package/dist/{codec-BECYPfY8.d.ts → codec-CPlK3Pi5.d.ts} +3 -9
- package/dist/{drafts/draft08/codec.d.ts → codec-CPvPq0sb.d.cts} +11 -9
- package/dist/codec-DNUIgLqc.d.cts +23 -0
- package/dist/codec-DRcsBCsb.d.ts +23 -0
- package/dist/{codec-CAevkgf5.d.cts → codec-DY4QH364.d.cts} +4 -10
- package/dist/codec-DZhZSIii.d.cts +30 -0
- package/dist/{drafts/draft14/codec.d.ts → codec-FvGCxIhr.d.ts} +11 -10
- package/dist/codec-HgBgHkFI.d.cts +23 -0
- package/dist/codec-KXHvXZVb.d.cts +35 -0
- package/dist/{codec-BC5jfvMb.d.ts → codec-R8GrCPt2.d.ts} +3 -9
- package/dist/{codec-BsPU1vNC.d.ts → codec-SKBeHQk7.d.ts} +3 -11
- package/dist/draft10-session.d.cts +1 -1
- package/dist/draft10-session.d.ts +1 -1
- package/dist/draft10.cjs +4 -3
- package/dist/draft10.d.cts +15 -5
- package/dist/draft10.d.ts +15 -5
- package/dist/draft10.js +3 -2
- package/dist/draft11-session.d.cts +1 -1
- package/dist/draft11-session.d.ts +1 -1
- package/dist/draft11.cjs +4 -3
- package/dist/draft11.d.cts +13 -5
- package/dist/draft11.d.ts +13 -5
- package/dist/draft11.js +3 -2
- package/dist/draft12-session.d.cts +1 -1
- package/dist/draft12-session.d.ts +1 -1
- package/dist/draft12.cjs +4 -3
- package/dist/draft12.d.cts +13 -5
- package/dist/draft12.d.ts +13 -5
- package/dist/draft12.js +3 -2
- package/dist/draft13-session.d.cts +1 -1
- package/dist/draft13-session.d.ts +1 -1
- package/dist/draft13.cjs +4 -3
- package/dist/draft13.d.cts +13 -5
- package/dist/draft13.d.ts +13 -5
- package/dist/draft13.js +3 -2
- package/dist/draft14-session.d.cts +1 -1
- package/dist/draft14-session.d.ts +1 -1
- package/dist/draft14.cjs +4 -3
- package/dist/draft14.d.cts +59 -5
- package/dist/draft14.d.ts +59 -5
- package/dist/draft14.js +3 -2
- package/dist/draft15-session.d.cts +1 -1
- package/dist/draft15-session.d.ts +1 -1
- package/dist/draft15.cjs +4 -3
- package/dist/draft15.d.cts +48 -5
- package/dist/draft15.d.ts +48 -5
- package/dist/draft15.js +3 -2
- package/dist/draft16-session.d.cts +1 -1
- package/dist/draft16-session.d.ts +1 -1
- package/dist/draft16.cjs +4 -3
- package/dist/draft16.d.cts +37 -5
- package/dist/draft16.d.ts +37 -5
- package/dist/draft16.js +3 -2
- package/dist/draft17-session.d.cts +1 -1
- package/dist/draft17-session.d.ts +1 -1
- package/dist/draft17.cjs +4 -3
- package/dist/draft17.d.cts +16 -5
- package/dist/draft17.d.ts +16 -5
- package/dist/draft17.js +3 -2
- package/dist/draft7-session.cjs +3 -3
- package/dist/draft7-session.js +2 -2
- package/dist/draft7.cjs +18 -6
- package/dist/draft7.d.cts +84 -8
- package/dist/draft7.d.ts +84 -8
- package/dist/draft7.js +15 -3
- package/dist/draft8-session.d.cts +1 -1
- package/dist/draft8-session.d.ts +1 -1
- package/dist/draft8.cjs +4 -3
- package/dist/draft8.d.cts +15 -5
- package/dist/draft8.d.ts +15 -5
- package/dist/draft8.js +3 -2
- package/dist/draft9-session.d.cts +1 -1
- package/dist/draft9-session.d.ts +1 -1
- package/dist/draft9.cjs +4 -3
- package/dist/draft9.d.cts +15 -5
- package/dist/draft9.d.ts +15 -5
- package/dist/draft9.js +3 -2
- package/dist/index.cjs +25 -24
- package/dist/index.d.cts +20 -20
- package/dist/index.d.ts +38 -46
- package/dist/index.js +111 -93
- package/dist/session.cjs +3 -3
- package/dist/session.d.ts +8 -4
- package/dist/session.js +26 -32
- package/dist/{types-ERexTpT8.d.cts → types-8gUGeMgs.d.cts} +4 -1
- package/dist/{types-ERexTpT8.d.ts → types-8gUGeMgs.d.ts} +4 -1
- package/dist/{types-Cw4WE9dh.d.ts → types-B0FT5Qs2.d.cts} +9 -1
- package/dist/{types-Cw4WE9dh.d.cts → types-B0FT5Qs2.d.ts} +9 -1
- package/dist/{types-DqCDFqgB.d.cts → types-B9A2g05r.d.cts} +4 -1
- package/dist/{types-DqCDFqgB.d.ts → types-B9A2g05r.d.ts} +4 -1
- package/dist/{types-Bg6QYNVt.d.cts → types-BeAVNU-F.d.cts} +7 -2
- package/dist/{types-Bg6QYNVt.d.ts → types-BeAVNU-F.d.ts} +7 -2
- package/dist/{types-C_1HrqBl.d.ts → types-CDa7F5ct.d.cts} +7 -2
- package/dist/{types-C_1HrqBl.d.cts → types-CDa7F5ct.d.ts} +7 -2
- package/dist/{types-r-CasCf1.d.cts → types-D1dI_oTX.d.cts} +8 -1
- package/dist/{types-r-CasCf1.d.ts → types-D1dI_oTX.d.ts} +8 -1
- package/dist/{types-BTFeKYCb.d.ts → types-DKpsfD3i.d.cts} +19 -4
- package/dist/{types-BTFeKYCb.d.cts → types-DKpsfD3i.d.ts} +19 -4
- package/dist/{types-4VxSL2Ho.d.ts → types-DxSFvL2b.d.cts} +7 -1
- package/dist/{types-4VxSL2Ho.d.cts → types-DxSFvL2b.d.ts} +7 -1
- package/dist/{types-B2afJZM-.d.ts → types-Pme7sua0.d.cts} +4 -1
- package/dist/{types-B2afJZM-.d.cts → types-Pme7sua0.d.ts} +4 -1
- package/dist/{types-D5gNQiDj.d.ts → types-gQsr0AAA.d.cts} +9 -1
- package/dist/{types-D5gNQiDj.d.cts → types-gQsr0AAA.d.ts} +9 -1
- package/package.json +2 -2
- package/src/core/buffer-reader.ts +130 -114
- package/src/core/buffer-writer.ts +100 -91
- package/src/core/hex.ts +7 -3
- package/src/drafts/draft07/codec.ts +14 -9
- package/src/drafts/draft07/data-streams.ts +240 -240
- package/src/drafts/draft07/varint.ts +51 -23
- package/src/drafts/draft08/codec.ts +19 -10
- package/src/drafts/draft08/data-streams.ts +359 -359
- package/src/drafts/draft09/codec.ts +19 -10
- package/src/drafts/draft09/data-streams.ts +332 -332
- package/src/drafts/draft10/codec.ts +19 -10
- package/src/drafts/draft10/data-streams.ts +332 -332
- package/src/drafts/draft11/codec.ts +33 -14
- package/src/drafts/draft11/data-streams.ts +269 -269
- package/src/drafts/draft12/codec.ts +27 -31
- package/src/drafts/draft12/data-streams.ts +275 -275
- package/src/drafts/draft13/codec.ts +27 -31
- package/src/drafts/draft13/data-streams.ts +275 -275
- package/src/drafts/draft14/codec.ts +19 -10
- package/src/drafts/draft14/data-streams.ts +813 -798
- package/src/drafts/draft15/codec.ts +21 -12
- package/src/drafts/draft15/data-streams.ts +794 -778
- package/src/drafts/draft16/codec.ts +21 -12
- package/src/drafts/draft16/data-streams.ts +789 -773
- package/src/drafts/draft17/codec.ts +21 -12
- package/src/drafts/draft17/data-streams.ts +758 -742
- package/dist/codec-AFuOxfsO.d.ts +0 -60
- package/dist/codec-B-UJ5Iow.d.cts +0 -75
- package/dist/codec-BvpuF-6u.d.cts +0 -39
- package/dist/codec-C8jZI5Cx.d.cts +0 -39
- package/dist/codec-CSUqCrRs.d.ts +0 -39
- package/dist/codec-CpuvYTSV.d.cts +0 -86
- package/dist/codec-D7ARhpG1.d.ts +0 -75
- package/dist/codec-DNAUGshO.d.cts +0 -60
- package/dist/codec-DPx_QNn0.d.ts +0 -31
- package/dist/codec-DRhCx_hw.d.ts +0 -86
- package/dist/codec-Db7YPe3l.d.ts +0 -31
- package/dist/codec-axkJpb7D.d.cts +0 -31
- package/dist/codec-ujAbFaep.d.cts +0 -31
- package/dist/core/buffer-reader.d.ts +0 -15
- package/dist/core/buffer-reader.d.ts.map +0 -1
- package/dist/core/buffer-reader.js +0 -98
- package/dist/core/buffer-reader.js.map +0 -1
- package/dist/core/buffer-writer.d.ts +0 -16
- package/dist/core/buffer-writer.d.ts.map +0 -1
- package/dist/core/buffer-writer.js +0 -86
- package/dist/core/buffer-writer.js.map +0 -1
- package/dist/core/errors.d.ts +0 -2
- package/dist/core/errors.d.ts.map +0 -1
- package/dist/core/errors.js +0 -2
- package/dist/core/errors.js.map +0 -1
- package/dist/core/hex.d.ts +0 -5
- package/dist/core/hex.d.ts.map +0 -1
- package/dist/core/hex.js +0 -17
- package/dist/core/hex.js.map +0 -1
- package/dist/core/session-types.d.ts +0 -99
- package/dist/core/session-types.d.ts.map +0 -1
- package/dist/core/session-types.js +0 -2
- package/dist/core/session-types.js.map +0 -1
- package/dist/core/types.d.ts +0 -235
- package/dist/core/types.d.ts.map +0 -1
- package/dist/core/types.js +0 -11
- package/dist/core/types.js.map +0 -1
- package/dist/drafts/draft07/announce-fsm.d.ts +0 -2
- package/dist/drafts/draft07/announce-fsm.d.ts.map +0 -1
- package/dist/drafts/draft07/announce-fsm.js +0 -2
- package/dist/drafts/draft07/announce-fsm.js.map +0 -1
- package/dist/drafts/draft07/codec.d.ts +0 -17
- package/dist/drafts/draft07/codec.d.ts.map +0 -1
- package/dist/drafts/draft07/codec.js +0 -722
- package/dist/drafts/draft07/codec.js.map +0 -1
- package/dist/drafts/draft07/data-streams.d.ts +0 -9
- package/dist/drafts/draft07/data-streams.d.ts.map +0 -1
- package/dist/drafts/draft07/data-streams.js +0 -228
- package/dist/drafts/draft07/data-streams.js.map +0 -1
- package/dist/drafts/draft07/index.d.ts +0 -14
- package/dist/drafts/draft07/index.d.ts.map +0 -1
- package/dist/drafts/draft07/index.js +0 -18
- package/dist/drafts/draft07/index.js.map +0 -1
- package/dist/drafts/draft07/messages.d.ts +0 -32
- package/dist/drafts/draft07/messages.d.ts.map +0 -1
- package/dist/drafts/draft07/messages.js +0 -42
- package/dist/drafts/draft07/messages.js.map +0 -1
- package/dist/drafts/draft07/parameters.d.ts +0 -4
- package/dist/drafts/draft07/parameters.d.ts.map +0 -1
- package/dist/drafts/draft07/parameters.js +0 -10
- package/dist/drafts/draft07/parameters.js.map +0 -1
- package/dist/drafts/draft07/rules.d.ts +0 -8
- package/dist/drafts/draft07/rules.d.ts.map +0 -1
- package/dist/drafts/draft07/rules.js +0 -95
- package/dist/drafts/draft07/rules.js.map +0 -1
- package/dist/drafts/draft07/session-fsm.d.ts +0 -38
- package/dist/drafts/draft07/session-fsm.d.ts.map +0 -1
- package/dist/drafts/draft07/session-fsm.js +0 -354
- package/dist/drafts/draft07/session-fsm.js.map +0 -1
- package/dist/drafts/draft07/session.d.ts +0 -4
- package/dist/drafts/draft07/session.d.ts.map +0 -1
- package/dist/drafts/draft07/session.js +0 -5
- package/dist/drafts/draft07/session.js.map +0 -1
- package/dist/drafts/draft07/subscription-fsm.d.ts +0 -2
- package/dist/drafts/draft07/subscription-fsm.d.ts.map +0 -1
- package/dist/drafts/draft07/subscription-fsm.js +0 -2
- package/dist/drafts/draft07/subscription-fsm.js.map +0 -1
- package/dist/drafts/draft07/types.d.ts +0 -61
- package/dist/drafts/draft07/types.d.ts.map +0 -1
- package/dist/drafts/draft07/types.js +0 -4
- package/dist/drafts/draft07/types.js.map +0 -1
- package/dist/drafts/draft07/varint.d.ts +0 -4
- package/dist/drafts/draft07/varint.d.ts.map +0 -1
- package/dist/drafts/draft07/varint.js +0 -22
- package/dist/drafts/draft07/varint.js.map +0 -1
- package/dist/drafts/draft08/codec.d.ts.map +0 -1
- package/dist/drafts/draft08/codec.js +0 -729
- package/dist/drafts/draft08/codec.js.map +0 -1
- package/dist/drafts/draft08/data-streams.d.ts +0 -12
- package/dist/drafts/draft08/data-streams.d.ts.map +0 -1
- package/dist/drafts/draft08/data-streams.js +0 -345
- package/dist/drafts/draft08/data-streams.js.map +0 -1
- package/dist/drafts/draft08/index.d.ts +0 -9
- package/dist/drafts/draft08/index.d.ts.map +0 -1
- package/dist/drafts/draft08/index.js +0 -7
- package/dist/drafts/draft08/index.js.map +0 -1
- package/dist/drafts/draft08/messages.d.ts +0 -34
- package/dist/drafts/draft08/messages.d.ts.map +0 -1
- package/dist/drafts/draft08/messages.js +0 -66
- package/dist/drafts/draft08/messages.js.map +0 -1
- package/dist/drafts/draft08/rules.d.ts +0 -8
- package/dist/drafts/draft08/rules.d.ts.map +0 -1
- package/dist/drafts/draft08/rules.js +0 -83
- package/dist/drafts/draft08/rules.js.map +0 -1
- package/dist/drafts/draft08/session-fsm.d.ts +0 -47
- package/dist/drafts/draft08/session-fsm.d.ts.map +0 -1
- package/dist/drafts/draft08/session-fsm.js +0 -483
- package/dist/drafts/draft08/session-fsm.js.map +0 -1
- package/dist/drafts/draft08/session.d.ts +0 -5
- package/dist/drafts/draft08/session.d.ts.map +0 -1
- package/dist/drafts/draft08/session.js +0 -5
- package/dist/drafts/draft08/session.js.map +0 -1
- package/dist/drafts/draft08/types.d.ts +0 -268
- package/dist/drafts/draft08/types.d.ts.map +0 -1
- package/dist/drafts/draft08/types.js +0 -4
- package/dist/drafts/draft08/types.js.map +0 -1
- package/dist/drafts/draft09/codec.d.ts +0 -21
- package/dist/drafts/draft09/codec.d.ts.map +0 -1
- package/dist/drafts/draft09/codec.js +0 -721
- package/dist/drafts/draft09/codec.js.map +0 -1
- package/dist/drafts/draft09/data-streams.d.ts +0 -12
- package/dist/drafts/draft09/data-streams.d.ts.map +0 -1
- package/dist/drafts/draft09/data-streams.js +0 -307
- package/dist/drafts/draft09/data-streams.js.map +0 -1
- package/dist/drafts/draft09/index.d.ts +0 -9
- package/dist/drafts/draft09/index.d.ts.map +0 -1
- package/dist/drafts/draft09/index.js +0 -7
- package/dist/drafts/draft09/index.js.map +0 -1
- package/dist/drafts/draft09/messages.d.ts +0 -34
- package/dist/drafts/draft09/messages.d.ts.map +0 -1
- package/dist/drafts/draft09/messages.js +0 -66
- package/dist/drafts/draft09/messages.js.map +0 -1
- package/dist/drafts/draft09/rules.d.ts +0 -8
- package/dist/drafts/draft09/rules.d.ts.map +0 -1
- package/dist/drafts/draft09/rules.js +0 -83
- package/dist/drafts/draft09/rules.js.map +0 -1
- package/dist/drafts/draft09/session-fsm.d.ts +0 -47
- package/dist/drafts/draft09/session-fsm.d.ts.map +0 -1
- package/dist/drafts/draft09/session-fsm.js +0 -483
- package/dist/drafts/draft09/session-fsm.js.map +0 -1
- package/dist/drafts/draft09/session.d.ts +0 -5
- package/dist/drafts/draft09/session.d.ts.map +0 -1
- package/dist/drafts/draft09/session.js +0 -5
- package/dist/drafts/draft09/session.js.map +0 -1
- package/dist/drafts/draft09/types.d.ts +0 -268
- package/dist/drafts/draft09/types.d.ts.map +0 -1
- package/dist/drafts/draft09/types.js +0 -4
- package/dist/drafts/draft09/types.js.map +0 -1
- package/dist/drafts/draft10/codec.d.ts +0 -21
- package/dist/drafts/draft10/codec.d.ts.map +0 -1
- package/dist/drafts/draft10/codec.js +0 -721
- package/dist/drafts/draft10/codec.js.map +0 -1
- package/dist/drafts/draft10/data-streams.d.ts +0 -12
- package/dist/drafts/draft10/data-streams.d.ts.map +0 -1
- package/dist/drafts/draft10/data-streams.js +0 -307
- package/dist/drafts/draft10/data-streams.js.map +0 -1
- package/dist/drafts/draft10/index.d.ts +0 -9
- package/dist/drafts/draft10/index.d.ts.map +0 -1
- package/dist/drafts/draft10/index.js +0 -7
- package/dist/drafts/draft10/index.js.map +0 -1
- package/dist/drafts/draft10/messages.d.ts +0 -34
- package/dist/drafts/draft10/messages.d.ts.map +0 -1
- package/dist/drafts/draft10/messages.js +0 -66
- package/dist/drafts/draft10/messages.js.map +0 -1
- package/dist/drafts/draft10/rules.d.ts +0 -8
- package/dist/drafts/draft10/rules.d.ts.map +0 -1
- package/dist/drafts/draft10/rules.js +0 -83
- package/dist/drafts/draft10/rules.js.map +0 -1
- package/dist/drafts/draft10/session-fsm.d.ts +0 -47
- package/dist/drafts/draft10/session-fsm.d.ts.map +0 -1
- package/dist/drafts/draft10/session-fsm.js +0 -483
- package/dist/drafts/draft10/session-fsm.js.map +0 -1
- package/dist/drafts/draft10/session.d.ts +0 -5
- package/dist/drafts/draft10/session.d.ts.map +0 -1
- package/dist/drafts/draft10/session.js +0 -5
- package/dist/drafts/draft10/session.js.map +0 -1
- package/dist/drafts/draft10/types.d.ts +0 -268
- package/dist/drafts/draft10/types.d.ts.map +0 -1
- package/dist/drafts/draft10/types.js +0 -4
- package/dist/drafts/draft10/types.js.map +0 -1
- package/dist/drafts/draft11/codec.d.ts +0 -25
- package/dist/drafts/draft11/codec.d.ts.map +0 -1
- package/dist/drafts/draft11/codec.js +0 -775
- package/dist/drafts/draft11/codec.js.map +0 -1
- package/dist/drafts/draft11/data-streams.d.ts +0 -10
- package/dist/drafts/draft11/data-streams.d.ts.map +0 -1
- package/dist/drafts/draft11/data-streams.js +0 -253
- package/dist/drafts/draft11/data-streams.js.map +0 -1
- package/dist/drafts/draft11/index.d.ts +0 -9
- package/dist/drafts/draft11/index.d.ts.map +0 -1
- package/dist/drafts/draft11/index.js +0 -7
- package/dist/drafts/draft11/index.js.map +0 -1
- package/dist/drafts/draft11/messages.d.ts +0 -33
- package/dist/drafts/draft11/messages.d.ts.map +0 -1
- package/dist/drafts/draft11/messages.js +0 -65
- package/dist/drafts/draft11/messages.js.map +0 -1
- package/dist/drafts/draft11/rules.d.ts +0 -8
- package/dist/drafts/draft11/rules.d.ts.map +0 -1
- package/dist/drafts/draft11/rules.js +0 -88
- package/dist/drafts/draft11/rules.js.map +0 -1
- package/dist/drafts/draft11/session-fsm.d.ts +0 -52
- package/dist/drafts/draft11/session-fsm.d.ts.map +0 -1
- package/dist/drafts/draft11/session-fsm.js +0 -530
- package/dist/drafts/draft11/session-fsm.js.map +0 -1
- package/dist/drafts/draft11/session.d.ts +0 -5
- package/dist/drafts/draft11/session.d.ts.map +0 -1
- package/dist/drafts/draft11/session.js +0 -5
- package/dist/drafts/draft11/session.js.map +0 -1
- package/dist/drafts/draft11/types.d.ts +0 -266
- package/dist/drafts/draft11/types.d.ts.map +0 -1
- package/dist/drafts/draft11/types.js +0 -4
- package/dist/drafts/draft11/types.js.map +0 -1
- package/dist/drafts/draft12/codec.d.ts +0 -27
- package/dist/drafts/draft12/codec.d.ts.map +0 -1
- package/dist/drafts/draft12/codec.js +0 -918
- package/dist/drafts/draft12/codec.js.map +0 -1
- package/dist/drafts/draft12/data-streams.d.ts +0 -10
- package/dist/drafts/draft12/data-streams.d.ts.map +0 -1
- package/dist/drafts/draft12/data-streams.js +0 -254
- package/dist/drafts/draft12/data-streams.js.map +0 -1
- package/dist/drafts/draft12/index.d.ts +0 -9
- package/dist/drafts/draft12/index.d.ts.map +0 -1
- package/dist/drafts/draft12/index.js +0 -7
- package/dist/drafts/draft12/index.js.map +0 -1
- package/dist/drafts/draft12/messages.d.ts +0 -37
- package/dist/drafts/draft12/messages.d.ts.map +0 -1
- package/dist/drafts/draft12/messages.js +0 -77
- package/dist/drafts/draft12/messages.js.map +0 -1
- package/dist/drafts/draft12/rules.d.ts +0 -8
- package/dist/drafts/draft12/rules.d.ts.map +0 -1
- package/dist/drafts/draft12/rules.js +0 -94
- package/dist/drafts/draft12/rules.js.map +0 -1
- package/dist/drafts/draft12/session-fsm.d.ts +0 -55
- package/dist/drafts/draft12/session-fsm.d.ts.map +0 -1
- package/dist/drafts/draft12/session-fsm.js +0 -569
- package/dist/drafts/draft12/session-fsm.js.map +0 -1
- package/dist/drafts/draft12/session.d.ts +0 -5
- package/dist/drafts/draft12/session.d.ts.map +0 -1
- package/dist/drafts/draft12/session.js +0 -5
- package/dist/drafts/draft12/session.js.map +0 -1
- package/dist/drafts/draft12/types.d.ts +0 -294
- package/dist/drafts/draft12/types.d.ts.map +0 -1
- package/dist/drafts/draft12/types.js +0 -4
- package/dist/drafts/draft12/types.js.map +0 -1
- package/dist/drafts/draft13/codec.d.ts +0 -27
- package/dist/drafts/draft13/codec.d.ts.map +0 -1
- package/dist/drafts/draft13/codec.js +0 -1000
- package/dist/drafts/draft13/codec.js.map +0 -1
- package/dist/drafts/draft13/data-streams.d.ts +0 -10
- package/dist/drafts/draft13/data-streams.d.ts.map +0 -1
- package/dist/drafts/draft13/data-streams.js +0 -254
- package/dist/drafts/draft13/data-streams.js.map +0 -1
- package/dist/drafts/draft13/index.d.ts +0 -9
- package/dist/drafts/draft13/index.d.ts.map +0 -1
- package/dist/drafts/draft13/index.js +0 -7
- package/dist/drafts/draft13/index.js.map +0 -1
- package/dist/drafts/draft13/messages.d.ts +0 -38
- package/dist/drafts/draft13/messages.d.ts.map +0 -1
- package/dist/drafts/draft13/messages.js +0 -79
- package/dist/drafts/draft13/messages.js.map +0 -1
- package/dist/drafts/draft13/rules.d.ts +0 -8
- package/dist/drafts/draft13/rules.d.ts.map +0 -1
- package/dist/drafts/draft13/rules.js +0 -96
- package/dist/drafts/draft13/rules.js.map +0 -1
- package/dist/drafts/draft13/session-fsm.d.ts +0 -56
- package/dist/drafts/draft13/session-fsm.d.ts.map +0 -1
- package/dist/drafts/draft13/session-fsm.js +0 -581
- package/dist/drafts/draft13/session-fsm.js.map +0 -1
- package/dist/drafts/draft13/session.d.ts +0 -5
- package/dist/drafts/draft13/session.d.ts.map +0 -1
- package/dist/drafts/draft13/session.js +0 -5
- package/dist/drafts/draft13/session.js.map +0 -1
- package/dist/drafts/draft13/types.d.ts +0 -310
- package/dist/drafts/draft13/types.d.ts.map +0 -1
- package/dist/drafts/draft13/types.js +0 -4
- package/dist/drafts/draft13/types.js.map +0 -1
- package/dist/drafts/draft14/codec.d.ts.map +0 -1
- package/dist/drafts/draft14/codec.js +0 -752
- package/dist/drafts/draft14/codec.js.map +0 -1
- package/dist/drafts/draft14/data-streams.d.ts +0 -56
- package/dist/drafts/draft14/data-streams.d.ts.map +0 -1
- package/dist/drafts/draft14/data-streams.js +0 -729
- package/dist/drafts/draft14/data-streams.js.map +0 -1
- package/dist/drafts/draft14/index.d.ts +0 -9
- package/dist/drafts/draft14/index.d.ts.map +0 -1
- package/dist/drafts/draft14/index.js +0 -7
- package/dist/drafts/draft14/index.js.map +0 -1
- package/dist/drafts/draft14/messages.d.ts +0 -36
- package/dist/drafts/draft14/messages.d.ts.map +0 -1
- package/dist/drafts/draft14/messages.js +0 -71
- package/dist/drafts/draft14/messages.js.map +0 -1
- package/dist/drafts/draft14/rules.d.ts +0 -8
- package/dist/drafts/draft14/rules.d.ts.map +0 -1
- package/dist/drafts/draft14/rules.js +0 -101
- package/dist/drafts/draft14/rules.js.map +0 -1
- package/dist/drafts/draft14/session-fsm.d.ts +0 -58
- package/dist/drafts/draft14/session-fsm.d.ts.map +0 -1
- package/dist/drafts/draft14/session-fsm.js +0 -648
- package/dist/drafts/draft14/session-fsm.js.map +0 -1
- package/dist/drafts/draft14/session.d.ts +0 -5
- package/dist/drafts/draft14/session.d.ts.map +0 -1
- package/dist/drafts/draft14/session.js +0 -5
- package/dist/drafts/draft14/session.js.map +0 -1
- package/dist/drafts/draft14/types.d.ts +0 -263
- package/dist/drafts/draft14/types.d.ts.map +0 -1
- package/dist/drafts/draft14/types.js +0 -4
- package/dist/drafts/draft14/types.js.map +0 -1
- package/dist/drafts/draft15/codec.d.ts.map +0 -1
- package/dist/drafts/draft15/codec.js +0 -742
- package/dist/drafts/draft15/codec.js.map +0 -1
- package/dist/drafts/draft15/data-streams.d.ts +0 -45
- package/dist/drafts/draft15/data-streams.d.ts.map +0 -1
- package/dist/drafts/draft15/data-streams.js +0 -675
- package/dist/drafts/draft15/data-streams.js.map +0 -1
- package/dist/drafts/draft15/index.d.ts +0 -9
- package/dist/drafts/draft15/index.d.ts.map +0 -1
- package/dist/drafts/draft15/index.js +0 -7
- package/dist/drafts/draft15/index.js.map +0 -1
- package/dist/drafts/draft15/messages.d.ts +0 -31
- package/dist/drafts/draft15/messages.d.ts.map +0 -1
- package/dist/drafts/draft15/messages.js +0 -59
- package/dist/drafts/draft15/messages.js.map +0 -1
- package/dist/drafts/draft15/rules.d.ts +0 -8
- package/dist/drafts/draft15/rules.d.ts.map +0 -1
- package/dist/drafts/draft15/rules.js +0 -83
- package/dist/drafts/draft15/rules.js.map +0 -1
- package/dist/drafts/draft15/session-fsm.d.ts +0 -48
- package/dist/drafts/draft15/session-fsm.d.ts.map +0 -1
- package/dist/drafts/draft15/session-fsm.js +0 -479
- package/dist/drafts/draft15/session-fsm.js.map +0 -1
- package/dist/drafts/draft15/session.d.ts +0 -5
- package/dist/drafts/draft15/session.d.ts.map +0 -1
- package/dist/drafts/draft15/session.js +0 -5
- package/dist/drafts/draft15/session.js.map +0 -1
- package/dist/drafts/draft15/types.d.ts +0 -232
- package/dist/drafts/draft15/types.d.ts.map +0 -1
- package/dist/drafts/draft15/types.js +0 -4
- package/dist/drafts/draft15/types.js.map +0 -1
- package/dist/drafts/draft16/codec.d.ts +0 -29
- package/dist/drafts/draft16/codec.d.ts.map +0 -1
- package/dist/drafts/draft16/codec.js +0 -747
- package/dist/drafts/draft16/codec.js.map +0 -1
- package/dist/drafts/draft16/data-streams.d.ts +0 -34
- package/dist/drafts/draft16/data-streams.d.ts.map +0 -1
- package/dist/drafts/draft16/data-streams.js +0 -667
- package/dist/drafts/draft16/data-streams.js.map +0 -1
- package/dist/drafts/draft16/index.d.ts +0 -9
- package/dist/drafts/draft16/index.d.ts.map +0 -1
- package/dist/drafts/draft16/index.js +0 -7
- package/dist/drafts/draft16/index.js.map +0 -1
- package/dist/drafts/draft16/messages.d.ts +0 -32
- package/dist/drafts/draft16/messages.d.ts.map +0 -1
- package/dist/drafts/draft16/messages.js +0 -62
- package/dist/drafts/draft16/messages.js.map +0 -1
- package/dist/drafts/draft16/rules.d.ts +0 -8
- package/dist/drafts/draft16/rules.d.ts.map +0 -1
- package/dist/drafts/draft16/rules.js +0 -84
- package/dist/drafts/draft16/rules.js.map +0 -1
- package/dist/drafts/draft16/session-fsm.d.ts +0 -48
- package/dist/drafts/draft16/session-fsm.d.ts.map +0 -1
- package/dist/drafts/draft16/session-fsm.js +0 -474
- package/dist/drafts/draft16/session-fsm.js.map +0 -1
- package/dist/drafts/draft16/session.d.ts +0 -5
- package/dist/drafts/draft16/session.d.ts.map +0 -1
- package/dist/drafts/draft16/session.js +0 -5
- package/dist/drafts/draft16/session.js.map +0 -1
- package/dist/drafts/draft16/types.d.ts +0 -238
- package/dist/drafts/draft16/types.d.ts.map +0 -1
- package/dist/drafts/draft16/types.js +0 -4
- package/dist/drafts/draft16/types.js.map +0 -1
- package/dist/drafts/draft17/codec.d.ts +0 -29
- package/dist/drafts/draft17/codec.d.ts.map +0 -1
- package/dist/drafts/draft17/codec.js +0 -799
- package/dist/drafts/draft17/codec.js.map +0 -1
- package/dist/drafts/draft17/data-streams.d.ts +0 -13
- package/dist/drafts/draft17/data-streams.d.ts.map +0 -1
- package/dist/drafts/draft17/data-streams.js +0 -633
- package/dist/drafts/draft17/data-streams.js.map +0 -1
- package/dist/drafts/draft17/index.d.ts +0 -8
- package/dist/drafts/draft17/index.d.ts.map +0 -1
- package/dist/drafts/draft17/index.js +0 -6
- package/dist/drafts/draft17/index.js.map +0 -1
- package/dist/drafts/draft17/messages.d.ts +0 -25
- package/dist/drafts/draft17/messages.d.ts.map +0 -1
- package/dist/drafts/draft17/messages.js +0 -48
- package/dist/drafts/draft17/messages.js.map +0 -1
- package/dist/drafts/draft17/rules.d.ts +0 -8
- package/dist/drafts/draft17/rules.d.ts.map +0 -1
- package/dist/drafts/draft17/rules.js +0 -71
- package/dist/drafts/draft17/rules.js.map +0 -1
- package/dist/drafts/draft17/session-fsm.d.ts +0 -45
- package/dist/drafts/draft17/session-fsm.d.ts.map +0 -1
- package/dist/drafts/draft17/session-fsm.js +0 -328
- package/dist/drafts/draft17/session-fsm.js.map +0 -1
- package/dist/drafts/draft17/session.d.ts +0 -5
- package/dist/drafts/draft17/session.d.ts.map +0 -1
- package/dist/drafts/draft17/session.js +0 -6
- package/dist/drafts/draft17/session.js.map +0 -1
- package/dist/drafts/draft17/types.d.ts +0 -219
- package/dist/drafts/draft17/types.d.ts.map +0 -1
- package/dist/drafts/draft17/types.js +0 -3
- package/dist/drafts/draft17/types.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/session.d.ts.map +0 -1
- package/dist/session.js.map +0 -1
|
@@ -248,9 +248,12 @@ interface Draft13RequestsBlocked extends Draft13BaseMessage {
|
|
|
248
248
|
type Draft13Message = Draft13ClientSetup | Draft13ServerSetup | Draft13Subscribe | Draft13SubscribeOk | Draft13SubscribeError | Draft13SubscribeUpdate | Draft13SubscribeDone | Draft13Unsubscribe | Draft13Announce | Draft13AnnounceOk | Draft13AnnounceError | Draft13Unannounce | Draft13AnnounceCancel | Draft13SubscribeNamespace | Draft13SubscribeNamespaceOk | Draft13SubscribeNamespaceError | Draft13UnsubscribeNamespace | Draft13Publish | Draft13PublishOk | Draft13PublishError | Draft13Fetch | Draft13FetchOk | Draft13FetchError | Draft13FetchCancel | Draft13TrackStatus | Draft13TrackStatusOk | Draft13TrackStatusError | Draft13GoAway | Draft13MaxRequestId | Draft13RequestsBlocked;
|
|
249
249
|
interface ObjectPayload {
|
|
250
250
|
readonly type: "object";
|
|
251
|
+
readonly byteOffset: number;
|
|
252
|
+
readonly payloadByteOffset: number;
|
|
251
253
|
readonly objectId: bigint;
|
|
252
254
|
readonly payloadLength: number;
|
|
253
255
|
readonly status?: bigint;
|
|
256
|
+
readonly extensionData: Uint8Array;
|
|
254
257
|
readonly payload: Uint8Array;
|
|
255
258
|
}
|
|
256
259
|
interface SubgroupStream {
|
|
@@ -275,11 +278,13 @@ interface DatagramObject {
|
|
|
275
278
|
}
|
|
276
279
|
interface FetchObjectPayload {
|
|
277
280
|
readonly type: "object";
|
|
281
|
+
readonly byteOffset: number;
|
|
282
|
+
readonly payloadByteOffset: number;
|
|
278
283
|
readonly groupId: bigint;
|
|
279
284
|
readonly subgroupId: bigint;
|
|
280
285
|
readonly objectId: bigint;
|
|
281
286
|
readonly publisherPriority: number;
|
|
282
|
-
readonly
|
|
287
|
+
readonly extensionData: Uint8Array;
|
|
283
288
|
readonly payloadLength: number;
|
|
284
289
|
readonly payload: Uint8Array;
|
|
285
290
|
}
|
|
@@ -303,4 +308,4 @@ interface FetchStreamHeader {
|
|
|
303
308
|
type DataStreamHeader = SubgroupStreamHeader | FetchStreamHeader;
|
|
304
309
|
type DataStreamEvent = DataStreamHeader | ObjectPayload;
|
|
305
310
|
|
|
306
|
-
export type { AuthorizationToken as A, Draft13SubscribeError as B, Draft13SubscribeNamespace as C, Draft13DataStream as D, Draft13SubscribeNamespaceError as E,
|
|
311
|
+
export type { AuthorizationToken as A, Draft13SubscribeError as B, Draft13SubscribeNamespace as C, Draft13DataStream as D, Draft13SubscribeNamespaceError as E, FetchStream as F, Draft13SubscribeNamespaceOk as G, Draft13SubscribeOk as H, Draft13SubscribeUpdate as I, Draft13TrackStatus as J, Draft13TrackStatusError as K, Draft13TrackStatusOk as L, Draft13Unannounce as M, Draft13Unsubscribe as N, Draft13UnsubscribeNamespace as O, FetchObjectPayload as P, FetchStreamHeader as Q, JoiningFetch as R, SubgroupStream as S, LargestLocation as T, ObjectPayload as U, StandaloneFetch as V, SubgroupStreamHeader as W, UnknownParam as X, Draft13Message as a, Draft13Params as b, Draft13SetupParams as c, DatagramObject as d, Draft13MessageType as e, DataStreamEvent as f, DataStreamHeader as g, Draft13Announce as h, Draft13AnnounceCancel as i, Draft13AnnounceError as j, Draft13AnnounceOk as k, Draft13BaseMessage as l, Draft13ClientSetup as m, Draft13Fetch as n, Draft13FetchCancel as o, Draft13FetchError as p, Draft13FetchOk as q, Draft13GoAway as r, Draft13MaxRequestId as s, Draft13Publish as t, Draft13PublishError as u, Draft13PublishOk as v, Draft13RequestsBlocked as w, Draft13ServerSetup as x, Draft13Subscribe as y, Draft13SubscribeDone as z };
|
|
@@ -248,9 +248,12 @@ interface Draft13RequestsBlocked extends Draft13BaseMessage {
|
|
|
248
248
|
type Draft13Message = Draft13ClientSetup | Draft13ServerSetup | Draft13Subscribe | Draft13SubscribeOk | Draft13SubscribeError | Draft13SubscribeUpdate | Draft13SubscribeDone | Draft13Unsubscribe | Draft13Announce | Draft13AnnounceOk | Draft13AnnounceError | Draft13Unannounce | Draft13AnnounceCancel | Draft13SubscribeNamespace | Draft13SubscribeNamespaceOk | Draft13SubscribeNamespaceError | Draft13UnsubscribeNamespace | Draft13Publish | Draft13PublishOk | Draft13PublishError | Draft13Fetch | Draft13FetchOk | Draft13FetchError | Draft13FetchCancel | Draft13TrackStatus | Draft13TrackStatusOk | Draft13TrackStatusError | Draft13GoAway | Draft13MaxRequestId | Draft13RequestsBlocked;
|
|
249
249
|
interface ObjectPayload {
|
|
250
250
|
readonly type: "object";
|
|
251
|
+
readonly byteOffset: number;
|
|
252
|
+
readonly payloadByteOffset: number;
|
|
251
253
|
readonly objectId: bigint;
|
|
252
254
|
readonly payloadLength: number;
|
|
253
255
|
readonly status?: bigint;
|
|
256
|
+
readonly extensionData: Uint8Array;
|
|
254
257
|
readonly payload: Uint8Array;
|
|
255
258
|
}
|
|
256
259
|
interface SubgroupStream {
|
|
@@ -275,11 +278,13 @@ interface DatagramObject {
|
|
|
275
278
|
}
|
|
276
279
|
interface FetchObjectPayload {
|
|
277
280
|
readonly type: "object";
|
|
281
|
+
readonly byteOffset: number;
|
|
282
|
+
readonly payloadByteOffset: number;
|
|
278
283
|
readonly groupId: bigint;
|
|
279
284
|
readonly subgroupId: bigint;
|
|
280
285
|
readonly objectId: bigint;
|
|
281
286
|
readonly publisherPriority: number;
|
|
282
|
-
readonly
|
|
287
|
+
readonly extensionData: Uint8Array;
|
|
283
288
|
readonly payloadLength: number;
|
|
284
289
|
readonly payload: Uint8Array;
|
|
285
290
|
}
|
|
@@ -303,4 +308,4 @@ interface FetchStreamHeader {
|
|
|
303
308
|
type DataStreamHeader = SubgroupStreamHeader | FetchStreamHeader;
|
|
304
309
|
type DataStreamEvent = DataStreamHeader | ObjectPayload;
|
|
305
310
|
|
|
306
|
-
export type { AuthorizationToken as A, Draft13SubscribeError as B, Draft13SubscribeNamespace as C, Draft13DataStream as D, Draft13SubscribeNamespaceError as E,
|
|
311
|
+
export type { AuthorizationToken as A, Draft13SubscribeError as B, Draft13SubscribeNamespace as C, Draft13DataStream as D, Draft13SubscribeNamespaceError as E, FetchStream as F, Draft13SubscribeNamespaceOk as G, Draft13SubscribeOk as H, Draft13SubscribeUpdate as I, Draft13TrackStatus as J, Draft13TrackStatusError as K, Draft13TrackStatusOk as L, Draft13Unannounce as M, Draft13Unsubscribe as N, Draft13UnsubscribeNamespace as O, FetchObjectPayload as P, FetchStreamHeader as Q, JoiningFetch as R, SubgroupStream as S, LargestLocation as T, ObjectPayload as U, StandaloneFetch as V, SubgroupStreamHeader as W, UnknownParam as X, Draft13Message as a, Draft13Params as b, Draft13SetupParams as c, DatagramObject as d, Draft13MessageType as e, DataStreamEvent as f, DataStreamHeader as g, Draft13Announce as h, Draft13AnnounceCancel as i, Draft13AnnounceError as j, Draft13AnnounceOk as k, Draft13BaseMessage as l, Draft13ClientSetup as m, Draft13Fetch as n, Draft13FetchCancel as o, Draft13FetchError as p, Draft13FetchOk as q, Draft13GoAway as r, Draft13MaxRequestId as s, Draft13Publish as t, Draft13PublishError as u, Draft13PublishOk as v, Draft13RequestsBlocked as w, Draft13ServerSetup as x, Draft13Subscribe as y, Draft13SubscribeDone as z };
|
|
@@ -192,8 +192,11 @@ interface Draft08SubscribesBlocked extends Draft08BaseMessage {
|
|
|
192
192
|
type Draft08Message = Draft08ClientSetup | Draft08ServerSetup | Draft08Subscribe | Draft08SubscribeOk | Draft08SubscribeError | Draft08SubscribeUpdate | Draft08SubscribeDone | Draft08Unsubscribe | Draft08Announce | Draft08AnnounceOk | Draft08AnnounceError | Draft08Unannounce | Draft08AnnounceCancel | Draft08SubscribeAnnounces | Draft08SubscribeAnnouncesOk | Draft08SubscribeAnnouncesError | Draft08UnsubscribeAnnounces | Draft08Fetch | Draft08FetchOk | Draft08FetchError | Draft08FetchCancel | Draft08TrackStatusRequest | Draft08TrackStatus | Draft08GoAway | Draft08MaxSubscribeId | Draft08SubscribesBlocked;
|
|
193
193
|
interface ObjectPayload {
|
|
194
194
|
readonly type: "object";
|
|
195
|
+
readonly byteOffset: number;
|
|
196
|
+
readonly payloadByteOffset: number;
|
|
195
197
|
readonly objectId: bigint;
|
|
196
198
|
readonly extensionCount: bigint;
|
|
199
|
+
readonly extensionData: Uint8Array;
|
|
197
200
|
readonly payloadLength: number;
|
|
198
201
|
readonly status?: bigint;
|
|
199
202
|
readonly payload: Uint8Array;
|
|
@@ -215,6 +218,7 @@ interface DatagramObject {
|
|
|
215
218
|
readonly objectId: bigint;
|
|
216
219
|
readonly publisherPriority: number;
|
|
217
220
|
readonly extensionCount: bigint;
|
|
221
|
+
readonly extensionData: Uint8Array;
|
|
218
222
|
readonly objectStatus: bigint;
|
|
219
223
|
readonly payloadLength: number;
|
|
220
224
|
readonly payload: Uint8Array;
|
|
@@ -230,11 +234,14 @@ interface DatagramStatusObject {
|
|
|
230
234
|
}
|
|
231
235
|
interface FetchObjectPayload {
|
|
232
236
|
readonly type: "object";
|
|
237
|
+
readonly byteOffset: number;
|
|
238
|
+
readonly payloadByteOffset: number;
|
|
233
239
|
readonly groupId: bigint;
|
|
234
240
|
readonly subgroupId: bigint;
|
|
235
241
|
readonly objectId: bigint;
|
|
236
242
|
readonly publisherPriority: number;
|
|
237
243
|
readonly extensionCount: bigint;
|
|
244
|
+
readonly extensionData: Uint8Array;
|
|
238
245
|
readonly payloadLength: number;
|
|
239
246
|
readonly status?: bigint;
|
|
240
247
|
readonly payload: Uint8Array;
|
|
@@ -259,4 +266,4 @@ interface FetchStreamHeader {
|
|
|
259
266
|
type DataStreamHeader = SubgroupStreamHeader | FetchStreamHeader;
|
|
260
267
|
type DataStreamEvent = DataStreamHeader | ObjectPayload;
|
|
261
268
|
|
|
262
|
-
export type { Draft08SubscribeError as A, Draft08SubscribeOk as B, Draft08SubscribeUpdate as C, Draft08DataStream as D, Draft08SubscribesBlocked as E,
|
|
269
|
+
export type { Draft08SubscribeError as A, Draft08SubscribeOk as B, Draft08SubscribeUpdate as C, Draft08DataStream as D, Draft08SubscribesBlocked as E, FetchStream as F, Draft08TrackStatus as G, Draft08TrackStatusRequest as H, Draft08Unannounce as I, Draft08Unsubscribe as J, Draft08UnsubscribeAnnounces as K, FetchObjectPayload as L, FetchStreamHeader as M, JoiningFetch as N, ObjectPayload as O, StandaloneFetch as P, SubgroupStreamHeader as Q, SubgroupStream as S, UnknownParam as U, Draft08Message as a, Draft08Params as b, Draft08SetupParams as c, DatagramObject as d, DatagramStatusObject as e, Draft08MessageType as f, DataStreamEvent as g, DataStreamHeader as h, Draft08Announce as i, Draft08AnnounceCancel as j, Draft08AnnounceError as k, Draft08AnnounceOk as l, Draft08BaseMessage as m, Draft08ClientSetup as n, Draft08Fetch as o, Draft08FetchCancel as p, Draft08FetchError as q, Draft08FetchOk as r, Draft08GoAway as s, Draft08MaxSubscribeId as t, Draft08ServerSetup as u, Draft08Subscribe as v, Draft08SubscribeAnnounces as w, Draft08SubscribeAnnouncesError as x, Draft08SubscribeAnnouncesOk as y, Draft08SubscribeDone as z };
|
|
@@ -192,8 +192,11 @@ interface Draft08SubscribesBlocked extends Draft08BaseMessage {
|
|
|
192
192
|
type Draft08Message = Draft08ClientSetup | Draft08ServerSetup | Draft08Subscribe | Draft08SubscribeOk | Draft08SubscribeError | Draft08SubscribeUpdate | Draft08SubscribeDone | Draft08Unsubscribe | Draft08Announce | Draft08AnnounceOk | Draft08AnnounceError | Draft08Unannounce | Draft08AnnounceCancel | Draft08SubscribeAnnounces | Draft08SubscribeAnnouncesOk | Draft08SubscribeAnnouncesError | Draft08UnsubscribeAnnounces | Draft08Fetch | Draft08FetchOk | Draft08FetchError | Draft08FetchCancel | Draft08TrackStatusRequest | Draft08TrackStatus | Draft08GoAway | Draft08MaxSubscribeId | Draft08SubscribesBlocked;
|
|
193
193
|
interface ObjectPayload {
|
|
194
194
|
readonly type: "object";
|
|
195
|
+
readonly byteOffset: number;
|
|
196
|
+
readonly payloadByteOffset: number;
|
|
195
197
|
readonly objectId: bigint;
|
|
196
198
|
readonly extensionCount: bigint;
|
|
199
|
+
readonly extensionData: Uint8Array;
|
|
197
200
|
readonly payloadLength: number;
|
|
198
201
|
readonly status?: bigint;
|
|
199
202
|
readonly payload: Uint8Array;
|
|
@@ -215,6 +218,7 @@ interface DatagramObject {
|
|
|
215
218
|
readonly objectId: bigint;
|
|
216
219
|
readonly publisherPriority: number;
|
|
217
220
|
readonly extensionCount: bigint;
|
|
221
|
+
readonly extensionData: Uint8Array;
|
|
218
222
|
readonly objectStatus: bigint;
|
|
219
223
|
readonly payloadLength: number;
|
|
220
224
|
readonly payload: Uint8Array;
|
|
@@ -230,11 +234,14 @@ interface DatagramStatusObject {
|
|
|
230
234
|
}
|
|
231
235
|
interface FetchObjectPayload {
|
|
232
236
|
readonly type: "object";
|
|
237
|
+
readonly byteOffset: number;
|
|
238
|
+
readonly payloadByteOffset: number;
|
|
233
239
|
readonly groupId: bigint;
|
|
234
240
|
readonly subgroupId: bigint;
|
|
235
241
|
readonly objectId: bigint;
|
|
236
242
|
readonly publisherPriority: number;
|
|
237
243
|
readonly extensionCount: bigint;
|
|
244
|
+
readonly extensionData: Uint8Array;
|
|
238
245
|
readonly payloadLength: number;
|
|
239
246
|
readonly status?: bigint;
|
|
240
247
|
readonly payload: Uint8Array;
|
|
@@ -259,4 +266,4 @@ interface FetchStreamHeader {
|
|
|
259
266
|
type DataStreamHeader = SubgroupStreamHeader | FetchStreamHeader;
|
|
260
267
|
type DataStreamEvent = DataStreamHeader | ObjectPayload;
|
|
261
268
|
|
|
262
|
-
export type { Draft08SubscribeError as A, Draft08SubscribeOk as B, Draft08SubscribeUpdate as C, Draft08DataStream as D, Draft08SubscribesBlocked as E,
|
|
269
|
+
export type { Draft08SubscribeError as A, Draft08SubscribeOk as B, Draft08SubscribeUpdate as C, Draft08DataStream as D, Draft08SubscribesBlocked as E, FetchStream as F, Draft08TrackStatus as G, Draft08TrackStatusRequest as H, Draft08Unannounce as I, Draft08Unsubscribe as J, Draft08UnsubscribeAnnounces as K, FetchObjectPayload as L, FetchStreamHeader as M, JoiningFetch as N, ObjectPayload as O, StandaloneFetch as P, SubgroupStreamHeader as Q, SubgroupStream as S, UnknownParam as U, Draft08Message as a, Draft08Params as b, Draft08SetupParams as c, DatagramObject as d, DatagramStatusObject as e, Draft08MessageType as f, DataStreamEvent as g, DataStreamHeader as h, Draft08Announce as i, Draft08AnnounceCancel as j, Draft08AnnounceError as k, Draft08AnnounceOk as l, Draft08BaseMessage as m, Draft08ClientSetup as n, Draft08Fetch as o, Draft08FetchCancel as p, Draft08FetchError as q, Draft08FetchOk as r, Draft08GoAway as s, Draft08MaxSubscribeId as t, Draft08ServerSetup as u, Draft08Subscribe as v, Draft08SubscribeAnnounces as w, Draft08SubscribeAnnouncesError as x, Draft08SubscribeAnnouncesOk as y, Draft08SubscribeDone as z };
|
|
@@ -206,12 +206,17 @@ interface Draft14RequestsBlocked extends Draft14BaseMessage {
|
|
|
206
206
|
type Draft14Message = Draft14ClientSetup | Draft14ServerSetup | Draft14Subscribe | Draft14SubscribeOk | Draft14SubscribeUpdate | Draft14SubscribeError | Draft14Unsubscribe | Draft14Publish | Draft14PublishOk | Draft14PublishError | Draft14PublishDone | Draft14PublishNamespace | Draft14PublishNamespaceOk | Draft14PublishNamespaceError | Draft14PublishNamespaceDone | Draft14PublishNamespaceCancel | Draft14SubscribeNamespace | Draft14SubscribeNamespaceOk | Draft14SubscribeNamespaceError | Draft14UnsubscribeNamespace | Draft14Fetch | Draft14FetchOk | Draft14FetchError | Draft14FetchCancel | Draft14TrackStatus | Draft14TrackStatusOk | Draft14TrackStatusError | Draft14GoAway | Draft14MaxRequestId | Draft14RequestsBlocked;
|
|
207
207
|
interface ObjectPayload {
|
|
208
208
|
readonly type: "object";
|
|
209
|
+
readonly byteOffset: number;
|
|
210
|
+
readonly payloadByteOffset: number;
|
|
209
211
|
readonly objectId: bigint;
|
|
210
212
|
readonly payloadLength: number;
|
|
211
213
|
readonly payload: Uint8Array;
|
|
214
|
+
readonly status?: bigint;
|
|
215
|
+
readonly extensionData: Uint8Array;
|
|
212
216
|
}
|
|
213
217
|
interface SubgroupStream {
|
|
214
218
|
readonly type: "subgroup";
|
|
219
|
+
readonly headerType: number;
|
|
215
220
|
readonly trackAlias: bigint;
|
|
216
221
|
readonly groupId: bigint;
|
|
217
222
|
readonly subgroupId: bigint;
|
|
@@ -220,20 +225,30 @@ interface SubgroupStream {
|
|
|
220
225
|
}
|
|
221
226
|
interface DatagramObject {
|
|
222
227
|
readonly type: "datagram";
|
|
228
|
+
readonly datagramType: number;
|
|
223
229
|
readonly trackAlias: bigint;
|
|
224
230
|
readonly groupId: bigint;
|
|
225
231
|
readonly objectId: bigint;
|
|
232
|
+
readonly publisherPriority: number;
|
|
233
|
+
readonly endOfGroup?: boolean;
|
|
234
|
+
readonly objectStatus?: bigint;
|
|
226
235
|
readonly payloadLength: number;
|
|
227
236
|
readonly payload: Uint8Array;
|
|
228
237
|
}
|
|
238
|
+
interface FetchObjectPayload extends ObjectPayload {
|
|
239
|
+
readonly groupId: bigint;
|
|
240
|
+
readonly subgroupId: bigint;
|
|
241
|
+
readonly publisherPriority: number;
|
|
242
|
+
}
|
|
229
243
|
interface FetchStream {
|
|
230
244
|
readonly type: "fetch";
|
|
231
|
-
readonly
|
|
232
|
-
readonly objects:
|
|
245
|
+
readonly requestId: bigint;
|
|
246
|
+
readonly objects: FetchObjectPayload[];
|
|
233
247
|
}
|
|
234
248
|
type Draft14DataStream = SubgroupStream | DatagramObject | FetchStream;
|
|
235
249
|
interface SubgroupStreamHeader {
|
|
236
250
|
readonly type: "subgroup_header";
|
|
251
|
+
readonly headerType: number;
|
|
237
252
|
readonly trackAlias: bigint;
|
|
238
253
|
readonly groupId: bigint;
|
|
239
254
|
readonly subgroupId: bigint;
|
|
@@ -241,9 +256,9 @@ interface SubgroupStreamHeader {
|
|
|
241
256
|
}
|
|
242
257
|
interface FetchStreamHeader {
|
|
243
258
|
readonly type: "fetch_header";
|
|
244
|
-
readonly
|
|
259
|
+
readonly requestId: bigint;
|
|
245
260
|
}
|
|
246
261
|
type DataStreamHeader = SubgroupStreamHeader | FetchStreamHeader;
|
|
247
262
|
type DataStreamEvent = DataStreamHeader | ObjectPayload;
|
|
248
263
|
|
|
249
|
-
export type {
|
|
264
|
+
export type { Draft14ServerSetup as A, Draft14Subscribe as B, Draft14SubscribeError as C, Draft14DataStream as D, Draft14SubscribeNamespace as E, FetchStreamHeader as F, Draft14SubscribeNamespaceError as G, Draft14SubscribeNamespaceOk as H, Draft14SubscribeOk as I, Draft14SubscribeUpdate as J, Draft14TrackStatus as K, Draft14TrackStatusError as L, Draft14TrackStatusOk as M, Draft14Unsubscribe as N, ObjectPayload as O, Draft14UnsubscribeNamespace as P, SubgroupStreamHeader as S, UnknownParam as U, Draft14Message as a, Draft14Params as b, DataStreamEvent as c, DatagramObject as d, FetchStream as e, SubgroupStream as f, Draft14MessageType as g, DataStreamHeader as h, Draft14BaseMessage as i, Draft14ClientSetup as j, Draft14Fetch as k, Draft14FetchCancel as l, Draft14FetchError as m, Draft14FetchOk as n, Draft14GoAway as o, Draft14MaxRequestId as p, Draft14Publish as q, Draft14PublishDone as r, Draft14PublishError as s, Draft14PublishNamespace as t, Draft14PublishNamespaceCancel as u, Draft14PublishNamespaceDone as v, Draft14PublishNamespaceError as w, Draft14PublishNamespaceOk as x, Draft14PublishOk as y, Draft14RequestsBlocked as z };
|
|
@@ -206,12 +206,17 @@ interface Draft14RequestsBlocked extends Draft14BaseMessage {
|
|
|
206
206
|
type Draft14Message = Draft14ClientSetup | Draft14ServerSetup | Draft14Subscribe | Draft14SubscribeOk | Draft14SubscribeUpdate | Draft14SubscribeError | Draft14Unsubscribe | Draft14Publish | Draft14PublishOk | Draft14PublishError | Draft14PublishDone | Draft14PublishNamespace | Draft14PublishNamespaceOk | Draft14PublishNamespaceError | Draft14PublishNamespaceDone | Draft14PublishNamespaceCancel | Draft14SubscribeNamespace | Draft14SubscribeNamespaceOk | Draft14SubscribeNamespaceError | Draft14UnsubscribeNamespace | Draft14Fetch | Draft14FetchOk | Draft14FetchError | Draft14FetchCancel | Draft14TrackStatus | Draft14TrackStatusOk | Draft14TrackStatusError | Draft14GoAway | Draft14MaxRequestId | Draft14RequestsBlocked;
|
|
207
207
|
interface ObjectPayload {
|
|
208
208
|
readonly type: "object";
|
|
209
|
+
readonly byteOffset: number;
|
|
210
|
+
readonly payloadByteOffset: number;
|
|
209
211
|
readonly objectId: bigint;
|
|
210
212
|
readonly payloadLength: number;
|
|
211
213
|
readonly payload: Uint8Array;
|
|
214
|
+
readonly status?: bigint;
|
|
215
|
+
readonly extensionData: Uint8Array;
|
|
212
216
|
}
|
|
213
217
|
interface SubgroupStream {
|
|
214
218
|
readonly type: "subgroup";
|
|
219
|
+
readonly headerType: number;
|
|
215
220
|
readonly trackAlias: bigint;
|
|
216
221
|
readonly groupId: bigint;
|
|
217
222
|
readonly subgroupId: bigint;
|
|
@@ -220,20 +225,30 @@ interface SubgroupStream {
|
|
|
220
225
|
}
|
|
221
226
|
interface DatagramObject {
|
|
222
227
|
readonly type: "datagram";
|
|
228
|
+
readonly datagramType: number;
|
|
223
229
|
readonly trackAlias: bigint;
|
|
224
230
|
readonly groupId: bigint;
|
|
225
231
|
readonly objectId: bigint;
|
|
232
|
+
readonly publisherPriority: number;
|
|
233
|
+
readonly endOfGroup?: boolean;
|
|
234
|
+
readonly objectStatus?: bigint;
|
|
226
235
|
readonly payloadLength: number;
|
|
227
236
|
readonly payload: Uint8Array;
|
|
228
237
|
}
|
|
238
|
+
interface FetchObjectPayload extends ObjectPayload {
|
|
239
|
+
readonly groupId: bigint;
|
|
240
|
+
readonly subgroupId: bigint;
|
|
241
|
+
readonly publisherPriority: number;
|
|
242
|
+
}
|
|
229
243
|
interface FetchStream {
|
|
230
244
|
readonly type: "fetch";
|
|
231
|
-
readonly
|
|
232
|
-
readonly objects:
|
|
245
|
+
readonly requestId: bigint;
|
|
246
|
+
readonly objects: FetchObjectPayload[];
|
|
233
247
|
}
|
|
234
248
|
type Draft14DataStream = SubgroupStream | DatagramObject | FetchStream;
|
|
235
249
|
interface SubgroupStreamHeader {
|
|
236
250
|
readonly type: "subgroup_header";
|
|
251
|
+
readonly headerType: number;
|
|
237
252
|
readonly trackAlias: bigint;
|
|
238
253
|
readonly groupId: bigint;
|
|
239
254
|
readonly subgroupId: bigint;
|
|
@@ -241,9 +256,9 @@ interface SubgroupStreamHeader {
|
|
|
241
256
|
}
|
|
242
257
|
interface FetchStreamHeader {
|
|
243
258
|
readonly type: "fetch_header";
|
|
244
|
-
readonly
|
|
259
|
+
readonly requestId: bigint;
|
|
245
260
|
}
|
|
246
261
|
type DataStreamHeader = SubgroupStreamHeader | FetchStreamHeader;
|
|
247
262
|
type DataStreamEvent = DataStreamHeader | ObjectPayload;
|
|
248
263
|
|
|
249
|
-
export type {
|
|
264
|
+
export type { Draft14ServerSetup as A, Draft14Subscribe as B, Draft14SubscribeError as C, Draft14DataStream as D, Draft14SubscribeNamespace as E, FetchStreamHeader as F, Draft14SubscribeNamespaceError as G, Draft14SubscribeNamespaceOk as H, Draft14SubscribeOk as I, Draft14SubscribeUpdate as J, Draft14TrackStatus as K, Draft14TrackStatusError as L, Draft14TrackStatusOk as M, Draft14Unsubscribe as N, ObjectPayload as O, Draft14UnsubscribeNamespace as P, SubgroupStreamHeader as S, UnknownParam as U, Draft14Message as a, Draft14Params as b, DataStreamEvent as c, DatagramObject as d, FetchStream as e, SubgroupStream as f, Draft14MessageType as g, DataStreamHeader as h, Draft14BaseMessage as i, Draft14ClientSetup as j, Draft14Fetch as k, Draft14FetchCancel as l, Draft14FetchError as m, Draft14FetchOk as n, Draft14GoAway as o, Draft14MaxRequestId as p, Draft14Publish as q, Draft14PublishDone as r, Draft14PublishError as s, Draft14PublishNamespace as t, Draft14PublishNamespaceCancel as u, Draft14PublishNamespaceDone as v, Draft14PublishNamespaceError as w, Draft14PublishNamespaceOk as x, Draft14PublishOk as y, Draft14RequestsBlocked as z };
|
|
@@ -203,7 +203,10 @@ interface Draft11RequestsBlocked extends Draft11BaseMessage {
|
|
|
203
203
|
type Draft11Message = Draft11ClientSetup | Draft11ServerSetup | Draft11Subscribe | Draft11SubscribeOk | Draft11SubscribeError | Draft11SubscribeUpdate | Draft11SubscribeDone | Draft11Unsubscribe | Draft11Announce | Draft11AnnounceOk | Draft11AnnounceError | Draft11Unannounce | Draft11AnnounceCancel | Draft11SubscribeAnnounces | Draft11SubscribeAnnouncesOk | Draft11SubscribeAnnouncesError | Draft11UnsubscribeAnnounces | Draft11Fetch | Draft11FetchOk | Draft11FetchError | Draft11FetchCancel | Draft11TrackStatusRequest | Draft11TrackStatus | Draft11GoAway | Draft11MaxRequestId | Draft11RequestsBlocked;
|
|
204
204
|
interface ObjectPayload {
|
|
205
205
|
readonly type: "object";
|
|
206
|
+
readonly byteOffset: number;
|
|
207
|
+
readonly payloadByteOffset: number;
|
|
206
208
|
readonly objectId: bigint;
|
|
209
|
+
readonly extensionData: Uint8Array;
|
|
207
210
|
readonly payloadLength: number;
|
|
208
211
|
readonly status?: bigint;
|
|
209
212
|
readonly payload: Uint8Array;
|
|
@@ -230,11 +233,14 @@ interface DatagramObject {
|
|
|
230
233
|
}
|
|
231
234
|
interface FetchObjectPayload {
|
|
232
235
|
readonly type: "object";
|
|
236
|
+
readonly byteOffset: number;
|
|
237
|
+
readonly payloadByteOffset: number;
|
|
233
238
|
readonly groupId: bigint;
|
|
234
239
|
readonly subgroupId: bigint;
|
|
235
240
|
readonly objectId: bigint;
|
|
236
241
|
readonly publisherPriority: number;
|
|
237
242
|
readonly extensionHeadersLength: bigint;
|
|
243
|
+
readonly extensionData: Uint8Array;
|
|
238
244
|
readonly payloadLength: number;
|
|
239
245
|
readonly payload: Uint8Array;
|
|
240
246
|
}
|
|
@@ -258,4 +264,4 @@ interface FetchStreamHeader {
|
|
|
258
264
|
type DataStreamHeader = SubgroupStreamHeader | FetchStreamHeader;
|
|
259
265
|
type DataStreamEvent = DataStreamHeader | ObjectPayload;
|
|
260
266
|
|
|
261
|
-
export type { AuthorizationToken as A, Draft11SubscribeError as B, Draft11SubscribeOk as C, Draft11DataStream as D, Draft11SubscribeUpdate as E,
|
|
267
|
+
export type { AuthorizationToken as A, Draft11SubscribeError as B, Draft11SubscribeOk as C, Draft11DataStream as D, Draft11SubscribeUpdate as E, FetchStream as F, Draft11TrackStatus as G, Draft11TrackStatusRequest as H, Draft11Unannounce as I, Draft11Unsubscribe as J, Draft11UnsubscribeAnnounces as K, FetchObjectPayload as L, FetchStreamHeader as M, JoiningFetch as N, LargestLocation as O, ObjectPayload as P, StandaloneFetch as Q, SubgroupStreamHeader as R, SubgroupStream as S, UnknownParam as U, Draft11Message as a, Draft11Params as b, Draft11SetupParams as c, DatagramObject as d, Draft11MessageType as e, DataStreamEvent as f, DataStreamHeader as g, Draft11Announce as h, Draft11AnnounceCancel as i, Draft11AnnounceError as j, Draft11AnnounceOk as k, Draft11BaseMessage as l, Draft11ClientSetup as m, Draft11Fetch as n, Draft11FetchCancel as o, Draft11FetchError as p, Draft11FetchOk as q, Draft11GoAway as r, Draft11MaxRequestId as s, Draft11RequestsBlocked as t, Draft11ServerSetup as u, Draft11Subscribe as v, Draft11SubscribeAnnounces as w, Draft11SubscribeAnnouncesError as x, Draft11SubscribeAnnouncesOk as y, Draft11SubscribeDone as z };
|
|
@@ -203,7 +203,10 @@ interface Draft11RequestsBlocked extends Draft11BaseMessage {
|
|
|
203
203
|
type Draft11Message = Draft11ClientSetup | Draft11ServerSetup | Draft11Subscribe | Draft11SubscribeOk | Draft11SubscribeError | Draft11SubscribeUpdate | Draft11SubscribeDone | Draft11Unsubscribe | Draft11Announce | Draft11AnnounceOk | Draft11AnnounceError | Draft11Unannounce | Draft11AnnounceCancel | Draft11SubscribeAnnounces | Draft11SubscribeAnnouncesOk | Draft11SubscribeAnnouncesError | Draft11UnsubscribeAnnounces | Draft11Fetch | Draft11FetchOk | Draft11FetchError | Draft11FetchCancel | Draft11TrackStatusRequest | Draft11TrackStatus | Draft11GoAway | Draft11MaxRequestId | Draft11RequestsBlocked;
|
|
204
204
|
interface ObjectPayload {
|
|
205
205
|
readonly type: "object";
|
|
206
|
+
readonly byteOffset: number;
|
|
207
|
+
readonly payloadByteOffset: number;
|
|
206
208
|
readonly objectId: bigint;
|
|
209
|
+
readonly extensionData: Uint8Array;
|
|
207
210
|
readonly payloadLength: number;
|
|
208
211
|
readonly status?: bigint;
|
|
209
212
|
readonly payload: Uint8Array;
|
|
@@ -230,11 +233,14 @@ interface DatagramObject {
|
|
|
230
233
|
}
|
|
231
234
|
interface FetchObjectPayload {
|
|
232
235
|
readonly type: "object";
|
|
236
|
+
readonly byteOffset: number;
|
|
237
|
+
readonly payloadByteOffset: number;
|
|
233
238
|
readonly groupId: bigint;
|
|
234
239
|
readonly subgroupId: bigint;
|
|
235
240
|
readonly objectId: bigint;
|
|
236
241
|
readonly publisherPriority: number;
|
|
237
242
|
readonly extensionHeadersLength: bigint;
|
|
243
|
+
readonly extensionData: Uint8Array;
|
|
238
244
|
readonly payloadLength: number;
|
|
239
245
|
readonly payload: Uint8Array;
|
|
240
246
|
}
|
|
@@ -258,4 +264,4 @@ interface FetchStreamHeader {
|
|
|
258
264
|
type DataStreamHeader = SubgroupStreamHeader | FetchStreamHeader;
|
|
259
265
|
type DataStreamEvent = DataStreamHeader | ObjectPayload;
|
|
260
266
|
|
|
261
|
-
export type { AuthorizationToken as A, Draft11SubscribeError as B, Draft11SubscribeOk as C, Draft11DataStream as D, Draft11SubscribeUpdate as E,
|
|
267
|
+
export type { AuthorizationToken as A, Draft11SubscribeError as B, Draft11SubscribeOk as C, Draft11DataStream as D, Draft11SubscribeUpdate as E, FetchStream as F, Draft11TrackStatus as G, Draft11TrackStatusRequest as H, Draft11Unannounce as I, Draft11Unsubscribe as J, Draft11UnsubscribeAnnounces as K, FetchObjectPayload as L, FetchStreamHeader as M, JoiningFetch as N, LargestLocation as O, ObjectPayload as P, StandaloneFetch as Q, SubgroupStreamHeader as R, SubgroupStream as S, UnknownParam as U, Draft11Message as a, Draft11Params as b, Draft11SetupParams as c, DatagramObject as d, Draft11MessageType as e, DataStreamEvent as f, DataStreamHeader as g, Draft11Announce as h, Draft11AnnounceCancel as i, Draft11AnnounceError as j, Draft11AnnounceOk as k, Draft11BaseMessage as l, Draft11ClientSetup as m, Draft11Fetch as n, Draft11FetchCancel as o, Draft11FetchError as p, Draft11FetchOk as q, Draft11GoAway as r, Draft11MaxRequestId as s, Draft11RequestsBlocked as t, Draft11ServerSetup as u, Draft11Subscribe as v, Draft11SubscribeAnnounces as w, Draft11SubscribeAnnouncesError as x, Draft11SubscribeAnnouncesOk as y, Draft11SubscribeDone as z };
|
|
@@ -181,9 +181,12 @@ interface Draft16RequestsBlocked extends Draft16BaseMessage {
|
|
|
181
181
|
type Draft16Message = Draft16ClientSetup | Draft16ServerSetup | Draft16Subscribe | Draft16SubscribeOk | Draft16RequestUpdate | Draft16Unsubscribe | Draft16Publish | Draft16PublishOk | Draft16PublishDone | Draft16PublishNamespace | Draft16PublishNamespaceDone | Draft16PublishNamespaceCancel | Draft16SubscribeNamespace | Draft16Namespace | Draft16NamespaceDone | Draft16Fetch | Draft16FetchOk | Draft16FetchCancel | Draft16TrackStatus | Draft16RequestOk | Draft16RequestError | Draft16GoAway | Draft16MaxRequestId | Draft16RequestsBlocked;
|
|
182
182
|
interface ObjectPayload {
|
|
183
183
|
readonly type: "object";
|
|
184
|
+
readonly byteOffset: number;
|
|
185
|
+
readonly payloadByteOffset: number;
|
|
184
186
|
readonly objectId: bigint;
|
|
185
187
|
readonly payloadLength: number;
|
|
186
188
|
readonly status?: bigint;
|
|
189
|
+
readonly extensionData: Uint8Array;
|
|
187
190
|
readonly payload: Uint8Array;
|
|
188
191
|
}
|
|
189
192
|
interface SubgroupStream {
|
|
@@ -233,4 +236,4 @@ interface FetchStreamHeader {
|
|
|
233
236
|
type DataStreamHeader = SubgroupStreamHeader | FetchStreamHeader;
|
|
234
237
|
type DataStreamEvent = DataStreamHeader | ObjectPayload;
|
|
235
238
|
|
|
236
|
-
export type {
|
|
239
|
+
export type { Draft16RequestUpdate as A, Draft16RequestsBlocked as B, Draft16ServerSetup as C, Draft16DataStream as D, Draft16Subscribe as E, FetchStreamHeader as F, Draft16SubscribeNamespace as G, Draft16SubscribeOk as H, Draft16TrackStatus as I, Draft16Unsubscribe as J, FetchObjectPayload as K, JoiningFetch as L, LargestObject as M, StandaloneFetch as N, ObjectPayload as O, SubscriptionFilter as P, SubgroupStreamHeader as S, UnknownParam as U, Draft16Message as a, Draft16Params as b, Draft16SetupParams as c, DataStreamEvent as d, DatagramObject as e, FetchStream as f, SubgroupStream as g, Draft16MessageType as h, DataStreamHeader as i, Draft16BaseMessage as j, Draft16ClientSetup as k, Draft16Fetch as l, Draft16FetchCancel as m, Draft16FetchOk as n, Draft16GoAway as o, Draft16MaxRequestId as p, Draft16Namespace as q, Draft16NamespaceDone as r, Draft16Publish as s, Draft16PublishDone as t, Draft16PublishNamespace as u, Draft16PublishNamespaceCancel as v, Draft16PublishNamespaceDone as w, Draft16PublishOk as x, Draft16RequestError as y, Draft16RequestOk as z };
|
|
@@ -181,9 +181,12 @@ interface Draft16RequestsBlocked extends Draft16BaseMessage {
|
|
|
181
181
|
type Draft16Message = Draft16ClientSetup | Draft16ServerSetup | Draft16Subscribe | Draft16SubscribeOk | Draft16RequestUpdate | Draft16Unsubscribe | Draft16Publish | Draft16PublishOk | Draft16PublishDone | Draft16PublishNamespace | Draft16PublishNamespaceDone | Draft16PublishNamespaceCancel | Draft16SubscribeNamespace | Draft16Namespace | Draft16NamespaceDone | Draft16Fetch | Draft16FetchOk | Draft16FetchCancel | Draft16TrackStatus | Draft16RequestOk | Draft16RequestError | Draft16GoAway | Draft16MaxRequestId | Draft16RequestsBlocked;
|
|
182
182
|
interface ObjectPayload {
|
|
183
183
|
readonly type: "object";
|
|
184
|
+
readonly byteOffset: number;
|
|
185
|
+
readonly payloadByteOffset: number;
|
|
184
186
|
readonly objectId: bigint;
|
|
185
187
|
readonly payloadLength: number;
|
|
186
188
|
readonly status?: bigint;
|
|
189
|
+
readonly extensionData: Uint8Array;
|
|
187
190
|
readonly payload: Uint8Array;
|
|
188
191
|
}
|
|
189
192
|
interface SubgroupStream {
|
|
@@ -233,4 +236,4 @@ interface FetchStreamHeader {
|
|
|
233
236
|
type DataStreamHeader = SubgroupStreamHeader | FetchStreamHeader;
|
|
234
237
|
type DataStreamEvent = DataStreamHeader | ObjectPayload;
|
|
235
238
|
|
|
236
|
-
export type {
|
|
239
|
+
export type { Draft16RequestUpdate as A, Draft16RequestsBlocked as B, Draft16ServerSetup as C, Draft16DataStream as D, Draft16Subscribe as E, FetchStreamHeader as F, Draft16SubscribeNamespace as G, Draft16SubscribeOk as H, Draft16TrackStatus as I, Draft16Unsubscribe as J, FetchObjectPayload as K, JoiningFetch as L, LargestObject as M, StandaloneFetch as N, ObjectPayload as O, SubscriptionFilter as P, SubgroupStreamHeader as S, UnknownParam as U, Draft16Message as a, Draft16Params as b, Draft16SetupParams as c, DataStreamEvent as d, DatagramObject as e, FetchStream as f, SubgroupStream as g, Draft16MessageType as h, DataStreamHeader as i, Draft16BaseMessage as j, Draft16ClientSetup as k, Draft16Fetch as l, Draft16FetchCancel as m, Draft16FetchOk as n, Draft16GoAway as o, Draft16MaxRequestId as p, Draft16Namespace as q, Draft16NamespaceDone as r, Draft16Publish as s, Draft16PublishDone as t, Draft16PublishNamespace as u, Draft16PublishNamespaceCancel as v, Draft16PublishNamespaceDone as w, Draft16PublishOk as x, Draft16RequestError as y, Draft16RequestOk as z };
|
|
@@ -192,8 +192,11 @@ interface Draft09SubscribesBlocked extends Draft09BaseMessage {
|
|
|
192
192
|
type Draft09Message = Draft09ClientSetup | Draft09ServerSetup | Draft09Subscribe | Draft09SubscribeOk | Draft09SubscribeError | Draft09SubscribeUpdate | Draft09SubscribeDone | Draft09Unsubscribe | Draft09Announce | Draft09AnnounceOk | Draft09AnnounceError | Draft09Unannounce | Draft09AnnounceCancel | Draft09SubscribeAnnounces | Draft09SubscribeAnnouncesOk | Draft09SubscribeAnnouncesError | Draft09UnsubscribeAnnounces | Draft09Fetch | Draft09FetchOk | Draft09FetchError | Draft09FetchCancel | Draft09TrackStatusRequest | Draft09TrackStatus | Draft09GoAway | Draft09MaxSubscribeId | Draft09SubscribesBlocked;
|
|
193
193
|
interface ObjectPayload {
|
|
194
194
|
readonly type: "object";
|
|
195
|
+
readonly byteOffset: number;
|
|
196
|
+
readonly payloadByteOffset: number;
|
|
195
197
|
readonly objectId: bigint;
|
|
196
198
|
readonly extensionHeadersLength: bigint;
|
|
199
|
+
readonly extensionData: Uint8Array;
|
|
197
200
|
readonly payloadLength: number;
|
|
198
201
|
readonly status?: bigint;
|
|
199
202
|
readonly payload: Uint8Array;
|
|
@@ -215,6 +218,7 @@ interface DatagramObject {
|
|
|
215
218
|
readonly objectId: bigint;
|
|
216
219
|
readonly publisherPriority: number;
|
|
217
220
|
readonly extensionHeadersLength: bigint;
|
|
221
|
+
readonly extensionData: Uint8Array;
|
|
218
222
|
readonly payload: Uint8Array;
|
|
219
223
|
}
|
|
220
224
|
interface DatagramStatusObject {
|
|
@@ -225,15 +229,19 @@ interface DatagramStatusObject {
|
|
|
225
229
|
readonly objectId: bigint;
|
|
226
230
|
readonly publisherPriority: number;
|
|
227
231
|
readonly extensionHeadersLength: bigint;
|
|
232
|
+
readonly extensionData: Uint8Array;
|
|
228
233
|
readonly objectStatus: bigint;
|
|
229
234
|
}
|
|
230
235
|
interface FetchObjectPayload {
|
|
231
236
|
readonly type: "object";
|
|
237
|
+
readonly byteOffset: number;
|
|
238
|
+
readonly payloadByteOffset: number;
|
|
232
239
|
readonly groupId: bigint;
|
|
233
240
|
readonly subgroupId: bigint;
|
|
234
241
|
readonly objectId: bigint;
|
|
235
242
|
readonly publisherPriority: number;
|
|
236
243
|
readonly extensionHeadersLength: bigint;
|
|
244
|
+
readonly extensionData: Uint8Array;
|
|
237
245
|
readonly payloadLength: number;
|
|
238
246
|
readonly status?: bigint;
|
|
239
247
|
readonly payload: Uint8Array;
|
|
@@ -258,4 +266,4 @@ interface FetchStreamHeader {
|
|
|
258
266
|
type DataStreamHeader = SubgroupStreamHeader | FetchStreamHeader;
|
|
259
267
|
type DataStreamEvent = DataStreamHeader | ObjectPayload;
|
|
260
268
|
|
|
261
|
-
export type { Draft09SubscribeError as A, Draft09SubscribeOk as B, Draft09SubscribeUpdate as C, Draft09DataStream as D, Draft09SubscribesBlocked as E,
|
|
269
|
+
export type { Draft09SubscribeError as A, Draft09SubscribeOk as B, Draft09SubscribeUpdate as C, Draft09DataStream as D, Draft09SubscribesBlocked as E, FetchStream as F, Draft09TrackStatus as G, Draft09TrackStatusRequest as H, Draft09Unannounce as I, Draft09Unsubscribe as J, Draft09UnsubscribeAnnounces as K, FetchObjectPayload as L, FetchStreamHeader as M, JoiningFetch as N, ObjectPayload as O, StandaloneFetch as P, SubgroupStreamHeader as Q, SubgroupStream as S, UnknownParam as U, Draft09Message as a, Draft09Params as b, Draft09SetupParams as c, DatagramObject as d, DatagramStatusObject as e, Draft09MessageType as f, DataStreamEvent as g, DataStreamHeader as h, Draft09Announce as i, Draft09AnnounceCancel as j, Draft09AnnounceError as k, Draft09AnnounceOk as l, Draft09BaseMessage as m, Draft09ClientSetup as n, Draft09Fetch as o, Draft09FetchCancel as p, Draft09FetchError as q, Draft09FetchOk as r, Draft09GoAway as s, Draft09MaxSubscribeId as t, Draft09ServerSetup as u, Draft09Subscribe as v, Draft09SubscribeAnnounces as w, Draft09SubscribeAnnouncesError as x, Draft09SubscribeAnnouncesOk as y, Draft09SubscribeDone as z };
|
|
@@ -192,8 +192,11 @@ interface Draft09SubscribesBlocked extends Draft09BaseMessage {
|
|
|
192
192
|
type Draft09Message = Draft09ClientSetup | Draft09ServerSetup | Draft09Subscribe | Draft09SubscribeOk | Draft09SubscribeError | Draft09SubscribeUpdate | Draft09SubscribeDone | Draft09Unsubscribe | Draft09Announce | Draft09AnnounceOk | Draft09AnnounceError | Draft09Unannounce | Draft09AnnounceCancel | Draft09SubscribeAnnounces | Draft09SubscribeAnnouncesOk | Draft09SubscribeAnnouncesError | Draft09UnsubscribeAnnounces | Draft09Fetch | Draft09FetchOk | Draft09FetchError | Draft09FetchCancel | Draft09TrackStatusRequest | Draft09TrackStatus | Draft09GoAway | Draft09MaxSubscribeId | Draft09SubscribesBlocked;
|
|
193
193
|
interface ObjectPayload {
|
|
194
194
|
readonly type: "object";
|
|
195
|
+
readonly byteOffset: number;
|
|
196
|
+
readonly payloadByteOffset: number;
|
|
195
197
|
readonly objectId: bigint;
|
|
196
198
|
readonly extensionHeadersLength: bigint;
|
|
199
|
+
readonly extensionData: Uint8Array;
|
|
197
200
|
readonly payloadLength: number;
|
|
198
201
|
readonly status?: bigint;
|
|
199
202
|
readonly payload: Uint8Array;
|
|
@@ -215,6 +218,7 @@ interface DatagramObject {
|
|
|
215
218
|
readonly objectId: bigint;
|
|
216
219
|
readonly publisherPriority: number;
|
|
217
220
|
readonly extensionHeadersLength: bigint;
|
|
221
|
+
readonly extensionData: Uint8Array;
|
|
218
222
|
readonly payload: Uint8Array;
|
|
219
223
|
}
|
|
220
224
|
interface DatagramStatusObject {
|
|
@@ -225,15 +229,19 @@ interface DatagramStatusObject {
|
|
|
225
229
|
readonly objectId: bigint;
|
|
226
230
|
readonly publisherPriority: number;
|
|
227
231
|
readonly extensionHeadersLength: bigint;
|
|
232
|
+
readonly extensionData: Uint8Array;
|
|
228
233
|
readonly objectStatus: bigint;
|
|
229
234
|
}
|
|
230
235
|
interface FetchObjectPayload {
|
|
231
236
|
readonly type: "object";
|
|
237
|
+
readonly byteOffset: number;
|
|
238
|
+
readonly payloadByteOffset: number;
|
|
232
239
|
readonly groupId: bigint;
|
|
233
240
|
readonly subgroupId: bigint;
|
|
234
241
|
readonly objectId: bigint;
|
|
235
242
|
readonly publisherPriority: number;
|
|
236
243
|
readonly extensionHeadersLength: bigint;
|
|
244
|
+
readonly extensionData: Uint8Array;
|
|
237
245
|
readonly payloadLength: number;
|
|
238
246
|
readonly status?: bigint;
|
|
239
247
|
readonly payload: Uint8Array;
|
|
@@ -258,4 +266,4 @@ interface FetchStreamHeader {
|
|
|
258
266
|
type DataStreamHeader = SubgroupStreamHeader | FetchStreamHeader;
|
|
259
267
|
type DataStreamEvent = DataStreamHeader | ObjectPayload;
|
|
260
268
|
|
|
261
|
-
export type { Draft09SubscribeError as A, Draft09SubscribeOk as B, Draft09SubscribeUpdate as C, Draft09DataStream as D, Draft09SubscribesBlocked as E,
|
|
269
|
+
export type { Draft09SubscribeError as A, Draft09SubscribeOk as B, Draft09SubscribeUpdate as C, Draft09DataStream as D, Draft09SubscribesBlocked as E, FetchStream as F, Draft09TrackStatus as G, Draft09TrackStatusRequest as H, Draft09Unannounce as I, Draft09Unsubscribe as J, Draft09UnsubscribeAnnounces as K, FetchObjectPayload as L, FetchStreamHeader as M, JoiningFetch as N, ObjectPayload as O, StandaloneFetch as P, SubgroupStreamHeader as Q, SubgroupStream as S, UnknownParam as U, Draft09Message as a, Draft09Params as b, Draft09SetupParams as c, DatagramObject as d, DatagramStatusObject as e, Draft09MessageType as f, DataStreamEvent as g, DataStreamHeader as h, Draft09Announce as i, Draft09AnnounceCancel as j, Draft09AnnounceError as k, Draft09AnnounceOk as l, Draft09BaseMessage as m, Draft09ClientSetup as n, Draft09Fetch as o, Draft09FetchCancel as p, Draft09FetchError as q, Draft09FetchOk as r, Draft09GoAway as s, Draft09MaxSubscribeId as t, Draft09ServerSetup as u, Draft09Subscribe as v, Draft09SubscribeAnnounces as w, Draft09SubscribeAnnouncesError as x, Draft09SubscribeAnnouncesOk as y, Draft09SubscribeDone as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moqtap/codec",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.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.7.
|
|
187
|
+
"@moqtap/test-vectors": "^0.7.3",
|
|
188
188
|
"tsup": "^8.0.0",
|
|
189
189
|
"typescript": "^5.5.0",
|
|
190
190
|
"vitest": "^3.0.0"
|