@moq/net 0.4.6 → 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.d.ts.map +1 -1
- package/ietf/connection.js +2 -6
- package/ietf/connection.js.map +1 -1
- package/ietf/error.js +0 -1
- package/ietf/fetch.d.ts +4 -4
- package/ietf/fetch.d.ts.map +1 -1
- package/ietf/fetch.js +7 -4
- package/ietf/fetch.js.map +1 -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 +8 -3
- package/ietf/object.d.ts.map +1 -1
- package/ietf/object.js +7 -1
- package/ietf/object.js.map +1 -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 -2
- package/ietf/publisher.js.map +1 -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 +10 -3
- package/ietf/subscriber.js.map +1 -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.d.ts.map +1 -1
- package/lite/subscriber.js +5 -1
- package/lite/subscriber.js.map +1 -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 +7 -3
- package/stream.d.ts.map +1 -1
- package/stream.js +24 -1
- package/stream.js.map +1 -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/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
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* @ts-self-types="./publisher.d.ts" */
|
|
2
1
|
import { race, Signal } from "@moq/signals";
|
|
3
2
|
import { controlTimeout, error, reason, StreamCode, StreamError } from "../error.js";
|
|
4
3
|
import { hiddenBelow, hooks, presented } from "../internal.js";
|
|
@@ -599,7 +598,6 @@ export class Publisher {
|
|
|
599
598
|
return;
|
|
600
599
|
}
|
|
601
600
|
streams.opened += 1;
|
|
602
|
-
await stream.u53(FetchHeader.type);
|
|
603
601
|
await new FetchHeader({ requestId }).encode(stream, version);
|
|
604
602
|
if (fill.kind !== "group") {
|
|
605
603
|
throw new Error("a fill spanning several groups is not supported");
|