wire-mesh-core 1.53.0 → 1.54.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/dist/adapters/frame-codec.d.cts +1 -1
- package/dist/adapters/frame-codec.d.mts +1 -1
- package/dist/adapters/node-identity.d.cts +2 -2
- package/dist/adapters/node-identity.d.mts +2 -2
- package/dist/adapters/tcp-transport.d.cts +1 -1
- package/dist/adapters/tcp-transport.d.mts +1 -1
- package/dist/adapters/threshold-identity.d.cts +2 -2
- package/dist/adapters/threshold-identity.d.mts +2 -2
- package/dist/adapters/threshold-wasm.d.cts +1 -1
- package/dist/adapters/threshold-wasm.d.mts +1 -1
- package/dist/adapters/tls-transport.d.cts +1 -1
- package/dist/adapters/tls-transport.d.mts +1 -1
- package/dist/domain/bulk.d.cts +2 -2
- package/dist/domain/bulk.d.mts +2 -2
- package/dist/domain/capability-grant.d.cts +3 -3
- package/dist/domain/capability-grant.d.mts +3 -3
- package/dist/domain/capability-request.d.cts +2 -2
- package/dist/domain/capability-request.d.mts +2 -2
- package/dist/domain/data-sync.d.cts +2 -2
- package/dist/domain/data-sync.d.mts +2 -2
- package/dist/domain/device-id.d.cts +1 -1
- package/dist/domain/device-id.d.mts +1 -1
- package/dist/domain/grant-candidates.d.cts +1 -1
- package/dist/domain/grant-candidates.d.mts +1 -1
- package/dist/domain/handshake.d.cts +1 -1
- package/dist/domain/handshake.d.mts +1 -1
- package/dist/domain/mesh-session.cjs +67 -8
- package/dist/domain/mesh-session.d.cts +5 -3
- package/dist/domain/mesh-session.d.mts +5 -3
- package/dist/domain/mesh-session.mjs +67 -8
- package/dist/domain/notice-board.d.cts +3 -3
- package/dist/domain/notice-board.d.mts +3 -3
- package/dist/domain/relay-hub.cjs +6 -0
- package/dist/domain/relay-hub.d.cts +3 -3
- package/dist/domain/relay-hub.d.mts +3 -3
- package/dist/domain/relay-hub.mjs +6 -0
- package/dist/domain/relay-use-gate.d.cts +2 -2
- package/dist/domain/relay-use-gate.d.mts +2 -2
- package/dist/domain/revocation-view.d.cts +2 -2
- package/dist/domain/revocation-view.d.mts +2 -2
- package/dist/domain/room-rekey.d.cts +3 -3
- package/dist/domain/room-rekey.d.mts +3 -3
- package/dist/domain/room-token-verification.d.cts +1 -1
- package/dist/domain/room-token-verification.d.mts +1 -1
- package/dist/domain/room.d.cts +4 -4
- package/dist/domain/room.d.mts +4 -4
- package/dist/domain/shard-manifest.d.cts +1 -1
- package/dist/domain/shard-manifest.d.mts +1 -1
- package/dist/domain/tokens.d.cts +1 -1
- package/dist/domain/tokens.d.mts +1 -1
- package/dist/domain/webrtc-signaling.d.cts +2 -2
- package/dist/domain/webrtc-signaling.d.mts +2 -2
- package/dist/generated/protocol.cjs +12 -0
- package/dist/generated/protocol.d.cts +2 -2
- package/dist/generated/protocol.d.mts +2 -2
- package/dist/generated/protocol.mjs +10 -1
- package/dist/{identity-9TmmK7vP.d.mts → identity-BXrJ6_YM.d.mts} +1 -1
- package/dist/{identity-CUkDHCRK.d.cts → identity-CmD4l_Mp.d.cts} +1 -1
- package/dist/ports/identity.d.cts +1 -1
- package/dist/ports/identity.d.mts +1 -1
- package/dist/ports/transport.d.cts +1 -1
- package/dist/ports/transport.d.mts +1 -1
- package/dist/{protocol-CNFRVx9w.d.cts → protocol-PhUVprXA.d.cts} +34 -6
- package/dist/{protocol-CNFRVx9w.d.mts → protocol-PhUVprXA.d.mts} +34 -6
- package/dist/{room-token-verification-BdtM1rQ4.d.mts → room-token-verification-D8HndWYM.d.cts} +2 -2
- package/dist/{room-token-verification-DpOfZOdl.d.cts → room-token-verification-Dv1O6-FV.d.mts} +2 -2
- package/dist/{tokens-CVyPoJ6l.d.mts → tokens-BVrgBeqF.d.mts} +2 -2
- package/dist/{tokens-Cl8sQo7o.d.cts → tokens-DIPzZ9JJ.d.cts} +2 -2
- package/dist/{transport-C7KVkhgb.d.mts → transport-CbXX1Xd-.d.cts} +1 -1
- package/dist/{transport-De0zHlaA.d.cts → transport-DG9ouGe-.d.mts} +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as DeviceId,
|
|
1
|
+
import { D as DeviceId, Ot as RoomNotice, T as DataHaveFrame, kt as RoomNoticeClaims, p as CapabilityToken } from "../protocol-PhUVprXA.mjs";
|
|
2
2
|
import { KeyValueStorage } from "../ports/storage.mjs";
|
|
3
|
-
import { t as IdentityPort } from "../identity-
|
|
3
|
+
import { t as IdentityPort } from "../identity-BXrJ6_YM.mjs";
|
|
4
4
|
import { t as Clock } from "../clock-DiSx-WKM.mjs";
|
|
5
|
-
import { a as RevocationCheck } from "../tokens-
|
|
5
|
+
import { a as RevocationCheck } from "../tokens-BVrgBeqF.mjs";
|
|
6
6
|
import { RoomNoticeVerdictReason } from "./room.mjs";
|
|
7
7
|
//#region src/domain/notice-board.d.ts
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { N as Frame } from "../protocol-
|
|
2
|
-
import { t as Connection } from "../transport-
|
|
1
|
+
import { N as Frame } from "../protocol-PhUVprXA.cjs";
|
|
2
|
+
import { t as Connection } from "../transport-CbXX1Xd-.cjs";
|
|
3
3
|
//#region src/domain/relay-hub.d.ts
|
|
4
4
|
export interface RelayHub {
|
|
5
|
-
/** Drives one accepted connection until it closes: registers gossip-advertised devices, re-broadcasts each gossip frame to every other connected client and replies to the gossiping connection with a catch-up frame of every other already-known device, answers relay-connect by pairing and notifying the target,
|
|
5
|
+
/** Drives one accepted connection until it closes: registers gossip-advertised devices, re-broadcasts each gossip frame to every other connected client and replies to the gossiping connection with a catch-up frame of every other already-known device, answers relay-connect by pairing and notifying the target, forwards relay-data within established pairings, and replies to a bare ping with a bare pong (wire-mesh#181) so a client can time its own sender-to-hub leg independent of anything being relayed. Resolves when the connection's frame stream ends. Internally just registerConnection followed by a loop of onFrame calls and a final onDisconnect -- kept as its own method since a dedicated hub deployment (wire-mesh-node/cloudflare-hub) has nothing else driving the connection and wants the whole lifecycle in one call. */
|
|
6
6
|
handleConnection: (connection: Readonly<Connection>) => Promise<void>;
|
|
7
7
|
/** Registers a connection with this hub without taking over its own frame-consumption loop (wire-mesh#102) -- the entry point an "ordinary opted-in node relays for peers it's already talking to" uses, alongside onFrame/onDisconnect below, to let a MeshSession's own single connection.receive() loop drive this hub rather than running a second, competing one. Must be called once, before the first onFrame call for this connection, so gossip fan-out (which forwards to every OTHER registered connection) already sees it. */
|
|
8
8
|
registerConnection: (connection: Readonly<Connection>) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { N as Frame } from "../protocol-
|
|
2
|
-
import { t as Connection } from "../transport-
|
|
1
|
+
import { N as Frame } from "../protocol-PhUVprXA.mjs";
|
|
2
|
+
import { t as Connection } from "../transport-DG9ouGe-.mjs";
|
|
3
3
|
//#region src/domain/relay-hub.d.ts
|
|
4
4
|
export interface RelayHub {
|
|
5
|
-
/** Drives one accepted connection until it closes: registers gossip-advertised devices, re-broadcasts each gossip frame to every other connected client and replies to the gossiping connection with a catch-up frame of every other already-known device, answers relay-connect by pairing and notifying the target,
|
|
5
|
+
/** Drives one accepted connection until it closes: registers gossip-advertised devices, re-broadcasts each gossip frame to every other connected client and replies to the gossiping connection with a catch-up frame of every other already-known device, answers relay-connect by pairing and notifying the target, forwards relay-data within established pairings, and replies to a bare ping with a bare pong (wire-mesh#181) so a client can time its own sender-to-hub leg independent of anything being relayed. Resolves when the connection's frame stream ends. Internally just registerConnection followed by a loop of onFrame calls and a final onDisconnect -- kept as its own method since a dedicated hub deployment (wire-mesh-node/cloudflare-hub) has nothing else driving the connection and wants the whole lifecycle in one call. */
|
|
6
6
|
handleConnection: (connection: Readonly<Connection>) => Promise<void>;
|
|
7
7
|
/** Registers a connection with this hub without taking over its own frame-consumption loop (wire-mesh#102) -- the entry point an "ordinary opted-in node relays for peers it's already talking to" uses, alongside onFrame/onDisconnect below, to let a MeshSession's own single connection.receive() loop drive this hub rather than running a second, competing one. Must be called once, before the first onFrame call for this connection, so gossip fan-out (which forwards to every OTHER registered connection) already sees it. */
|
|
8
8
|
registerConnection: (connection: Readonly<Connection>) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as Frame } from "../protocol-
|
|
2
|
-
import { t as Connection } from "../transport-
|
|
1
|
+
import { N as Frame } from "../protocol-PhUVprXA.cjs";
|
|
2
|
+
import { t as Connection } from "../transport-CbXX1Xd-.cjs";
|
|
3
3
|
//#region src/domain/relay-use-gate.d.ts
|
|
4
4
|
export interface RelayUseAuthorizationTracker {
|
|
5
5
|
/** True once authorize() has been called for this exact connection and revoke() has not been called since. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as Frame } from "../protocol-
|
|
2
|
-
import { t as Connection } from "../transport-
|
|
1
|
+
import { N as Frame } from "../protocol-PhUVprXA.mjs";
|
|
2
|
+
import { t as Connection } from "../transport-DG9ouGe-.mjs";
|
|
3
3
|
//#region src/domain/relay-use-gate.d.ts
|
|
4
4
|
export interface RelayUseAuthorizationTracker {
|
|
5
5
|
/** True once authorize() has been called for this exact connection and revoke() has not been called since. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as RevocationCheck, d as VerifyRevocationEntryOptions, o as RevocationEntryVerdict } from "../tokens-
|
|
1
|
+
import { bt as RevocationEntry } from "../protocol-PhUVprXA.cjs";
|
|
2
|
+
import { a as RevocationCheck, d as VerifyRevocationEntryOptions, o as RevocationEntryVerdict } from "../tokens-DIPzZ9JJ.cjs";
|
|
3
3
|
//#region src/domain/revocation-view.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* An in-memory RevocationCheck fed by ingested revocation-announce frames. Keyed by token-id alone, per management.cddl's contract: a token-id can legitimately carry multiple recorded entries from different issuers (the token's own issuer, and/or any number of parties holding a delegated manage:revoke authorization over it) -- entriesFor returns every one of them unfiltered, since checking which actually apply (issuer-match, or a verified authorization) is verifyTokenChain's own obligation, not this store's.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as RevocationCheck, d as VerifyRevocationEntryOptions, o as RevocationEntryVerdict } from "../tokens-
|
|
1
|
+
import { bt as RevocationEntry } from "../protocol-PhUVprXA.mjs";
|
|
2
|
+
import { a as RevocationCheck, d as VerifyRevocationEntryOptions, o as RevocationEntryVerdict } from "../tokens-BVrgBeqF.mjs";
|
|
3
3
|
//#region src/domain/revocation-view.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* An in-memory RevocationCheck fed by ingested revocation-announce frames. Keyed by token-id alone, per management.cddl's contract: a token-id can legitimately carry multiple recorded entries from different issuers (the token's own issuer, and/or any number of parties holding a delegated manage:revoke authorization over it) -- entriesFor returns every one of them unfiltered, since checking which actually apply (issuer-match, or a verified authorization) is verifyTokenChain's own obligation, not this store's.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as DeviceId, V as ManageCommand, p as CapabilityToken } from "../protocol-
|
|
2
|
-
import { t as IdentityPort } from "../identity-
|
|
1
|
+
import { D as DeviceId, V as ManageCommand, p as CapabilityToken } from "../protocol-PhUVprXA.cjs";
|
|
2
|
+
import { t as IdentityPort } from "../identity-CmD4l_Mp.cjs";
|
|
3
3
|
import { t as Clock } from "../clock-DiSx-WKM.cjs";
|
|
4
4
|
import { IncomingManageRequest, ManageOutcome, MeshSession } from "./mesh-session.cjs";
|
|
5
|
-
import { a as RevocationCheck } from "../tokens-
|
|
5
|
+
import { a as RevocationCheck } from "../tokens-DIPzZ9JJ.cjs";
|
|
6
6
|
//#region src/domain/room-rekey.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* Builds a room.rekey command per room.cddl. The outer verb is room:member, the same "one resource, several inner verbs" pattern room.send/room.leave/room.members already establish -- not a new capability of its own.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as DeviceId, V as ManageCommand, p as CapabilityToken } from "../protocol-
|
|
2
|
-
import { t as IdentityPort } from "../identity-
|
|
1
|
+
import { D as DeviceId, V as ManageCommand, p as CapabilityToken } from "../protocol-PhUVprXA.mjs";
|
|
2
|
+
import { t as IdentityPort } from "../identity-BXrJ6_YM.mjs";
|
|
3
3
|
import { t as Clock } from "../clock-DiSx-WKM.mjs";
|
|
4
4
|
import { IncomingManageRequest, ManageOutcome, MeshSession } from "./mesh-session.mjs";
|
|
5
|
-
import { a as RevocationCheck } from "../tokens-
|
|
5
|
+
import { a as RevocationCheck } from "../tokens-BVrgBeqF.mjs";
|
|
6
6
|
//#region src/domain/room-rekey.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* Builds a room.rekey command per room.cddl. The outer verb is room:member, the same "one resource, several inner verbs" pattern room.send/room.leave/room.members already establish -- not a new capability of its own.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as verifyRoomToken, i as VerifyRoomTokenOptions, n as RoomTokenVerdict, r as RoomTokenVerdictReason, t as ROOM_MEMBER_CAPABILITY } from "../room-token-verification-
|
|
1
|
+
import { a as verifyRoomToken, i as VerifyRoomTokenOptions, n as RoomTokenVerdict, r as RoomTokenVerdictReason, t as ROOM_MEMBER_CAPABILITY } from "../room-token-verification-D8HndWYM.cjs";
|
|
2
2
|
export { ROOM_MEMBER_CAPABILITY, RoomTokenVerdict, RoomTokenVerdictReason, VerifyRoomTokenOptions, verifyRoomToken };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as verifyRoomToken, i as VerifyRoomTokenOptions, n as RoomTokenVerdict, r as RoomTokenVerdictReason, t as ROOM_MEMBER_CAPABILITY } from "../room-token-verification-
|
|
1
|
+
import { a as verifyRoomToken, i as VerifyRoomTokenOptions, n as RoomTokenVerdict, r as RoomTokenVerdictReason, t as ROOM_MEMBER_CAPABILITY } from "../room-token-verification-Dv1O6-FV.mjs";
|
|
2
2
|
export { ROOM_MEMBER_CAPABILITY, RoomTokenVerdict, RoomTokenVerdictReason, VerifyRoomTokenOptions, verifyRoomToken };
|
package/dist/domain/room.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as IdentityPort } from "../identity-
|
|
1
|
+
import { At as RoomPath, Ot as RoomNotice, kt as RoomNoticeClaims, p as CapabilityToken, q as MessageRef } from "../protocol-PhUVprXA.cjs";
|
|
2
|
+
import { t as IdentityPort } from "../identity-CmD4l_Mp.cjs";
|
|
3
3
|
import { t as Clock } from "../clock-DiSx-WKM.cjs";
|
|
4
|
-
import { a as RevocationCheck } from "../tokens-
|
|
5
|
-
import { r as RoomTokenVerdictReason } from "../room-token-verification-
|
|
4
|
+
import { a as RevocationCheck } from "../tokens-DIPzZ9JJ.cjs";
|
|
5
|
+
import { r as RoomTokenVerdictReason } from "../room-token-verification-D8HndWYM.cjs";
|
|
6
6
|
//#region src/domain/room.d.ts
|
|
7
7
|
export type RoomNoticeVerdictReason = "malformed" | "wrong_room" | "bad_signature" | "wrong_poster" | "content_expired" | "key_epoch_mismatch" | RoomTokenVerdictReason;
|
|
8
8
|
export type RoomNoticeVerdict = {
|
package/dist/domain/room.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as IdentityPort } from "../identity-
|
|
1
|
+
import { At as RoomPath, Ot as RoomNotice, kt as RoomNoticeClaims, p as CapabilityToken, q as MessageRef } from "../protocol-PhUVprXA.mjs";
|
|
2
|
+
import { t as IdentityPort } from "../identity-BXrJ6_YM.mjs";
|
|
3
3
|
import { t as Clock } from "../clock-DiSx-WKM.mjs";
|
|
4
|
-
import { a as RevocationCheck } from "../tokens-
|
|
5
|
-
import { r as RoomTokenVerdictReason } from "../room-token-verification-
|
|
4
|
+
import { a as RevocationCheck } from "../tokens-BVrgBeqF.mjs";
|
|
5
|
+
import { r as RoomTokenVerdictReason } from "../room-token-verification-Dv1O6-FV.mjs";
|
|
6
6
|
//#region src/domain/room.d.ts
|
|
7
7
|
export type RoomNoticeVerdictReason = "malformed" | "wrong_room" | "bad_signature" | "wrong_poster" | "content_expired" | "key_epoch_mismatch" | RoomTokenVerdictReason;
|
|
8
8
|
export type RoomNoticeVerdict = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeviceId } from "../protocol-
|
|
1
|
+
import { D as DeviceId } from "../protocol-PhUVprXA.cjs";
|
|
2
2
|
import { PresentedShard, ShardConfig } from "./erasure-coding.cjs";
|
|
3
3
|
//#region src/domain/shard-manifest.d.ts
|
|
4
4
|
/** The content-type a core/data entry carrying a shard manifest declares. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeviceId } from "../protocol-
|
|
1
|
+
import { D as DeviceId } from "../protocol-PhUVprXA.mjs";
|
|
2
2
|
import { PresentedShard, ShardConfig } from "./erasure-coding.mjs";
|
|
3
3
|
//#region src/domain/shard-manifest.d.ts
|
|
4
4
|
/** The content-type a core/data entry carrying a shard manifest declares. */
|
package/dist/domain/tokens.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as verifyRevocationEntry, a as RevocationCheck, c as TokenVerdict, d as VerifyRevocationEntryOptions, f as canGrant, g as verifyCapabilityToken, h as sig1ToBeSigned, i as MintVerdict, l as TokenVerdictReason, m as mintRevocationEntry, n as MintRefusalReason, o as RevocationEntryVerdict, p as mintCapabilityToken, r as MintRevocationEntryOptions, s as RevocationEntryVerdictReason, t as MintCapabilityTokenOptions, u as VerifyCapabilityTokenOptions } from "../tokens-
|
|
1
|
+
import { _ as verifyRevocationEntry, a as RevocationCheck, c as TokenVerdict, d as VerifyRevocationEntryOptions, f as canGrant, g as verifyCapabilityToken, h as sig1ToBeSigned, i as MintVerdict, l as TokenVerdictReason, m as mintRevocationEntry, n as MintRefusalReason, o as RevocationEntryVerdict, p as mintCapabilityToken, r as MintRevocationEntryOptions, s as RevocationEntryVerdictReason, t as MintCapabilityTokenOptions, u as VerifyCapabilityTokenOptions } from "../tokens-DIPzZ9JJ.cjs";
|
|
2
2
|
export { MintCapabilityTokenOptions, MintRefusalReason, MintRevocationEntryOptions, MintVerdict, RevocationCheck, RevocationEntryVerdict, RevocationEntryVerdictReason, TokenVerdict, TokenVerdictReason, VerifyCapabilityTokenOptions, VerifyRevocationEntryOptions, canGrant, mintCapabilityToken, mintRevocationEntry, sig1ToBeSigned, verifyCapabilityToken, verifyRevocationEntry };
|
package/dist/domain/tokens.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as verifyRevocationEntry, a as RevocationCheck, c as TokenVerdict, d as VerifyRevocationEntryOptions, f as canGrant, g as verifyCapabilityToken, h as sig1ToBeSigned, i as MintVerdict, l as TokenVerdictReason, m as mintRevocationEntry, n as MintRefusalReason, o as RevocationEntryVerdict, p as mintCapabilityToken, r as MintRevocationEntryOptions, s as RevocationEntryVerdictReason, t as MintCapabilityTokenOptions, u as VerifyCapabilityTokenOptions } from "../tokens-
|
|
1
|
+
import { _ as verifyRevocationEntry, a as RevocationCheck, c as TokenVerdict, d as VerifyRevocationEntryOptions, f as canGrant, g as verifyCapabilityToken, h as sig1ToBeSigned, i as MintVerdict, l as TokenVerdictReason, m as mintRevocationEntry, n as MintRefusalReason, o as RevocationEntryVerdict, p as mintCapabilityToken, r as MintRevocationEntryOptions, s as RevocationEntryVerdictReason, t as MintCapabilityTokenOptions, u as VerifyCapabilityTokenOptions } from "../tokens-BVrgBeqF.mjs";
|
|
2
2
|
export { MintCapabilityTokenOptions, MintRefusalReason, MintRevocationEntryOptions, MintVerdict, RevocationCheck, RevocationEntryVerdict, RevocationEntryVerdictReason, TokenVerdict, TokenVerdictReason, VerifyCapabilityTokenOptions, VerifyRevocationEntryOptions, canGrant, mintCapabilityToken, mintRevocationEntry, sig1ToBeSigned, verifyCapabilityToken, verifyRevocationEntry };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ft as SfuTrackEntry, H as ManageCommandParams, It as SfuTrackMap, V as ManageCommand, en as WebrtcAnswer, f as CapabilityScope, nn as WebrtcOffer, tn as WebrtcIceCandidate, z as IceCandidateInit } from "../protocol-PhUVprXA.cjs";
|
|
2
2
|
import { IncomingManageRequest } from "./mesh-session.cjs";
|
|
3
|
-
import { u as VerifyCapabilityTokenOptions } from "../tokens-
|
|
3
|
+
import { u as VerifyCapabilityTokenOptions } from "../tokens-DIPzZ9JJ.cjs";
|
|
4
4
|
//#region src/domain/webrtc-signaling.d.ts
|
|
5
5
|
/** The one capability verb gating every core/webrtc message shape: an authority over this node's own signaling as a whole, not three separate resources, mirroring how core/exec's exec:pty gates all of its own inner verbs. webrtc.sfu-track-map is gated by this same verb (see spec/webrtc.cddl's own comment): an SFU able to shape a negotiation can already misreport whose media is on which mid, so a separate capability over the track-map itself would guard nothing a client doesn't already have to trust the SFU for. */
|
|
6
6
|
export declare const WEBRTC_SIGNAL_VERB = "webrtc:signal";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ft as SfuTrackEntry, H as ManageCommandParams, It as SfuTrackMap, V as ManageCommand, en as WebrtcAnswer, f as CapabilityScope, nn as WebrtcOffer, tn as WebrtcIceCandidate, z as IceCandidateInit } from "../protocol-PhUVprXA.mjs";
|
|
2
2
|
import { IncomingManageRequest } from "./mesh-session.mjs";
|
|
3
|
-
import { u as VerifyCapabilityTokenOptions } from "../tokens-
|
|
3
|
+
import { u as VerifyCapabilityTokenOptions } from "../tokens-BVrgBeqF.mjs";
|
|
4
4
|
//#region src/domain/webrtc-signaling.d.ts
|
|
5
5
|
/** The one capability verb gating every core/webrtc message shape: an authority over this node's own signaling as a whole, not three separate resources, mirroring how core/exec's exec:pty gates all of its own inner verbs. webrtc.sfu-track-map is gated by this same verb (see spec/webrtc.cddl's own comment): an SFU able to shape a negotiation can already misreport whose media is on which mid, so a separate capability over the track-map itself would guard nothing a client doesn't already have to trust the SFU for. */
|
|
6
6
|
export declare const WEBRTC_SIGNAL_VERB = "webrtc:signal";
|
|
@@ -37,6 +37,7 @@ const manageCommandParamsSchema = zod.z.lazy(() => zod.z.union([
|
|
|
37
37
|
zod.z.object({}).catchall(zod.z.unknown()),
|
|
38
38
|
zod.z.lazy(() => capabilityRequestSchema),
|
|
39
39
|
zod.z.lazy(() => capabilityGrantSchema),
|
|
40
|
+
zod.z.lazy(() => pathTraceSchema),
|
|
40
41
|
zod.z.union([
|
|
41
42
|
zod.z.lazy(() => roomSendSchema),
|
|
42
43
|
zod.z.lazy(() => roomReadSchema),
|
|
@@ -155,6 +156,7 @@ const execSessionInfoSchema = zod.z.lazy(() => zod.z.object({
|
|
|
155
156
|
const frameVariantSchema = zod.z.lazy(() => zod.z.union([
|
|
156
157
|
zod.z.lazy(() => handshakeFrameSchema),
|
|
157
158
|
zod.z.lazy(() => pingFrameSchema),
|
|
159
|
+
zod.z.lazy(() => pongFrameSchema),
|
|
158
160
|
zod.z.lazy(() => closeFrameSchema),
|
|
159
161
|
zod.z.lazy(() => gossipFrameSchema),
|
|
160
162
|
zod.z.lazy(() => candidatesFrameSchema),
|
|
@@ -259,6 +261,12 @@ const revocationAnnounceFrameSchema = zod.z.lazy(() => zod.z.object({
|
|
|
259
261
|
"type": zod.z.literal("revocation-announce"),
|
|
260
262
|
"entries": zod.z.array(zod.z.lazy(() => revocationEntrySchema))
|
|
261
263
|
}));
|
|
264
|
+
const pathTraceSchema = zod.z.lazy(() => zod.z.object({ "verb": zod.z.literal("path.trace") }));
|
|
265
|
+
const pathTraceOkSchema = zod.z.lazy(() => zod.z.object({
|
|
266
|
+
"result": zod.z.literal("ok"),
|
|
267
|
+
"relayed": zod.z.boolean(),
|
|
268
|
+
"hub-address": zod.z.string().optional()
|
|
269
|
+
}).catchall(zod.z.unknown()));
|
|
262
270
|
const roomPathSchema = zod.z.lazy(() => zod.z.union([zod.z.lazy(() => ownerNamedRoomPathSchema), zod.z.lazy(() => dmRoomPathSchema)]));
|
|
263
271
|
const deviceIdHexSchema = zod.z.lazy(() => zod.z.string().regex(/* @__PURE__ */ new RegExp("[0-9a-f]{64}")));
|
|
264
272
|
const ownerNamedRoomPathSchema = zod.z.lazy(() => zod.z.string().regex(/* @__PURE__ */ new RegExp("[0-9a-f]{64}/[A-Za-z0-9_-]+")));
|
|
@@ -440,6 +448,7 @@ const tokenClaimsSchema = zod.z.lazy(() => zod.z.object({
|
|
|
440
448
|
"conditions": zod.z.instanceof(Uint8Array).optional()
|
|
441
449
|
}).catchall(zod.z.unknown()));
|
|
442
450
|
const pingFrameSchema = zod.z.lazy(() => zod.z.object({ "type": zod.z.literal("ping") }));
|
|
451
|
+
const pongFrameSchema = zod.z.lazy(() => zod.z.object({ "type": zod.z.literal("pong") }));
|
|
443
452
|
const closeFrameSchema = zod.z.lazy(() => zod.z.object({
|
|
444
453
|
"type": zod.z.literal("close"),
|
|
445
454
|
"reason": zod.z.string().optional()
|
|
@@ -583,9 +592,12 @@ exports.namespacedCapabilitySchema = namespacedCapabilitySchema;
|
|
|
583
592
|
exports.namespacedDomainIdSchema = namespacedDomainIdSchema;
|
|
584
593
|
exports.observedAddressFrameSchema = observedAddressFrameSchema;
|
|
585
594
|
exports.ownerNamedRoomPathSchema = ownerNamedRoomPathSchema;
|
|
595
|
+
exports.pathTraceOkSchema = pathTraceOkSchema;
|
|
596
|
+
exports.pathTraceSchema = pathTraceSchema;
|
|
586
597
|
exports.peerAdvertSchema = peerAdvertSchema;
|
|
587
598
|
exports.peerIdentitySchema = peerIdentitySchema;
|
|
588
599
|
exports.pingFrameSchema = pingFrameSchema;
|
|
600
|
+
exports.pongFrameSchema = pongFrameSchema;
|
|
589
601
|
exports.privateUseCapabilitySchema = privateUseCapabilitySchema;
|
|
590
602
|
exports.privateUseDomainIdSchema = privateUseDomainIdSchema;
|
|
591
603
|
exports.procKillSchema = procKillSchema;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { BulkAckFrame, BulkCancel, BulkDataFrame, BulkEndFrame, BulkOpen, BulkResume, CandidateKind, CandidatesFrame, CapabilityGrant, CapabilityGrantOk, CapabilityRequest, CapabilityScope, CapabilityToken, CapabilityVerb, CloseFrame, CoordinatorFrame, CoreCapability, CoreDomainName, CoseHeaderAlg, CoseHeaderKid, CoseHeaderLabel, CoseSign1, CoseTokenHeaders, DataEntriesFrame, DataHaveFrame, DataRequestFrame, DeviceId, DeviceIdHex, DmRoomPath, DomainId, ExecList, ExecSessionInfo, Frame, FrameVariant, GossipFrame, HandleClaims, HandleRecord, HandshakeFrame, IceCandidateInit, IdentityKey, ManageCommand, ManageCommandParams, ManageError, ManageOk, ManageRequestFrame, ManageResponseFrame, MessageRef, NamespacedCapability, NamespacedDomainId, ObservedAddressFrame, OwnerNamedRoomPath, PeerAdvert, PeerIdentity, PingFrame, PrivateUseCapability, PrivateUseDomainId, ProcKill, ProcSignal, ProcSpawn, ProtocolVersion, PtyKill, PtyResize, PtySpawn, PtyWrite, RelayConnectFrame, RelayDataFrame, RelayInboundFrame, RelayOfferFrame, RevocationAnnounceFrame, RevocationClaims, RevocationEntry, RoomInvite, RoomJoin, RoomJoinOk, RoomLeave, RoomMember, RoomMembers, RoomMembersOk, RoomNotice, RoomNoticeClaims, RoomPath, RoomRead, RoomRekey, RoomSend, SessionId, SfuTrackEntry, SfuTrackMap, StreamAckFrame, StreamDataFrame, StreamEndFrame, StreamSession, SyncPunchFrame, ThresholdAbort, ThresholdCommit, ThresholdCommitment, ThresholdKeygenConfirm, ThresholdKeygenRound1, ThresholdKeygenRound2, ThresholdShareClaims, ThresholdShareEnvelope, ThresholdSign, ThresholdSubject, TokenClaims, TransferId, WebrtcAnswer, WebrtcIceCandidate, WebrtcOffer, WireCandidate, bulkAckFrameSchema, bulkCancelSchema, bulkDataFrameSchema, bulkEndFrameSchema, bulkOpenSchema, bulkResumeSchema, candidateKindSchema, candidatesFrameSchema, capabilityGrantOkSchema, capabilityGrantSchema, capabilityRequestSchema, capabilityScopeSchema, capabilityTokenSchema, capabilityVerbSchema, closeFrameSchema, coordinatorFrameSchema, coreCapabilitySchema, coreDomainNameSchema, coseHeaderAlgSchema, coseHeaderKidSchema, coseHeaderLabelSchema, coseSign1Schema, coseTokenHeadersSchema, dataEntriesFrameSchema, dataHaveFrameSchema, dataRequestFrameSchema, deviceIdHexSchema, deviceIdSchema, dmRoomPathSchema, domainIdSchema, execListSchema, execSessionInfoSchema, frameSchema, frameVariantSchema, gossipFrameSchema, handleClaimsSchema, handleRecordSchema, handshakeFrameSchema, iceCandidateInitSchema, identityKeySchema, manageCommandParamsSchema, manageCommandSchema, manageErrorSchema, manageOkSchema, manageRequestFrameSchema, manageResponseFrameSchema, messageRefSchema, namespacedCapabilitySchema, namespacedDomainIdSchema, observedAddressFrameSchema, ownerNamedRoomPathSchema, peerAdvertSchema, peerIdentitySchema, pingFrameSchema, privateUseCapabilitySchema, privateUseDomainIdSchema, procKillSchema, procSignalSchema, procSpawnSchema, protocolVersionSchema, ptyKillSchema, ptyResizeSchema, ptySpawnSchema, ptyWriteSchema, relayConnectFrameSchema, relayDataFrameSchema, relayInboundFrameSchema, relayOfferFrameSchema, revocationAnnounceFrameSchema, revocationClaimsSchema, revocationEntrySchema, roomInviteSchema, roomJoinOkSchema, roomJoinSchema, roomLeaveSchema, roomMemberSchema, roomMembersOkSchema, roomMembersSchema, roomNoticeClaimsSchema, roomNoticeSchema, roomPathSchema, roomReadSchema, roomRekeySchema, roomSendSchema, sessionIdSchema, sfuTrackEntrySchema, sfuTrackMapSchema, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, thresholdAbortSchema, thresholdCommitSchema, thresholdCommitmentSchema, thresholdKeygenConfirmSchema, thresholdKeygenRound1Schema, thresholdKeygenRound2Schema, thresholdShareClaimsSchema, thresholdShareEnvelopeSchema, thresholdSignSchema, thresholdSubjectSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
1
|
+
import { $ as PathTraceOk, $n as observedAddressFrameSchema, $r as thresholdSignSchema, $t as TransferId, A as DomainId, An as deviceIdHexSchema, Ar as roomMembersSchema, At as RoomPath, B as IdentityKey, Bn as handleRecordSchema, Br as streamAckFrameSchema, Bt as StreamSession, C as CoseTokenHeaders, Cn as coseHeaderKidSchema, Cr as revocationEntrySchema, Ct as RoomJoinOk, D as DeviceId, Dn as dataEntriesFrameSchema, Dr as roomLeaveSchema, Dt as RoomMembersOk, E as DataRequestFrame, En as coseTokenHeadersSchema, Er as roomJoinSchema, Et as RoomMembers, F as GossipFrame, Fn as execSessionInfoSchema, Fr as roomRekeySchema, Ft as SfuTrackEntry, G as ManageRequestFrame, Gn as manageCommandSchema, Gr as thresholdAbortSchema, Gt as ThresholdKeygenConfirm, H as ManageCommandParams, Hn as iceCandidateInitSchema, Hr as streamEndFrameSchema, Ht as ThresholdAbort, I as HandleClaims, In as frameSchema, Ir as roomSendSchema, It as SfuTrackMap, J as NamespacedCapability, Jn as manageRequestFrameSchema, Jr as thresholdKeygenConfirmSchema, Jt as ThresholdShareClaims, K as ManageResponseFrame, Kn as manageErrorSchema, Kr as thresholdCommitSchema, Kt as ThresholdKeygenRound1, L as HandleRecord, Ln as frameVariantSchema, Lr as sessionIdSchema, Lt as StreamAckFrame, M as ExecSessionInfo, Mn as dmRoomPathSchema, Mr as roomNoticeSchema, Mt as RoomRekey, N as Frame, Nn as domainIdSchema, Nr as roomPathSchema, Nt as RoomSend, O as DeviceIdHex, On as dataHaveFrameSchema, Or as roomMemberSchema, Ot as RoomNotice, P as FrameVariant, Pn as execListSchema, Pr as roomReadSchema, Pt as SessionId, Q as PathTrace, Qn as namespacedDomainIdSchema, Qr as thresholdShareEnvelopeSchema, Qt as TokenClaims, R as HandshakeFrame, Rn as gossipFrameSchema, Rr as sfuTrackEntrySchema, Rt as StreamDataFrame, S as CoseSign1, Sn as coseHeaderAlgSchema, Sr as revocationClaimsSchema, St as RoomJoin, T as DataHaveFrame, Tn as coseSign1Schema, Tr as roomJoinOkSchema, Tt as RoomMember, U as ManageError, Un as identityKeySchema, Ur as streamSessionSchema, Ut as ThresholdCommit, V as ManageCommand, Vn as handshakeFrameSchema, Vr as streamDataFrameSchema, Vt as SyncPunchFrame, W as ManageOk, Wn as manageCommandParamsSchema, Wr as syncPunchFrameSchema, Wt as ThresholdCommitment, X as ObservedAddressFrame, Xn as messageRefSchema, Xr as thresholdKeygenRound2Schema, Xt as ThresholdSign, Y as NamespacedDomainId, Yn as manageResponseFrameSchema, Yr as thresholdKeygenRound1Schema, Yt as ThresholdShareEnvelope, Z as OwnerNamedRoomPath, Zn as namespacedCapabilitySchema, Zr as thresholdShareClaimsSchema, Zt as ThresholdSubject, _ as CoreCapability, _n as capabilityVerbSchema, _r as relayConnectFrameSchema, _t as RelayOfferFrame, a as BulkOpen, ai as webrtcOfferSchema, an as bulkCancelSchema, ar as pingFrameSchema, at as PrivateUseDomainId, b as CoseHeaderKid, bn as coreCapabilitySchema, br as relayOfferFrameSchema, bt as RevocationEntry, c as CandidatesFrame, cn as bulkOpenSchema, cr as privateUseDomainIdSchema, ct as ProcSpawn, d as CapabilityRequest, dn as candidatesFrameSchema, dr as procSpawnSchema, dt as PtyResize, ei as thresholdSubjectSchema, en as WebrtcAnswer, er as ownerNamedRoomPathSchema, et as PeerAdvert, f as CapabilityScope, fn as capabilityGrantOkSchema, fr as protocolVersionSchema, ft as PtySpawn, g as CoordinatorFrame, gn as capabilityTokenSchema, gr as ptyWriteSchema, gt as RelayInboundFrame, h as CloseFrame, hn as capabilityScopeSchema, hr as ptySpawnSchema, ht as RelayDataFrame, i as BulkEndFrame, ii as webrtcIceCandidateSchema, in as bulkAckFrameSchema, ir as peerIdentitySchema, it as PrivateUseCapability, j as ExecList, jn as deviceIdSchema, jr as roomNoticeClaimsSchema, jt as RoomRead, k as DmRoomPath, kn as dataRequestFrameSchema, kr as roomMembersOkSchema, kt as RoomNoticeClaims, l as CapabilityGrant, ln as bulkResumeSchema, lr as procKillSchema, lt as ProtocolVersion, m as CapabilityVerb, mn as capabilityRequestSchema, mr as ptyResizeSchema, mt as RelayConnectFrame, n as BulkCancel, ni as transferIdSchema, nn as WebrtcOffer, nr as pathTraceSchema, nt as PingFrame, o as BulkResume, oi as wireCandidateSchema, on as bulkDataFrameSchema, or as pongFrameSchema, ot as ProcKill, p as CapabilityToken, pn as capabilityGrantSchema, pr as ptyKillSchema, pt as PtyWrite, q as MessageRef, qn as manageOkSchema, qr as thresholdCommitmentSchema, qt as ThresholdKeygenRound2, r as BulkDataFrame, ri as webrtcAnswerSchema, rn as WireCandidate, rr as peerAdvertSchema, rt as PongFrame, s as CandidateKind, sn as bulkEndFrameSchema, sr as privateUseCapabilitySchema, st as ProcSignal, t as BulkAckFrame, ti as tokenClaimsSchema, tn as WebrtcIceCandidate, tr as pathTraceOkSchema, tt as PeerIdentity, u as CapabilityGrantOk, un as candidateKindSchema, ur as procSignalSchema, ut as PtyKill, v as CoreDomainName, vn as closeFrameSchema, vr as relayDataFrameSchema, vt as RevocationAnnounceFrame, w as DataEntriesFrame, wn as coseHeaderLabelSchema, wr as roomInviteSchema, wt as RoomLeave, x as CoseHeaderLabel, xn as coreDomainNameSchema, xr as revocationAnnounceFrameSchema, xt as RoomInvite, y as CoseHeaderAlg, yn as coordinatorFrameSchema, yr as relayInboundFrameSchema, yt as RevocationClaims, z as IceCandidateInit, zn as handleClaimsSchema, zr as sfuTrackMapSchema, zt as StreamEndFrame } from "../protocol-PhUVprXA.cjs";
|
|
2
|
+
export { BulkAckFrame, BulkCancel, BulkDataFrame, BulkEndFrame, BulkOpen, BulkResume, CandidateKind, CandidatesFrame, CapabilityGrant, CapabilityGrantOk, CapabilityRequest, CapabilityScope, CapabilityToken, CapabilityVerb, CloseFrame, CoordinatorFrame, CoreCapability, CoreDomainName, CoseHeaderAlg, CoseHeaderKid, CoseHeaderLabel, CoseSign1, CoseTokenHeaders, DataEntriesFrame, DataHaveFrame, DataRequestFrame, DeviceId, DeviceIdHex, DmRoomPath, DomainId, ExecList, ExecSessionInfo, Frame, FrameVariant, GossipFrame, HandleClaims, HandleRecord, HandshakeFrame, IceCandidateInit, IdentityKey, ManageCommand, ManageCommandParams, ManageError, ManageOk, ManageRequestFrame, ManageResponseFrame, MessageRef, NamespacedCapability, NamespacedDomainId, ObservedAddressFrame, OwnerNamedRoomPath, PathTrace, PathTraceOk, PeerAdvert, PeerIdentity, PingFrame, PongFrame, PrivateUseCapability, PrivateUseDomainId, ProcKill, ProcSignal, ProcSpawn, ProtocolVersion, PtyKill, PtyResize, PtySpawn, PtyWrite, RelayConnectFrame, RelayDataFrame, RelayInboundFrame, RelayOfferFrame, RevocationAnnounceFrame, RevocationClaims, RevocationEntry, RoomInvite, RoomJoin, RoomJoinOk, RoomLeave, RoomMember, RoomMembers, RoomMembersOk, RoomNotice, RoomNoticeClaims, RoomPath, RoomRead, RoomRekey, RoomSend, SessionId, SfuTrackEntry, SfuTrackMap, StreamAckFrame, StreamDataFrame, StreamEndFrame, StreamSession, SyncPunchFrame, ThresholdAbort, ThresholdCommit, ThresholdCommitment, ThresholdKeygenConfirm, ThresholdKeygenRound1, ThresholdKeygenRound2, ThresholdShareClaims, ThresholdShareEnvelope, ThresholdSign, ThresholdSubject, TokenClaims, TransferId, WebrtcAnswer, WebrtcIceCandidate, WebrtcOffer, WireCandidate, bulkAckFrameSchema, bulkCancelSchema, bulkDataFrameSchema, bulkEndFrameSchema, bulkOpenSchema, bulkResumeSchema, candidateKindSchema, candidatesFrameSchema, capabilityGrantOkSchema, capabilityGrantSchema, capabilityRequestSchema, capabilityScopeSchema, capabilityTokenSchema, capabilityVerbSchema, closeFrameSchema, coordinatorFrameSchema, coreCapabilitySchema, coreDomainNameSchema, coseHeaderAlgSchema, coseHeaderKidSchema, coseHeaderLabelSchema, coseSign1Schema, coseTokenHeadersSchema, dataEntriesFrameSchema, dataHaveFrameSchema, dataRequestFrameSchema, deviceIdHexSchema, deviceIdSchema, dmRoomPathSchema, domainIdSchema, execListSchema, execSessionInfoSchema, frameSchema, frameVariantSchema, gossipFrameSchema, handleClaimsSchema, handleRecordSchema, handshakeFrameSchema, iceCandidateInitSchema, identityKeySchema, manageCommandParamsSchema, manageCommandSchema, manageErrorSchema, manageOkSchema, manageRequestFrameSchema, manageResponseFrameSchema, messageRefSchema, namespacedCapabilitySchema, namespacedDomainIdSchema, observedAddressFrameSchema, ownerNamedRoomPathSchema, pathTraceOkSchema, pathTraceSchema, peerAdvertSchema, peerIdentitySchema, pingFrameSchema, pongFrameSchema, privateUseCapabilitySchema, privateUseDomainIdSchema, procKillSchema, procSignalSchema, procSpawnSchema, protocolVersionSchema, ptyKillSchema, ptyResizeSchema, ptySpawnSchema, ptyWriteSchema, relayConnectFrameSchema, relayDataFrameSchema, relayInboundFrameSchema, relayOfferFrameSchema, revocationAnnounceFrameSchema, revocationClaimsSchema, revocationEntrySchema, roomInviteSchema, roomJoinOkSchema, roomJoinSchema, roomLeaveSchema, roomMemberSchema, roomMembersOkSchema, roomMembersSchema, roomNoticeClaimsSchema, roomNoticeSchema, roomPathSchema, roomReadSchema, roomRekeySchema, roomSendSchema, sessionIdSchema, sfuTrackEntrySchema, sfuTrackMapSchema, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, thresholdAbortSchema, thresholdCommitSchema, thresholdCommitmentSchema, thresholdKeygenConfirmSchema, thresholdKeygenRound1Schema, thresholdKeygenRound2Schema, thresholdShareClaimsSchema, thresholdShareEnvelopeSchema, thresholdSignSchema, thresholdSubjectSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { BulkAckFrame, BulkCancel, BulkDataFrame, BulkEndFrame, BulkOpen, BulkResume, CandidateKind, CandidatesFrame, CapabilityGrant, CapabilityGrantOk, CapabilityRequest, CapabilityScope, CapabilityToken, CapabilityVerb, CloseFrame, CoordinatorFrame, CoreCapability, CoreDomainName, CoseHeaderAlg, CoseHeaderKid, CoseHeaderLabel, CoseSign1, CoseTokenHeaders, DataEntriesFrame, DataHaveFrame, DataRequestFrame, DeviceId, DeviceIdHex, DmRoomPath, DomainId, ExecList, ExecSessionInfo, Frame, FrameVariant, GossipFrame, HandleClaims, HandleRecord, HandshakeFrame, IceCandidateInit, IdentityKey, ManageCommand, ManageCommandParams, ManageError, ManageOk, ManageRequestFrame, ManageResponseFrame, MessageRef, NamespacedCapability, NamespacedDomainId, ObservedAddressFrame, OwnerNamedRoomPath, PeerAdvert, PeerIdentity, PingFrame, PrivateUseCapability, PrivateUseDomainId, ProcKill, ProcSignal, ProcSpawn, ProtocolVersion, PtyKill, PtyResize, PtySpawn, PtyWrite, RelayConnectFrame, RelayDataFrame, RelayInboundFrame, RelayOfferFrame, RevocationAnnounceFrame, RevocationClaims, RevocationEntry, RoomInvite, RoomJoin, RoomJoinOk, RoomLeave, RoomMember, RoomMembers, RoomMembersOk, RoomNotice, RoomNoticeClaims, RoomPath, RoomRead, RoomRekey, RoomSend, SessionId, SfuTrackEntry, SfuTrackMap, StreamAckFrame, StreamDataFrame, StreamEndFrame, StreamSession, SyncPunchFrame, ThresholdAbort, ThresholdCommit, ThresholdCommitment, ThresholdKeygenConfirm, ThresholdKeygenRound1, ThresholdKeygenRound2, ThresholdShareClaims, ThresholdShareEnvelope, ThresholdSign, ThresholdSubject, TokenClaims, TransferId, WebrtcAnswer, WebrtcIceCandidate, WebrtcOffer, WireCandidate, bulkAckFrameSchema, bulkCancelSchema, bulkDataFrameSchema, bulkEndFrameSchema, bulkOpenSchema, bulkResumeSchema, candidateKindSchema, candidatesFrameSchema, capabilityGrantOkSchema, capabilityGrantSchema, capabilityRequestSchema, capabilityScopeSchema, capabilityTokenSchema, capabilityVerbSchema, closeFrameSchema, coordinatorFrameSchema, coreCapabilitySchema, coreDomainNameSchema, coseHeaderAlgSchema, coseHeaderKidSchema, coseHeaderLabelSchema, coseSign1Schema, coseTokenHeadersSchema, dataEntriesFrameSchema, dataHaveFrameSchema, dataRequestFrameSchema, deviceIdHexSchema, deviceIdSchema, dmRoomPathSchema, domainIdSchema, execListSchema, execSessionInfoSchema, frameSchema, frameVariantSchema, gossipFrameSchema, handleClaimsSchema, handleRecordSchema, handshakeFrameSchema, iceCandidateInitSchema, identityKeySchema, manageCommandParamsSchema, manageCommandSchema, manageErrorSchema, manageOkSchema, manageRequestFrameSchema, manageResponseFrameSchema, messageRefSchema, namespacedCapabilitySchema, namespacedDomainIdSchema, observedAddressFrameSchema, ownerNamedRoomPathSchema, peerAdvertSchema, peerIdentitySchema, pingFrameSchema, privateUseCapabilitySchema, privateUseDomainIdSchema, procKillSchema, procSignalSchema, procSpawnSchema, protocolVersionSchema, ptyKillSchema, ptyResizeSchema, ptySpawnSchema, ptyWriteSchema, relayConnectFrameSchema, relayDataFrameSchema, relayInboundFrameSchema, relayOfferFrameSchema, revocationAnnounceFrameSchema, revocationClaimsSchema, revocationEntrySchema, roomInviteSchema, roomJoinOkSchema, roomJoinSchema, roomLeaveSchema, roomMemberSchema, roomMembersOkSchema, roomMembersSchema, roomNoticeClaimsSchema, roomNoticeSchema, roomPathSchema, roomReadSchema, roomRekeySchema, roomSendSchema, sessionIdSchema, sfuTrackEntrySchema, sfuTrackMapSchema, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, thresholdAbortSchema, thresholdCommitSchema, thresholdCommitmentSchema, thresholdKeygenConfirmSchema, thresholdKeygenRound1Schema, thresholdKeygenRound2Schema, thresholdShareClaimsSchema, thresholdShareEnvelopeSchema, thresholdSignSchema, thresholdSubjectSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
1
|
+
import { $ as PathTraceOk, $n as observedAddressFrameSchema, $r as thresholdSignSchema, $t as TransferId, A as DomainId, An as deviceIdHexSchema, Ar as roomMembersSchema, At as RoomPath, B as IdentityKey, Bn as handleRecordSchema, Br as streamAckFrameSchema, Bt as StreamSession, C as CoseTokenHeaders, Cn as coseHeaderKidSchema, Cr as revocationEntrySchema, Ct as RoomJoinOk, D as DeviceId, Dn as dataEntriesFrameSchema, Dr as roomLeaveSchema, Dt as RoomMembersOk, E as DataRequestFrame, En as coseTokenHeadersSchema, Er as roomJoinSchema, Et as RoomMembers, F as GossipFrame, Fn as execSessionInfoSchema, Fr as roomRekeySchema, Ft as SfuTrackEntry, G as ManageRequestFrame, Gn as manageCommandSchema, Gr as thresholdAbortSchema, Gt as ThresholdKeygenConfirm, H as ManageCommandParams, Hn as iceCandidateInitSchema, Hr as streamEndFrameSchema, Ht as ThresholdAbort, I as HandleClaims, In as frameSchema, Ir as roomSendSchema, It as SfuTrackMap, J as NamespacedCapability, Jn as manageRequestFrameSchema, Jr as thresholdKeygenConfirmSchema, Jt as ThresholdShareClaims, K as ManageResponseFrame, Kn as manageErrorSchema, Kr as thresholdCommitSchema, Kt as ThresholdKeygenRound1, L as HandleRecord, Ln as frameVariantSchema, Lr as sessionIdSchema, Lt as StreamAckFrame, M as ExecSessionInfo, Mn as dmRoomPathSchema, Mr as roomNoticeSchema, Mt as RoomRekey, N as Frame, Nn as domainIdSchema, Nr as roomPathSchema, Nt as RoomSend, O as DeviceIdHex, On as dataHaveFrameSchema, Or as roomMemberSchema, Ot as RoomNotice, P as FrameVariant, Pn as execListSchema, Pr as roomReadSchema, Pt as SessionId, Q as PathTrace, Qn as namespacedDomainIdSchema, Qr as thresholdShareEnvelopeSchema, Qt as TokenClaims, R as HandshakeFrame, Rn as gossipFrameSchema, Rr as sfuTrackEntrySchema, Rt as StreamDataFrame, S as CoseSign1, Sn as coseHeaderAlgSchema, Sr as revocationClaimsSchema, St as RoomJoin, T as DataHaveFrame, Tn as coseSign1Schema, Tr as roomJoinOkSchema, Tt as RoomMember, U as ManageError, Un as identityKeySchema, Ur as streamSessionSchema, Ut as ThresholdCommit, V as ManageCommand, Vn as handshakeFrameSchema, Vr as streamDataFrameSchema, Vt as SyncPunchFrame, W as ManageOk, Wn as manageCommandParamsSchema, Wr as syncPunchFrameSchema, Wt as ThresholdCommitment, X as ObservedAddressFrame, Xn as messageRefSchema, Xr as thresholdKeygenRound2Schema, Xt as ThresholdSign, Y as NamespacedDomainId, Yn as manageResponseFrameSchema, Yr as thresholdKeygenRound1Schema, Yt as ThresholdShareEnvelope, Z as OwnerNamedRoomPath, Zn as namespacedCapabilitySchema, Zr as thresholdShareClaimsSchema, Zt as ThresholdSubject, _ as CoreCapability, _n as capabilityVerbSchema, _r as relayConnectFrameSchema, _t as RelayOfferFrame, a as BulkOpen, ai as webrtcOfferSchema, an as bulkCancelSchema, ar as pingFrameSchema, at as PrivateUseDomainId, b as CoseHeaderKid, bn as coreCapabilitySchema, br as relayOfferFrameSchema, bt as RevocationEntry, c as CandidatesFrame, cn as bulkOpenSchema, cr as privateUseDomainIdSchema, ct as ProcSpawn, d as CapabilityRequest, dn as candidatesFrameSchema, dr as procSpawnSchema, dt as PtyResize, ei as thresholdSubjectSchema, en as WebrtcAnswer, er as ownerNamedRoomPathSchema, et as PeerAdvert, f as CapabilityScope, fn as capabilityGrantOkSchema, fr as protocolVersionSchema, ft as PtySpawn, g as CoordinatorFrame, gn as capabilityTokenSchema, gr as ptyWriteSchema, gt as RelayInboundFrame, h as CloseFrame, hn as capabilityScopeSchema, hr as ptySpawnSchema, ht as RelayDataFrame, i as BulkEndFrame, ii as webrtcIceCandidateSchema, in as bulkAckFrameSchema, ir as peerIdentitySchema, it as PrivateUseCapability, j as ExecList, jn as deviceIdSchema, jr as roomNoticeClaimsSchema, jt as RoomRead, k as DmRoomPath, kn as dataRequestFrameSchema, kr as roomMembersOkSchema, kt as RoomNoticeClaims, l as CapabilityGrant, ln as bulkResumeSchema, lr as procKillSchema, lt as ProtocolVersion, m as CapabilityVerb, mn as capabilityRequestSchema, mr as ptyResizeSchema, mt as RelayConnectFrame, n as BulkCancel, ni as transferIdSchema, nn as WebrtcOffer, nr as pathTraceSchema, nt as PingFrame, o as BulkResume, oi as wireCandidateSchema, on as bulkDataFrameSchema, or as pongFrameSchema, ot as ProcKill, p as CapabilityToken, pn as capabilityGrantSchema, pr as ptyKillSchema, pt as PtyWrite, q as MessageRef, qn as manageOkSchema, qr as thresholdCommitmentSchema, qt as ThresholdKeygenRound2, r as BulkDataFrame, ri as webrtcAnswerSchema, rn as WireCandidate, rr as peerAdvertSchema, rt as PongFrame, s as CandidateKind, sn as bulkEndFrameSchema, sr as privateUseCapabilitySchema, st as ProcSignal, t as BulkAckFrame, ti as tokenClaimsSchema, tn as WebrtcIceCandidate, tr as pathTraceOkSchema, tt as PeerIdentity, u as CapabilityGrantOk, un as candidateKindSchema, ur as procSignalSchema, ut as PtyKill, v as CoreDomainName, vn as closeFrameSchema, vr as relayDataFrameSchema, vt as RevocationAnnounceFrame, w as DataEntriesFrame, wn as coseHeaderLabelSchema, wr as roomInviteSchema, wt as RoomLeave, x as CoseHeaderLabel, xn as coreDomainNameSchema, xr as revocationAnnounceFrameSchema, xt as RoomInvite, y as CoseHeaderAlg, yn as coordinatorFrameSchema, yr as relayInboundFrameSchema, yt as RevocationClaims, z as IceCandidateInit, zn as handleClaimsSchema, zr as sfuTrackMapSchema, zt as StreamEndFrame } from "../protocol-PhUVprXA.mjs";
|
|
2
|
+
export { BulkAckFrame, BulkCancel, BulkDataFrame, BulkEndFrame, BulkOpen, BulkResume, CandidateKind, CandidatesFrame, CapabilityGrant, CapabilityGrantOk, CapabilityRequest, CapabilityScope, CapabilityToken, CapabilityVerb, CloseFrame, CoordinatorFrame, CoreCapability, CoreDomainName, CoseHeaderAlg, CoseHeaderKid, CoseHeaderLabel, CoseSign1, CoseTokenHeaders, DataEntriesFrame, DataHaveFrame, DataRequestFrame, DeviceId, DeviceIdHex, DmRoomPath, DomainId, ExecList, ExecSessionInfo, Frame, FrameVariant, GossipFrame, HandleClaims, HandleRecord, HandshakeFrame, IceCandidateInit, IdentityKey, ManageCommand, ManageCommandParams, ManageError, ManageOk, ManageRequestFrame, ManageResponseFrame, MessageRef, NamespacedCapability, NamespacedDomainId, ObservedAddressFrame, OwnerNamedRoomPath, PathTrace, PathTraceOk, PeerAdvert, PeerIdentity, PingFrame, PongFrame, PrivateUseCapability, PrivateUseDomainId, ProcKill, ProcSignal, ProcSpawn, ProtocolVersion, PtyKill, PtyResize, PtySpawn, PtyWrite, RelayConnectFrame, RelayDataFrame, RelayInboundFrame, RelayOfferFrame, RevocationAnnounceFrame, RevocationClaims, RevocationEntry, RoomInvite, RoomJoin, RoomJoinOk, RoomLeave, RoomMember, RoomMembers, RoomMembersOk, RoomNotice, RoomNoticeClaims, RoomPath, RoomRead, RoomRekey, RoomSend, SessionId, SfuTrackEntry, SfuTrackMap, StreamAckFrame, StreamDataFrame, StreamEndFrame, StreamSession, SyncPunchFrame, ThresholdAbort, ThresholdCommit, ThresholdCommitment, ThresholdKeygenConfirm, ThresholdKeygenRound1, ThresholdKeygenRound2, ThresholdShareClaims, ThresholdShareEnvelope, ThresholdSign, ThresholdSubject, TokenClaims, TransferId, WebrtcAnswer, WebrtcIceCandidate, WebrtcOffer, WireCandidate, bulkAckFrameSchema, bulkCancelSchema, bulkDataFrameSchema, bulkEndFrameSchema, bulkOpenSchema, bulkResumeSchema, candidateKindSchema, candidatesFrameSchema, capabilityGrantOkSchema, capabilityGrantSchema, capabilityRequestSchema, capabilityScopeSchema, capabilityTokenSchema, capabilityVerbSchema, closeFrameSchema, coordinatorFrameSchema, coreCapabilitySchema, coreDomainNameSchema, coseHeaderAlgSchema, coseHeaderKidSchema, coseHeaderLabelSchema, coseSign1Schema, coseTokenHeadersSchema, dataEntriesFrameSchema, dataHaveFrameSchema, dataRequestFrameSchema, deviceIdHexSchema, deviceIdSchema, dmRoomPathSchema, domainIdSchema, execListSchema, execSessionInfoSchema, frameSchema, frameVariantSchema, gossipFrameSchema, handleClaimsSchema, handleRecordSchema, handshakeFrameSchema, iceCandidateInitSchema, identityKeySchema, manageCommandParamsSchema, manageCommandSchema, manageErrorSchema, manageOkSchema, manageRequestFrameSchema, manageResponseFrameSchema, messageRefSchema, namespacedCapabilitySchema, namespacedDomainIdSchema, observedAddressFrameSchema, ownerNamedRoomPathSchema, pathTraceOkSchema, pathTraceSchema, peerAdvertSchema, peerIdentitySchema, pingFrameSchema, pongFrameSchema, privateUseCapabilitySchema, privateUseDomainIdSchema, procKillSchema, procSignalSchema, procSpawnSchema, protocolVersionSchema, ptyKillSchema, ptyResizeSchema, ptySpawnSchema, ptyWriteSchema, relayConnectFrameSchema, relayDataFrameSchema, relayInboundFrameSchema, relayOfferFrameSchema, revocationAnnounceFrameSchema, revocationClaimsSchema, revocationEntrySchema, roomInviteSchema, roomJoinOkSchema, roomJoinSchema, roomLeaveSchema, roomMemberSchema, roomMembersOkSchema, roomMembersSchema, roomNoticeClaimsSchema, roomNoticeSchema, roomPathSchema, roomReadSchema, roomRekeySchema, roomSendSchema, sessionIdSchema, sfuTrackEntrySchema, sfuTrackMapSchema, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, thresholdAbortSchema, thresholdCommitSchema, thresholdCommitmentSchema, thresholdKeygenConfirmSchema, thresholdKeygenRound1Schema, thresholdKeygenRound2Schema, thresholdShareClaimsSchema, thresholdShareEnvelopeSchema, thresholdSignSchema, thresholdSubjectSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
@@ -36,6 +36,7 @@ const manageCommandParamsSchema = z.lazy(() => z.union([
|
|
|
36
36
|
z.object({}).catchall(z.unknown()),
|
|
37
37
|
z.lazy(() => capabilityRequestSchema),
|
|
38
38
|
z.lazy(() => capabilityGrantSchema),
|
|
39
|
+
z.lazy(() => pathTraceSchema),
|
|
39
40
|
z.union([
|
|
40
41
|
z.lazy(() => roomSendSchema),
|
|
41
42
|
z.lazy(() => roomReadSchema),
|
|
@@ -154,6 +155,7 @@ const execSessionInfoSchema = z.lazy(() => z.object({
|
|
|
154
155
|
const frameVariantSchema = z.lazy(() => z.union([
|
|
155
156
|
z.lazy(() => handshakeFrameSchema),
|
|
156
157
|
z.lazy(() => pingFrameSchema),
|
|
158
|
+
z.lazy(() => pongFrameSchema),
|
|
157
159
|
z.lazy(() => closeFrameSchema),
|
|
158
160
|
z.lazy(() => gossipFrameSchema),
|
|
159
161
|
z.lazy(() => candidatesFrameSchema),
|
|
@@ -258,6 +260,12 @@ const revocationAnnounceFrameSchema = z.lazy(() => z.object({
|
|
|
258
260
|
"type": z.literal("revocation-announce"),
|
|
259
261
|
"entries": z.array(z.lazy(() => revocationEntrySchema))
|
|
260
262
|
}));
|
|
263
|
+
const pathTraceSchema = z.lazy(() => z.object({ "verb": z.literal("path.trace") }));
|
|
264
|
+
const pathTraceOkSchema = z.lazy(() => z.object({
|
|
265
|
+
"result": z.literal("ok"),
|
|
266
|
+
"relayed": z.boolean(),
|
|
267
|
+
"hub-address": z.string().optional()
|
|
268
|
+
}).catchall(z.unknown()));
|
|
261
269
|
const roomPathSchema = z.lazy(() => z.union([z.lazy(() => ownerNamedRoomPathSchema), z.lazy(() => dmRoomPathSchema)]));
|
|
262
270
|
const deviceIdHexSchema = z.lazy(() => z.string().regex(/* @__PURE__ */ new RegExp("[0-9a-f]{64}")));
|
|
263
271
|
const ownerNamedRoomPathSchema = z.lazy(() => z.string().regex(/* @__PURE__ */ new RegExp("[0-9a-f]{64}/[A-Za-z0-9_-]+")));
|
|
@@ -439,6 +447,7 @@ const tokenClaimsSchema = z.lazy(() => z.object({
|
|
|
439
447
|
"conditions": z.instanceof(Uint8Array).optional()
|
|
440
448
|
}).catchall(z.unknown()));
|
|
441
449
|
const pingFrameSchema = z.lazy(() => z.object({ "type": z.literal("ping") }));
|
|
450
|
+
const pongFrameSchema = z.lazy(() => z.object({ "type": z.literal("pong") }));
|
|
442
451
|
const closeFrameSchema = z.lazy(() => z.object({
|
|
443
452
|
"type": z.literal("close"),
|
|
444
453
|
"reason": z.string().optional()
|
|
@@ -531,4 +540,4 @@ const iceCandidateInitSchema = z.lazy(() => z.object({
|
|
|
531
540
|
"username-fragment": z.string().optional()
|
|
532
541
|
}));
|
|
533
542
|
//#endregion
|
|
534
|
-
export { bulkAckFrameSchema, bulkCancelSchema, bulkDataFrameSchema, bulkEndFrameSchema, bulkOpenSchema, bulkResumeSchema, candidateKindSchema, candidatesFrameSchema, capabilityGrantOkSchema, capabilityGrantSchema, capabilityRequestSchema, capabilityScopeSchema, capabilityTokenSchema, capabilityVerbSchema, closeFrameSchema, coordinatorFrameSchema, coreCapabilitySchema, coreDomainNameSchema, coseHeaderAlgSchema, coseHeaderKidSchema, coseHeaderLabelSchema, coseSign1Schema, coseTokenHeadersSchema, dataEntriesFrameSchema, dataHaveFrameSchema, dataRequestFrameSchema, deviceIdHexSchema, deviceIdSchema, dmRoomPathSchema, domainIdSchema, execListSchema, execSessionInfoSchema, frameSchema, frameVariantSchema, gossipFrameSchema, handleClaimsSchema, handleRecordSchema, handshakeFrameSchema, iceCandidateInitSchema, identityKeySchema, manageCommandParamsSchema, manageCommandSchema, manageErrorSchema, manageOkSchema, manageRequestFrameSchema, manageResponseFrameSchema, messageRefSchema, namespacedCapabilitySchema, namespacedDomainIdSchema, observedAddressFrameSchema, ownerNamedRoomPathSchema, peerAdvertSchema, peerIdentitySchema, pingFrameSchema, privateUseCapabilitySchema, privateUseDomainIdSchema, procKillSchema, procSignalSchema, procSpawnSchema, protocolVersionSchema, ptyKillSchema, ptyResizeSchema, ptySpawnSchema, ptyWriteSchema, relayConnectFrameSchema, relayDataFrameSchema, relayInboundFrameSchema, relayOfferFrameSchema, revocationAnnounceFrameSchema, revocationClaimsSchema, revocationEntrySchema, roomInviteSchema, roomJoinOkSchema, roomJoinSchema, roomLeaveSchema, roomMemberSchema, roomMembersOkSchema, roomMembersSchema, roomNoticeClaimsSchema, roomNoticeSchema, roomPathSchema, roomReadSchema, roomRekeySchema, roomSendSchema, sessionIdSchema, sfuTrackEntrySchema, sfuTrackMapSchema, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, thresholdAbortSchema, thresholdCommitSchema, thresholdCommitmentSchema, thresholdKeygenConfirmSchema, thresholdKeygenRound1Schema, thresholdKeygenRound2Schema, thresholdShareClaimsSchema, thresholdShareEnvelopeSchema, thresholdSignSchema, thresholdSubjectSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
543
|
+
export { bulkAckFrameSchema, bulkCancelSchema, bulkDataFrameSchema, bulkEndFrameSchema, bulkOpenSchema, bulkResumeSchema, candidateKindSchema, candidatesFrameSchema, capabilityGrantOkSchema, capabilityGrantSchema, capabilityRequestSchema, capabilityScopeSchema, capabilityTokenSchema, capabilityVerbSchema, closeFrameSchema, coordinatorFrameSchema, coreCapabilitySchema, coreDomainNameSchema, coseHeaderAlgSchema, coseHeaderKidSchema, coseHeaderLabelSchema, coseSign1Schema, coseTokenHeadersSchema, dataEntriesFrameSchema, dataHaveFrameSchema, dataRequestFrameSchema, deviceIdHexSchema, deviceIdSchema, dmRoomPathSchema, domainIdSchema, execListSchema, execSessionInfoSchema, frameSchema, frameVariantSchema, gossipFrameSchema, handleClaimsSchema, handleRecordSchema, handshakeFrameSchema, iceCandidateInitSchema, identityKeySchema, manageCommandParamsSchema, manageCommandSchema, manageErrorSchema, manageOkSchema, manageRequestFrameSchema, manageResponseFrameSchema, messageRefSchema, namespacedCapabilitySchema, namespacedDomainIdSchema, observedAddressFrameSchema, ownerNamedRoomPathSchema, pathTraceOkSchema, pathTraceSchema, peerAdvertSchema, peerIdentitySchema, pingFrameSchema, pongFrameSchema, privateUseCapabilitySchema, privateUseDomainIdSchema, procKillSchema, procSignalSchema, procSpawnSchema, protocolVersionSchema, ptyKillSchema, ptyResizeSchema, ptySpawnSchema, ptyWriteSchema, relayConnectFrameSchema, relayDataFrameSchema, relayInboundFrameSchema, relayOfferFrameSchema, revocationAnnounceFrameSchema, revocationClaimsSchema, revocationEntrySchema, roomInviteSchema, roomJoinOkSchema, roomJoinSchema, roomLeaveSchema, roomMemberSchema, roomMembersOkSchema, roomMembersSchema, roomNoticeClaimsSchema, roomNoticeSchema, roomPathSchema, roomReadSchema, roomRekeySchema, roomSendSchema, sessionIdSchema, sfuTrackEntrySchema, sfuTrackMapSchema, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, thresholdAbortSchema, thresholdCommitSchema, thresholdCommitmentSchema, thresholdKeygenConfirmSchema, thresholdKeygenRound1Schema, thresholdKeygenRound2Schema, thresholdShareClaimsSchema, thresholdShareEnvelopeSchema, thresholdSignSchema, thresholdSubjectSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as IdentityKey, D as DeviceId } from "./protocol-
|
|
1
|
+
import { B as IdentityKey, D as DeviceId } from "./protocol-PhUVprXA.mjs";
|
|
2
2
|
//#region src/ports/identity.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Wraps the local node's own identity plus the signing/verification primitives capability-token handling needs -- never hardcoded to one crypto library's own API shape (Node's webcrypto, a WASM implementation, a hardware key, etc. can all satisfy this same contract).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as IdentityKey, D as DeviceId } from "./protocol-
|
|
1
|
+
import { B as IdentityKey, D as DeviceId } from "./protocol-PhUVprXA.cjs";
|
|
2
2
|
//#region src/ports/identity.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Wraps the local node's own identity plus the signing/verification primitives capability-token handling needs -- never hardcoded to one crypto library's own API shape (Node's webcrypto, a WASM implementation, a hardware key, etc. can all satisfy this same contract).
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as IdentityPort } from "../identity-
|
|
1
|
+
import { t as IdentityPort } from "../identity-CmD4l_Mp.cjs";
|
|
2
2
|
export { IdentityPort };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as IdentityPort } from "../identity-
|
|
1
|
+
import { t as IdentityPort } from "../identity-BXrJ6_YM.mjs";
|
|
2
2
|
export { IdentityPort };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Listener, r as Transport, t as Connection } from "../transport-
|
|
1
|
+
import { n as Listener, r as Transport, t as Connection } from "../transport-CbXX1Xd-.cjs";
|
|
2
2
|
export { Connection, Listener, Transport };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Listener, r as Transport, t as Connection } from "../transport-
|
|
1
|
+
import { n as Listener, r as Transport, t as Connection } from "../transport-DG9ouGe-.mjs";
|
|
2
2
|
export { Connection, Listener, Transport };
|