wire-mesh-core 1.45.1 → 1.46.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/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.d.cts +3 -3
- package/dist/domain/capability-grant.d.mts +3 -3
- package/dist/domain/capability-request.d.cts +2 -2
- package/dist/domain/capability-request.d.mts +2 -2
- package/dist/domain/data-sync.d.cts +2 -2
- package/dist/domain/data-sync.d.mts +2 -2
- package/dist/domain/device-id.d.cts +1 -1
- package/dist/domain/device-id.d.mts +1 -1
- package/dist/domain/grant-candidates.d.cts +1 -1
- package/dist/domain/grant-candidates.d.mts +1 -1
- package/dist/domain/handshake.d.cts +1 -1
- package/dist/domain/handshake.d.mts +1 -1
- package/dist/domain/mesh-session.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.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.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 +14 -1
- package/dist/generated/protocol.d.cts +2 -2
- package/dist/generated/protocol.d.mts +2 -2
- package/dist/generated/protocol.mjs +13 -2
- package/dist/{identity-B4XBWkqg.d.cts → identity-DHf0J6IA.d.cts} +1 -1
- package/dist/{identity-CIb9dGkJ.d.mts → identity-Oelt3uEn.d.mts} +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-D8CU6s2_.d.cts} +57 -1
- package/dist/{protocol-gbXtNeOc.d.mts → protocol-D8CU6s2_.d.mts} +57 -1
- package/dist/{room-token-verification-BggPfYr8.d.mts → room-token-verification-BQhqt1Rm.d.mts} +2 -2
- package/dist/{room-token-verification-CkQV0Iq7.d.cts → room-token-verification-DQGdYNg4.d.cts} +2 -2
- package/dist/{tokens-C9Kwy0Gk.d.cts → tokens-B1-MAIST.d.cts} +2 -2
- package/dist/{tokens-k172l0Iy.d.mts → tokens-Bh82oidM.d.mts} +2 -2
- package/dist/{transport-DAsFqDDS.d.cts → transport-BNeF6kDe.d.mts} +1 -1
- package/dist/{transport-Dy4h2eNY.d.mts → transport-BbSGNRFZ.d.cts} +1 -1
- package/package.json +37 -34
|
@@ -123,6 +123,14 @@ declare const manageCommandParamsSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodUni
|
|
|
123
123
|
"sdp-m-line-index": z.ZodOptional<z.ZodNumber>;
|
|
124
124
|
"username-fragment": z.ZodOptional<z.ZodString>;
|
|
125
125
|
}, z.core.$strip>>>>;
|
|
126
|
+
}, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
127
|
+
verb: z.ZodLiteral<"webrtc.sfu-track-map">;
|
|
128
|
+
"negotiation-id": z.ZodNumber;
|
|
129
|
+
tracks: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
130
|
+
mid: z.ZodString;
|
|
131
|
+
member: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
|
|
132
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">]>;
|
|
133
|
+
}, z.core.$strip>>>>;
|
|
126
134
|
}, z.core.$strip>>>]>]>>;
|
|
127
135
|
declare const bulkDataFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
128
136
|
type: z.ZodLiteral<"bulk-data">;
|
|
@@ -387,6 +395,14 @@ declare const frameVariantSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.Zod
|
|
|
387
395
|
"sdp-m-line-index": z.ZodOptional<z.ZodNumber>;
|
|
388
396
|
"username-fragment": z.ZodOptional<z.ZodString>;
|
|
389
397
|
}, z.core.$strip>>>>;
|
|
398
|
+
}, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
399
|
+
verb: z.ZodLiteral<"webrtc.sfu-track-map">;
|
|
400
|
+
"negotiation-id": z.ZodNumber;
|
|
401
|
+
tracks: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
402
|
+
mid: z.ZodString;
|
|
403
|
+
member: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
|
|
404
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">]>;
|
|
405
|
+
}, z.core.$strip>>>>;
|
|
390
406
|
}, z.core.$strip>>>]>]>>>;
|
|
391
407
|
}, z.core.$strip>>>;
|
|
392
408
|
scope: z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
@@ -618,6 +634,14 @@ declare const frameSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.
|
|
|
618
634
|
"sdp-m-line-index": z.ZodOptional<z.ZodNumber>;
|
|
619
635
|
"username-fragment": z.ZodOptional<z.ZodString>;
|
|
620
636
|
}, z.core.$strip>>>>;
|
|
637
|
+
}, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
638
|
+
verb: z.ZodLiteral<"webrtc.sfu-track-map">;
|
|
639
|
+
"negotiation-id": z.ZodNumber;
|
|
640
|
+
tracks: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
641
|
+
mid: z.ZodString;
|
|
642
|
+
member: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
|
|
643
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">]>;
|
|
644
|
+
}, z.core.$strip>>>>;
|
|
621
645
|
}, z.core.$strip>>>]>]>>>;
|
|
622
646
|
}, z.core.$strip>>>;
|
|
623
647
|
scope: z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
@@ -820,6 +844,14 @@ declare const manageCommandSchema: z.ZodLazy<z.ZodObject<{
|
|
|
820
844
|
"sdp-m-line-index": z.ZodOptional<z.ZodNumber>;
|
|
821
845
|
"username-fragment": z.ZodOptional<z.ZodString>;
|
|
822
846
|
}, z.core.$strip>>>>;
|
|
847
|
+
}, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
848
|
+
verb: z.ZodLiteral<"webrtc.sfu-track-map">;
|
|
849
|
+
"negotiation-id": z.ZodNumber;
|
|
850
|
+
tracks: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
851
|
+
mid: z.ZodString;
|
|
852
|
+
member: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
|
|
853
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">]>;
|
|
854
|
+
}, z.core.$strip>>>>;
|
|
823
855
|
}, z.core.$strip>>>]>]>>>;
|
|
824
856
|
}, z.core.$strip>>;
|
|
825
857
|
declare const manageRequestFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
@@ -933,6 +965,14 @@ declare const manageRequestFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
|
933
965
|
"sdp-m-line-index": z.ZodOptional<z.ZodNumber>;
|
|
934
966
|
"username-fragment": z.ZodOptional<z.ZodString>;
|
|
935
967
|
}, z.core.$strip>>>>;
|
|
968
|
+
}, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
969
|
+
verb: z.ZodLiteral<"webrtc.sfu-track-map">;
|
|
970
|
+
"negotiation-id": z.ZodNumber;
|
|
971
|
+
tracks: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
972
|
+
mid: z.ZodString;
|
|
973
|
+
member: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
|
|
974
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">]>;
|
|
975
|
+
}, z.core.$strip>>>>;
|
|
936
976
|
}, z.core.$strip>>>]>]>>>;
|
|
937
977
|
}, z.core.$strip>>>;
|
|
938
978
|
scope: z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
@@ -1224,6 +1264,20 @@ declare const coordinatorFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1224
1264
|
coordinator: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
|
|
1225
1265
|
"capacity-hint": z.ZodOptional<z.ZodNumber>;
|
|
1226
1266
|
}, z.core.$strip>>;
|
|
1267
|
+
declare const sfuTrackMapSchema: z.ZodLazy<z.ZodObject<{
|
|
1268
|
+
verb: z.ZodLiteral<"webrtc.sfu-track-map">;
|
|
1269
|
+
"negotiation-id": z.ZodNumber;
|
|
1270
|
+
tracks: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
1271
|
+
mid: z.ZodString;
|
|
1272
|
+
member: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
|
|
1273
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">]>;
|
|
1274
|
+
}, z.core.$strip>>>>;
|
|
1275
|
+
}, z.core.$strip>>;
|
|
1276
|
+
declare const sfuTrackEntrySchema: z.ZodLazy<z.ZodObject<{
|
|
1277
|
+
mid: z.ZodString;
|
|
1278
|
+
member: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
|
|
1279
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">]>;
|
|
1280
|
+
}, z.core.$strip>>;
|
|
1227
1281
|
declare const webrtcOfferSchema: z.ZodLazy<z.ZodObject<{
|
|
1228
1282
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
1229
1283
|
"negotiation-id": z.ZodNumber;
|
|
@@ -1341,9 +1395,11 @@ type RelayConnectFrame = z.infer<typeof relayConnectFrameSchema>;
|
|
|
1341
1395
|
type RelayDataFrame = z.infer<typeof relayDataFrameSchema>;
|
|
1342
1396
|
type RelayInboundFrame = z.infer<typeof relayInboundFrameSchema>;
|
|
1343
1397
|
type CoordinatorFrame = z.infer<typeof coordinatorFrameSchema>;
|
|
1398
|
+
type SfuTrackMap = z.infer<typeof sfuTrackMapSchema>;
|
|
1399
|
+
type SfuTrackEntry = z.infer<typeof sfuTrackEntrySchema>;
|
|
1344
1400
|
type WebrtcOffer = z.infer<typeof webrtcOfferSchema>;
|
|
1345
1401
|
type WebrtcAnswer = z.infer<typeof webrtcAnswerSchema>;
|
|
1346
1402
|
type WebrtcIceCandidate = z.infer<typeof webrtcIceCandidateSchema>;
|
|
1347
1403
|
type IceCandidateInit = z.infer<typeof iceCandidateInitSchema>;
|
|
1348
1404
|
//#endregion
|
|
1349
|
-
export { PeerIdentity as $,
|
|
1405
|
+
export { PeerIdentity as $, ptyWriteSchema as $n, capabilityGrantSchema as $t, DomainId as A, manageCommandParamsSchema as An, webrtcIceCandidateSchema as Ar, RoomSend as At, IdentityKey as B, ownerNamedRoomPathSchema as Bn, WebrtcAnswer as Bt, CoseTokenHeaders as C, frameVariantSchema as Cn, streamDataFrameSchema as Cr, RoomMembers as Ct, DeviceId as D, handshakeFrameSchema as Dn, tokenClaimsSchema as Dr, RoomPath as Dt, DataRequestFrame as E, handleRecordSchema as En, syncPunchFrameSchema as Er, RoomNoticeClaims as Et, GossipFrame as F, manageResponseFrameSchema as Fn, StreamEndFrame as Ft, ManageRequestFrame as G, privateUseDomainIdSchema as Gn, bulkCancelSchema as Gt, ManageCommandParams as H, peerIdentitySchema as Hn, WebrtcOffer as Ht, HandleClaims as I, messageRefSchema as In, StreamSession as It, NamespacedCapability as J, procSpawnSchema as Jn, bulkOpenSchema as Jt, ManageResponseFrame as K, procKillSchema as Kn, bulkDataFrameSchema as Kt, HandleRecord as L, namespacedCapabilitySchema as Ln, SyncPunchFrame as Lt, ExecSessionInfo as M, manageErrorSchema as Mn, wireCandidateSchema as Mr, SfuTrackMap as Mt, Frame as N, manageOkSchema as Nn, StreamAckFrame as Nt, DeviceIdHex as O, iceCandidateInitSchema as On, transferIdSchema as Or, RoomRead as Ot, FrameVariant as P, manageRequestFrameSchema as Pn, StreamDataFrame as Pt, PeerAdvert as Q, ptySpawnSchema as Qn, capabilityGrantOkSchema as Qt, HandshakeFrame as R, namespacedDomainIdSchema as Rn, TokenClaims as Rt, CoseSign1 as S, frameSchema as Sn, streamAckFrameSchema as Sr, RoomMember as St, DataHaveFrame as T, handleClaimsSchema as Tn, streamSessionSchema as Tr, RoomNotice as Tt, ManageError as U, pingFrameSchema as Un, WireCandidate as Ut, ManageCommand as V, peerAdvertSchema as Vn, WebrtcIceCandidate as Vt, ManageOk as W, privateUseCapabilitySchema as Wn, bulkAckFrameSchema as Wt, ObservedAddressFrame as X, ptyKillSchema as Xn, candidateKindSchema as Xt, NamespacedDomainId as Y, protocolVersionSchema as Yn, bulkResumeSchema as Yt, OwnerNamedRoomPath as Z, ptyResizeSchema as Zn, candidatesFrameSchema as Zt, CoreCapability as _, deviceIdSchema as _n, roomReadSchema as _r, RevocationEntry as _t, BulkOpen as a, coordinatorFrameSchema as an, revocationClaimsSchema as ar, ProcSpawn as at, CoseHeaderKid as b, execListSchema as bn, sfuTrackEntrySchema as br, RoomJoinOk as bt, CandidatesFrame as c, coseHeaderAlgSchema as cn, roomJoinOkSchema as cr, PtyResize as ct, CapabilityRequest as d, coseSign1Schema as dn, roomMemberSchema as dr, RelayConnectFrame as dt, capabilityRequestSchema as en, relayConnectFrameSchema as er, PingFrame as et, CapabilityScope as f, coseTokenHeadersSchema as fn, roomMembersOkSchema as fr, RelayDataFrame as ft, CoordinatorFrame as g, deviceIdHexSchema as gn, roomPathSchema as gr, RevocationClaims as gt, CloseFrame as h, dataRequestFrameSchema as hn, roomNoticeSchema as hr, RevocationAnnounceFrame as ht, BulkEndFrame as i, closeFrameSchema as in, revocationAnnounceFrameSchema as ir, ProcSignal as it, ExecList as j, manageCommandSchema as jn, webrtcOfferSchema as jr, SfuTrackEntry as jt, DmRoomPath as k, identityKeySchema as kn, webrtcAnswerSchema as kr, RoomRekey as kt, CapabilityGrant as l, coseHeaderKidSchema as ln, roomJoinSchema as lr, PtySpawn as lt, CapabilityVerb as m, dataHaveFrameSchema as mn, roomNoticeClaimsSchema as mr, RelayOfferFrame as mt, BulkCancel as n, capabilityTokenSchema as nn, relayInboundFrameSchema as nr, PrivateUseDomainId as nt, BulkResume as o, coreCapabilitySchema as on, revocationEntrySchema as or, ProtocolVersion as ot, CapabilityToken as p, dataEntriesFrameSchema as pn, roomMembersSchema as pr, RelayInboundFrame as pt, MessageRef as q, procSignalSchema as qn, bulkEndFrameSchema as qt, BulkDataFrame as r, capabilityVerbSchema as rn, relayOfferFrameSchema as rr, ProcKill as rt, CandidateKind as s, coreDomainNameSchema as sn, roomInviteSchema as sr, PtyKill as st, BulkAckFrame as t, capabilityScopeSchema as tn, relayDataFrameSchema as tr, PrivateUseCapability as tt, CapabilityGrantOk as u, coseHeaderLabelSchema as un, roomLeaveSchema as ur, PtyWrite as ut, CoreDomainName as v, dmRoomPathSchema as vn, roomRekeySchema as vr, RoomInvite as vt, DataEntriesFrame as w, gossipFrameSchema as wn, streamEndFrameSchema as wr, RoomMembersOk as wt, CoseHeaderLabel as x, execSessionInfoSchema as xn, sfuTrackMapSchema as xr, RoomLeave as xt, CoseHeaderAlg as y, domainIdSchema as yn, roomSendSchema as yr, RoomJoin as yt, IceCandidateInit as z, observedAddressFrameSchema as zn, TransferId as zt };
|
package/dist/{room-token-verification-BggPfYr8.d.mts → room-token-verification-BQhqt1Rm.d.mts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as IdentityKey, D as DeviceId,
|
|
2
|
-
import { l as TokenVerdictReason, u as VerifyCapabilityTokenOptions } from "./tokens-
|
|
1
|
+
import { B as IdentityKey, D as DeviceId, Rt as TokenClaims, p as CapabilityToken } from "./protocol-D8CU6s2_.mjs";
|
|
2
|
+
import { l as TokenVerdictReason, u as VerifyCapabilityTokenOptions } from "./tokens-Bh82oidM.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";
|
package/dist/{room-token-verification-CkQV0Iq7.d.cts → room-token-verification-DQGdYNg4.d.cts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as IdentityKey, D as DeviceId,
|
|
2
|
-
import { l as TokenVerdictReason, u as VerifyCapabilityTokenOptions } from "./tokens-
|
|
1
|
+
import { B as IdentityKey, D as DeviceId, Rt as TokenClaims, p as CapabilityToken } from "./protocol-D8CU6s2_.cjs";
|
|
2
|
+
import { l as TokenVerdictReason, u as VerifyCapabilityTokenOptions } from "./tokens-B1-MAIST.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as IdentityKey, D as DeviceId,
|
|
2
|
-
import { t as IdentityPort } from "./identity-
|
|
1
|
+
import { B as IdentityKey, D as DeviceId, Rt as TokenClaims, _t as RevocationEntry, gt as RevocationClaims, p as CapabilityToken } from "./protocol-D8CU6s2_.cjs";
|
|
2
|
+
import { t as IdentityPort } from "./identity-DHf0J6IA.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,
|
|
2
|
-
import { t as IdentityPort } from "./identity-
|
|
1
|
+
import { B as IdentityKey, D as DeviceId, Rt as TokenClaims, _t as RevocationEntry, gt as RevocationClaims, p as CapabilityToken } from "./protocol-D8CU6s2_.mjs";
|
|
2
|
+
import { t as IdentityPort } from "./identity-Oelt3uEn.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-D8CU6s2_.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-D8CU6s2_.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,36 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wire-mesh-core",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"packageManager": "pnpm@12.4.1+sha512.2e81e399d73fe8390dab25e06aa788ab7a5908248d2f5a370f82b481147a6a7a367bf8048f9a6fdb6460f21a66f0542dedb8b94ca2c8723596741920b1656d4c",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "https://github.com/ExaDev/wire-mesh.git",
|
|
9
|
-
"directory": "ts/packages/core"
|
|
10
|
-
},
|
|
11
|
-
"publishConfig": {
|
|
12
|
-
"provenance": true,
|
|
13
|
-
"access": "public"
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "turbo run _build",
|
|
20
|
-
"_build": "tsdown",
|
|
21
|
-
"generate": "turbo run _generate",
|
|
22
|
-
"_generate": "node generate.ts",
|
|
23
|
-
"test": "turbo run _test",
|
|
24
|
-
"_test": "vitest run",
|
|
25
|
-
"typecheck": "turbo run _typecheck",
|
|
26
|
-
"_typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.node.json --noEmit",
|
|
27
|
-
"lint": "turbo run _lint",
|
|
28
|
-
"_lint": "eslint . --fix --cache --max-warnings 0",
|
|
29
|
-
"conformance-check": "turbo run _conformance-check",
|
|
30
|
-
"_conformance-check": "vitest run test/conformance.test.ts",
|
|
31
|
-
"mutation": "turbo run _mutation",
|
|
32
|
-
"_mutation": "stryker run stryker.config.ts"
|
|
33
|
-
},
|
|
3
|
+
"version": "1.46.0",
|
|
34
4
|
"dependencies": {
|
|
35
5
|
"cbor2": "2.3.0",
|
|
36
6
|
"cddl.js": "1.0.1",
|
|
@@ -39,7 +9,7 @@
|
|
|
39
9
|
},
|
|
40
10
|
"devDependencies": {
|
|
41
11
|
"@arethetypeswrong/cli": "0.18.5",
|
|
42
|
-
"@exadev/eslint-config": "2.
|
|
12
|
+
"@exadev/eslint-config": "2.18.0",
|
|
43
13
|
"@semantic-release/commit-analyzer": "13.0.1",
|
|
44
14
|
"@semantic-release/github": "12.0.9",
|
|
45
15
|
"@semantic-release/npm": "13.1.5",
|
|
@@ -48,7 +18,6 @@
|
|
|
48
18
|
"@stryker-mutator/core": "10.0.0",
|
|
49
19
|
"@stryker-mutator/typescript-checker": "10.0.0",
|
|
50
20
|
"@types/node": "26.4.1",
|
|
51
|
-
"conventional-changelog-conventionalcommits": "10.4.0",
|
|
52
21
|
"eslint": "10.10.0",
|
|
53
22
|
"eslint-config-prettier": "10.1.8",
|
|
54
23
|
"eslint-plugin-prettier": "5.5.6",
|
|
@@ -170,6 +139,10 @@
|
|
|
170
139
|
"import": "./dist/domain/tokens.mjs",
|
|
171
140
|
"require": "./dist/domain/tokens.cjs"
|
|
172
141
|
},
|
|
142
|
+
"./domain/webrtc-signaling": {
|
|
143
|
+
"import": "./dist/domain/webrtc-signaling.mjs",
|
|
144
|
+
"require": "./dist/domain/webrtc-signaling.cjs"
|
|
145
|
+
},
|
|
173
146
|
"./generated/protocol": {
|
|
174
147
|
"import": "./dist/generated/protocol.mjs",
|
|
175
148
|
"require": "./dist/generated/protocol.cjs"
|
|
@@ -195,5 +168,35 @@
|
|
|
195
168
|
"require": "./dist/ports/transport.cjs"
|
|
196
169
|
},
|
|
197
170
|
"./package.json": "./package.json"
|
|
198
|
-
}
|
|
171
|
+
},
|
|
172
|
+
"files": [
|
|
173
|
+
"dist"
|
|
174
|
+
],
|
|
175
|
+
"packageManager": "pnpm@12.4.1+sha512.2e81e399d73fe8390dab25e06aa788ab7a5908248d2f5a370f82b481147a6a7a367bf8048f9a6fdb6460f21a66f0542dedb8b94ca2c8723596741920b1656d4c",
|
|
176
|
+
"publishConfig": {
|
|
177
|
+
"provenance": true,
|
|
178
|
+
"access": "public"
|
|
179
|
+
},
|
|
180
|
+
"repository": {
|
|
181
|
+
"type": "git",
|
|
182
|
+
"url": "https://github.com/ExaDev/wire-mesh.git",
|
|
183
|
+
"directory": "ts/packages/core"
|
|
184
|
+
},
|
|
185
|
+
"scripts": {
|
|
186
|
+
"_build": "tsdown",
|
|
187
|
+
"_conformance-check": "vitest run test/conformance.unit.test.ts",
|
|
188
|
+
"_generate": "node generate.ts",
|
|
189
|
+
"_lint": "eslint . --fix --cache --max-warnings 0",
|
|
190
|
+
"_mutation": "stryker run stryker.config.ts",
|
|
191
|
+
"_test": "vitest run",
|
|
192
|
+
"_typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.node.json --noEmit",
|
|
193
|
+
"build": "turbo run _build",
|
|
194
|
+
"conformance-check": "turbo run _conformance-check",
|
|
195
|
+
"generate": "turbo run _generate",
|
|
196
|
+
"lint": "turbo run _lint",
|
|
197
|
+
"mutation": "turbo run _mutation",
|
|
198
|
+
"test": "turbo run _test",
|
|
199
|
+
"typecheck": "turbo run _typecheck"
|
|
200
|
+
},
|
|
201
|
+
"type": "module"
|
|
199
202
|
}
|