@moq/net 0.4.7 → 0.4.8
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/announce.d.ts +1 -1
- package/announce.js +0 -1
- package/announced.js +0 -1
- package/bandwidth.js +0 -1
- package/bandwidth_api.d.ts +1 -1
- package/bandwidth_api.js +0 -1
- package/broadcast.d.ts +3 -3
- package/broadcast.js +0 -1
- package/connection/accept.d.ts +2 -2
- package/connection/accept.js +0 -1
- package/connection/browser.js +0 -1
- package/connection/connect.d.ts +3 -3
- package/connection/connect.js +0 -1
- package/connection/established.d.ts +4 -4
- package/connection/established.js +0 -1
- package/connection/forward.js +0 -1
- package/connection/goaway.d.ts +1 -1
- package/connection/goaway.js +15 -2
- package/connection/goaway.js.map +1 -1
- package/connection/handshake.d.ts +2 -2
- package/connection/handshake.js +0 -1
- package/connection/index.d.ts +7 -7
- package/connection/index.js +0 -1
- package/connection/pool.d.ts +13 -13
- package/connection/pool.js +0 -1
- package/connection/reload.d.ts +1 -1
- package/connection/reload.js +0 -1
- package/connection/stats.d.ts +1 -1
- package/connection/stats.js +0 -1
- package/connection/transport.js +0 -1
- package/consume.js +0 -1
- package/datagram.d.ts +1 -1
- package/datagram.js +0 -1
- package/error.js +0 -1
- package/errors.d.ts +1 -1
- package/errors.js +0 -1
- package/group.d.ts +1 -1
- package/group.js +0 -1
- package/hop.js +0 -1
- package/ietf/adapter.d.ts +3 -3
- package/ietf/adapter.js +0 -1
- package/ietf/aliases.js +0 -1
- package/ietf/cluster.js +10 -3
- package/ietf/cluster.js.map +1 -1
- package/ietf/connection.d.ts +5 -5
- package/ietf/connection.js +0 -1
- package/ietf/error.js +0 -1
- package/ietf/fetch.d.ts +2 -2
- package/ietf/fetch.js +0 -1
- package/ietf/filter.d.ts +2 -2
- package/ietf/filter.js +0 -1
- package/ietf/goaway.d.ts +3 -3
- package/ietf/goaway.js +0 -1
- package/ietf/hidden.js +0 -1
- package/ietf/index.d.ts +20 -20
- package/ietf/index.js +0 -1
- package/ietf/message.d.ts +1 -1
- package/ietf/message.js +0 -1
- package/ietf/namespace.d.ts +2 -2
- package/ietf/namespace.js +0 -1
- package/ietf/object.d.ts +3 -3
- package/ietf/object.js +0 -1
- package/ietf/parameters.d.ts +3 -3
- package/ietf/parameters.js +0 -1
- package/ietf/priority.js +0 -1
- package/ietf/properties.d.ts +3 -3
- package/ietf/properties.js +0 -1
- package/ietf/publish.d.ts +3 -3
- package/ietf/publish.js +0 -1
- package/ietf/publish_namespace.d.ts +4 -4
- package/ietf/publish_namespace.js +0 -1
- package/ietf/publisher.js +0 -1
- package/ietf/request.d.ts +3 -3
- package/ietf/request.js +0 -1
- package/ietf/request_stream.d.ts +2 -2
- package/ietf/request_stream.js +0 -1
- package/ietf/setup.d.ts +3 -3
- package/ietf/setup.js +0 -1
- package/ietf/solicit.js +0 -1
- package/ietf/subscribe.d.ts +6 -6
- package/ietf/subscribe.js +0 -1
- package/ietf/subscribe_namespace.d.ts +4 -4
- package/ietf/subscribe_namespace.js +0 -1
- package/ietf/subscriber.js +0 -1
- package/ietf/token.js +0 -1
- package/ietf/track.d.ts +3 -3
- package/ietf/track.js +0 -1
- package/ietf/version.js +0 -1
- package/index.d.ts +13 -13
- package/index.d.ts.map +1 -1
- package/index.js +0 -1
- package/index.js.map +1 -1
- package/internal.d.ts +7 -7
- package/internal.js +0 -1
- package/lite/announce.d.ts +4 -4
- package/lite/announce.js +0 -1
- package/lite/connection.d.ts +7 -7
- package/lite/connection.js +0 -1
- package/lite/datagram.d.ts +1 -1
- package/lite/datagram.js +0 -1
- package/lite/datagram_stream.js +0 -1
- package/lite/fetch.d.ts +3 -3
- package/lite/fetch.js +0 -1
- package/lite/goaway.d.ts +2 -2
- package/lite/goaway.js +0 -1
- package/lite/group.d.ts +3 -3
- package/lite/group.js +0 -1
- package/lite/index.d.ts +13 -13
- package/lite/index.js +0 -1
- package/lite/message.d.ts +1 -1
- package/lite/message.js +0 -1
- package/lite/priority.js +0 -1
- package/lite/probe.d.ts +2 -2
- package/lite/probe.js +0 -1
- package/lite/publisher.js +0 -1
- package/lite/session.d.ts +2 -2
- package/lite/session.js +0 -1
- package/lite/setup.d.ts +3 -3
- package/lite/setup.js +0 -1
- package/lite/stream.d.ts +6 -6
- package/lite/stream.js +0 -1
- package/lite/subscribe.d.ts +3 -3
- package/lite/subscribe.js +0 -1
- package/lite/subscriber.d.ts +7 -7
- package/lite/subscriber.js +0 -1
- package/lite/track.d.ts +3 -3
- package/lite/track.js +0 -1
- package/lite/version.js +0 -1
- package/origin.d.ts +6 -6
- package/origin.js +0 -1
- package/package.json +2 -2
- package/path.js +0 -1
- package/stream.d.ts +3 -3
- package/stream.js +0 -1
- package/tail.d.ts +1 -1
- package/tail.js +0 -1
- package/time.js +0 -1
- package/track.d.ts +4 -4
- package/track.js +0 -1
- package/util/abort.js +0 -1
- package/util/hex.js +0 -1
- package/util/log.js +0 -1
- package/util/timeout.js +0 -1
- package/util/u64.js +0 -1
- package/util/utf8.js +0 -1
- package/util/varint.js +0 -1
- package/varint.js +0 -1
- package/wire.d.ts +7 -7
- package/wire.js +0 -1
- package/zod.d.ts +2 -2
- package/zod.js +0 -1
package/ietf/fetch.js
CHANGED
package/ietf/filter.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module
|
|
5
5
|
*/
|
|
6
|
-
import type { Reader } from "../stream";
|
|
7
|
-
import { type IetfVersion } from "./version";
|
|
6
|
+
import type { Reader } from "../stream.ts";
|
|
7
|
+
import { type IetfVersion } from "./version.ts";
|
|
8
8
|
/** Which Objects a subscription delivers. */
|
|
9
9
|
export type Filter =
|
|
10
10
|
/** Every Object in the track, encoded by omitting the parameter. */
|
package/ietf/filter.js
CHANGED
package/ietf/goaway.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Drain } from "../connection/goaway";
|
|
2
|
-
import { Reader, type Writer } from "../stream";
|
|
3
|
-
import { type IetfVersion } from "./version";
|
|
1
|
+
import type { Drain } from "../connection/goaway.ts";
|
|
2
|
+
import { Reader, type Writer } from "../stream.ts";
|
|
3
|
+
import { type IetfVersion } from "./version.ts";
|
|
4
4
|
export declare class GoAway {
|
|
5
5
|
#private;
|
|
6
6
|
static id: number;
|
package/ietf/goaway.js
CHANGED
package/ietf/hidden.js
CHANGED
package/ietf/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export * from "./adapter";
|
|
2
|
-
export * as Cluster from "./cluster";
|
|
3
|
-
export * from "./connection";
|
|
4
|
-
export * from "./fetch";
|
|
5
|
-
export * from "./goaway";
|
|
6
|
-
export * from "./hidden";
|
|
7
|
-
export * from "./object";
|
|
8
|
-
export * from "./parameters";
|
|
9
|
-
export * from "./publish";
|
|
10
|
-
export * from "./publish_namespace";
|
|
11
|
-
export * from "./publisher";
|
|
12
|
-
export * from "./request";
|
|
13
|
-
export * from "./setup";
|
|
14
|
-
export * from "./solicit";
|
|
15
|
-
export * from "./subscribe";
|
|
16
|
-
export * from "./subscribe_namespace";
|
|
17
|
-
export * from "./subscriber";
|
|
18
|
-
export * from "./token";
|
|
19
|
-
export * from "./track";
|
|
20
|
-
export * from "./version";
|
|
1
|
+
export * from "./adapter.ts";
|
|
2
|
+
export * as Cluster from "./cluster.ts";
|
|
3
|
+
export * from "./connection.ts";
|
|
4
|
+
export * from "./fetch.ts";
|
|
5
|
+
export * from "./goaway.ts";
|
|
6
|
+
export * from "./hidden.ts";
|
|
7
|
+
export * from "./object.ts";
|
|
8
|
+
export * from "./parameters.ts";
|
|
9
|
+
export * from "./publish.ts";
|
|
10
|
+
export * from "./publish_namespace.ts";
|
|
11
|
+
export * from "./publisher.ts";
|
|
12
|
+
export * from "./request.ts";
|
|
13
|
+
export * from "./setup.ts";
|
|
14
|
+
export * from "./solicit.ts";
|
|
15
|
+
export * from "./subscribe.ts";
|
|
16
|
+
export * from "./subscribe_namespace.ts";
|
|
17
|
+
export * from "./subscriber.ts";
|
|
18
|
+
export * from "./token.ts";
|
|
19
|
+
export * from "./track.ts";
|
|
20
|
+
export * from "./version.ts";
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
package/ietf/index.js
CHANGED
package/ietf/message.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Reader, Writer } from "../stream";
|
|
1
|
+
import { Reader, Writer } from "../stream.ts";
|
|
2
2
|
export declare function encode(writer: Writer, f: (w: Writer) => Promise<void>): Promise<void>;
|
|
3
3
|
export declare function decode<T>(reader: Reader, f: (r: Reader) => Promise<T>): Promise<T>;
|
|
4
4
|
//# sourceMappingURL=message.d.ts.map
|
package/ietf/message.js
CHANGED
package/ietf/namespace.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as Path from "../path";
|
|
2
|
-
import type { Reader, Writer } from "../stream";
|
|
1
|
+
import * as Path from "../path.ts";
|
|
2
|
+
import type { Reader, Writer } from "../stream.ts";
|
|
3
3
|
/** Convert the escaped moq-net path representation into IETF namespace tuple fields. */
|
|
4
4
|
export declare function toTuple(namespace: Path.Valid): string[];
|
|
5
5
|
/** Convert IETF namespace tuple fields into the escaped moq-net path representation. */
|
package/ietf/namespace.js
CHANGED
package/ietf/object.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type Cursor, type Reader, Writer } from "../stream";
|
|
2
|
-
import { Timescale, Timestamp } from "../time";
|
|
3
|
-
import { type IetfVersion } from "./version";
|
|
1
|
+
import { type Cursor, type Reader, Writer } from "../stream.ts";
|
|
2
|
+
import { Timescale, Timestamp } from "../time.ts";
|
|
3
|
+
import { type IetfVersion } from "./version.ts";
|
|
4
4
|
/** Whether the subgroup header carries FIRST_OBJECT: draft-18 and later, not drafts 14-17. */
|
|
5
5
|
export declare function hasFirstObjectBit(version: IetfVersion): boolean;
|
|
6
6
|
export interface GroupFlags {
|
package/ietf/object.js
CHANGED
package/ietf/parameters.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Reader, Writer } from "../stream";
|
|
2
|
-
import * as Filter from "./filter";
|
|
3
|
-
import { type IetfVersion } from "./version";
|
|
1
|
+
import type { Reader, Writer } from "../stream.ts";
|
|
2
|
+
import * as Filter from "./filter.ts";
|
|
3
|
+
import { type IetfVersion } from "./version.ts";
|
|
4
4
|
export declare const SetupOption: {
|
|
5
5
|
readonly Path: 1n;
|
|
6
6
|
readonly MaxRequestId: 2n;
|
package/ietf/parameters.js
CHANGED
package/ietf/priority.js
CHANGED
package/ietf/properties.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Reader, Writer } from "../stream";
|
|
2
|
-
import { Timescale } from "../time";
|
|
3
|
-
import { type IetfVersion } from "./version";
|
|
1
|
+
import type { Reader, Writer } from "../stream.ts";
|
|
2
|
+
import { Timescale } from "../time.ts";
|
|
3
|
+
import { type IetfVersion } from "./version.ts";
|
|
4
4
|
/**
|
|
5
5
|
* DEFAULT_PUBLISHER_GROUP_ORDER's descending value: the newest group first, which is what
|
|
6
6
|
* we serve, matching moq-lite.
|
package/ietf/properties.js
CHANGED
package/ietf/publish.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type * as Path from "../path";
|
|
2
|
-
import type { Reader, Writer } from "../stream";
|
|
3
|
-
import { type IetfVersion } from "./version";
|
|
1
|
+
import type * as Path from "../path.ts";
|
|
2
|
+
import type { Reader, Writer } from "../stream.ts";
|
|
3
|
+
import { type IetfVersion } from "./version.ts";
|
|
4
4
|
export declare class Publish {
|
|
5
5
|
#private;
|
|
6
6
|
static id: number;
|
package/ietf/publish.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type * as Path from "../path";
|
|
2
|
-
import type { Reader, Writer } from "../stream";
|
|
3
|
-
import * as Cluster from "./cluster";
|
|
4
|
-
import { type IetfVersion } from "./version";
|
|
1
|
+
import type * as Path from "../path.ts";
|
|
2
|
+
import type { Reader, Writer } from "../stream.ts";
|
|
3
|
+
import * as Cluster from "./cluster.ts";
|
|
4
|
+
import { type IetfVersion } from "./version.ts";
|
|
5
5
|
export declare class PublishNamespace {
|
|
6
6
|
#private;
|
|
7
7
|
static id: number;
|
package/ietf/publisher.js
CHANGED
package/ietf/request.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Reader, Writer } from "../stream";
|
|
2
|
-
import { Parameters } from "./parameters";
|
|
3
|
-
import { type IetfVersion } from "./version";
|
|
1
|
+
import type { Reader, Writer } from "../stream.ts";
|
|
2
|
+
import { Parameters } from "./parameters.ts";
|
|
3
|
+
import { type IetfVersion } from "./version.ts";
|
|
4
4
|
export declare class MaxRequestId {
|
|
5
5
|
#private;
|
|
6
6
|
static id: number;
|
package/ietf/request.js
CHANGED
package/ietf/request_stream.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Stream } from "../stream";
|
|
2
|
-
import { type IetfVersion } from "./version";
|
|
1
|
+
import type { Stream } from "../stream.ts";
|
|
2
|
+
import { type IetfVersion } from "./version.ts";
|
|
3
3
|
/** Whether the draft treats the requester finishing its messages as cancellation. */
|
|
4
4
|
export declare function finCancels(version: IetfVersion): boolean;
|
|
5
5
|
/** Wait for request cancellation, including STOP_SENDING after a clean requester FIN. */
|
package/ietf/request_stream.js
CHANGED
package/ietf/setup.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Reader, Writer } from "../stream";
|
|
2
|
-
import { SetupOptions } from "./parameters";
|
|
3
|
-
import { type IetfVersion } from "./version";
|
|
1
|
+
import type { Reader, Writer } from "../stream.ts";
|
|
2
|
+
import { SetupOptions } from "./parameters.ts";
|
|
3
|
+
import { type IetfVersion } from "./version.ts";
|
|
4
4
|
export declare class Setup {
|
|
5
5
|
#private;
|
|
6
6
|
static id: number;
|
package/ietf/setup.js
CHANGED
package/ietf/solicit.js
CHANGED
package/ietf/subscribe.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type * as Path from "../path";
|
|
2
|
-
import type { Reader, Writer } from "../stream";
|
|
3
|
-
import * as Filter from "./filter";
|
|
4
|
-
import { type MessageLocation } from "./parameters";
|
|
5
|
-
import * as Properties from "./properties";
|
|
6
|
-
import { type IetfVersion } from "./version";
|
|
1
|
+
import type * as Path from "../path.ts";
|
|
2
|
+
import type { Reader, Writer } from "../stream.ts";
|
|
3
|
+
import * as Filter from "./filter.ts";
|
|
4
|
+
import { type MessageLocation } from "./parameters.ts";
|
|
5
|
+
import * as Properties from "./properties.ts";
|
|
6
|
+
import { type IetfVersion } from "./version.ts";
|
|
7
7
|
/**
|
|
8
8
|
* The filter this implementation joins a live track with.
|
|
9
9
|
*
|
package/ietf/subscribe.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type * as Path from "../path";
|
|
2
|
-
import type { Reader, Writer } from "../stream";
|
|
3
|
-
import * as Cluster from "./cluster";
|
|
4
|
-
import { type IetfVersion } from "./version";
|
|
1
|
+
import type * as Path from "../path.ts";
|
|
2
|
+
import type { Reader, Writer } from "../stream.ts";
|
|
3
|
+
import * as Cluster from "./cluster.ts";
|
|
4
|
+
import { type IetfVersion } from "./version.ts";
|
|
5
5
|
export declare class SubscribeNamespace {
|
|
6
6
|
#private;
|
|
7
7
|
static id: number;
|
package/ietf/subscriber.js
CHANGED
package/ietf/token.js
CHANGED
package/ietf/track.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type * as Path from "../path";
|
|
2
|
-
import type { Reader, Writer } from "../stream";
|
|
3
|
-
import { type IetfVersion } from "./version";
|
|
1
|
+
import type * as Path from "../path.ts";
|
|
2
|
+
import type { Reader, Writer } from "../stream.ts";
|
|
3
|
+
import { type IetfVersion } from "./version.ts";
|
|
4
4
|
export declare class TrackStatusRequest {
|
|
5
5
|
#private;
|
|
6
6
|
static id: number;
|
package/ietf/track.js
CHANGED
package/ietf/version.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -4,29 +4,29 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @module
|
|
6
6
|
*/
|
|
7
|
-
/** Re-export of {@link https://
|
|
7
|
+
/** Re-export of {@link https://www.npmjs.com/package/@moq/signals | @moq/signals}, the reactive primitives used throughout this package. */
|
|
8
8
|
export * as Signals from "@moq/signals";
|
|
9
9
|
/** Broadcast announcement streams. */
|
|
10
|
-
export * as Announce from "./announce";
|
|
10
|
+
export * as Announce from "./announce.ts";
|
|
11
11
|
/** Send-side bandwidth estimates split among the tracks sharing a connection. */
|
|
12
|
-
export * as Bandwidth from "./bandwidth_api";
|
|
12
|
+
export * as Bandwidth from "./bandwidth_api.ts";
|
|
13
13
|
/** Broadcast role handles. */
|
|
14
|
-
export * as Broadcast from "./broadcast";
|
|
14
|
+
export * as Broadcast from "./broadcast.ts";
|
|
15
15
|
/** A reconnecting, shareable handle on a MoQ session. */
|
|
16
|
-
export { Connection } from "./connection/index";
|
|
17
|
-
export { SessionCode, StreamCode } from "./error";
|
|
16
|
+
export { Connection } from "./connection/index.ts";
|
|
17
|
+
export { SessionCode, StreamCode } from "./error.ts";
|
|
18
18
|
/** Session and stream errors, each carrying a code from its own registry. */
|
|
19
|
-
export * as Error from "./errors";
|
|
19
|
+
export * as Error from "./errors.ts";
|
|
20
20
|
/** Group role handles and frame helpers. */
|
|
21
|
-
export * as Group from "./group";
|
|
21
|
+
export * as Group from "./group.ts";
|
|
22
22
|
/** Broadcast routing tables, independent of any connection. */
|
|
23
|
-
export * as Origin from "./origin";
|
|
23
|
+
export * as Origin from "./origin.ts";
|
|
24
24
|
/** Broadcast path utilities with delimiter-aware prefix matching. Path patterns are re-exported from `@moq/pattern`. */
|
|
25
|
-
export * as Path from "./path";
|
|
25
|
+
export * as Path from "./path.ts";
|
|
26
26
|
/** Branded time types (nanoseconds, microseconds, milliseconds, seconds) with conversions. */
|
|
27
|
-
export * as Time from "./time";
|
|
27
|
+
export * as Time from "./time.ts";
|
|
28
28
|
/** Track role handles. */
|
|
29
|
-
export * as Track from "./track";
|
|
29
|
+
export * as Track from "./track.ts";
|
|
30
30
|
/** Varint encoding and decoding, in QUIC's format and moq-transport's leading-ones format. */
|
|
31
|
-
export * as Varint from "./varint";
|
|
31
|
+
export * as Varint from "./varint.ts";
|
|
32
32
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,4IAA4I;AAC5I,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,sCAAsC;AACtC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,iFAAiF;AACjF,OAAO,KAAK,SAAS,MAAM,oBAAoB,CAAC;AAChD,8BAA8B;AAC9B,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,yDAAyD;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACrD,6EAA6E;AAC7E,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AACrC,4CAA4C;AAC5C,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,+DAA+D;AAC/D,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,wHAAwH;AACxH,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,8FAA8F;AAC9F,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,0BAA0B;AAC1B,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,8FAA8F;AAC9F,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC"}
|
package/index.js
CHANGED
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;2BAGsB,cAAc;sBAA3B,OAAO;4BAEO,eAAe;uBAA7B,QAAQ;6BAEO,oBAAoB;wBAAnC,SAAS;6BAEM,gBAAgB;wBAA/B,SAAS;AACrB,yDAAyD;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;yBAE9B,aAAa;oBAAxB,KAAK;yBAEM,YAAY;oBAAvB,KAAK;0BAEO,aAAa;qBAAzB,MAAM;wBAEI,WAAW;mBAArB,IAAI;wBAEM,WAAW;mBAArB,IAAI;yBAEO,YAAY;oBAAvB,KAAK;0BAEO,aAAa;qBAAzB,MAAM","sourcesContent":["/**\n * MoQ networking layer for browsers: connect to a relay, then publish and consume\n * broadcasts, tracks, groups, and frames over WebTransport (or a WebSocket fallback).\n *\n * @module\n */\n\n/** Re-export of {@link https://
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;2BAGsB,cAAc;sBAA3B,OAAO;4BAEO,eAAe;uBAA7B,QAAQ;6BAEO,oBAAoB;wBAAnC,SAAS;6BAEM,gBAAgB;wBAA/B,SAAS;AACrB,yDAAyD;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;yBAE9B,aAAa;oBAAxB,KAAK;yBAEM,YAAY;oBAAvB,KAAK;0BAEO,aAAa;qBAAzB,MAAM;wBAEI,WAAW;mBAArB,IAAI;wBAEM,WAAW;mBAArB,IAAI;yBAEO,YAAY;oBAAvB,KAAK;0BAEO,aAAa;qBAAzB,MAAM","sourcesContent":["/**\n * MoQ networking layer for browsers: connect to a relay, then publish and consume\n * broadcasts, tracks, groups, and frames over WebTransport (or a WebSocket fallback).\n *\n * @module\n */\n\n/** Re-export of {@link https://www.npmjs.com/package/@moq/signals | @moq/signals}, the reactive primitives used throughout this package. */\nexport * as Signals from \"@moq/signals\";\n/** Broadcast announcement streams. */\nexport * as Announce from \"./announce.ts\";\n/** Send-side bandwidth estimates split among the tracks sharing a connection. */\nexport * as Bandwidth from \"./bandwidth_api.ts\";\n/** Broadcast role handles. */\nexport * as Broadcast from \"./broadcast.ts\";\n/** A reconnecting, shareable handle on a MoQ session. */\nexport { Connection } from \"./connection/index.ts\";\nexport { SessionCode, StreamCode } from \"./error.ts\";\n/** Session and stream errors, each carrying a code from its own registry. */\nexport * as Error from \"./errors.ts\";\n/** Group role handles and frame helpers. */\nexport * as Group from \"./group.ts\";\n/** Broadcast routing tables, independent of any connection. */\nexport * as Origin from \"./origin.ts\";\n/** Broadcast path utilities with delimiter-aware prefix matching. Path patterns are re-exported from `@moq/pattern`. */\nexport * as Path from \"./path.ts\";\n/** Branded time types (nanoseconds, microseconds, milliseconds, seconds) with conversions. */\nexport * as Time from \"./time.ts\";\n/** Track role handles. */\nexport * as Track from \"./track.ts\";\n/** Varint encoding and decoding, in QUIC's format and moq-transport's leading-ones format. */\nexport * as Varint from \"./varint.ts\";\n"]}
|
package/internal.d.ts
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
* @module
|
|
7
7
|
*/
|
|
8
8
|
import type { Dispose, Getter } from "@moq/signals";
|
|
9
|
-
import type { Consumer as BroadcastConsumer, Producer as BroadcastProducer } from "./broadcast";
|
|
10
|
-
import type { Frame, Consumer as GroupConsumer } from "./group";
|
|
11
|
-
import type { Route } from "./hop";
|
|
12
|
-
import * as Path from "./path";
|
|
13
|
-
import type { Timestamp } from "./time";
|
|
14
|
-
import type { Groups, Producer, Request, Subscriber } from "./track";
|
|
15
|
-
import type { Advertised, Advertisements } from "./wire";
|
|
9
|
+
import type { Consumer as BroadcastConsumer, Producer as BroadcastProducer } from "./broadcast.ts";
|
|
10
|
+
import type { Frame, Consumer as GroupConsumer } from "./group.ts";
|
|
11
|
+
import type { Route } from "./hop.ts";
|
|
12
|
+
import * as Path from "./path.ts";
|
|
13
|
+
import type { Timestamp } from "./time.ts";
|
|
14
|
+
import type { Groups, Producer, Request, Subscriber } from "./track.ts";
|
|
15
|
+
import type { Advertised, Advertisements } from "./wire.ts";
|
|
16
16
|
/** Normalize public group bounds into an inclusive start and exclusive end. */
|
|
17
17
|
export declare function groupBounds(groups?: Groups): {
|
|
18
18
|
start: number;
|
package/internal.js
CHANGED
package/lite/announce.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type Cost, type Hop } from "../hop";
|
|
2
|
-
import * as Path from "../path";
|
|
3
|
-
import type { Reader, Writer } from "../stream";
|
|
4
|
-
import { Version } from "./version";
|
|
1
|
+
import { type Cost, type Hop } from "../hop.ts";
|
|
2
|
+
import * as Path from "../path.ts";
|
|
3
|
+
import type { Reader, Writer } from "../stream.ts";
|
|
4
|
+
import { Version } from "./version.ts";
|
|
5
5
|
export type { Cost };
|
|
6
6
|
/**
|
|
7
7
|
* Lite-07: copy `keep` path segments (from the head) or hops (from the tail) of the
|
package/lite/announce.js
CHANGED
package/lite/connection.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type Getter } from "@moq/signals";
|
|
2
|
-
import type * as announce from "../announced";
|
|
3
|
-
import type { Established } from "../connection/established";
|
|
4
|
-
import { type Probe, type Stats } from "../connection/stats";
|
|
5
|
-
import { type Transport } from "../connection/transport";
|
|
6
|
-
import { type Hop } from "../hop";
|
|
7
|
-
import type * as Path from "../path";
|
|
8
|
-
import { type Role } from "./setup";
|
|
2
|
+
import type * as announce from "../announced.ts";
|
|
3
|
+
import type { Established } from "../connection/established.ts";
|
|
4
|
+
import { type Probe, type Stats } from "../connection/stats.ts";
|
|
5
|
+
import { type Transport } from "../connection/transport.ts";
|
|
6
|
+
import { type Hop } from "../hop.ts";
|
|
7
|
+
import type * as Path from "../path.ts";
|
|
8
|
+
import { type Role } from "./setup.ts";
|
|
9
9
|
/**
|
|
10
10
|
* Represents a connection to a MoQ server.
|
|
11
11
|
*
|
package/lite/connection.js
CHANGED
package/lite/datagram.d.ts
CHANGED
package/lite/datagram.js
CHANGED
package/lite/datagram_stream.js
CHANGED
package/lite/fetch.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as Path from "../path";
|
|
2
|
-
import type { Reader, Writer } from "../stream";
|
|
3
|
-
import { Version } from "./version";
|
|
1
|
+
import * as Path from "../path.ts";
|
|
2
|
+
import type { Reader, Writer } from "../stream.ts";
|
|
3
|
+
import { Version } from "./version.ts";
|
|
4
4
|
export declare class Fetch {
|
|
5
5
|
#private;
|
|
6
6
|
broadcast: Path.Valid;
|
package/lite/fetch.js
CHANGED
package/lite/goaway.d.ts
CHANGED
package/lite/goaway.js
CHANGED
package/lite/group.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type * as netGroup from "../group";
|
|
2
|
-
import type { Cursor, Reader, Writer } from "../stream";
|
|
3
|
-
import { type Version } from "./version";
|
|
1
|
+
import type * as netGroup from "../group.ts";
|
|
2
|
+
import type { Cursor, Reader, Writer } from "../stream.ts";
|
|
3
|
+
import { type Version } from "./version.ts";
|
|
4
4
|
export declare class Group {
|
|
5
5
|
#private;
|
|
6
6
|
subscribe: bigint;
|
package/lite/group.js
CHANGED
package/lite/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from "./announce";
|
|
2
|
-
export * from "./connection";
|
|
3
|
-
export * from "./datagram";
|
|
4
|
-
export * from "./fetch";
|
|
5
|
-
export * from "./goaway";
|
|
6
|
-
export * from "./group";
|
|
7
|
-
export * from "./probe";
|
|
8
|
-
export * from "./session";
|
|
9
|
-
export * from "./setup";
|
|
10
|
-
export * from "./stream";
|
|
11
|
-
export * from "./subscribe";
|
|
12
|
-
export * from "./track";
|
|
13
|
-
export * from "./version";
|
|
1
|
+
export * from "./announce.ts";
|
|
2
|
+
export * from "./connection.ts";
|
|
3
|
+
export * from "./datagram.ts";
|
|
4
|
+
export * from "./fetch.ts";
|
|
5
|
+
export * from "./goaway.ts";
|
|
6
|
+
export * from "./group.ts";
|
|
7
|
+
export * from "./probe.ts";
|
|
8
|
+
export * from "./session.ts";
|
|
9
|
+
export * from "./setup.ts";
|
|
10
|
+
export * from "./stream.ts";
|
|
11
|
+
export * from "./subscribe.ts";
|
|
12
|
+
export * from "./track.ts";
|
|
13
|
+
export * from "./version.ts";
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|