@moq/net 0.4.7 → 0.22.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/README.md +7 -1
- package/announce.d.ts +1 -1
- package/announce.d.ts.map +1 -1
- package/announce.js +1 -2
- package/announce.js.map +1 -1
- package/announced.d.ts +51 -47
- package/announced.d.ts.map +1 -1
- package/announced.js +183 -32
- package/announced.js.map +1 -1
- package/announced.test-util.d.ts +2 -0
- package/announced.test-util.d.ts.map +1 -0
- package/announced.test-util.js +27 -0
- package/announced.test-util.js.map +1 -0
- package/auth.d.ts +64 -0
- package/auth.d.ts.map +1 -0
- package/auth.js +20 -0
- package/auth.js.map +1 -0
- package/auth_gate.d.ts +2 -0
- package/auth_gate.d.ts.map +1 -0
- package/auth_gate.js +24 -0
- package/auth_gate.js.map +1 -0
- package/auth_session.d.ts +49 -0
- package/auth_session.d.ts.map +1 -0
- package/auth_session.js +1097 -0
- package/auth_session.js.map +1 -0
- package/bandwidth.d.ts +129 -25
- package/bandwidth.d.ts.map +1 -1
- package/bandwidth.js +410 -139
- package/bandwidth.js.map +1 -1
- package/bandwidth_api.d.ts +1 -1
- package/bandwidth_api.d.ts.map +1 -1
- package/bandwidth_api.js +1 -2
- package/bandwidth_api.js.map +1 -1
- package/broadcast.d.ts +64 -38
- package/broadcast.d.ts.map +1 -1
- package/broadcast.js +556 -173
- package/broadcast.js.map +1 -1
- package/cache.d.ts +103 -0
- package/cache.d.ts.map +1 -0
- package/cache.js +254 -0
- package/cache.js.map +1 -0
- package/claim.test-util.d.ts +5 -0
- package/claim.test-util.d.ts.map +1 -0
- package/claim.test-util.js +13 -0
- package/claim.test-util.js.map +1 -0
- package/connection/accept.d.ts +21 -13
- package/connection/accept.d.ts.map +1 -1
- package/connection/accept.js +97 -130
- package/connection/accept.js.map +1 -1
- package/connection/browser.d.ts.map +1 -1
- package/connection/browser.js +28 -20
- package/connection/browser.js.map +1 -1
- package/connection/connect.d.ts +120 -24
- package/connection/connect.d.ts.map +1 -1
- package/connection/connect.js +535 -217
- package/connection/connect.js.map +1 -1
- package/connection/dials.d.ts +45 -0
- package/connection/dials.d.ts.map +1 -0
- package/connection/dials.js +109 -0
- package/connection/dials.js.map +1 -0
- package/connection/endpoint.d.ts +60 -0
- package/connection/endpoint.d.ts.map +1 -0
- package/connection/endpoint.js +114 -0
- package/connection/endpoint.js.map +1 -0
- package/connection/forward.d.ts +7 -1
- package/connection/forward.d.ts.map +1 -1
- package/connection/forward.js +265 -81
- package/connection/forward.js.map +1 -1
- package/connection/goaway.d.ts +16 -9
- package/connection/goaway.d.ts.map +1 -1
- package/connection/goaway.js +22 -95
- package/connection/goaway.js.map +1 -1
- package/connection/handshake.d.ts +34 -8
- package/connection/handshake.d.ts.map +1 -1
- package/connection/handshake.js +97 -21
- package/connection/handshake.js.map +1 -1
- package/connection/index.d.ts +4 -7
- package/connection/index.d.ts.map +1 -1
- package/connection/index.js +1 -3
- package/connection/index.js.map +1 -1
- package/connection/liveness.d.ts +14 -0
- package/connection/liveness.d.ts.map +1 -0
- package/connection/liveness.js +30 -0
- package/connection/liveness.js.map +1 -0
- package/connection/pool.d.ts +142 -63
- package/connection/pool.d.ts.map +1 -1
- package/connection/pool.js +281 -118
- package/connection/pool.js.map +1 -1
- package/connection/reload.d.ts +60 -12
- package/connection/reload.d.ts.map +1 -1
- package/connection/reload.js +859 -234
- package/connection/reload.js.map +1 -1
- package/connection/session.d.ts +91 -0
- package/connection/session.d.ts.map +1 -0
- package/connection/session.js +2 -0
- package/connection/session.js.map +1 -0
- package/connection/stats.d.ts +20 -11
- package/connection/stats.d.ts.map +1 -1
- package/connection/stats.js +64 -9
- package/connection/stats.js.map +1 -1
- package/connection/ticker.d.ts +4 -0
- package/connection/ticker.d.ts.map +1 -0
- package/connection/ticker.js +66 -0
- package/connection/ticker.js.map +1 -0
- package/connection/tokens.d.ts +2 -0
- package/connection/tokens.d.ts.map +1 -0
- package/connection/tokens.js +404 -0
- package/connection/tokens.js.map +1 -0
- package/connection/transport.d.ts.map +1 -1
- package/connection/transport.js +4 -5
- package/connection/transport.js.map +1 -1
- package/connection/withdrawal.d.ts +2 -0
- package/connection/withdrawal.d.ts.map +1 -0
- package/connection/withdrawal.js +23 -0
- package/connection/withdrawal.js.map +1 -0
- package/consume.js +213 -47
- package/consume.js.map +1 -1
- package/cover.d.ts +59 -0
- package/cover.d.ts.map +1 -0
- package/cover.js +375 -0
- package/cover.js.map +1 -0
- package/datagram.d.ts +70 -11
- package/datagram.d.ts.map +1 -1
- package/datagram.js +317 -2
- package/datagram.js.map +1 -1
- package/datagram_stream.d.ts +18 -0
- package/datagram_stream.d.ts.map +1 -0
- package/datagram_stream.js +67 -0
- package/datagram_stream.js.map +1 -0
- package/defined.test-util.d.ts +2 -0
- package/defined.test-util.d.ts.map +1 -0
- package/defined.test-util.js +7 -0
- package/defined.test-util.js.map +1 -0
- package/delivered.d.ts +75 -0
- package/delivered.d.ts.map +1 -0
- package/delivered.js +228 -0
- package/delivered.js.map +1 -0
- package/demand.d.ts +173 -0
- package/demand.d.ts.map +1 -0
- package/demand.js +582 -0
- package/demand.js.map +1 -0
- package/drops.d.ts +93 -0
- package/drops.d.ts.map +1 -0
- package/drops.js +283 -0
- package/drops.js.map +1 -0
- package/error.d.ts +120 -21
- package/error.d.ts.map +1 -1
- package/error.js +230 -38
- package/error.js.map +1 -1
- package/errors.d.ts +2 -2
- package/errors.d.ts.map +1 -1
- package/errors.js +2 -3
- package/errors.js.map +1 -1
- package/fill.d.ts +174 -0
- package/fill.d.ts.map +1 -0
- package/fill.js +760 -0
- package/fill.js.map +1 -0
- package/flate/decoder.d.ts +2 -0
- package/flate/decoder.d.ts.map +1 -0
- package/flate/decoder.js +63 -0
- package/flate/decoder.js.map +1 -0
- package/flate/encoder.d.ts +2 -0
- package/flate/encoder.d.ts.map +1 -0
- package/flate/encoder.js +64 -0
- package/flate/encoder.js.map +1 -0
- package/flate/group.d.ts +34 -0
- package/flate/group.d.ts.map +1 -0
- package/flate/group.js +140 -0
- package/flate/group.js.map +1 -0
- package/frame.d.ts +80 -0
- package/frame.d.ts.map +1 -0
- package/frame.js +296 -0
- package/frame.js.map +1 -0
- package/frame.test-util.d.ts +5 -0
- package/frame.test-util.d.ts.map +1 -0
- package/frame.test-util.js +9 -0
- package/frame.test-util.js.map +1 -0
- package/group.d.ts +108 -45
- package/group.d.ts.map +1 -1
- package/group.js +1616 -308
- package/group.js.map +1 -1
- package/group_api.d.ts +7 -0
- package/group_api.d.ts.map +1 -0
- package/group_api.js +7 -0
- package/group_api.js.map +1 -0
- package/hop.d.ts +62 -76
- package/hop.d.ts.map +1 -1
- package/hop.js +92 -65
- package/hop.js.map +1 -1
- package/identity.d.ts +39 -0
- package/identity.d.ts.map +1 -0
- package/identity.js +47 -0
- package/identity.js.map +1 -0
- package/ietf/active_count.d.ts +2 -0
- package/ietf/active_count.d.ts.map +1 -0
- package/ietf/active_count.js +30 -0
- package/ietf/active_count.js.map +1 -0
- package/ietf/aliases.js +69 -36
- package/ietf/aliases.js.map +1 -1
- package/ietf/cluster.d.ts +3 -3
- package/ietf/cluster.js +14 -55
- package/ietf/cluster.js.map +1 -1
- package/ietf/connection.d.ts +1 -31
- package/ietf/connection.d.ts.map +1 -1
- package/ietf/connection.js +305 -144
- package/ietf/connection.js.map +1 -1
- package/ietf/datagram.d.ts +60 -0
- package/ietf/datagram.d.ts.map +1 -0
- package/ietf/datagram.js +152 -0
- package/ietf/datagram.js.map +1 -0
- package/ietf/error.d.ts +3 -3
- package/ietf/error.js +82 -101
- package/ietf/error.js.map +1 -1
- package/ietf/fetch.d.ts +93 -37
- package/ietf/fetch.d.ts.map +1 -1
- package/ietf/fetch.js +172 -94
- package/ietf/fetch.js.map +1 -1
- package/ietf/filter.d.ts +21 -31
- package/ietf/filter.d.ts.map +1 -1
- package/ietf/filter.js +140 -172
- package/ietf/filter.js.map +1 -1
- package/ietf/goaway.d.ts +12 -10
- package/ietf/goaway.d.ts.map +1 -1
- package/ietf/goaway.js +22 -36
- package/ietf/goaway.js.map +1 -1
- package/ietf/hidden.js +1 -2
- package/ietf/hidden.js.map +1 -1
- package/ietf/index.d.ts +8 -20
- package/ietf/index.d.ts.map +1 -1
- package/ietf/index.js +4 -15
- package/ietf/index.js.map +1 -1
- package/ietf/join.d.ts +7 -0
- package/ietf/join.d.ts.map +1 -0
- package/ietf/join.js +234 -0
- package/ietf/join.js.map +1 -0
- package/ietf/message.d.ts +18 -2
- package/ietf/message.d.ts.map +1 -1
- package/ietf/message.js +60 -41
- package/ietf/message.js.map +1 -1
- package/ietf/message.test-util.d.ts +6 -0
- package/ietf/message.test-util.d.ts.map +1 -0
- package/ietf/message.test-util.js +13 -0
- package/ietf/message.test-util.js.map +1 -0
- package/ietf/namespace.d.ts +19 -5
- package/ietf/namespace.d.ts.map +1 -1
- package/ietf/namespace.js +78 -27
- package/ietf/namespace.js.map +1 -1
- package/ietf/object.d.ts +195 -33
- package/ietf/object.d.ts.map +1 -1
- package/ietf/object.js +405 -179
- package/ietf/object.js.map +1 -1
- package/ietf/parameters.d.ts +25 -45
- package/ietf/parameters.d.ts.map +1 -1
- package/ietf/parameters.js +260 -473
- package/ietf/parameters.js.map +1 -1
- package/ietf/priority.d.ts +17 -2
- package/ietf/priority.d.ts.map +1 -1
- package/ietf/priority.js +19 -5
- package/ietf/priority.js.map +1 -1
- package/ietf/properties.d.ts +6 -5
- package/ietf/properties.d.ts.map +1 -1
- package/ietf/properties.js +78 -49
- package/ietf/properties.js.map +1 -1
- package/ietf/publish.d.ts +25 -33
- package/ietf/publish.d.ts.map +1 -1
- package/ietf/publish.js +45 -140
- package/ietf/publish.js.map +1 -1
- package/ietf/publish_namespace.d.ts +49 -72
- package/ietf/publish_namespace.d.ts.map +1 -1
- package/ietf/publish_namespace.js +66 -185
- package/ietf/publish_namespace.js.map +1 -1
- package/ietf/publisher.js +1800 -601
- package/ietf/publisher.js.map +1 -1
- package/ietf/range.d.ts +2 -0
- package/ietf/range.d.ts.map +1 -0
- package/ietf/range.js +222 -0
- package/ietf/range.js.map +1 -0
- package/ietf/request.d.ts +6 -30
- package/ietf/request.d.ts.map +1 -1
- package/ietf/request.js +41 -79
- package/ietf/request.js.map +1 -1
- package/ietf/request_stream.d.ts +1 -6
- package/ietf/request_stream.d.ts.map +1 -1
- package/ietf/request_stream.js +306 -17
- package/ietf/request_stream.js.map +1 -1
- package/ietf/session.d.ts +41 -0
- package/ietf/session.d.ts.map +1 -0
- package/ietf/session.js +65 -0
- package/ietf/session.js.map +1 -0
- package/ietf/setup.d.ts +5 -30
- package/ietf/setup.d.ts.map +1 -1
- package/ietf/setup.js +6 -118
- package/ietf/setup.js.map +1 -1
- package/ietf/setup_options.d.ts +31 -0
- package/ietf/setup_options.d.ts.map +1 -0
- package/ietf/setup_options.js +138 -0
- package/ietf/setup_options.js.map +1 -0
- package/ietf/solicit.js +4 -15
- package/ietf/solicit.js.map +1 -1
- package/ietf/subscribe.d.ts +52 -45
- package/ietf/subscribe.d.ts.map +1 -1
- package/ietf/subscribe.js +118 -240
- package/ietf/subscribe.js.map +1 -1
- package/ietf/subscribe_namespace.d.ts +16 -79
- package/ietf/subscribe_namespace.d.ts.map +1 -1
- package/ietf/subscribe_namespace.js +30 -202
- package/ietf/subscribe_namespace.js.map +1 -1
- package/ietf/subscriber.js +1839 -537
- package/ietf/subscriber.js.map +1 -1
- package/ietf/token.js +105 -28
- package/ietf/token.js.map +1 -1
- package/ietf/track.d.ts +27 -24
- package/ietf/track.d.ts.map +1 -1
- package/ietf/track.js +48 -62
- package/ietf/track.js.map +1 -1
- package/ietf/version.d.ts +13 -42
- package/ietf/version.d.ts.map +1 -1
- package/ietf/version.js +22 -49
- package/ietf/version.js.map +1 -1
- package/implementation.d.ts +2 -0
- package/implementation.d.ts.map +1 -0
- package/implementation.js +5 -0
- package/implementation.js.map +1 -0
- package/index.d.ts +34 -19
- package/index.d.ts.map +1 -1
- package/index.js +19 -7
- package/index.js.map +1 -1
- package/internal.d.ts +1515 -67
- package/internal.d.ts.map +1 -1
- package/internal.js +557 -80
- package/internal.js.map +1 -1
- package/ledger.d.ts +23 -0
- package/ledger.d.ts.map +1 -0
- package/ledger.js +247 -0
- package/ledger.js.map +1 -0
- package/listing.d.ts +132 -0
- package/listing.d.ts.map +1 -0
- package/listing.js +486 -0
- package/listing.js.map +1 -0
- package/lite/announce.d.ts +127 -66
- package/lite/announce.d.ts.map +1 -1
- package/lite/announce.js +384 -159
- package/lite/announce.js.map +1 -1
- package/lite/announce_stream.d.ts +2 -0
- package/lite/announce_stream.d.ts.map +1 -0
- package/lite/announce_stream.js +92 -0
- package/lite/announce_stream.js.map +1 -0
- package/lite/answer.d.ts +22 -0
- package/lite/answer.d.ts.map +1 -0
- package/lite/answer.js +301 -0
- package/lite/answer.js.map +1 -0
- package/lite/auth.d.ts +45 -0
- package/lite/auth.d.ts.map +1 -0
- package/lite/auth.js +204 -0
- package/lite/auth.js.map +1 -0
- package/lite/compat.d.ts +31 -0
- package/lite/compat.d.ts.map +1 -0
- package/lite/compat.js +86 -0
- package/lite/compat.js.map +1 -0
- package/lite/connection.d.ts +1 -45
- package/lite/connection.d.ts.map +1 -1
- package/lite/connection.js +360 -78
- package/lite/connection.js.map +1 -1
- package/lite/datagram-end.d.ts +26 -0
- package/lite/datagram-end.d.ts.map +1 -0
- package/lite/datagram-end.js +30 -0
- package/lite/datagram-end.js.map +1 -0
- package/lite/datagram.d.ts +73 -8
- package/lite/datagram.d.ts.map +1 -1
- package/lite/datagram.js +144 -10
- package/lite/datagram.js.map +1 -1
- package/lite/duration.d.ts +6 -0
- package/lite/duration.d.ts.map +1 -0
- package/lite/duration.js +14 -0
- package/lite/duration.js.map +1 -0
- package/lite/error.d.ts +9 -0
- package/lite/error.d.ts.map +1 -0
- package/lite/error.js +24 -0
- package/lite/error.js.map +1 -0
- package/lite/fills.d.ts +162 -0
- package/lite/fills.d.ts.map +1 -0
- package/lite/fills.js +486 -0
- package/lite/fills.js.map +1 -0
- package/lite/fit.d.ts +49 -0
- package/lite/fit.d.ts.map +1 -0
- package/lite/fit.js +305 -0
- package/lite/fit.js.map +1 -0
- package/lite/goaway.d.ts +2 -2
- package/lite/goaway.d.ts.map +1 -1
- package/lite/goaway.js +5 -14
- package/lite/goaway.js.map +1 -1
- package/lite/group.d.ts +67 -16
- package/lite/group.d.ts.map +1 -1
- package/lite/group.js +108 -31
- package/lite/group.js.map +1 -1
- package/lite/identity.d.ts +25 -0
- package/lite/identity.d.ts.map +1 -0
- package/lite/identity.js +79 -0
- package/lite/identity.js.map +1 -0
- package/lite/index.d.ts +14 -13
- package/lite/index.d.ts.map +1 -1
- package/lite/index.js +2 -2
- package/lite/index.js.map +1 -1
- package/lite/message.d.ts +10 -2
- package/lite/message.d.ts.map +1 -1
- package/lite/message.js +28 -45
- package/lite/message.js.map +1 -1
- package/lite/priority.d.ts +9 -2
- package/lite/priority.d.ts.map +1 -1
- package/lite/priority.js +11 -106
- package/lite/priority.js.map +1 -1
- package/lite/probe.d.ts +2 -2
- package/lite/probe.d.ts.map +1 -1
- package/lite/probe.js +9 -1
- package/lite/probe.js.map +1 -1
- package/lite/publisher.d.ts +10 -1
- package/lite/publisher.d.ts.map +1 -1
- package/lite/publisher.js +2548 -438
- package/lite/publisher.js.map +1 -1
- package/lite/routed.d.ts +59 -0
- package/lite/routed.d.ts.map +1 -0
- package/lite/routed.js +564 -0
- package/lite/routed.js.map +1 -0
- package/lite/session.d.ts +2 -28
- package/lite/session.d.ts.map +1 -1
- package/lite/session.js +0 -100
- package/lite/session.js.map +1 -1
- package/lite/setup.d.ts +32 -5
- package/lite/setup.d.ts.map +1 -1
- package/lite/setup.js +95 -22
- package/lite/setup.js.map +1 -1
- package/lite/stream.d.ts +5 -11
- package/lite/stream.d.ts.map +1 -1
- package/lite/stream.js +5 -2
- package/lite/stream.js.map +1 -1
- package/lite/subscribe.d.ts +478 -78
- package/lite/subscribe.d.ts.map +1 -1
- package/lite/subscribe.js +1373 -143
- package/lite/subscribe.js.map +1 -1
- package/lite/subscriber.d.ts +7 -44
- package/lite/subscriber.d.ts.map +1 -1
- package/lite/subscriber.js +3290 -516
- package/lite/subscriber.js.map +1 -1
- package/lite/track.d.ts +27 -12
- package/lite/track.d.ts.map +1 -1
- package/lite/track.js +116 -38
- package/lite/track.js.map +1 -1
- package/lite/tracks.d.ts +55 -0
- package/lite/tracks.d.ts.map +1 -0
- package/lite/tracks.js +114 -0
- package/lite/tracks.js.map +1 -0
- package/lite/version.d.ts +132 -24
- package/lite/version.d.ts.map +1 -1
- package/lite/version.js +378 -34
- package/lite/version.js.map +1 -1
- package/meta.d.ts +77 -0
- package/meta.d.ts.map +1 -0
- package/meta.js +130 -0
- package/meta.js.map +1 -0
- package/meta_api.d.ts +7 -0
- package/meta_api.d.ts.map +1 -0
- package/meta_api.js +7 -0
- package/meta_api.js.map +1 -0
- package/mint.d.ts +28 -0
- package/mint.d.ts.map +1 -0
- package/mint.js +66 -0
- package/mint.js.map +1 -0
- package/open.d.ts +63 -0
- package/open.d.ts.map +1 -0
- package/open.js +250 -0
- package/open.js.map +1 -0
- package/origin.d.ts +394 -142
- package/origin.d.ts.map +1 -1
- package/origin.js +2533 -687
- package/origin.js.map +1 -1
- package/package.json +8 -13
- package/path.d.ts +51 -51
- package/path.d.ts.map +1 -1
- package/path.js +210 -58
- package/path.js.map +1 -1
- package/payload.d.ts +33 -0
- package/payload.d.ts.map +1 -0
- package/payload.js +65 -0
- package/payload.js.map +1 -0
- package/prefix.d.ts +152 -0
- package/prefix.d.ts.map +1 -0
- package/prefix.js +349 -0
- package/prefix.js.map +1 -0
- package/priority.d.ts +8 -0
- package/priority.d.ts.map +1 -0
- package/priority.js +185 -0
- package/priority.js.map +1 -0
- package/queue.d.ts +2 -0
- package/queue.d.ts.map +1 -0
- package/queue.js +46 -0
- package/queue.js.map +1 -0
- package/ranges.d.ts +36 -0
- package/ranges.d.ts.map +1 -0
- package/ranges.js +312 -0
- package/ranges.js.map +1 -0
- package/rescale.d.ts +24 -0
- package/rescale.d.ts.map +1 -0
- package/rescale.js +39 -0
- package/rescale.js.map +1 -0
- package/resume.d.ts +55 -0
- package/resume.d.ts.map +1 -0
- package/resume.js +4173 -0
- package/resume.js.map +1 -0
- package/resume.test-util.d.ts +2 -0
- package/resume.test-util.d.ts.map +1 -0
- package/resume.test-util.js +25 -0
- package/resume.test-util.js.map +1 -0
- package/skips.d.ts +48 -0
- package/skips.d.ts.map +1 -0
- package/skips.js +182 -0
- package/skips.js.map +1 -0
- package/stream.d.ts +78 -40
- package/stream.d.ts.map +1 -1
- package/stream.js +236 -93
- package/stream.js.map +1 -1
- package/subscription.test-util.d.ts +2 -0
- package/subscription.test-util.d.ts.map +1 -0
- package/subscription.test-util.js +49 -0
- package/subscription.test-util.js.map +1 -0
- package/tail.d.ts +23 -14
- package/tail.d.ts.map +1 -1
- package/tail.js +224 -98
- package/tail.js.map +1 -1
- package/time.d.ts +41 -102
- package/time.d.ts.map +1 -1
- package/time.js +129 -92
- package/time.js.map +1 -1
- package/timed.d.ts +21 -0
- package/timed.d.ts.map +1 -0
- package/timed.js +2 -0
- package/timed.js.map +1 -0
- package/track.d.ts +578 -246
- package/track.d.ts.map +1 -1
- package/track.js +7306 -772
- package/track.js.map +1 -1
- package/track_api.d.ts +7 -0
- package/track_api.d.ts.map +1 -0
- package/track_api.js +7 -0
- package/track_api.js.map +1 -0
- package/util/abort.d.ts +1 -0
- package/util/abort.d.ts.map +1 -1
- package/util/abort.js +23 -2
- package/util/abort.js.map +1 -1
- package/util/announce.d.ts +4 -0
- package/util/announce.d.ts.map +1 -0
- package/util/announce.js +11 -0
- package/util/announce.js.map +1 -0
- package/util/bigint.d.ts +3 -0
- package/util/bigint.d.ts.map +1 -0
- package/util/bigint.js +8 -0
- package/util/bigint.js.map +1 -0
- package/util/change.d.ts +12 -0
- package/util/change.d.ts.map +1 -0
- package/util/change.js +18 -0
- package/util/change.js.map +1 -0
- package/util/deadline.d.ts +2 -0
- package/util/deadline.d.ts.map +1 -0
- package/util/deadline.js +108 -0
- package/util/deadline.js.map +1 -0
- package/util/decode_error.d.ts +3 -0
- package/util/decode_error.d.ts.map +1 -0
- package/util/decode_error.js +11 -0
- package/util/decode_error.js.map +1 -0
- package/util/demand.d.ts +8 -0
- package/util/demand.d.ts.map +1 -0
- package/util/demand.js +24 -0
- package/util/demand.js.map +1 -0
- package/util/given_up.d.ts +2 -0
- package/util/given_up.d.ts.map +1 -0
- package/util/given_up.js +101 -0
- package/util/given_up.js.map +1 -0
- package/util/hex.d.ts +6 -0
- package/util/hex.d.ts.map +1 -1
- package/util/hex.js +19 -5
- package/util/hex.js.map +1 -1
- package/util/key.d.ts +15 -0
- package/util/key.d.ts.map +1 -0
- package/util/key.js +38 -0
- package/util/key.js.map +1 -0
- package/util/limits.d.ts +2 -0
- package/util/limits.d.ts.map +1 -0
- package/util/limits.js +76 -0
- package/util/limits.js.map +1 -0
- package/util/observed.d.ts +23 -0
- package/util/observed.d.ts.map +1 -0
- package/util/observed.js +122 -0
- package/util/observed.js.map +1 -0
- package/util/sorted.d.ts +2 -0
- package/util/sorted.d.ts.map +1 -0
- package/util/sorted.js +149 -0
- package/util/sorted.js.map +1 -0
- package/util/timeout.d.ts +2 -1
- package/util/timeout.d.ts.map +1 -1
- package/util/timeout.js +13 -10
- package/util/timeout.js.map +1 -1
- package/util/timer.d.ts +2 -0
- package/util/timer.d.ts.map +1 -0
- package/util/timer.js +19 -0
- package/util/timer.js.map +1 -0
- package/util/u64.js +0 -1
- package/util/utf8.d.ts +2 -0
- package/util/utf8.d.ts.map +1 -1
- package/util/utf8.js +7 -2
- package/util/utf8.js.map +1 -1
- package/util/varint.d.ts.map +1 -1
- package/util/varint.js +8 -2
- package/util/varint.js.map +1 -1
- package/util/watch.d.ts +8 -0
- package/util/watch.d.ts.map +1 -0
- package/util/watch.js +38 -0
- package/util/watch.js.map +1 -0
- package/util/yield.d.ts +2 -0
- package/util/yield.d.ts.map +1 -0
- package/util/yield.js +31 -0
- package/util/yield.js.map +1 -0
- package/varint.d.ts +0 -29
- package/varint.d.ts.map +1 -1
- package/varint.js +7 -29
- package/varint.js.map +1 -1
- package/varint_api.d.ts +7 -0
- package/varint_api.d.ts.map +1 -0
- package/varint_api.js +7 -0
- package/varint_api.js.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +4 -0
- package/version.js.map +1 -0
- package/window.d.ts +570 -0
- package/window.d.ts.map +1 -0
- package/window.js +1677 -0
- package/window.js.map +1 -0
- package/wire.d.ts +150 -35
- package/wire.d.ts.map +1 -1
- package/wire.js +27 -1
- package/wire.js.map +1 -1
- package/connection/established.d.ts +0 -53
- package/connection/established.d.ts.map +0 -1
- package/connection/established.js +0 -3
- package/connection/established.js.map +0 -1
- package/ietf/adapter.d.ts +0 -75
- package/ietf/adapter.d.ts.map +0 -1
- package/ietf/adapter.js +0 -700
- package/ietf/adapter.js.map +0 -1
- package/lite/datagram_stream.d.ts +0 -8
- package/lite/datagram_stream.d.ts.map +0 -1
- package/lite/datagram_stream.js +0 -44
- package/lite/datagram_stream.js.map +0 -1
- package/lite/fetch.d.ts +0 -28
- package/lite/fetch.d.ts.map +0 -1
- package/lite/fetch.js +0 -79
- package/lite/fetch.js.map +0 -1
- package/util/log.d.ts +0 -5
- package/util/log.d.ts.map +0 -1
- package/util/log.js +0 -17
- package/util/log.js.map +0 -1
- package/zod.d.ts +0 -13
- package/zod.d.ts.map +0 -1
- package/zod.js +0 -19
- package/zod.js.map +0 -1
package/meta.d.ts
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Metadata subscriptions: a track's group and frame progress without its payload, mirroring the
|
|
3
|
+
* Rust `meta` module.
|
|
4
|
+
*
|
|
5
|
+
* A metadata subscription is a subscription of its own beside any payload subscription to the
|
|
6
|
+
* same track, with its mode fixed for its life. Where the hop carries the mode (moq-lite-07), it
|
|
7
|
+
* travels upstream as a metadata subscription and no payload crosses that hop for it. Over an
|
|
8
|
+
* older version it rides the track's payload subscription and drops the payload, so it never
|
|
9
|
+
* downloads the payload twice.
|
|
10
|
+
*
|
|
11
|
+
* A reader that wants the payload after all opens a payload subscription from the group it reached
|
|
12
|
+
* and reads on from its first missing frame (`Group.Consumer.readFrameIndex` with `from`): nothing
|
|
13
|
+
* changes mode in place.
|
|
14
|
+
*
|
|
15
|
+
* @module
|
|
16
|
+
*/
|
|
17
|
+
import type * as frame from "./frame.ts";
|
|
18
|
+
import type * as track from "./track.ts";
|
|
19
|
+
/**
|
|
20
|
+
* A lazy handle to a track's metadata, from `Broadcast.Consumer.meta`. Like `Track.Consumer`,
|
|
21
|
+
* holding it requests nothing: only a {@link subscribe} made from it is demand.
|
|
22
|
+
*
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export declare class Consumer {
|
|
26
|
+
#private;
|
|
27
|
+
/** The track name. */
|
|
28
|
+
readonly name: string;
|
|
29
|
+
private constructor();
|
|
30
|
+
/**
|
|
31
|
+
* Open a live metadata subscription, delivering the groups `options` covers as
|
|
32
|
+
* `Track.Consumer.subscribe` does, each frame as its header alone.
|
|
33
|
+
*/
|
|
34
|
+
subscribe(options?: track.Subscription): Subscriber;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A live metadata subscription: a `Track.Subscriber` whose groups hold headers alone.
|
|
38
|
+
*
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export declare class Subscriber {
|
|
42
|
+
#private;
|
|
43
|
+
private constructor();
|
|
44
|
+
/** The track's publisher properties, once the subscription is established. */
|
|
45
|
+
info(): Promise<track.Info>;
|
|
46
|
+
/** Resolve with the track's exclusive end once it is known, as `Track.Subscriber.finished` does. */
|
|
47
|
+
finished(): Promise<track.Position>;
|
|
48
|
+
/** Receive the next group, as `Track.Subscriber.recvGroup` does. */
|
|
49
|
+
recvGroup(): Promise<Group | undefined>;
|
|
50
|
+
/** Replace this subscription's options; see `Track.Subscriber.update`. */
|
|
51
|
+
update(options: track.Subscription): void;
|
|
52
|
+
/** Close the subscription (optionally with an error). Idempotent. */
|
|
53
|
+
close(abort?: Error): void;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* One group of a metadata subscription, read header by header.
|
|
57
|
+
*
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class Group {
|
|
61
|
+
#private;
|
|
62
|
+
/** Where this group starts, in its track's timescale: its key on the track. */
|
|
63
|
+
readonly start: bigint;
|
|
64
|
+
private constructor();
|
|
65
|
+
/** The index of the next frame this reader returns. */
|
|
66
|
+
get index(): number;
|
|
67
|
+
/** The group's declared end in its track's timescale, or undefined until it finishes with one. */
|
|
68
|
+
get end(): bigint | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* The next frame's header: its timestamp and declared plain size, without its payload, or
|
|
71
|
+
* undefined once the group ends. A real empty frame reads as size 0.
|
|
72
|
+
*/
|
|
73
|
+
nextHeader(): Promise<frame.Info | undefined>;
|
|
74
|
+
/** Release this reader, like dropping a Rust consumer. Idempotent. */
|
|
75
|
+
close(): void;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=meta.d.ts.map
|
package/meta.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../src/meta.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,KAAK,KAAK,MAAM,YAAY,CAAC;AAIzC,OAAO,KAAK,KAAK,KAAK,MAAM,YAAY,CAAC;AAWzC;;;;;GAKG;AACH,qBAAa,QAAQ;;IACpB,sBAAsB;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAItB,OAAO,eAGN;IAMD;;;OAGG;IACH,SAAS,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,UAAU,CAElD;CACD;AAED;;;;GAIG;AACH,qBAAa,UAAU;;IAGtB,OAAO,eAEN;IAMD,8EAA8E;IAC9E,IAAI,IAAI,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAE1B;IAED,oGAAoG;IACpG,QAAQ,IAAI,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAElC;IAED,oEAAoE;IAC9D,SAAS,IAAI,OAAO,CAAC,KAAK,GAAG,SAAS,CAAC,CAG5C;IAED,0EAA0E;IAC1E,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,YAAY,GAAG,IAAI,CAExC;IAED,qEAAqE;IACrE,KAAK,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAEzB;CACD;AAED;;;;GAIG;AACH,qBAAa,KAAK;;IACjB,+EAA+E;IAC/E,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAMvB,OAAO,eAIN;IAMD,uDAAuD;IACvD,IAAI,KAAK,IAAI,MAAM,CAElB;IAED,kGAAkG;IAClG,IAAI,GAAG,IAAI,MAAM,GAAG,SAAS,CAE5B;IAED;;;OAGG;IACG,UAAU,IAAI,OAAO,CAAC,KAAK,CAAC,IAAI,GAAG,SAAS,CAAC,CAMlD;IAED,sEAAsE;IACtE,KAAK,IAAI,IAAI,CAEZ;CACD"}
|
package/meta.js
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Metadata subscriptions: a track's group and frame progress without its payload, mirroring the
|
|
3
|
+
* Rust `meta` module.
|
|
4
|
+
*
|
|
5
|
+
* A metadata subscription is a subscription of its own beside any payload subscription to the
|
|
6
|
+
* same track, with its mode fixed for its life. Where the hop carries the mode (moq-lite-07), it
|
|
7
|
+
* travels upstream as a metadata subscription and no payload crosses that hop for it. Over an
|
|
8
|
+
* older version it rides the track's payload subscription and drops the payload, so it never
|
|
9
|
+
* downloads the payload twice.
|
|
10
|
+
*
|
|
11
|
+
* A reader that wants the payload after all opens a payload subscription from the group it reached
|
|
12
|
+
* and reads on from its first missing frame (`Group.Consumer.readFrameIndex` with `from`): nothing
|
|
13
|
+
* changes mode in place.
|
|
14
|
+
*
|
|
15
|
+
* @module
|
|
16
|
+
*/
|
|
17
|
+
import { hooks } from "./internal.js";
|
|
18
|
+
import { readSize } from "./payload.js";
|
|
19
|
+
let makeConsumer;
|
|
20
|
+
let makeSubscriber;
|
|
21
|
+
let makeGroup;
|
|
22
|
+
/** A metadata handle to `track`, which must resolve the copy a metadata reader takes. @internal */
|
|
23
|
+
export function consumerOf(track) {
|
|
24
|
+
return makeConsumer(track);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A lazy handle to a track's metadata, from `Broadcast.Consumer.meta`. Like `Track.Consumer`,
|
|
28
|
+
* holding it requests nothing: only a {@link subscribe} made from it is demand.
|
|
29
|
+
*
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export class Consumer {
|
|
33
|
+
/** The track name. */
|
|
34
|
+
name;
|
|
35
|
+
#track;
|
|
36
|
+
constructor(track) {
|
|
37
|
+
this.name = track.name;
|
|
38
|
+
this.#track = track;
|
|
39
|
+
}
|
|
40
|
+
static {
|
|
41
|
+
makeConsumer = (track) => new Consumer(track);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Open a live metadata subscription, delivering the groups `options` covers as
|
|
45
|
+
* `Track.Consumer.subscribe` does, each frame as its header alone.
|
|
46
|
+
*/
|
|
47
|
+
subscribe(options) {
|
|
48
|
+
return makeSubscriber(this.#track.subscribe(options));
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* A live metadata subscription: a `Track.Subscriber` whose groups hold headers alone.
|
|
53
|
+
*
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export class Subscriber {
|
|
57
|
+
#inner;
|
|
58
|
+
constructor(inner) {
|
|
59
|
+
this.#inner = inner;
|
|
60
|
+
}
|
|
61
|
+
static {
|
|
62
|
+
makeSubscriber = (inner) => new Subscriber(inner);
|
|
63
|
+
}
|
|
64
|
+
/** The track's publisher properties, once the subscription is established. */
|
|
65
|
+
info() {
|
|
66
|
+
return this.#inner.info();
|
|
67
|
+
}
|
|
68
|
+
/** Resolve with the track's exclusive end once it is known, as `Track.Subscriber.finished` does. */
|
|
69
|
+
finished() {
|
|
70
|
+
return this.#inner.finished();
|
|
71
|
+
}
|
|
72
|
+
/** Receive the next group, as `Track.Subscriber.recvGroup` does. */
|
|
73
|
+
async recvGroup() {
|
|
74
|
+
const group = await this.#inner.recvGroup();
|
|
75
|
+
return group ? makeGroup(group) : undefined;
|
|
76
|
+
}
|
|
77
|
+
/** Replace this subscription's options; see `Track.Subscriber.update`. */
|
|
78
|
+
update(options) {
|
|
79
|
+
this.#inner.update(options);
|
|
80
|
+
}
|
|
81
|
+
/** Close the subscription (optionally with an error). Idempotent. */
|
|
82
|
+
close(abort) {
|
|
83
|
+
this.#inner.close(abort);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* One group of a metadata subscription, read header by header.
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export class Group {
|
|
92
|
+
/** Where this group starts, in its track's timescale: its key on the track. */
|
|
93
|
+
start;
|
|
94
|
+
#inner;
|
|
95
|
+
// Starts at the copy's first frame, which a group joined mid-way places past 0.
|
|
96
|
+
#index;
|
|
97
|
+
constructor(inner) {
|
|
98
|
+
this.start = inner.start;
|
|
99
|
+
this.#inner = inner;
|
|
100
|
+
this.#index = hooks.groupIndex(inner);
|
|
101
|
+
}
|
|
102
|
+
static {
|
|
103
|
+
makeGroup = (inner) => new Group(inner);
|
|
104
|
+
}
|
|
105
|
+
/** The index of the next frame this reader returns. */
|
|
106
|
+
get index() {
|
|
107
|
+
return this.#index;
|
|
108
|
+
}
|
|
109
|
+
/** The group's declared end in its track's timescale, or undefined until it finishes with one. */
|
|
110
|
+
get end() {
|
|
111
|
+
return this.#inner.end;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* The next frame's header: its timestamp and declared plain size, without its payload, or
|
|
115
|
+
* undefined once the group ends. A real empty frame reads as size 0.
|
|
116
|
+
*/
|
|
117
|
+
async nextHeader() {
|
|
118
|
+
// A stored read carries each frame's plain size beside it, so it never inflates a frame.
|
|
119
|
+
const read = await hooks.readGroupFrame(this.#inner, true, 0, true);
|
|
120
|
+
if (!read)
|
|
121
|
+
return undefined;
|
|
122
|
+
this.#index = read.index + 1;
|
|
123
|
+
return { size: read.inflated ?? readSize(read), timestamp: read.frame.timestamp };
|
|
124
|
+
}
|
|
125
|
+
/** Release this reader, like dropping a Rust consumer. Idempotent. */
|
|
126
|
+
close() {
|
|
127
|
+
this.#inner.close();
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
//# sourceMappingURL=meta.js.map
|
package/meta.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../src/meta.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,IAAI,YAAiD,CAAC;AACtD,IAAI,cAAuD,CAAC;AAC5D,IAAI,SAA0C,CAAC;AAE/C,mGAAmG;AACnG,MAAM,UAAU,UAAU,CAAC,KAAqB;IAC/C,OAAO,YAAY,CAAC,KAAK,CAAC,CAAC;AAC5B,CAAC;AAED;;;;;GAKG;AACH,MAAM,OAAO,QAAQ;IACpB,sBAAsB;IACb,IAAI,CAAS;IAEtB,MAAM,CAAiB;IAEvB,YAAoB,KAAqB;QACxC,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACrB,CAAC;IAED;QACC,YAAY,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC/C,CAAC;IAED;;;OAGG;IACH,SAA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AC,MAAM,GAAG,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;IAED;QACC,SAAS,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC;IACzC,CAAC;IAED,uDAAuD;IACvD,IAAI,KAAK;QACR,OAAO,IAAI,CAAC,MAAM,CAAC;IACpB,CAAC;IAED,kGAAkG;IAClG,IAAI,GAAG;QACN,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC;IACxB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,UAAU;QACf,yFAAyF;QACzF,MAAM,IAAI,GAAG,MAAM,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC;QACpE,IAAI,CAAC,IAAI;YAAE,OAAO,SAAS,CAAC;QAC5B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QAC7B,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;IACnF,CAAC;IAED,sEAAsE;IACtE,KAAK;QACJ,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;IACrB,CAAC;CACD","sourcesContent":["/**\n * Metadata subscriptions: a track's group and frame progress without its payload, mirroring the\n * Rust `meta` module.\n *\n * A metadata subscription is a subscription of its own beside any payload subscription to the\n * same track, with its mode fixed for its life. Where the hop carries the mode (moq-lite-07), it\n * travels upstream as a metadata subscription and no payload crosses that hop for it. Over an\n * older version it rides the track's payload subscription and drops the payload, so it never\n * downloads the payload twice.\n *\n * A reader that wants the payload after all opens a payload subscription from the group it reached\n * and reads on from its first missing frame (`Group.Consumer.readFrameIndex` with `from`): nothing\n * changes mode in place.\n *\n * @module\n */\n\nimport type * as frame from \"./frame.ts\";\nimport type { Consumer as GroupConsumer } from \"./group.ts\";\nimport { hooks } from \"./internal.ts\";\nimport { readSize } from \"./payload.ts\";\nimport type * as track from \"./track.ts\";\n\nlet makeConsumer: (track: track.Consumer) => Consumer;\nlet makeSubscriber: (inner: track.Subscriber) => Subscriber;\nlet makeGroup: (inner: GroupConsumer) => Group;\n\n/** A metadata handle to `track`, which must resolve the copy a metadata reader takes. @internal */\nexport function consumerOf(track: track.Consumer): Consumer {\n\treturn makeConsumer(track);\n}\n\n/**\n * A lazy handle to a track's metadata, from `Broadcast.Consumer.meta`. Like `Track.Consumer`,\n * holding it requests nothing: only a {@link subscribe} made from it is demand.\n *\n * @public\n */\nexport class Consumer {\n\t/** The track name. */\n\treadonly name: string;\n\n\t#track: track.Consumer;\n\n\tprivate constructor(track: track.Consumer) {\n\t\tthis.name = track.name;\n\t\tthis.#track = track;\n\t}\n\n\tstatic {\n\t\tmakeConsumer = (track) => new Consumer(track);\n\t}\n\n\t/**\n\t * Open a live metadata subscription, delivering the groups `options` covers as\n\t * `Track.Consumer.subscribe` does, each frame as its header alone.\n\t */\n\tsubscribe(options?: track.Subscription): Subscriber {\n\t\treturn makeSubscriber(this.#track.subscribe(options));\n\t}\n}\n\n/**\n * A live metadata subscription: a `Track.Subscriber` whose groups hold headers alone.\n *\n * @public\n */\nexport class Subscriber {\n\t#inner: track.Subscriber;\n\n\tprivate constructor(inner: track.Subscriber) {\n\t\tthis.#inner = inner;\n\t}\n\n\tstatic {\n\t\tmakeSubscriber = (inner) => new Subscriber(inner);\n\t}\n\n\t/** The track's publisher properties, once the subscription is established. */\n\tinfo(): Promise<track.Info> {\n\t\treturn this.#inner.info();\n\t}\n\n\t/** Resolve with the track's exclusive end once it is known, as `Track.Subscriber.finished` does. */\n\tfinished(): Promise<track.Position> {\n\t\treturn this.#inner.finished();\n\t}\n\n\t/** Receive the next group, as `Track.Subscriber.recvGroup` does. */\n\tasync recvGroup(): Promise<Group | undefined> {\n\t\tconst group = await this.#inner.recvGroup();\n\t\treturn group ? makeGroup(group) : undefined;\n\t}\n\n\t/** Replace this subscription's options; see `Track.Subscriber.update`. */\n\tupdate(options: track.Subscription): void {\n\t\tthis.#inner.update(options);\n\t}\n\n\t/** Close the subscription (optionally with an error). Idempotent. */\n\tclose(abort?: Error): void {\n\t\tthis.#inner.close(abort);\n\t}\n}\n\n/**\n * One group of a metadata subscription, read header by header.\n *\n * @public\n */\nexport class Group {\n\t/** Where this group starts, in its track's timescale: its key on the track. */\n\treadonly start: bigint;\n\n\t#inner: GroupConsumer;\n\t// Starts at the copy's first frame, which a group joined mid-way places past 0.\n\t#index: number;\n\n\tprivate constructor(inner: GroupConsumer) {\n\t\tthis.start = inner.start;\n\t\tthis.#inner = inner;\n\t\tthis.#index = hooks.groupIndex(inner);\n\t}\n\n\tstatic {\n\t\tmakeGroup = (inner) => new Group(inner);\n\t}\n\n\t/** The index of the next frame this reader returns. */\n\tget index(): number {\n\t\treturn this.#index;\n\t}\n\n\t/** The group's declared end in its track's timescale, or undefined until it finishes with one. */\n\tget end(): bigint | undefined {\n\t\treturn this.#inner.end;\n\t}\n\n\t/**\n\t * The next frame's header: its timestamp and declared plain size, without its payload, or\n\t * undefined once the group ends. A real empty frame reads as size 0.\n\t */\n\tasync nextHeader(): Promise<frame.Info | undefined> {\n\t\t// A stored read carries each frame's plain size beside it, so it never inflates a frame.\n\t\tconst read = await hooks.readGroupFrame(this.#inner, true, 0, true);\n\t\tif (!read) return undefined;\n\t\tthis.#index = read.index + 1;\n\t\treturn { size: read.inflated ?? readSize(read), timestamp: read.frame.timestamp };\n\t}\n\n\t/** Release this reader, like dropping a Rust consumer. Idempotent. */\n\tclose(): void {\n\t\tthis.#inner.close();\n\t}\n}\n"]}
|
package/meta_api.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Metadata subscriptions: a track's groups and frame headers without the payload. The public surface of `meta.ts`, leaving its package-internal helpers out.
|
|
3
|
+
*
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
6
|
+
export { Consumer, Group, Subscriber, } from "./meta.ts";
|
|
7
|
+
//# sourceMappingURL=meta_api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta_api.d.ts","sourceRoot":"","sources":["../src/meta_api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACN,QAAQ,EACR,KAAK,EACL,UAAU,GACV,MAAM,WAAW,CAAC"}
|
package/meta_api.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Metadata subscriptions: a track's groups and frame headers without the payload. The public surface of `meta.ts`, leaving its package-internal helpers out.
|
|
3
|
+
*
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
6
|
+
export { Consumer, Group, Subscriber, } from "./meta.js";
|
|
7
|
+
//# sourceMappingURL=meta_api.js.map
|
package/meta_api.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta_api.js","sourceRoot":"","sources":["../src/meta_api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACN,QAAQ,EACR,KAAK,EACL,UAAU,GACV,MAAM,WAAW,CAAC","sourcesContent":["/**\n * Metadata subscriptions: a track's groups and frame headers without the payload. The public surface of `meta.ts`, leaving its package-internal helpers out.\n *\n * @module\n */\nexport {\n\tConsumer,\n\tGroup,\n\tSubscriber,\n} from \"./meta.ts\";\n"]}
|
package/mint.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minting identities, which only a session does. Not exported from the package entrypoint, and
|
|
3
|
+
* {@link Minted}'s constructor refuses anyone without this module's token, so the public API
|
|
4
|
+
* builds only named identities.
|
|
5
|
+
*
|
|
6
|
+
* @module
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* An identity a session minted for a route whose wire (an older moq-lite, or moq-transport)
|
|
10
|
+
* carries none. Interned by text while any copy is alive, so `===` and map keys compare minted
|
|
11
|
+
* identities by value, and a named identity, being a string, never equals one.
|
|
12
|
+
*/
|
|
13
|
+
export declare class Minted {
|
|
14
|
+
#private;
|
|
15
|
+
private constructor();
|
|
16
|
+
/** Whether `value` is a minted identity: a brand check no other object passes. */
|
|
17
|
+
static is(value: unknown): value is Minted;
|
|
18
|
+
/** The identity's text, which alone does not tell it from a named identity. */
|
|
19
|
+
get text(): string;
|
|
20
|
+
toString(): string;
|
|
21
|
+
}
|
|
22
|
+
/** The minted identity with `text`. */
|
|
23
|
+
export declare function mint(text: string): Minted;
|
|
24
|
+
/** 128 random bits as hex. */
|
|
25
|
+
export declare function hex(): string;
|
|
26
|
+
/** A fresh identity a session mints for a route its wire delivered without one. */
|
|
27
|
+
export declare function fresh(): Minted;
|
|
28
|
+
//# sourceMappingURL=mint.d.ts.map
|
package/mint.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mint.d.ts","sourceRoot":"","sources":["../src/mint.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH;;;;GAIG;AACH,qBAAa,MAAM;;IAIlB,OAAO,eAIN;IAMD,kFAAkF;IAClF,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAEzC;IAED,+EAA+E;IAC/E,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,QAAQ,IAAI,MAAM,CAEjB;CACD;AASD,uCAAuC;AACvC,wBAAgB,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAOzC;AAED,8BAA8B;AAC9B,wBAAgB,GAAG,IAAI,MAAM,CAG5B;AAED,mFAAmF;AACnF,wBAAgB,KAAK,IAAI,MAAM,CAE9B"}
|
package/mint.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minting identities, which only a session does. Not exported from the package entrypoint, and
|
|
3
|
+
* {@link Minted}'s constructor refuses anyone without this module's token, so the public API
|
|
4
|
+
* builds only named identities.
|
|
5
|
+
*
|
|
6
|
+
* @module
|
|
7
|
+
*/
|
|
8
|
+
const TOKEN = Symbol("mint");
|
|
9
|
+
// Set by Minted's static block, which alone may call its private constructor.
|
|
10
|
+
let construct;
|
|
11
|
+
/**
|
|
12
|
+
* An identity a session minted for a route whose wire (an older moq-lite, or moq-transport)
|
|
13
|
+
* carries none. Interned by text while any copy is alive, so `===` and map keys compare minted
|
|
14
|
+
* identities by value, and a named identity, being a string, never equals one.
|
|
15
|
+
*/
|
|
16
|
+
export class Minted {
|
|
17
|
+
#text;
|
|
18
|
+
// The token refuses a caller that reaches the class through an identity's prototype.
|
|
19
|
+
constructor(token, text) {
|
|
20
|
+
if (token !== TOKEN)
|
|
21
|
+
throw new TypeError("only a session mints an identity");
|
|
22
|
+
this.#text = text;
|
|
23
|
+
Object.freeze(this);
|
|
24
|
+
}
|
|
25
|
+
static {
|
|
26
|
+
construct = (text) => new Minted(TOKEN, text);
|
|
27
|
+
}
|
|
28
|
+
/** Whether `value` is a minted identity: a brand check no other object passes. */
|
|
29
|
+
static is(value) {
|
|
30
|
+
return typeof value === "object" && value !== null && #text in value;
|
|
31
|
+
}
|
|
32
|
+
/** The identity's text, which alone does not tell it from a named identity. */
|
|
33
|
+
get text() {
|
|
34
|
+
return this.#text;
|
|
35
|
+
}
|
|
36
|
+
toString() {
|
|
37
|
+
return this.#text;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
// One live Minted per text, so equality stays `===`. An entry goes once nothing holds its
|
|
41
|
+
// identity, after which nobody can compare against it.
|
|
42
|
+
const interned = new Map();
|
|
43
|
+
const released = new FinalizationRegistry((text) => {
|
|
44
|
+
if (interned.get(text)?.deref() === undefined)
|
|
45
|
+
interned.delete(text);
|
|
46
|
+
});
|
|
47
|
+
/** The minted identity with `text`. */
|
|
48
|
+
export function mint(text) {
|
|
49
|
+
const live = interned.get(text)?.deref();
|
|
50
|
+
if (live)
|
|
51
|
+
return live;
|
|
52
|
+
const minted = construct(text);
|
|
53
|
+
interned.set(text, new WeakRef(minted));
|
|
54
|
+
released.register(minted, text);
|
|
55
|
+
return minted;
|
|
56
|
+
}
|
|
57
|
+
/** 128 random bits as hex. */
|
|
58
|
+
export function hex() {
|
|
59
|
+
const bytes = crypto.getRandomValues(new Uint8Array(16));
|
|
60
|
+
return Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
61
|
+
}
|
|
62
|
+
/** A fresh identity a session mints for a route its wire delivered without one. */
|
|
63
|
+
export function fresh() {
|
|
64
|
+
return mint(hex());
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=mint.js.map
|
package/mint.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mint.js","sourceRoot":"","sources":["../src/mint.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;AAE7B,8EAA8E;AAC9E,IAAI,SAAmC,CAAC;AAExC;;;;GAIG;AACH,MAAM,OAAO,MAAM;IACT,KAAK,CAAS;IAEvB,qFAAqF;IACrF,YAAoB,KAAa,EAAE,IAAY;QAC9C,IAAI,KAAK,KAAK,KAAK;YAAE,MAAM,IAAI,SAAS,CAAC,kCAAkC,CAAC,CAAC;QAC7E,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACrB,CAAC;IAED;QACC,SAAS,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;IAED,kFAAkF;IAClF,MAAM,CAAC,EAAE,CAAC,KAAc;QACvB,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,IAAI,KAAK,CAAC;IACtE,CAAC;IAED,+EAA+E;IAC/E,IAAI,IAAI;Q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GAAG,EAAE,CAAC,CAAC;AACpB,CAAC","sourcesContent":["/**\n * Minting identities, which only a session does. Not exported from the package entrypoint, and\n * {@link Minted}'s constructor refuses anyone without this module's token, so the public API\n * builds only named identities.\n *\n * @module\n */\n\nconst TOKEN = Symbol(\"mint\");\n\n// Set by Minted's static block, which alone may call its private constructor.\nlet construct: (text: string) => Minted;\n\n/**\n * An identity a session minted for a route whose wire (an older moq-lite, or moq-transport)\n * carries none. Interned by text while any copy is alive, so `===` and map keys compare minted\n * identities by value, and a named identity, being a string, never equals one.\n */\nexport class Minted {\n\treadonly #text: string;\n\n\t// The token refuses a caller that reaches the class through an identity's prototype.\n\tprivate constructor(token: symbol, text: string) {\n\t\tif (token !== TOKEN) throw new TypeError(\"only a session mints an identity\");\n\t\tthis.#text = text;\n\t\tObject.freeze(this);\n\t}\n\n\tstatic {\n\t\tconstruct = (text) => new Minted(TOKEN, text);\n\t}\n\n\t/** Whether `value` is a minted identity: a brand check no other object passes. */\n\tstatic is(value: unknown): value is Minted {\n\t\treturn typeof value === \"object\" && value !== null && #text in value;\n\t}\n\n\t/** The identity's text, which alone does not tell it from a named identity. */\n\tget text(): string {\n\t\treturn this.#text;\n\t}\n\n\ttoString(): string {\n\t\treturn this.#text;\n\t}\n}\n\n// One live Minted per text, so equality stays `===`. An entry goes once nothing holds its\n// identity, after which nobody can compare against it.\nconst interned = new Map<string, WeakRef<Minted>>();\nconst released = new FinalizationRegistry<string>((text) => {\n\tif (interned.get(text)?.deref() === undefined) interned.delete(text);\n});\n\n/** The minted identity with `text`. */\nexport function mint(text: string): Minted {\n\tconst live = interned.get(text)?.deref();\n\tif (live) return live;\n\tconst minted = construct(text);\n\tinterned.set(text, new WeakRef(minted));\n\treleased.register(minted, text);\n\treturn minted;\n}\n\n/** 128 random bits as hex. */\nexport function hex(): string {\n\tconst bytes = crypto.getRandomValues(new Uint8Array(16));\n\treturn Array.from(bytes, (byte) => byte.toString(16).padStart(2, \"0\")).join(\"\");\n}\n\n/** A fresh identity a session mints for a route its wire delivered without one. */\nexport function fresh(): Minted {\n\treturn mint(hex());\n}\n"]}
|
package/open.d.ts
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Duration } from "@moq/clock";
|
|
2
|
+
import { type Getter } from "@moq/signals";
|
|
3
|
+
import type { Probe } from "./connection/stats.ts";
|
|
4
|
+
/** A send order, or a way to read it while it can still move. */
|
|
5
|
+
export type Rank = number | (() => number);
|
|
6
|
+
/** What a line resets to make room with, once an open has waited long enough. */
|
|
7
|
+
interface Room {
|
|
8
|
+
streams: OpenStreams;
|
|
9
|
+
/** About one round trip: how long an open waits for credit before making room. */
|
|
10
|
+
patience: () => Promise<Duration>;
|
|
11
|
+
}
|
|
12
|
+
/** The opens of one direction waiting for the peer's stream credit. */
|
|
13
|
+
declare class Line<T> {
|
|
14
|
+
#private;
|
|
15
|
+
constructor(create: (sendOrder: number) => Promise<T>, rank: (stream: T, sendOrder: number) => void, room?: Room);
|
|
16
|
+
/**
|
|
17
|
+
* Wait for a stream at `rank`, read again whenever a stream is handed out, or undefined once
|
|
18
|
+
* `cancel` settles or aborts first.
|
|
19
|
+
*/
|
|
20
|
+
open(rank: Rank): Promise<T>;
|
|
21
|
+
open(rank: Rank, cancel: Promise<unknown> | AbortSignal): Promise<T | undefined>;
|
|
22
|
+
}
|
|
23
|
+
type SendStream = WritableStream<Uint8Array> & {
|
|
24
|
+
sendOrder?: number;
|
|
25
|
+
};
|
|
26
|
+
/** One of a session's open group streams. */
|
|
27
|
+
export interface OpenStream {
|
|
28
|
+
/** The send order the stream has now, where HIGHER values are sent first. */
|
|
29
|
+
readonly sendOrder: number;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the peer has acknowledged every byte written to it so far, or undefined when the
|
|
32
|
+
* transport cannot tell.
|
|
33
|
+
*/
|
|
34
|
+
acknowledged(): Promise<boolean | undefined>;
|
|
35
|
+
/** Reset the stream to make room for a higher one, failing its writer as too far behind. */
|
|
36
|
+
preempt(): void;
|
|
37
|
+
}
|
|
38
|
+
/** The group streams a session has open, from when each opens until it is closed or reset. */
|
|
39
|
+
export declare class OpenStreams {
|
|
40
|
+
#private;
|
|
41
|
+
/**
|
|
42
|
+
* Whether the transport reports acknowledgements, known when the session starts:
|
|
43
|
+
* `@moq/qmux` does, a browser's WebTransport cannot.
|
|
44
|
+
*/
|
|
45
|
+
readonly acknowledges: boolean;
|
|
46
|
+
constructor(acknowledges: boolean);
|
|
47
|
+
add(stream: OpenStream): void;
|
|
48
|
+
delete(stream: OpenStream): void;
|
|
49
|
+
/** The open group streams, the lowest send order first, and the earliest opened among equals. */
|
|
50
|
+
list(): OpenStream[];
|
|
51
|
+
}
|
|
52
|
+
/** The lines of one session's opens, and the group streams it has open. */
|
|
53
|
+
interface Lines {
|
|
54
|
+
uni: Line<SendStream>;
|
|
55
|
+
bi: Line<WebTransportBidirectionalStream>;
|
|
56
|
+
streams: OpenStreams;
|
|
57
|
+
/** The peer's PROBE estimates, whose RTT stands in for a transport that reports none. */
|
|
58
|
+
probe?: Getter<Probe>;
|
|
59
|
+
}
|
|
60
|
+
/** The lines `quic`'s opens wait in, and its open group streams, shared by everything opening on it. */
|
|
61
|
+
export declare function lines(quic: WebTransport): Lines;
|
|
62
|
+
export {};
|
|
63
|
+
//# sourceMappingURL=open.d.ts.map
|
package/open.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../src/open.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAS,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,cAAc,CAAC;AACjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AA6BnD,iEAAiE;AACjE,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,CAAC;AAY3C,iFAAiF;AACjF,UAAU,IAAI;IACb,OAAO,EAAE,WA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