wire-mesh-core 1.55.0 → 1.56.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/direct-manage-request.cjs +64 -0
- package/dist/domain/direct-manage-request.d.cts +16 -0
- package/dist/domain/direct-manage-request.d.mts +16 -0
- package/dist/domain/direct-manage-request.mjs +62 -0
- package/dist/domain/gossip-expansion.d.cts +1 -1
- package/dist/domain/gossip-expansion.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 +33 -65
- package/dist/domain/mesh-session.d.cts +3 -14
- package/dist/domain/mesh-session.d.mts +3 -14
- package/dist/domain/mesh-session.mjs +32 -64
- package/dist/domain/notice-board.d.cts +3 -3
- package/dist/domain/notice-board.d.mts +3 -3
- package/dist/domain/relay-hub.d.cts +2 -2
- package/dist/domain/relay-hub.d.mts +2 -2
- 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 +5 -1
- package/dist/generated/protocol.d.cts +2 -2
- package/dist/generated/protocol.d.mts +2 -2
- package/dist/generated/protocol.mjs +5 -2
- package/dist/{identity-BXrJ6_YM.d.mts → identity-Br6e0Rx5.d.mts} +1 -1
- package/dist/{identity-CmD4l_Mp.d.cts → identity-pOt5KxJB.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-PhUVprXA.d.cts → protocol-D2Ue2nd2.d.cts} +25 -11
- package/dist/{protocol-PhUVprXA.d.mts → protocol-D2Ue2nd2.d.mts} +25 -11
- package/dist/{room-token-verification-D8HndWYM.d.cts → room-token-verification-CNXMjIQd.d.cts} +2 -2
- package/dist/{room-token-verification-Dv1O6-FV.d.mts → room-token-verification-ZHgJhnsu.d.mts} +2 -2
- package/dist/{tokens-DIPzZ9JJ.d.cts → tokens-BtczHfrc.d.cts} +2 -2
- package/dist/{tokens-BVrgBeqF.d.mts → tokens-Hnq9oURj.d.mts} +2 -2
- package/dist/{transport-CbXX1Xd-.d.cts → transport-C5wU0UtA.d.mts} +1 -1
- package/dist/{transport-DG9ouGe-.d.mts → transport-fUY3alfO.d.cts} +1 -1
- package/package.json +5 -1
|
@@ -55,6 +55,7 @@ const manageCommandParamsSchema = z.lazy(() => z.union([
|
|
|
55
55
|
z.lazy(() => thresholdKeygenRound2Schema),
|
|
56
56
|
z.lazy(() => thresholdKeygenConfirmSchema)
|
|
57
57
|
]),
|
|
58
|
+
z.lazy(() => versionGetSchema),
|
|
58
59
|
z.union([
|
|
59
60
|
z.lazy(() => webrtcOfferSchema),
|
|
60
61
|
z.lazy(() => webrtcAnswerSchema),
|
|
@@ -193,7 +194,8 @@ const coreDomainNameSchema = z.lazy(() => z.union([
|
|
|
193
194
|
z.literal("core/federation"),
|
|
194
195
|
z.literal("core/webrtc"),
|
|
195
196
|
z.literal("core/room"),
|
|
196
|
-
z.literal("core/bulk")
|
|
197
|
+
z.literal("core/bulk"),
|
|
198
|
+
z.literal("core/version")
|
|
197
199
|
]));
|
|
198
200
|
const namespacedDomainIdSchema = z.lazy(() => z.string().regex(/* @__PURE__ */ new RegExp("[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+/[A-Za-z0-9_.-]+")));
|
|
199
201
|
const privateUseDomainIdSchema = z.lazy(() => z.string().regex(/* @__PURE__ */ new RegExp("x-[A-Za-z0-9_.-]+")));
|
|
@@ -508,6 +510,7 @@ const coordinatorFrameSchema = z.lazy(() => z.object({
|
|
|
508
510
|
"coordinator": z.lazy(() => deviceIdSchema),
|
|
509
511
|
"capacity-hint": z.number().int().nonnegative().optional()
|
|
510
512
|
}));
|
|
513
|
+
const versionGetSchema = z.lazy(() => z.object({ "verb": z.literal("version.get") }));
|
|
511
514
|
const sfuTrackMapSchema = z.lazy(() => z.object({
|
|
512
515
|
"verb": z.literal("webrtc.sfu-track-map"),
|
|
513
516
|
"negotiation-id": z.number().int().nonnegative(),
|
|
@@ -540,4 +543,4 @@ const iceCandidateInitSchema = z.lazy(() => z.object({
|
|
|
540
543
|
"username-fragment": z.string().optional()
|
|
541
544
|
}));
|
|
542
545
|
//#endregion
|
|
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 };
|
|
546
|
+
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, versionGetSchema, 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-D2Ue2nd2.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-D2Ue2nd2.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-pOt5KxJB.cjs";
|
|
2
2
|
export { IdentityPort };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as IdentityPort } from "../identity-
|
|
1
|
+
import { t as IdentityPort } from "../identity-Br6e0Rx5.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-fUY3alfO.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-C5wU0UtA.mjs";
|
|
2
2
|
export { Connection, Listener, Transport };
|
|
@@ -147,7 +147,9 @@ declare const manageCommandParamsSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodUni
|
|
|
147
147
|
"session-id": z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
148
148
|
"transcript-digest": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
149
149
|
"group-key": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
150
|
-
}, z.core.$strip>>>]>, z.
|
|
150
|
+
}, z.core.$strip>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
151
|
+
verb: z.ZodLiteral<"version.get">;
|
|
152
|
+
}, z.core.$strip>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
151
153
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
152
154
|
"negotiation-id": z.ZodNumber;
|
|
153
155
|
sdp: z.ZodString;
|
|
@@ -278,7 +280,7 @@ declare const execSessionInfoSchema: z.ZodLazy<z.ZodObject<{
|
|
|
278
280
|
declare const frameVariantSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
279
281
|
type: z.ZodLiteral<"handshake">;
|
|
280
282
|
version: z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
281
|
-
domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
|
|
283
|
+
domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">, z.ZodLiteral<"core/version">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
|
|
282
284
|
params: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
|
|
283
285
|
}, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
284
286
|
type: z.ZodLiteral<"ping">;
|
|
@@ -462,7 +464,9 @@ declare const frameVariantSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.Zod
|
|
|
462
464
|
"session-id": z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
463
465
|
"transcript-digest": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
464
466
|
"group-key": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
465
|
-
}, z.core.$strip>>>]>, z.
|
|
467
|
+
}, z.core.$strip>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
468
|
+
verb: z.ZodLiteral<"version.get">;
|
|
469
|
+
}, z.core.$strip>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
466
470
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
467
471
|
"negotiation-id": z.ZodNumber;
|
|
468
472
|
sdp: z.ZodString;
|
|
@@ -560,7 +564,7 @@ declare const frameVariantSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.Zod
|
|
|
560
564
|
declare const frameSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
561
565
|
type: z.ZodLiteral<"handshake">;
|
|
562
566
|
version: z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
563
|
-
domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
|
|
567
|
+
domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">, z.ZodLiteral<"core/version">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
|
|
564
568
|
params: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
|
|
565
569
|
}, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
566
570
|
type: z.ZodLiteral<"ping">;
|
|
@@ -744,7 +748,9 @@ declare const frameSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.
|
|
|
744
748
|
"session-id": z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
745
749
|
"transcript-digest": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
746
750
|
"group-key": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
747
|
-
}, z.core.$strip>>>]>, z.
|
|
751
|
+
}, z.core.$strip>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
752
|
+
verb: z.ZodLiteral<"version.get">;
|
|
753
|
+
}, z.core.$strip>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
748
754
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
749
755
|
"negotiation-id": z.ZodNumber;
|
|
750
756
|
sdp: z.ZodString;
|
|
@@ -840,14 +846,14 @@ declare const frameSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.
|
|
|
840
846
|
digest: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
841
847
|
}, z.core.$strip>>>]>>>>;
|
|
842
848
|
declare const protocolVersionSchema: z.ZodLazy<z.ZodNumber>;
|
|
843
|
-
declare const domainIdSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>;
|
|
844
|
-
declare const coreDomainNameSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>;
|
|
849
|
+
declare const domainIdSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">, z.ZodLiteral<"core/version">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>;
|
|
850
|
+
declare const coreDomainNameSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">, z.ZodLiteral<"core/version">]>>;
|
|
845
851
|
declare const namespacedDomainIdSchema: z.ZodLazy<z.ZodString>;
|
|
846
852
|
declare const privateUseDomainIdSchema: z.ZodLazy<z.ZodString>;
|
|
847
853
|
declare const handshakeFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
848
854
|
type: z.ZodLiteral<"handshake">;
|
|
849
855
|
version: z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
850
|
-
domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
|
|
856
|
+
domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">, z.ZodLiteral<"core/version">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
|
|
851
857
|
params: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
|
|
852
858
|
}, z.core.$strip>>;
|
|
853
859
|
declare const identityKeySchema: z.ZodLazy<z.ZodObject<{
|
|
@@ -995,7 +1001,9 @@ declare const manageCommandSchema: z.ZodLazy<z.ZodObject<{
|
|
|
995
1001
|
"session-id": z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
996
1002
|
"transcript-digest": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
997
1003
|
"group-key": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
998
|
-
}, z.core.$strip>>>]>, z.
|
|
1004
|
+
}, z.core.$strip>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
1005
|
+
verb: z.ZodLiteral<"version.get">;
|
|
1006
|
+
}, z.core.$strip>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
999
1007
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
1000
1008
|
"negotiation-id": z.ZodNumber;
|
|
1001
1009
|
sdp: z.ZodString;
|
|
@@ -1157,7 +1165,9 @@ declare const manageRequestFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1157
1165
|
"session-id": z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
1158
1166
|
"transcript-digest": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
1159
1167
|
"group-key": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
1160
|
-
}, z.core.$strip>>>]>, z.
|
|
1168
|
+
}, z.core.$strip>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
1169
|
+
verb: z.ZodLiteral<"version.get">;
|
|
1170
|
+
}, z.core.$strip>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
1161
1171
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
1162
1172
|
"negotiation-id": z.ZodNumber;
|
|
1163
1173
|
sdp: z.ZodString;
|
|
@@ -1554,6 +1564,9 @@ declare const coordinatorFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1554
1564
|
coordinator: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
|
|
1555
1565
|
"capacity-hint": z.ZodOptional<z.ZodNumber>;
|
|
1556
1566
|
}, z.core.$strip>>;
|
|
1567
|
+
declare const versionGetSchema: z.ZodLazy<z.ZodObject<{
|
|
1568
|
+
verb: z.ZodLiteral<"version.get">;
|
|
1569
|
+
}, z.core.$strip>>;
|
|
1557
1570
|
declare const sfuTrackMapSchema: z.ZodLazy<z.ZodObject<{
|
|
1558
1571
|
verb: z.ZodLiteral<"webrtc.sfu-track-map">;
|
|
1559
1572
|
"negotiation-id": z.ZodNumber;
|
|
@@ -1699,6 +1712,7 @@ type RelayConnectFrame = z.infer<typeof relayConnectFrameSchema>;
|
|
|
1699
1712
|
type RelayDataFrame = z.infer<typeof relayDataFrameSchema>;
|
|
1700
1713
|
type RelayInboundFrame = z.infer<typeof relayInboundFrameSchema>;
|
|
1701
1714
|
type CoordinatorFrame = z.infer<typeof coordinatorFrameSchema>;
|
|
1715
|
+
type VersionGet = z.infer<typeof versionGetSchema>;
|
|
1702
1716
|
type SfuTrackMap = z.infer<typeof sfuTrackMapSchema>;
|
|
1703
1717
|
type SfuTrackEntry = z.infer<typeof sfuTrackEntrySchema>;
|
|
1704
1718
|
type WebrtcOffer = z.infer<typeof webrtcOfferSchema>;
|
|
@@ -1706,4 +1720,4 @@ type WebrtcAnswer = z.infer<typeof webrtcAnswerSchema>;
|
|
|
1706
1720
|
type WebrtcIceCandidate = z.infer<typeof webrtcIceCandidateSchema>;
|
|
1707
1721
|
type IceCandidateInit = z.infer<typeof iceCandidateInitSchema>;
|
|
1708
1722
|
//#endregion
|
|
1709
|
-
export { PathTraceOk as $,
|
|
1723
|
+
export { PathTraceOk as $, namespacedDomainIdSchema as $n, thresholdShareEnvelopeSchema as $r, TransferId as $t, DomainId as A, dataRequestFrameSchema as An, roomMembersOkSchema as Ar, RoomPath as At, IdentityKey as B, handleClaimsSchema as Bn, sfuTrackMapSchema as Br, StreamSession as Bt, CoseTokenHeaders as C, coseHeaderAlgSchema as Cn, revocationClaimsSchema as Cr, RoomJoinOk as Ct, DeviceId as D, coseTokenHeadersSchema as Dn, roomJoinSchema as Dr, RoomMembersOk as Dt, DataRequestFrame as E, coseSign1Schema as En, roomJoinOkSchema as Er, RoomMembers as Et, GossipFrame as F, execListSchema as Fn, roomReadSchema as Fr, SfuTrackEntry as Ft, ManageRequestFrame as G, manageCommandParamsSchema as Gn, syncPunchFrameSchema as Gr, ThresholdKeygenConfirm as Gt, ManageCommandParams as H, handshakeFrameSchema as Hn, streamDataFrameSchema as Hr, ThresholdAbort as Ht, HandleClaims as I, execSessionInfoSchema as In, roomRekeySchema as Ir, SfuTrackMap as It, NamespacedCapability as J, manageOkSchema as Jn, thresholdCommitmentSchema as Jr, ThresholdShareClaims as Jt, ManageResponseFrame as K, manageCommandSchema as Kn, thresholdAbortSchema as Kr, ThresholdKeygenRound1 as Kt, HandleRecord as L, frameSchema as Ln, roomSendSchema as Lr, StreamAckFrame as Lt, ExecSessionInfo as M, deviceIdSchema as Mn, roomNoticeClaimsSchema as Mr, RoomRekey as Mt, Frame as N, dmRoomPathSchema as Nn, roomNoticeSchema as Nr, RoomSend as Nt, DeviceIdHex as O, dataEntriesFrameSchema as On, roomLeaveSchema as Or, RoomNotice as Ot, FrameVariant as P, domainIdSchema as Pn, roomPathSchema as Pr, SessionId as Pt, PathTrace as Q, namespacedCapabilitySchema as Qn, thresholdShareClaimsSchema as Qr, TokenClaims as Qt, HandshakeFrame as R, frameVariantSchema as Rn, sessionIdSchema as Rr, StreamDataFrame as Rt, CoseSign1 as S, coreDomainNameSchema as Sn, revocationAnnounceFrameSchema as Sr, RoomJoin as St, DataHaveFrame as T, coseHeaderLabelSchema as Tn, roomInviteSchema as Tr, RoomMember as Tt, ManageError as U, iceCandidateInitSchema as Un, streamEndFrameSchema as Ur, ThresholdCommit as Ut, ManageCommand as V, handleRecordSchema as Vn, streamAckFrameSchema as Vr, SyncPunchFrame as Vt, ManageOk as W, identityKeySchema as Wn, streamSessionSchema as Wr, ThresholdCommitment as Wt, ObservedAddressFrame as X, manageResponseFrameSchema as Xn, thresholdKeygenRound1Schema as Xr, ThresholdSign as Xt, NamespacedDomainId as Y, manageRequestFrameSchema as Yn, thresholdKeygenConfirmSchema as Yr, ThresholdShareEnvelope as Yt, OwnerNamedRoomPath as Z, messageRefSchema as Zn, thresholdKeygenRound2Schema as Zr, ThresholdSubject as Zt, CoreCapability as _, capabilityTokenSchema as _n, ptyWriteSchema as _r, RelayOfferFrame as _t, BulkOpen as a, webrtcAnswerSchema as ai, bulkAckFrameSchema as an, peerIdentitySchema as ar, PrivateUseDomainId as at, CoseHeaderKid as b, coordinatorFrameSchema as bn, relayInboundFrameSchema as br, RevocationEntry as bt, CandidatesFrame as c, wireCandidateSchema as ci, bulkEndFrameSchema as cn, privateUseCapabilitySchema as cr, ProcSpawn as ct, CapabilityRequest as d, candidateKindSchema as dn, procSignalSchema as dr, PtyResize as dt, thresholdSignSchema as ei, VersionGet as en, observedAddressFrameSchema as er, PeerAdvert as et, CapabilityScope as f, candidatesFrameSchema as fn, procSpawnSchema as fr, PtySpawn as ft, CoordinatorFrame as g, capabilityScopeSchema as gn, ptySpawnSchema as gr, RelayInboundFrame as gt, CloseFrame as h, capabilityRequestSchema as hn, ptyResizeSchema as hr, RelayDataFrame as ht, BulkEndFrame as i, versionGetSchema as ii, WireCandidate as in, peerAdvertSchema as ir, PrivateUseCapability as it, ExecList as j, deviceIdHexSchema as jn, roomMembersSchema as jr, RoomRead as jt, DmRoomPath as k, dataHaveFrameSchema as kn, roomMemberSchema as kr, RoomNoticeClaims as kt, CapabilityGrant as l, bulkOpenSchema as ln, privateUseDomainIdSchema as lr, ProtocolVersion as lt, CapabilityVerb as m, capabilityGrantSchema as mn, ptyKillSchema as mr, RelayConnectFrame as mt, BulkCancel as n, tokenClaimsSchema as ni, WebrtcIceCandidate as nn, pathTraceOkSchema as nr, PingFrame as nt, BulkResume as o, webrtcIceCandidateSchema as oi, bulkCancelSchema as on, pingFrameSchema as or, ProcKill as ot, CapabilityToken as p, capabilityGrantOkSchema as pn, protocolVersionSchema as pr, PtyWrite as pt, MessageRef as q, manageErrorSchema as qn, thresholdCommitSchema as qr, ThresholdKeygenRound2 as qt, BulkDataFrame as r, transferIdSchema as ri, WebrtcOffer as rn, pathTraceSchema as rr, PongFrame as rt, CandidateKind as s, webrtcOfferSchema as si, bulkDataFrameSchema as sn, pongFrameSchema as sr, ProcSignal as st, BulkAckFrame as t, thresholdSubjectSchema as ti, WebrtcAnswer as tn, ownerNamedRoomPathSchema as tr, PeerIdentity as tt, CapabilityGrantOk as u, bulkResumeSchema as un, procKillSchema as ur, PtyKill as ut, CoreDomainName as v, capabilityVerbSchema as vn, relayConnectFrameSchema as vr, RevocationAnnounceFrame as vt, DataEntriesFrame as w, coseHeaderKidSchema as wn, revocationEntrySchema as wr, RoomLeave as wt, CoseHeaderLabel as x, coreCapabilitySchema as xn, relayOfferFrameSchema as xr, RoomInvite as xt, CoseHeaderAlg as y, closeFrameSchema as yn, relayDataFrameSchema as yr, RevocationClaims as yt, IceCandidateInit as z, gossipFrameSchema as zn, sfuTrackEntrySchema as zr, StreamEndFrame as zt };
|
|
@@ -147,7 +147,9 @@ declare const manageCommandParamsSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodUni
|
|
|
147
147
|
"session-id": z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
148
148
|
"transcript-digest": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
149
149
|
"group-key": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
150
|
-
}, z.core.$strip>>>]>, z.
|
|
150
|
+
}, z.core.$strip>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
151
|
+
verb: z.ZodLiteral<"version.get">;
|
|
152
|
+
}, z.core.$strip>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
151
153
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
152
154
|
"negotiation-id": z.ZodNumber;
|
|
153
155
|
sdp: z.ZodString;
|
|
@@ -278,7 +280,7 @@ declare const execSessionInfoSchema: z.ZodLazy<z.ZodObject<{
|
|
|
278
280
|
declare const frameVariantSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
279
281
|
type: z.ZodLiteral<"handshake">;
|
|
280
282
|
version: z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
281
|
-
domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
|
|
283
|
+
domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">, z.ZodLiteral<"core/version">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
|
|
282
284
|
params: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
|
|
283
285
|
}, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
284
286
|
type: z.ZodLiteral<"ping">;
|
|
@@ -462,7 +464,9 @@ declare const frameVariantSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.Zod
|
|
|
462
464
|
"session-id": z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
463
465
|
"transcript-digest": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
464
466
|
"group-key": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
465
|
-
}, z.core.$strip>>>]>, z.
|
|
467
|
+
}, z.core.$strip>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
468
|
+
verb: z.ZodLiteral<"version.get">;
|
|
469
|
+
}, z.core.$strip>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
466
470
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
467
471
|
"negotiation-id": z.ZodNumber;
|
|
468
472
|
sdp: z.ZodString;
|
|
@@ -560,7 +564,7 @@ declare const frameVariantSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.Zod
|
|
|
560
564
|
declare const frameSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
561
565
|
type: z.ZodLiteral<"handshake">;
|
|
562
566
|
version: z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
563
|
-
domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
|
|
567
|
+
domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">, z.ZodLiteral<"core/version">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
|
|
564
568
|
params: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
|
|
565
569
|
}, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
566
570
|
type: z.ZodLiteral<"ping">;
|
|
@@ -744,7 +748,9 @@ declare const frameSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.
|
|
|
744
748
|
"session-id": z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
745
749
|
"transcript-digest": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
746
750
|
"group-key": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
747
|
-
}, z.core.$strip>>>]>, z.
|
|
751
|
+
}, z.core.$strip>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
752
|
+
verb: z.ZodLiteral<"version.get">;
|
|
753
|
+
}, z.core.$strip>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
748
754
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
749
755
|
"negotiation-id": z.ZodNumber;
|
|
750
756
|
sdp: z.ZodString;
|
|
@@ -840,14 +846,14 @@ declare const frameSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.
|
|
|
840
846
|
digest: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
841
847
|
}, z.core.$strip>>>]>>>>;
|
|
842
848
|
declare const protocolVersionSchema: z.ZodLazy<z.ZodNumber>;
|
|
843
|
-
declare const domainIdSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>;
|
|
844
|
-
declare const coreDomainNameSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>;
|
|
849
|
+
declare const domainIdSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">, z.ZodLiteral<"core/version">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>;
|
|
850
|
+
declare const coreDomainNameSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">, z.ZodLiteral<"core/version">]>>;
|
|
845
851
|
declare const namespacedDomainIdSchema: z.ZodLazy<z.ZodString>;
|
|
846
852
|
declare const privateUseDomainIdSchema: z.ZodLazy<z.ZodString>;
|
|
847
853
|
declare const handshakeFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
848
854
|
type: z.ZodLiteral<"handshake">;
|
|
849
855
|
version: z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
850
|
-
domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
|
|
856
|
+
domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">, z.ZodLiteral<"core/version">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
|
|
851
857
|
params: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
|
|
852
858
|
}, z.core.$strip>>;
|
|
853
859
|
declare const identityKeySchema: z.ZodLazy<z.ZodObject<{
|
|
@@ -995,7 +1001,9 @@ declare const manageCommandSchema: z.ZodLazy<z.ZodObject<{
|
|
|
995
1001
|
"session-id": z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
996
1002
|
"transcript-digest": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
997
1003
|
"group-key": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
998
|
-
}, z.core.$strip>>>]>, z.
|
|
1004
|
+
}, z.core.$strip>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
1005
|
+
verb: z.ZodLiteral<"version.get">;
|
|
1006
|
+
}, z.core.$strip>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
999
1007
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
1000
1008
|
"negotiation-id": z.ZodNumber;
|
|
1001
1009
|
sdp: z.ZodString;
|
|
@@ -1157,7 +1165,9 @@ declare const manageRequestFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1157
1165
|
"session-id": z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
|
|
1158
1166
|
"transcript-digest": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
1159
1167
|
"group-key": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
1160
|
-
}, z.core.$strip>>>]>, z.
|
|
1168
|
+
}, z.core.$strip>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
1169
|
+
verb: z.ZodLiteral<"version.get">;
|
|
1170
|
+
}, z.core.$strip>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
1161
1171
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
1162
1172
|
"negotiation-id": z.ZodNumber;
|
|
1163
1173
|
sdp: z.ZodString;
|
|
@@ -1554,6 +1564,9 @@ declare const coordinatorFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1554
1564
|
coordinator: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
|
|
1555
1565
|
"capacity-hint": z.ZodOptional<z.ZodNumber>;
|
|
1556
1566
|
}, z.core.$strip>>;
|
|
1567
|
+
declare const versionGetSchema: z.ZodLazy<z.ZodObject<{
|
|
1568
|
+
verb: z.ZodLiteral<"version.get">;
|
|
1569
|
+
}, z.core.$strip>>;
|
|
1557
1570
|
declare const sfuTrackMapSchema: z.ZodLazy<z.ZodObject<{
|
|
1558
1571
|
verb: z.ZodLiteral<"webrtc.sfu-track-map">;
|
|
1559
1572
|
"negotiation-id": z.ZodNumber;
|
|
@@ -1699,6 +1712,7 @@ type RelayConnectFrame = z.infer<typeof relayConnectFrameSchema>;
|
|
|
1699
1712
|
type RelayDataFrame = z.infer<typeof relayDataFrameSchema>;
|
|
1700
1713
|
type RelayInboundFrame = z.infer<typeof relayInboundFrameSchema>;
|
|
1701
1714
|
type CoordinatorFrame = z.infer<typeof coordinatorFrameSchema>;
|
|
1715
|
+
type VersionGet = z.infer<typeof versionGetSchema>;
|
|
1702
1716
|
type SfuTrackMap = z.infer<typeof sfuTrackMapSchema>;
|
|
1703
1717
|
type SfuTrackEntry = z.infer<typeof sfuTrackEntrySchema>;
|
|
1704
1718
|
type WebrtcOffer = z.infer<typeof webrtcOfferSchema>;
|
|
@@ -1706,4 +1720,4 @@ type WebrtcAnswer = z.infer<typeof webrtcAnswerSchema>;
|
|
|
1706
1720
|
type WebrtcIceCandidate = z.infer<typeof webrtcIceCandidateSchema>;
|
|
1707
1721
|
type IceCandidateInit = z.infer<typeof iceCandidateInitSchema>;
|
|
1708
1722
|
//#endregion
|
|
1709
|
-
export { PathTraceOk as $,
|
|
1723
|
+
export { PathTraceOk as $, namespacedDomainIdSchema as $n, thresholdShareEnvelopeSchema as $r, TransferId as $t, DomainId as A, dataRequestFrameSchema as An, roomMembersOkSchema as Ar, RoomPath as At, IdentityKey as B, handleClaimsSchema as Bn, sfuTrackMapSchema as Br, StreamSession as Bt, CoseTokenHeaders as C, coseHeaderAlgSchema as Cn, revocationClaimsSchema as Cr, RoomJoinOk as Ct, DeviceId as D, coseTokenHeadersSchema as Dn, roomJoinSchema as Dr, RoomMembersOk as Dt, DataRequestFrame as E, coseSign1Schema as En, roomJoinOkSchema as Er, RoomMembers as Et, GossipFrame as F, execListSchema as Fn, roomReadSchema as Fr, SfuTrackEntry as Ft, ManageRequestFrame as G, manageCommandParamsSchema as Gn, syncPunchFrameSchema as Gr, ThresholdKeygenConfirm as Gt, ManageCommandParams as H, handshakeFrameSchema as Hn, streamDataFrameSchema as Hr, ThresholdAbort as Ht, HandleClaims as I, execSessionInfoSchema as In, roomRekeySchema as Ir, SfuTrackMap as It, NamespacedCapability as J, manageOkSchema as Jn, thresholdCommitmentSchema as Jr, ThresholdShareClaims as Jt, ManageResponseFrame as K, manageCommandSchema as Kn, thresholdAbortSchema as Kr, ThresholdKeygenRound1 as Kt, HandleRecord as L, frameSchema as Ln, roomSendSchema as Lr, StreamAckFrame as Lt, ExecSessionInfo as M, deviceIdSchema as Mn, roomNoticeClaimsSchema as Mr, RoomRekey as Mt, Frame as N, dmRoomPathSchema as Nn, roomNoticeSchema as Nr, RoomSend as Nt, DeviceIdHex as O, dataEntriesFrameSchema as On, roomLeaveSchema as Or, RoomNotice as Ot, FrameVariant as P, domainIdSchema as Pn, roomPathSchema as Pr, SessionId as Pt, PathTrace as Q, namespacedCapabilitySchema as Qn, thresholdShareClaimsSchema as Qr, TokenClaims as Qt, HandshakeFrame as R, frameVariantSchema as Rn, sessionIdSchema as Rr, StreamDataFrame as Rt, CoseSign1 as S, coreDomainNameSchema as Sn, revocationAnnounceFrameSchema as Sr, RoomJoin as St, DataHaveFrame as T, coseHeaderLabelSchema as Tn, roomInviteSchema as Tr, RoomMember as Tt, ManageError as U, iceCandidateInitSchema as Un, streamEndFrameSchema as Ur, ThresholdCommit as Ut, ManageCommand as V, handleRecordSchema as Vn, streamAckFrameSchema as Vr, SyncPunchFrame as Vt, ManageOk as W, identityKeySchema as Wn, streamSessionSchema as Wr, ThresholdCommitment as Wt, ObservedAddressFrame as X, manageResponseFrameSchema as Xn, thresholdKeygenRound1Schema as Xr, ThresholdSign as Xt, NamespacedDomainId as Y, manageRequestFrameSchema as Yn, thresholdKeygenConfirmSchema as Yr, ThresholdShareEnvelope as Yt, OwnerNamedRoomPath as Z, messageRefSchema as Zn, thresholdKeygenRound2Schema as Zr, ThresholdSubject as Zt, CoreCapability as _, capabilityTokenSchema as _n, ptyWriteSchema as _r, RelayOfferFrame as _t, BulkOpen as a, webrtcAnswerSchema as ai, bulkAckFrameSchema as an, peerIdentitySchema as ar, PrivateUseDomainId as at, CoseHeaderKid as b, coordinatorFrameSchema as bn, relayInboundFrameSchema as br, RevocationEntry as bt, CandidatesFrame as c, wireCandidateSchema as ci, bulkEndFrameSchema as cn, privateUseCapabilitySchema as cr, ProcSpawn as ct, CapabilityRequest as d, candidateKindSchema as dn, procSignalSchema as dr, PtyResize as dt, thresholdSignSchema as ei, VersionGet as en, observedAddressFrameSchema as er, PeerAdvert as et, CapabilityScope as f, candidatesFrameSchema as fn, procSpawnSchema as fr, PtySpawn as ft, CoordinatorFrame as g, capabilityScopeSchema as gn, ptySpawnSchema as gr, RelayInboundFrame as gt, CloseFrame as h, capabilityRequestSchema as hn, ptyResizeSchema as hr, RelayDataFrame as ht, BulkEndFrame as i, versionGetSchema as ii, WireCandidate as in, peerAdvertSchema as ir, PrivateUseCapability as it, ExecList as j, deviceIdHexSchema as jn, roomMembersSchema as jr, RoomRead as jt, DmRoomPath as k, dataHaveFrameSchema as kn, roomMemberSchema as kr, RoomNoticeClaims as kt, CapabilityGrant as l, bulkOpenSchema as ln, privateUseDomainIdSchema as lr, ProtocolVersion as lt, CapabilityVerb as m, capabilityGrantSchema as mn, ptyKillSchema as mr, RelayConnectFrame as mt, BulkCancel as n, tokenClaimsSchema as ni, WebrtcIceCandidate as nn, pathTraceOkSchema as nr, PingFrame as nt, BulkResume as o, webrtcIceCandidateSchema as oi, bulkCancelSchema as on, pingFrameSchema as or, ProcKill as ot, CapabilityToken as p, capabilityGrantOkSchema as pn, protocolVersionSchema as pr, PtyWrite as pt, MessageRef as q, manageErrorSchema as qn, thresholdCommitSchema as qr, ThresholdKeygenRound2 as qt, BulkDataFrame as r, transferIdSchema as ri, WebrtcOffer as rn, pathTraceSchema as rr, PongFrame as rt, CandidateKind as s, webrtcOfferSchema as si, bulkDataFrameSchema as sn, pongFrameSchema as sr, ProcSignal as st, BulkAckFrame as t, thresholdSubjectSchema as ti, WebrtcAnswer as tn, ownerNamedRoomPathSchema as tr, PeerIdentity as tt, CapabilityGrantOk as u, bulkResumeSchema as un, procKillSchema as ur, PtyKill as ut, CoreDomainName as v, capabilityVerbSchema as vn, relayConnectFrameSchema as vr, RevocationAnnounceFrame as vt, DataEntriesFrame as w, coseHeaderKidSchema as wn, revocationEntrySchema as wr, RoomLeave as wt, CoseHeaderLabel as x, coreCapabilitySchema as xn, relayOfferFrameSchema as xr, RoomInvite as xt, CoseHeaderAlg as y, closeFrameSchema as yn, relayDataFrameSchema as yr, RevocationClaims as yt, IceCandidateInit as z, gossipFrameSchema as zn, sfuTrackEntrySchema as zr, StreamEndFrame as zt };
|
package/dist/{room-token-verification-D8HndWYM.d.cts → room-token-verification-CNXMjIQd.d.cts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as IdentityKey, D as DeviceId, Qt as TokenClaims, p as CapabilityToken } from "./protocol-
|
|
2
|
-
import { l as TokenVerdictReason, u as VerifyCapabilityTokenOptions } from "./tokens-
|
|
1
|
+
import { B as IdentityKey, D as DeviceId, Qt as TokenClaims, p as CapabilityToken } from "./protocol-D2Ue2nd2.cjs";
|
|
2
|
+
import { l as TokenVerdictReason, u as VerifyCapabilityTokenOptions } from "./tokens-BtczHfrc.cjs";
|
|
3
3
|
//#region src/domain/room-token-verification.d.ts
|
|
4
4
|
/** The one capability every core/room verb (room.send/read/leave/members) is gated by, per spec/room.cddl -- room.join/room.invite are deliberately ungated instead and need no token check at all. */
|
|
5
5
|
declare const ROOM_MEMBER_CAPABILITY = "room:member";
|
package/dist/{room-token-verification-Dv1O6-FV.d.mts → room-token-verification-ZHgJhnsu.d.mts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as IdentityKey, D as DeviceId, Qt as TokenClaims, p as CapabilityToken } from "./protocol-
|
|
2
|
-
import { l as TokenVerdictReason, u as VerifyCapabilityTokenOptions } from "./tokens-
|
|
1
|
+
import { B as IdentityKey, D as DeviceId, Qt as TokenClaims, p as CapabilityToken } from "./protocol-D2Ue2nd2.mjs";
|
|
2
|
+
import { l as TokenVerdictReason, u as VerifyCapabilityTokenOptions } from "./tokens-Hnq9oURj.mjs";
|
|
3
3
|
//#region src/domain/room-token-verification.d.ts
|
|
4
4
|
/** The one capability every core/room verb (room.send/read/leave/members) is gated by, per spec/room.cddl -- room.join/room.invite are deliberately ungated instead and need no token check at all. */
|
|
5
5
|
declare const ROOM_MEMBER_CAPABILITY = "room:member";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as IdentityKey, D as DeviceId, Qt as TokenClaims, bt as RevocationEntry, p as CapabilityToken, yt as RevocationClaims } from "./protocol-
|
|
2
|
-
import { t as IdentityPort } from "./identity-
|
|
1
|
+
import { B as IdentityKey, D as DeviceId, Qt as TokenClaims, bt as RevocationEntry, p as CapabilityToken, yt as RevocationClaims } from "./protocol-D2Ue2nd2.cjs";
|
|
2
|
+
import { t as IdentityPort } from "./identity-pOt5KxJB.cjs";
|
|
3
3
|
import { t as Clock } from "./clock-DiSx-WKM.cjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { JsonValue, PredicateNode, Resolution } from "trilean";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as IdentityKey, D as DeviceId, Qt as TokenClaims, bt as RevocationEntry, p as CapabilityToken, yt as RevocationClaims } from "./protocol-
|
|
2
|
-
import { t as IdentityPort } from "./identity-
|
|
1
|
+
import { B as IdentityKey, D as DeviceId, Qt as TokenClaims, bt as RevocationEntry, p as CapabilityToken, yt as RevocationClaims } from "./protocol-D2Ue2nd2.mjs";
|
|
2
|
+
import { t as IdentityPort } from "./identity-Br6e0Rx5.mjs";
|
|
3
3
|
import { t as Clock } from "./clock-DiSx-WKM.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { JsonValue, PredicateNode, Resolution } from "trilean";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeviceId, N as Frame } from "./protocol-
|
|
1
|
+
import { D as DeviceId, N as Frame } from "./protocol-D2Ue2nd2.mjs";
|
|
2
2
|
//#region src/ports/transport.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* An async, serialisable-data contract for exchanging frame values over some connection -- deliberately without baking in any specific transport's own primitives (no raw socket types, no WebSocket-specific options), so a TCP adapter, a WebSocket adapter, or an in-memory adapter for tests can all satisfy it.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeviceId, N as Frame } from "./protocol-
|
|
1
|
+
import { D as DeviceId, N as Frame } from "./protocol-D2Ue2nd2.cjs";
|
|
2
2
|
//#region src/ports/transport.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* An async, serialisable-data contract for exchanging frame values over some connection -- deliberately without baking in any specific transport's own primitives (no raw socket types, no WebSocket-specific options), so a TCP adapter, a WebSocket adapter, or an in-memory adapter for tests can all satisfy it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wire-mesh-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.56.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"cbor2": "2.3.0",
|
|
6
6
|
"cddl.js": "1.0.1",
|
|
@@ -87,6 +87,10 @@
|
|
|
87
87
|
"import": "./dist/domain/device-id.mjs",
|
|
88
88
|
"require": "./dist/domain/device-id.cjs"
|
|
89
89
|
},
|
|
90
|
+
"./domain/direct-manage-request": {
|
|
91
|
+
"import": "./dist/domain/direct-manage-request.mjs",
|
|
92
|
+
"require": "./dist/domain/direct-manage-request.cjs"
|
|
93
|
+
},
|
|
90
94
|
"./domain/erasure-coding": {
|
|
91
95
|
"import": "./dist/domain/erasure-coding.mjs",
|
|
92
96
|
"require": "./dist/domain/erasure-coding.cjs"
|