wire-mesh-core 1.45.2 → 1.47.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-fs-storage.cjs +3 -24
- 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.cjs +42 -0
- package/dist/adapters/threshold-identity.d.cts +33 -0
- package/dist/adapters/threshold-identity.d.mts +33 -0
- package/dist/adapters/threshold-identity.mjs +41 -0
- package/dist/adapters/threshold-wasm.cjs +139 -0
- package/dist/adapters/threshold-wasm.d.cts +63 -0
- package/dist/adapters/threshold-wasm.d.mts +63 -0
- package/dist/adapters/threshold-wasm.mjs +123 -0
- package/dist/adapters/tls-transport.d.cts +1 -1
- package/dist/adapters/tls-transport.d.mts +1 -1
- package/dist/domain/bulk.cjs +26 -0
- package/dist/domain/bulk.d.cts +10 -2
- package/dist/domain/bulk.d.mts +10 -2
- package/dist/domain/bulk.mjs +26 -1
- package/dist/domain/capability-grant.cjs +1 -1
- package/dist/domain/capability-grant.d.cts +3 -3
- package/dist/domain/capability-grant.d.mts +3 -3
- package/dist/domain/capability-grant.mjs +1 -1
- package/dist/domain/capability-request.cjs +1 -1
- package/dist/domain/capability-request.d.cts +2 -2
- package/dist/domain/capability-request.d.mts +2 -2
- package/dist/domain/capability-request.mjs +1 -1
- 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.d.cts +3 -3
- package/dist/domain/mesh-session.d.mts +3 -3
- 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.cjs +1 -1
- package/dist/domain/revocation-view.d.cts +2 -2
- package/dist/domain/revocation-view.d.mts +2 -2
- package/dist/domain/revocation-view.mjs +1 -1
- package/dist/domain/room-rekey.d.cts +3 -3
- package/dist/domain/room-rekey.d.mts +3 -3
- package/dist/domain/room-token-verification.cjs +1 -1
- package/dist/domain/room-token-verification.d.cts +1 -1
- package/dist/domain/room-token-verification.d.mts +1 -1
- package/dist/domain/room-token-verification.mjs +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/threshold-subject.cjs +35 -0
- package/dist/domain/threshold-subject.d.cts +33 -0
- package/dist/domain/threshold-subject.d.mts +33 -0
- package/dist/domain/threshold-subject.mjs +32 -0
- package/dist/domain/tokens.cjs +2 -1
- package/dist/domain/tokens.d.cts +2 -2
- package/dist/domain/tokens.d.mts +2 -2
- package/dist/domain/tokens.mjs +2 -2
- package/dist/domain/webrtc-signaling.cjs +107 -0
- package/dist/domain/webrtc-signaling.d.cts +38 -0
- package/dist/domain/webrtc-signaling.d.mts +38 -0
- package/dist/domain/webrtc-signaling.mjs +93 -0
- package/dist/generated/protocol.cjs +97 -1
- package/dist/generated/protocol.d.cts +2 -2
- package/dist/generated/protocol.d.mts +2 -2
- package/dist/generated/protocol.mjs +85 -2
- package/dist/{identity-B4XBWkqg.d.cts → identity-9TmmK7vP.d.mts} +1 -1
- package/dist/{identity-CIb9dGkJ.d.mts → identity-CUkDHCRK.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-gbXtNeOc.d.cts → protocol-CNFRVx9w.d.cts} +333 -1
- package/dist/{protocol-gbXtNeOc.d.mts → protocol-CNFRVx9w.d.mts} +333 -1
- package/dist/rolldown-runtime-VH7oDXx4.cjs +28 -0
- package/dist/{room-token-verification-BggPfYr8.d.mts → room-token-verification-BdtM1rQ4.d.mts} +2 -2
- package/dist/{room-token-verification-CkQV0Iq7.d.cts → room-token-verification-DpOfZOdl.d.cts} +2 -2
- package/dist/{tokens-CdQwzCyJ.mjs → tokens-B0dpTLhS.mjs} +2 -2
- package/dist/{tokens-k172l0Iy.d.mts → tokens-CVyPoJ6l.d.mts} +5 -3
- package/dist/{tokens-C9Kwy0Gk.d.cts → tokens-Cl8sQo7o.d.cts} +5 -3
- package/dist/{tokens-DxGVURpB.cjs → tokens-Dh6mG6p_.cjs} +7 -1
- package/dist/{transport-DAsFqDDS.d.cts → transport-C7KVkhgb.d.mts} +1 -1
- package/dist/{transport-Dy4h2eNY.d.mts → transport-De0zHlaA.d.cts} +1 -1
- package/package.json +50 -34
|
@@ -45,10 +45,21 @@ const manageCommandParamsSchema = zod.z.lazy(() => zod.z.union([
|
|
|
45
45
|
]),
|
|
46
46
|
zod.z.union([zod.z.lazy(() => roomJoinSchema), zod.z.lazy(() => roomInviteSchema)]),
|
|
47
47
|
zod.z.lazy(() => roomRekeySchema),
|
|
48
|
+
zod.z.union([
|
|
49
|
+
zod.z.lazy(() => thresholdCommitSchema),
|
|
50
|
+
zod.z.lazy(() => thresholdSignSchema),
|
|
51
|
+
zod.z.lazy(() => thresholdAbortSchema)
|
|
52
|
+
]),
|
|
53
|
+
zod.z.union([
|
|
54
|
+
zod.z.lazy(() => thresholdKeygenRound1Schema),
|
|
55
|
+
zod.z.lazy(() => thresholdKeygenRound2Schema),
|
|
56
|
+
zod.z.lazy(() => thresholdKeygenConfirmSchema)
|
|
57
|
+
]),
|
|
48
58
|
zod.z.union([
|
|
49
59
|
zod.z.lazy(() => webrtcOfferSchema),
|
|
50
60
|
zod.z.lazy(() => webrtcAnswerSchema),
|
|
51
|
-
zod.z.lazy(() => webrtcIceCandidateSchema)
|
|
61
|
+
zod.z.lazy(() => webrtcIceCandidateSchema),
|
|
62
|
+
zod.z.lazy(() => sfuTrackMapSchema)
|
|
52
63
|
])
|
|
53
64
|
]));
|
|
54
65
|
const bulkDataFrameSchema = zod.z.lazy(() => zod.z.object({
|
|
@@ -326,6 +337,68 @@ const streamEndFrameSchema = zod.z.lazy(() => zod.z.object({
|
|
|
326
337
|
"exit-code": zod.z.number().int().optional(),
|
|
327
338
|
"exit-signal": zod.z.number().int().optional()
|
|
328
339
|
}));
|
|
340
|
+
const sessionIdSchema = zod.z.lazy(() => zod.z.number().int().nonnegative());
|
|
341
|
+
const thresholdSubjectSchema = zod.z.lazy(() => zod.z.object({
|
|
342
|
+
"kind": zod.z.union([
|
|
343
|
+
zod.z.literal("capability-token"),
|
|
344
|
+
zod.z.literal("revocation-entry"),
|
|
345
|
+
zod.z.literal("handle-record"),
|
|
346
|
+
zod.z.literal("room-notice"),
|
|
347
|
+
zod.z.string()
|
|
348
|
+
]),
|
|
349
|
+
"protected": zod.z.instanceof(Uint8Array),
|
|
350
|
+
"payload": zod.z.instanceof(Uint8Array)
|
|
351
|
+
}));
|
|
352
|
+
const thresholdCommitmentSchema = zod.z.lazy(() => zod.z.object({
|
|
353
|
+
"participant": zod.z.lazy(() => deviceIdSchema),
|
|
354
|
+
"hiding": zod.z.instanceof(Uint8Array),
|
|
355
|
+
"binding": zod.z.instanceof(Uint8Array)
|
|
356
|
+
}));
|
|
357
|
+
const thresholdCommitSchema = zod.z.lazy(() => zod.z.object({
|
|
358
|
+
"verb": zod.z.literal("threshold.commit"),
|
|
359
|
+
"session-id": zod.z.lazy(() => sessionIdSchema),
|
|
360
|
+
"group": zod.z.lazy(() => deviceIdSchema),
|
|
361
|
+
"subject": zod.z.lazy(() => thresholdSubjectSchema),
|
|
362
|
+
"deadline": zod.z.number().int().nonnegative()
|
|
363
|
+
}));
|
|
364
|
+
const thresholdSignSchema = zod.z.lazy(() => zod.z.object({
|
|
365
|
+
"verb": zod.z.literal("threshold.sign"),
|
|
366
|
+
"session-id": zod.z.lazy(() => sessionIdSchema),
|
|
367
|
+
"commitments": zod.z.array(zod.z.lazy(() => thresholdCommitmentSchema))
|
|
368
|
+
}));
|
|
369
|
+
const thresholdShareClaimsSchema = zod.z.lazy(() => zod.z.object({
|
|
370
|
+
"session-id": zod.z.lazy(() => sessionIdSchema),
|
|
371
|
+
"group": zod.z.lazy(() => deviceIdSchema),
|
|
372
|
+
"share": zod.z.instanceof(Uint8Array),
|
|
373
|
+
"issuer": zod.z.lazy(() => deviceIdSchema),
|
|
374
|
+
"issuer-key": zod.z.lazy(() => identityKeySchema)
|
|
375
|
+
}));
|
|
376
|
+
const thresholdShareEnvelopeSchema = zod.z.lazy(() => zod.z.lazy(() => coseSign1Schema));
|
|
377
|
+
const thresholdAbortSchema = zod.z.lazy(() => zod.z.object({
|
|
378
|
+
"verb": zod.z.literal("threshold.abort"),
|
|
379
|
+
"session-id": zod.z.lazy(() => sessionIdSchema),
|
|
380
|
+
"reason": zod.z.string().optional()
|
|
381
|
+
}));
|
|
382
|
+
const thresholdKeygenRound1Schema = zod.z.lazy(() => zod.z.object({
|
|
383
|
+
"verb": zod.z.literal("threshold.keygen-round1"),
|
|
384
|
+
"session-id": zod.z.lazy(() => sessionIdSchema),
|
|
385
|
+
"threshold": zod.z.number().int().nonnegative(),
|
|
386
|
+
"participants": zod.z.array(zod.z.lazy(() => deviceIdSchema)),
|
|
387
|
+
"commitment": zod.z.array(zod.z.instanceof(Uint8Array)),
|
|
388
|
+
"proof-of-knowledge": zod.z.instanceof(Uint8Array).optional(),
|
|
389
|
+
"existing-group-key": zod.z.instanceof(Uint8Array).optional()
|
|
390
|
+
}));
|
|
391
|
+
const thresholdKeygenRound2Schema = zod.z.lazy(() => zod.z.object({
|
|
392
|
+
"verb": zod.z.literal("threshold.keygen-round2"),
|
|
393
|
+
"session-id": zod.z.lazy(() => sessionIdSchema),
|
|
394
|
+
"share": zod.z.instanceof(Uint8Array)
|
|
395
|
+
}));
|
|
396
|
+
const thresholdKeygenConfirmSchema = zod.z.lazy(() => zod.z.object({
|
|
397
|
+
"verb": zod.z.literal("threshold.keygen-confirm"),
|
|
398
|
+
"session-id": zod.z.lazy(() => sessionIdSchema),
|
|
399
|
+
"transcript-digest": zod.z.instanceof(Uint8Array),
|
|
400
|
+
"group-key": zod.z.instanceof(Uint8Array)
|
|
401
|
+
}));
|
|
329
402
|
const capabilityVerbSchema = zod.z.lazy(() => zod.z.union([
|
|
330
403
|
zod.z.lazy(() => coreCapabilitySchema),
|
|
331
404
|
zod.z.lazy(() => namespacedCapabilitySchema),
|
|
@@ -427,6 +500,16 @@ const coordinatorFrameSchema = zod.z.lazy(() => zod.z.object({
|
|
|
427
500
|
"coordinator": zod.z.lazy(() => deviceIdSchema),
|
|
428
501
|
"capacity-hint": zod.z.number().int().nonnegative().optional()
|
|
429
502
|
}));
|
|
503
|
+
const sfuTrackMapSchema = zod.z.lazy(() => zod.z.object({
|
|
504
|
+
"verb": zod.z.literal("webrtc.sfu-track-map"),
|
|
505
|
+
"negotiation-id": zod.z.number().int().nonnegative(),
|
|
506
|
+
"tracks": zod.z.array(zod.z.lazy(() => sfuTrackEntrySchema))
|
|
507
|
+
}));
|
|
508
|
+
const sfuTrackEntrySchema = zod.z.lazy(() => zod.z.object({
|
|
509
|
+
"mid": zod.z.string(),
|
|
510
|
+
"member": zod.z.lazy(() => deviceIdSchema),
|
|
511
|
+
"kind": zod.z.union([zod.z.literal("audio"), zod.z.literal("video")])
|
|
512
|
+
}));
|
|
430
513
|
const webrtcOfferSchema = zod.z.lazy(() => zod.z.object({
|
|
431
514
|
"verb": zod.z.literal("webrtc.offer"),
|
|
432
515
|
"negotiation-id": zod.z.number().int().nonnegative(),
|
|
@@ -533,11 +616,24 @@ exports.roomPathSchema = roomPathSchema;
|
|
|
533
616
|
exports.roomReadSchema = roomReadSchema;
|
|
534
617
|
exports.roomRekeySchema = roomRekeySchema;
|
|
535
618
|
exports.roomSendSchema = roomSendSchema;
|
|
619
|
+
exports.sessionIdSchema = sessionIdSchema;
|
|
620
|
+
exports.sfuTrackEntrySchema = sfuTrackEntrySchema;
|
|
621
|
+
exports.sfuTrackMapSchema = sfuTrackMapSchema;
|
|
536
622
|
exports.streamAckFrameSchema = streamAckFrameSchema;
|
|
537
623
|
exports.streamDataFrameSchema = streamDataFrameSchema;
|
|
538
624
|
exports.streamEndFrameSchema = streamEndFrameSchema;
|
|
539
625
|
exports.streamSessionSchema = streamSessionSchema;
|
|
540
626
|
exports.syncPunchFrameSchema = syncPunchFrameSchema;
|
|
627
|
+
exports.thresholdAbortSchema = thresholdAbortSchema;
|
|
628
|
+
exports.thresholdCommitSchema = thresholdCommitSchema;
|
|
629
|
+
exports.thresholdCommitmentSchema = thresholdCommitmentSchema;
|
|
630
|
+
exports.thresholdKeygenConfirmSchema = thresholdKeygenConfirmSchema;
|
|
631
|
+
exports.thresholdKeygenRound1Schema = thresholdKeygenRound1Schema;
|
|
632
|
+
exports.thresholdKeygenRound2Schema = thresholdKeygenRound2Schema;
|
|
633
|
+
exports.thresholdShareClaimsSchema = thresholdShareClaimsSchema;
|
|
634
|
+
exports.thresholdShareEnvelopeSchema = thresholdShareEnvelopeSchema;
|
|
635
|
+
exports.thresholdSignSchema = thresholdSignSchema;
|
|
636
|
+
exports.thresholdSubjectSchema = thresholdSubjectSchema;
|
|
541
637
|
exports.tokenClaimsSchema = tokenClaimsSchema;
|
|
542
638
|
exports.transferIdSchema = transferIdSchema;
|
|
543
639
|
exports.webrtcAnswerSchema = webrtcAnswerSchema;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as PeerIdentity, $n 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, StreamAckFrame, StreamDataFrame, StreamEndFrame, StreamSession, SyncPunchFrame, 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, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
1
|
+
import { $ as PeerIdentity, $n as peerIdentitySchema, $r as webrtcOfferSchema, $t as WebrtcOffer, A as DomainId, An as domainIdSchema, Ar as roomSendSchema, At as RoomSend, B as IdentityKey, Bn as identityKeySchema, Br as thresholdCommitSchema, Bt as ThresholdCommit, C as CoseTokenHeaders, Cn as coseTokenHeadersSchema, Cr as roomMembersOkSchema, Ct as RoomMembers, D as DeviceId, Dn as deviceIdHexSchema, Dr as roomPathSchema, Dt as RoomPath, E as DataRequestFrame, En as dataRequestFrameSchema, Er as roomNoticeSchema, Et as RoomNoticeClaims, F as GossipFrame, Fn as gossipFrameSchema, Fr as streamDataFrameSchema, Ft as StreamDataFrame, G as ManageRequestFrame, Gn as manageRequestFrameSchema, Gr as thresholdShareClaimsSchema, Gt as ThresholdShareClaims, H as ManageCommandParams, Hn as manageCommandSchema, Hr as thresholdKeygenConfirmSchema, Ht as ThresholdKeygenConfirm, I as HandleClaims, In as handleClaimsSchema, Ir as streamEndFrameSchema, It as StreamEndFrame, J as NamespacedCapability, Jn as namespacedCapabilitySchema, Jr as thresholdSubjectSchema, Jt as ThresholdSubject, K as ManageResponseFrame, Kn as manageResponseFrameSchema, Kr as thresholdShareEnvelopeSchema, Kt as ThresholdShareEnvelope, L as HandleRecord, Ln as handleRecordSchema, Lr as streamSessionSchema, Lt as StreamSession, M as ExecSessionInfo, Mn as execSessionInfoSchema, Mr as sfuTrackEntrySchema, Mt as SfuTrackEntry, N as Frame, Nn as frameSchema, Nr as sfuTrackMapSchema, Nt as SfuTrackMap, O as DeviceIdHex, On as deviceIdSchema, Or as roomReadSchema, Ot as RoomRead, P as FrameVariant, Pn as frameVariantSchema, Pr as streamAckFrameSchema, Pt as StreamAckFrame, Q as PeerAdvert, Qn as peerAdvertSchema, Qr as webrtcIceCandidateSchema, Qt as WebrtcIceCandidate, R as HandshakeFrame, Rn as handshakeFrameSchema, Rr as syncPunchFrameSchema, Rt as SyncPunchFrame, S as CoseSign1, Sn as coseSign1Schema, Sr as roomMemberSchema, St as RoomMember, T as DataHaveFrame, Tn as dataHaveFrameSchema, Tr as roomNoticeClaimsSchema, Tt as RoomNotice, U as ManageError, Un as manageErrorSchema, Ur as thresholdKeygenRound1Schema, Ut as ThresholdKeygenRound1, V as ManageCommand, Vn as manageCommandParamsSchema, Vr as thresholdCommitmentSchema, Vt as ThresholdCommitment, W as ManageOk, Wn as manageOkSchema, Wr as thresholdKeygenRound2Schema, Wt as ThresholdKeygenRound2, X as ObservedAddressFrame, Xn as observedAddressFrameSchema, Xr as transferIdSchema, Xt as TransferId, Y as NamespacedDomainId, Yn as namespacedDomainIdSchema, Yr as tokenClaimsSchema, Yt as TokenClaims, Z as OwnerNamedRoomPath, Zn as ownerNamedRoomPathSchema, Zr as webrtcAnswerSchema, Zt as WebrtcAnswer, _ as CoreCapability, _n as coreCapabilitySchema, _r as revocationEntrySchema, _t as RevocationEntry, a as BulkOpen, an as bulkOpenSchema, ar as procSpawnSchema, at as ProcSpawn, b as CoseHeaderKid, bn as coseHeaderKidSchema, br as roomJoinSchema, bt as RoomJoinOk, c as CandidatesFrame, cn as candidatesFrameSchema, cr as ptyResizeSchema, ct as PtyResize, d as CapabilityRequest, dn as capabilityRequestSchema, dr as relayConnectFrameSchema, dt as RelayConnectFrame, ei as wireCandidateSchema, en as WireCandidate, er as pingFrameSchema, et as PingFrame, f as CapabilityScope, fn as capabilityScopeSchema, fr as relayDataFrameSchema, ft as RelayDataFrame, g as CoordinatorFrame, gn as coordinatorFrameSchema, gr as revocationClaimsSchema, gt as RevocationClaims, h as CloseFrame, hn as closeFrameSchema, hr as revocationAnnounceFrameSchema, ht as RevocationAnnounceFrame, i as BulkEndFrame, in as bulkEndFrameSchema, ir as procSignalSchema, it as ProcSignal, j as ExecList, jn as execListSchema, jr as sessionIdSchema, jt as SessionId, k as DmRoomPath, kn as dmRoomPathSchema, kr as roomRekeySchema, kt as RoomRekey, l as CapabilityGrant, ln as capabilityGrantOkSchema, lr as ptySpawnSchema, lt as PtySpawn, m as CapabilityVerb, mn as capabilityVerbSchema, mr as relayOfferFrameSchema, mt as RelayOfferFrame, n as BulkCancel, nn as bulkCancelSchema, nr as privateUseDomainIdSchema, nt as PrivateUseDomainId, o as BulkResume, on as bulkResumeSchema, or as protocolVersionSchema, ot as ProtocolVersion, p as CapabilityToken, pn as capabilityTokenSchema, pr as relayInboundFrameSchema, pt as RelayInboundFrame, q as MessageRef, qn as messageRefSchema, qr as thresholdSignSchema, qt as ThresholdSign, r as BulkDataFrame, rn as bulkDataFrameSchema, rr as procKillSchema, rt as ProcKill, s as CandidateKind, sn as candidateKindSchema, sr as ptyKillSchema, st as PtyKill, t as BulkAckFrame, tn as bulkAckFrameSchema, tr as privateUseCapabilitySchema, tt as PrivateUseCapability, u as CapabilityGrantOk, un as capabilityGrantSchema, ur as ptyWriteSchema, ut as PtyWrite, v as CoreDomainName, vn as coreDomainNameSchema, vr as roomInviteSchema, vt as RoomInvite, w as DataEntriesFrame, wn as dataEntriesFrameSchema, wr as roomMembersSchema, wt as RoomMembersOk, x as CoseHeaderLabel, xn as coseHeaderLabelSchema, xr as roomLeaveSchema, xt as RoomLeave, y as CoseHeaderAlg, yn as coseHeaderAlgSchema, yr as roomJoinOkSchema, yt as RoomJoin, z as IceCandidateInit, zn as iceCandidateInitSchema, zr as thresholdAbortSchema, zt as ThresholdAbort } from "../protocol-CNFRVx9w.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, 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,2 +1,2 @@
|
|
|
1
|
-
import { $ as PeerIdentity, $n 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, StreamAckFrame, StreamDataFrame, StreamEndFrame, StreamSession, SyncPunchFrame, 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, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
1
|
+
import { $ as PeerIdentity, $n as peerIdentitySchema, $r as webrtcOfferSchema, $t as WebrtcOffer, A as DomainId, An as domainIdSchema, Ar as roomSendSchema, At as RoomSend, B as IdentityKey, Bn as identityKeySchema, Br as thresholdCommitSchema, Bt as ThresholdCommit, C as CoseTokenHeaders, Cn as coseTokenHeadersSchema, Cr as roomMembersOkSchema, Ct as RoomMembers, D as DeviceId, Dn as deviceIdHexSchema, Dr as roomPathSchema, Dt as RoomPath, E as DataRequestFrame, En as dataRequestFrameSchema, Er as roomNoticeSchema, Et as RoomNoticeClaims, F as GossipFrame, Fn as gossipFrameSchema, Fr as streamDataFrameSchema, Ft as StreamDataFrame, G as ManageRequestFrame, Gn as manageRequestFrameSchema, Gr as thresholdShareClaimsSchema, Gt as ThresholdShareClaims, H as ManageCommandParams, Hn as manageCommandSchema, Hr as thresholdKeygenConfirmSchema, Ht as ThresholdKeygenConfirm, I as HandleClaims, In as handleClaimsSchema, Ir as streamEndFrameSchema, It as StreamEndFrame, J as NamespacedCapability, Jn as namespacedCapabilitySchema, Jr as thresholdSubjectSchema, Jt as ThresholdSubject, K as ManageResponseFrame, Kn as manageResponseFrameSchema, Kr as thresholdShareEnvelopeSchema, Kt as ThresholdShareEnvelope, L as HandleRecord, Ln as handleRecordSchema, Lr as streamSessionSchema, Lt as StreamSession, M as ExecSessionInfo, Mn as execSessionInfoSchema, Mr as sfuTrackEntrySchema, Mt as SfuTrackEntry, N as Frame, Nn as frameSchema, Nr as sfuTrackMapSchema, Nt as SfuTrackMap, O as DeviceIdHex, On as deviceIdSchema, Or as roomReadSchema, Ot as RoomRead, P as FrameVariant, Pn as frameVariantSchema, Pr as streamAckFrameSchema, Pt as StreamAckFrame, Q as PeerAdvert, Qn as peerAdvertSchema, Qr as webrtcIceCandidateSchema, Qt as WebrtcIceCandidate, R as HandshakeFrame, Rn as handshakeFrameSchema, Rr as syncPunchFrameSchema, Rt as SyncPunchFrame, S as CoseSign1, Sn as coseSign1Schema, Sr as roomMemberSchema, St as RoomMember, T as DataHaveFrame, Tn as dataHaveFrameSchema, Tr as roomNoticeClaimsSchema, Tt as RoomNotice, U as ManageError, Un as manageErrorSchema, Ur as thresholdKeygenRound1Schema, Ut as ThresholdKeygenRound1, V as ManageCommand, Vn as manageCommandParamsSchema, Vr as thresholdCommitmentSchema, Vt as ThresholdCommitment, W as ManageOk, Wn as manageOkSchema, Wr as thresholdKeygenRound2Schema, Wt as ThresholdKeygenRound2, X as ObservedAddressFrame, Xn as observedAddressFrameSchema, Xr as transferIdSchema, Xt as TransferId, Y as NamespacedDomainId, Yn as namespacedDomainIdSchema, Yr as tokenClaimsSchema, Yt as TokenClaims, Z as OwnerNamedRoomPath, Zn as ownerNamedRoomPathSchema, Zr as webrtcAnswerSchema, Zt as WebrtcAnswer, _ as CoreCapability, _n as coreCapabilitySchema, _r as revocationEntrySchema, _t as RevocationEntry, a as BulkOpen, an as bulkOpenSchema, ar as procSpawnSchema, at as ProcSpawn, b as CoseHeaderKid, bn as coseHeaderKidSchema, br as roomJoinSchema, bt as RoomJoinOk, c as CandidatesFrame, cn as candidatesFrameSchema, cr as ptyResizeSchema, ct as PtyResize, d as CapabilityRequest, dn as capabilityRequestSchema, dr as relayConnectFrameSchema, dt as RelayConnectFrame, ei as wireCandidateSchema, en as WireCandidate, er as pingFrameSchema, et as PingFrame, f as CapabilityScope, fn as capabilityScopeSchema, fr as relayDataFrameSchema, ft as RelayDataFrame, g as CoordinatorFrame, gn as coordinatorFrameSchema, gr as revocationClaimsSchema, gt as RevocationClaims, h as CloseFrame, hn as closeFrameSchema, hr as revocationAnnounceFrameSchema, ht as RevocationAnnounceFrame, i as BulkEndFrame, in as bulkEndFrameSchema, ir as procSignalSchema, it as ProcSignal, j as ExecList, jn as execListSchema, jr as sessionIdSchema, jt as SessionId, k as DmRoomPath, kn as dmRoomPathSchema, kr as roomRekeySchema, kt as RoomRekey, l as CapabilityGrant, ln as capabilityGrantOkSchema, lr as ptySpawnSchema, lt as PtySpawn, m as CapabilityVerb, mn as capabilityVerbSchema, mr as relayOfferFrameSchema, mt as RelayOfferFrame, n as BulkCancel, nn as bulkCancelSchema, nr as privateUseDomainIdSchema, nt as PrivateUseDomainId, o as BulkResume, on as bulkResumeSchema, or as protocolVersionSchema, ot as ProtocolVersion, p as CapabilityToken, pn as capabilityTokenSchema, pr as relayInboundFrameSchema, pt as RelayInboundFrame, q as MessageRef, qn as messageRefSchema, qr as thresholdSignSchema, qt as ThresholdSign, r as BulkDataFrame, rn as bulkDataFrameSchema, rr as procKillSchema, rt as ProcKill, s as CandidateKind, sn as candidateKindSchema, sr as ptyKillSchema, st as PtyKill, t as BulkAckFrame, tn as bulkAckFrameSchema, tr as privateUseCapabilitySchema, tt as PrivateUseCapability, u as CapabilityGrantOk, un as capabilityGrantSchema, ur as ptyWriteSchema, ut as PtyWrite, v as CoreDomainName, vn as coreDomainNameSchema, vr as roomInviteSchema, vt as RoomInvite, w as DataEntriesFrame, wn as dataEntriesFrameSchema, wr as roomMembersSchema, wt as RoomMembersOk, x as CoseHeaderLabel, xn as coseHeaderLabelSchema, xr as roomLeaveSchema, xt as RoomLeave, y as CoseHeaderAlg, yn as coseHeaderAlgSchema, yr as roomJoinOkSchema, yt as RoomJoin, z as IceCandidateInit, zn as iceCandidateInitSchema, zr as thresholdAbortSchema, zt as ThresholdAbort } from "../protocol-CNFRVx9w.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, 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 };
|
|
@@ -44,10 +44,21 @@ const manageCommandParamsSchema = z.lazy(() => z.union([
|
|
|
44
44
|
]),
|
|
45
45
|
z.union([z.lazy(() => roomJoinSchema), z.lazy(() => roomInviteSchema)]),
|
|
46
46
|
z.lazy(() => roomRekeySchema),
|
|
47
|
+
z.union([
|
|
48
|
+
z.lazy(() => thresholdCommitSchema),
|
|
49
|
+
z.lazy(() => thresholdSignSchema),
|
|
50
|
+
z.lazy(() => thresholdAbortSchema)
|
|
51
|
+
]),
|
|
52
|
+
z.union([
|
|
53
|
+
z.lazy(() => thresholdKeygenRound1Schema),
|
|
54
|
+
z.lazy(() => thresholdKeygenRound2Schema),
|
|
55
|
+
z.lazy(() => thresholdKeygenConfirmSchema)
|
|
56
|
+
]),
|
|
47
57
|
z.union([
|
|
48
58
|
z.lazy(() => webrtcOfferSchema),
|
|
49
59
|
z.lazy(() => webrtcAnswerSchema),
|
|
50
|
-
z.lazy(() => webrtcIceCandidateSchema)
|
|
60
|
+
z.lazy(() => webrtcIceCandidateSchema),
|
|
61
|
+
z.lazy(() => sfuTrackMapSchema)
|
|
51
62
|
])
|
|
52
63
|
]));
|
|
53
64
|
const bulkDataFrameSchema = z.lazy(() => z.object({
|
|
@@ -325,6 +336,68 @@ const streamEndFrameSchema = z.lazy(() => z.object({
|
|
|
325
336
|
"exit-code": z.number().int().optional(),
|
|
326
337
|
"exit-signal": z.number().int().optional()
|
|
327
338
|
}));
|
|
339
|
+
const sessionIdSchema = z.lazy(() => z.number().int().nonnegative());
|
|
340
|
+
const thresholdSubjectSchema = z.lazy(() => z.object({
|
|
341
|
+
"kind": z.union([
|
|
342
|
+
z.literal("capability-token"),
|
|
343
|
+
z.literal("revocation-entry"),
|
|
344
|
+
z.literal("handle-record"),
|
|
345
|
+
z.literal("room-notice"),
|
|
346
|
+
z.string()
|
|
347
|
+
]),
|
|
348
|
+
"protected": z.instanceof(Uint8Array),
|
|
349
|
+
"payload": z.instanceof(Uint8Array)
|
|
350
|
+
}));
|
|
351
|
+
const thresholdCommitmentSchema = z.lazy(() => z.object({
|
|
352
|
+
"participant": z.lazy(() => deviceIdSchema),
|
|
353
|
+
"hiding": z.instanceof(Uint8Array),
|
|
354
|
+
"binding": z.instanceof(Uint8Array)
|
|
355
|
+
}));
|
|
356
|
+
const thresholdCommitSchema = z.lazy(() => z.object({
|
|
357
|
+
"verb": z.literal("threshold.commit"),
|
|
358
|
+
"session-id": z.lazy(() => sessionIdSchema),
|
|
359
|
+
"group": z.lazy(() => deviceIdSchema),
|
|
360
|
+
"subject": z.lazy(() => thresholdSubjectSchema),
|
|
361
|
+
"deadline": z.number().int().nonnegative()
|
|
362
|
+
}));
|
|
363
|
+
const thresholdSignSchema = z.lazy(() => z.object({
|
|
364
|
+
"verb": z.literal("threshold.sign"),
|
|
365
|
+
"session-id": z.lazy(() => sessionIdSchema),
|
|
366
|
+
"commitments": z.array(z.lazy(() => thresholdCommitmentSchema))
|
|
367
|
+
}));
|
|
368
|
+
const thresholdShareClaimsSchema = z.lazy(() => z.object({
|
|
369
|
+
"session-id": z.lazy(() => sessionIdSchema),
|
|
370
|
+
"group": z.lazy(() => deviceIdSchema),
|
|
371
|
+
"share": z.instanceof(Uint8Array),
|
|
372
|
+
"issuer": z.lazy(() => deviceIdSchema),
|
|
373
|
+
"issuer-key": z.lazy(() => identityKeySchema)
|
|
374
|
+
}));
|
|
375
|
+
const thresholdShareEnvelopeSchema = z.lazy(() => z.lazy(() => coseSign1Schema));
|
|
376
|
+
const thresholdAbortSchema = z.lazy(() => z.object({
|
|
377
|
+
"verb": z.literal("threshold.abort"),
|
|
378
|
+
"session-id": z.lazy(() => sessionIdSchema),
|
|
379
|
+
"reason": z.string().optional()
|
|
380
|
+
}));
|
|
381
|
+
const thresholdKeygenRound1Schema = z.lazy(() => z.object({
|
|
382
|
+
"verb": z.literal("threshold.keygen-round1"),
|
|
383
|
+
"session-id": z.lazy(() => sessionIdSchema),
|
|
384
|
+
"threshold": z.number().int().nonnegative(),
|
|
385
|
+
"participants": z.array(z.lazy(() => deviceIdSchema)),
|
|
386
|
+
"commitment": z.array(z.instanceof(Uint8Array)),
|
|
387
|
+
"proof-of-knowledge": z.instanceof(Uint8Array).optional(),
|
|
388
|
+
"existing-group-key": z.instanceof(Uint8Array).optional()
|
|
389
|
+
}));
|
|
390
|
+
const thresholdKeygenRound2Schema = z.lazy(() => z.object({
|
|
391
|
+
"verb": z.literal("threshold.keygen-round2"),
|
|
392
|
+
"session-id": z.lazy(() => sessionIdSchema),
|
|
393
|
+
"share": z.instanceof(Uint8Array)
|
|
394
|
+
}));
|
|
395
|
+
const thresholdKeygenConfirmSchema = z.lazy(() => z.object({
|
|
396
|
+
"verb": z.literal("threshold.keygen-confirm"),
|
|
397
|
+
"session-id": z.lazy(() => sessionIdSchema),
|
|
398
|
+
"transcript-digest": z.instanceof(Uint8Array),
|
|
399
|
+
"group-key": z.instanceof(Uint8Array)
|
|
400
|
+
}));
|
|
328
401
|
const capabilityVerbSchema = z.lazy(() => z.union([
|
|
329
402
|
z.lazy(() => coreCapabilitySchema),
|
|
330
403
|
z.lazy(() => namespacedCapabilitySchema),
|
|
@@ -426,6 +499,16 @@ const coordinatorFrameSchema = z.lazy(() => z.object({
|
|
|
426
499
|
"coordinator": z.lazy(() => deviceIdSchema),
|
|
427
500
|
"capacity-hint": z.number().int().nonnegative().optional()
|
|
428
501
|
}));
|
|
502
|
+
const sfuTrackMapSchema = z.lazy(() => z.object({
|
|
503
|
+
"verb": z.literal("webrtc.sfu-track-map"),
|
|
504
|
+
"negotiation-id": z.number().int().nonnegative(),
|
|
505
|
+
"tracks": z.array(z.lazy(() => sfuTrackEntrySchema))
|
|
506
|
+
}));
|
|
507
|
+
const sfuTrackEntrySchema = z.lazy(() => z.object({
|
|
508
|
+
"mid": z.string(),
|
|
509
|
+
"member": z.lazy(() => deviceIdSchema),
|
|
510
|
+
"kind": z.union([z.literal("audio"), z.literal("video")])
|
|
511
|
+
}));
|
|
429
512
|
const webrtcOfferSchema = z.lazy(() => z.object({
|
|
430
513
|
"verb": z.literal("webrtc.offer"),
|
|
431
514
|
"negotiation-id": z.number().int().nonnegative(),
|
|
@@ -448,4 +531,4 @@ const iceCandidateInitSchema = z.lazy(() => z.object({
|
|
|
448
531
|
"username-fragment": z.string().optional()
|
|
449
532
|
}));
|
|
450
533
|
//#endregion
|
|
451
|
-
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, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as IdentityKey, D as DeviceId } from "./protocol-
|
|
1
|
+
import { B as IdentityKey, D as DeviceId } from "./protocol-CNFRVx9w.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-CNFRVx9w.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-CUkDHCRK.cjs";
|
|
2
2
|
export { IdentityPort };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as IdentityPort } from "../identity-
|
|
1
|
+
import { t as IdentityPort } from "../identity-9TmmK7vP.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-De0zHlaA.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-C7KVkhgb.mjs";
|
|
2
2
|
export { Connection, Listener, Transport };
|