@bcts/frost-hubert 1.0.0-alpha.23 → 1.0.0-beta.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.
Files changed (154) hide show
  1. package/dist/bin/frost.cjs +345 -71
  2. package/dist/bin/frost.cjs.map +1 -1
  3. package/dist/bin/frost.mjs +345 -71
  4. package/dist/bin/frost.mjs.map +1 -1
  5. package/dist/busy-DkM2jAIZ.mjs +27 -0
  6. package/dist/busy-DkM2jAIZ.mjs.map +1 -0
  7. package/dist/busy-EZU7EKr6.cjs +38 -0
  8. package/dist/busy-EZU7EKr6.cjs.map +1 -0
  9. package/dist/cmd/index.cjs +28 -22
  10. package/dist/cmd/index.d.cts +2 -2
  11. package/dist/cmd/index.d.mts +2 -2
  12. package/dist/cmd/index.mjs +7 -3
  13. package/dist/cmd-Bw9_i2_f.cjs +130 -0
  14. package/dist/cmd-Bw9_i2_f.cjs.map +1 -0
  15. package/dist/cmd-CS1uJtuD.mjs +113 -0
  16. package/dist/cmd-CS1uJtuD.mjs.map +1 -0
  17. package/dist/common-CvH6dFvQ.mjs +282 -0
  18. package/dist/common-CvH6dFvQ.mjs.map +1 -0
  19. package/dist/common-DUWvtc08.mjs +96 -0
  20. package/dist/common-DUWvtc08.mjs.map +1 -0
  21. package/dist/common-lKP5EzHy.cjs +372 -0
  22. package/dist/common-lKP5EzHy.cjs.map +1 -0
  23. package/dist/common-lThIvJmZ.cjs +114 -0
  24. package/dist/common-lThIvJmZ.cjs.map +1 -0
  25. package/dist/dkg/index.cjs +6 -102
  26. package/dist/dkg/index.cjs.map +1 -1
  27. package/dist/dkg/index.d.cts +2 -2
  28. package/dist/dkg/index.d.mts +2 -2
  29. package/dist/dkg/index.mjs +4 -101
  30. package/dist/dkg/index.mjs.map +1 -1
  31. package/dist/finalize-BRgJK-Xv.cjs +402 -0
  32. package/dist/finalize-BRgJK-Xv.cjs.map +1 -0
  33. package/dist/finalize-BfLgzn8f.cjs +303 -0
  34. package/dist/finalize-BfLgzn8f.cjs.map +1 -0
  35. package/dist/finalize-CNTDj6aS.mjs +389 -0
  36. package/dist/finalize-CNTDj6aS.mjs.map +1 -0
  37. package/dist/finalize-EC3ikHQq.mjs +252 -0
  38. package/dist/finalize-EC3ikHQq.mjs.map +1 -0
  39. package/dist/finalize-IA01t_Qq.mjs +290 -0
  40. package/dist/finalize-IA01t_Qq.mjs.map +1 -0
  41. package/dist/finalize-UPyI1yb1.cjs +265 -0
  42. package/dist/finalize-UPyI1yb1.cjs.map +1 -0
  43. package/dist/{index-BkqLimZT.d.mts → index-B3c-80VS.d.cts} +26 -3
  44. package/dist/index-B3c-80VS.d.cts.map +1 -0
  45. package/dist/{index-BJlwbPYu.d.cts → index-BgbSGpxn.d.mts} +102 -80
  46. package/dist/index-BgbSGpxn.d.mts.map +1 -0
  47. package/dist/{index-BMbPgH0W.d.cts → index-C8QeHNwa.d.cts} +46 -2
  48. package/dist/{index-BMbPgH0W.d.cts.map → index-C8QeHNwa.d.cts.map} +1 -1
  49. package/dist/{index-DmxfT59Y.d.cts → index-D3QTWkEm.d.mts} +26 -3
  50. package/dist/index-D3QTWkEm.d.mts.map +1 -0
  51. package/dist/{index-DoV5HFvV.d.mts → index-DVbWyOs7.d.mts} +46 -2
  52. package/dist/{index-DoV5HFvV.d.mts.map → index-DVbWyOs7.d.mts.map} +1 -1
  53. package/dist/{index-Dzm1v4_4.d.mts → index-F1iNEAJR.d.cts} +102 -80
  54. package/dist/index-F1iNEAJR.d.cts.map +1 -0
  55. package/dist/index.cjs +31 -23
  56. package/dist/index.cjs.map +1 -1
  57. package/dist/index.d.cts +4 -4
  58. package/dist/index.d.mts +4 -4
  59. package/dist/index.mjs +9 -4
  60. package/dist/index.mjs.map +1 -1
  61. package/dist/invite-5277FQVT.cjs +274 -0
  62. package/dist/invite-5277FQVT.cjs.map +1 -0
  63. package/dist/invite-DUTcfTgX.cjs +109 -0
  64. package/dist/invite-DUTcfTgX.cjs.map +1 -0
  65. package/dist/invite-IU4n0dq2.mjs +96 -0
  66. package/dist/invite-IU4n0dq2.mjs.map +1 -0
  67. package/dist/invite-RU-OXTNS.mjs +219 -0
  68. package/dist/invite-RU-OXTNS.mjs.map +1 -0
  69. package/dist/parallel-D1R6ZGlY.cjs +318 -0
  70. package/dist/parallel-D1R6ZGlY.cjs.map +1 -0
  71. package/dist/parallel-D6zc6VW4.mjs +235 -0
  72. package/dist/parallel-D6zc6VW4.mjs.map +1 -0
  73. package/dist/proposed-participant-Dm1Eq6mX.cjs +141 -0
  74. package/dist/proposed-participant-Dm1Eq6mX.cjs.map +1 -0
  75. package/dist/proposed-participant-cWM7iUrO.mjs +129 -0
  76. package/dist/proposed-participant-cWM7iUrO.mjs.map +1 -0
  77. package/dist/receive-CAI-x4II.cjs +213 -0
  78. package/dist/receive-CAI-x4II.cjs.map +1 -0
  79. package/dist/receive-D2Nn68L7.mjs +188 -0
  80. package/dist/receive-D2Nn68L7.mjs.map +1 -0
  81. package/dist/receive-DA_KQEgk.mjs +177 -0
  82. package/dist/receive-DA_KQEgk.mjs.map +1 -0
  83. package/dist/receive-kZMsXhbK.cjs +190 -0
  84. package/dist/receive-kZMsXhbK.cjs.map +1 -0
  85. package/dist/registry/index.cjs +85 -10
  86. package/dist/registry/index.cjs.map +1 -1
  87. package/dist/registry/index.d.cts +1 -1
  88. package/dist/registry/index.d.mts +1 -1
  89. package/dist/registry/index.mjs +85 -10
  90. package/dist/registry/index.mjs.map +1 -1
  91. package/dist/{registry-loI1_Mh1.cjs → registry-9puTaRrD.cjs} +1 -1
  92. package/dist/{registry-loI1_Mh1.cjs.map → registry-9puTaRrD.cjs.map} +1 -1
  93. package/dist/{registry-CgrCZ4En.mjs → registry-BpCwtrRt.mjs} +1 -1
  94. package/dist/{registry-CgrCZ4En.mjs.map → registry-BpCwtrRt.mjs.map} +1 -1
  95. package/dist/round1-4Hyx8w0x.cjs +422 -0
  96. package/dist/round1-4Hyx8w0x.cjs.map +1 -0
  97. package/dist/round1-7v9LlE11.mjs +373 -0
  98. package/dist/round1-7v9LlE11.mjs.map +1 -0
  99. package/dist/round1-BHBjru1m.cjs +465 -0
  100. package/dist/round1-BHBjru1m.cjs.map +1 -0
  101. package/dist/round1-CMLKN2RR.mjs +195 -0
  102. package/dist/round1-CMLKN2RR.mjs.map +1 -0
  103. package/dist/round1-CWSXZx5R.cjs +208 -0
  104. package/dist/round1-CWSXZx5R.cjs.map +1 -0
  105. package/dist/round1-CcQCGlIT.mjs +208 -0
  106. package/dist/round1-CcQCGlIT.mjs.map +1 -0
  107. package/dist/round1-Cgm7j1kI.mjs +452 -0
  108. package/dist/round1-Cgm7j1kI.mjs.map +1 -0
  109. package/dist/round1-DQ0fnc1H.cjs +221 -0
  110. package/dist/round1-DQ0fnc1H.cjs.map +1 -0
  111. package/dist/round2-BWz9SQIi.cjs +305 -0
  112. package/dist/round2-BWz9SQIi.cjs.map +1 -0
  113. package/dist/round2-BkNRCXgS.mjs +292 -0
  114. package/dist/round2-BkNRCXgS.mjs.map +1 -0
  115. package/dist/round2-Bl2uK93U.mjs +450 -0
  116. package/dist/round2-Bl2uK93U.mjs.map +1 -0
  117. package/dist/round2-CdUT-AhH.cjs +499 -0
  118. package/dist/round2-CdUT-AhH.cjs.map +1 -0
  119. package/dist/round2-DOA3rnV-.mjs +280 -0
  120. package/dist/round2-DOA3rnV-.mjs.map +1 -0
  121. package/dist/round2-Dg24w-TU.mjs +397 -0
  122. package/dist/round2-Dg24w-TU.mjs.map +1 -0
  123. package/dist/round2-LylCa84n.cjs +293 -0
  124. package/dist/round2-LylCa84n.cjs.map +1 -0
  125. package/dist/round2-o2Q-GMbX.cjs +410 -0
  126. package/dist/round2-o2Q-GMbX.cjs.map +1 -0
  127. package/dist/storage-B-Gu68-O.cjs +79 -0
  128. package/dist/storage-B-Gu68-O.cjs.map +1 -0
  129. package/dist/storage-Bkkliz0K.mjs +74 -0
  130. package/dist/storage-Bkkliz0K.mjs.map +1 -0
  131. package/package.json +10 -10
  132. package/src/bin/frost.ts +849 -128
  133. package/src/cmd/common.ts +19 -1
  134. package/src/cmd/dkg/common.ts +97 -10
  135. package/src/cmd/dkg/coordinator/invite.ts +5 -2
  136. package/src/cmd/dkg/participant/finalize.ts +51 -17
  137. package/src/cmd/dkg/participant/round1.ts +39 -38
  138. package/src/cmd/dkg/participant/round2.ts +60 -26
  139. package/src/cmd/sign/coordinator/round2.ts +5 -1
  140. package/src/cmd/sign/participant/finalize.ts +6 -2
  141. package/src/cmd/sign/participant/receive.ts +5 -2
  142. package/src/dkg/group-invite.ts +12 -2
  143. package/src/dkg/proposed-participant.ts +32 -3
  144. package/src/registry/owner-record.ts +12 -0
  145. package/src/registry/participant-record.ts +35 -2
  146. package/src/registry/registry-impl.ts +74 -18
  147. package/dist/cmd-5yLeC_QL.mjs +0 -4708
  148. package/dist/cmd-5yLeC_QL.mjs.map +0 -1
  149. package/dist/cmd-BfZjC3Uh.cjs +0 -4847
  150. package/dist/cmd-BfZjC3Uh.cjs.map +0 -1
  151. package/dist/index-BJlwbPYu.d.cts.map +0 -1
  152. package/dist/index-BkqLimZT.d.mts.map +0 -1
  153. package/dist/index-DmxfT59Y.d.cts.map +0 -1
  154. package/dist/index-Dzm1v4_4.d.mts.map +0 -1
@@ -1,22 +1,112 @@
1
- import { d as PendingRequests, i as Registry, l as GroupParticipant, o as ParticipantRecord, r as OwnerOutcome, s as OwnerRecord, t as AddOutcome, u as GroupRecord } from "./index-DoV5HFvV.mjs";
2
- import { t as DkgInvitation } from "./index-BkqLimZT.mjs";
1
+ import { d as PendingRequests, i as Registry, l as GroupParticipant, o as ParticipantRecord, r as OwnerOutcome, s as OwnerRecord, t as AddOutcome, u as GroupRecord } from "./index-C8QeHNwa.cjs";
2
+ import { t as DkgInvitation } from "./index-B3c-80VS.cjs";
3
3
  import { ARID, PrivateKeys, XID } from "@bcts/components";
4
4
  import { Envelope, EnvelopeEncodableValue } from "@bcts/envelope";
5
- import { SealedRequest } from "@bcts/gstp";
6
5
  import { XIDDocument } from "@bcts/xid";
6
+ import { SealedRequest } from "@bcts/gstp";
7
7
 
8
- //#region src/cmd/common.d.ts
8
+ //#region src/cmd/dkg/common.d.ts
9
+ /**
10
+ * Parse an ARID from a UR string.
11
+ *
12
+ * Mirrors Rust `parse_arid_ur` (`cmd/common.rs:27-43`):
13
+ *
14
+ * 1. Trim and reject empty input.
15
+ * 2. Parse as a UR; require `ur_type` of `"arid"`.
16
+ * 3. Try `ARID::try_from(cbor)` (the tagged-CBOR form).
17
+ * 4. If that fails, fall back to interpreting the CBOR as a bare
18
+ * byte string and constructing the ARID from those bytes via
19
+ * `ARID::from_data_ref`.
20
+ *
21
+ * The earlier port only accepted the tagged form; this matches Rust
22
+ * by accepting the byte-string fallback too.
23
+ */
24
+ declare function parseAridUr(urString: string): ARID;
25
+ /**
26
+ * Parse an envelope from a UR string.
27
+ *
28
+ * Port of `parse_envelope_ur()` from cmd/dkg/common.rs.
29
+ */
30
+ declare function parseEnvelopeUr(urString: string): Envelope;
9
31
  /**
10
- * Copyright © 2023-2026 Blockchain Commons, LLC
11
- * Copyright © 2025-2026 Parity Technologies
32
+ * Resolve the registry owner's XID document.
12
33
  *
34
+ * The earlier port called this `resolveSender(registry)`, but its
35
+ * behaviour — "give me the owner" — has nothing in common with Rust's
36
+ * `resolve_sender(registry, input)` (which resolves an arbitrary
37
+ * named sender). This helper is renamed to its actual behaviour;
38
+ * the Rust-equivalent `resolveSender(registry, input)` lives below.
39
+ */
40
+ declare function resolveOwnerXidDocument(registry: Registry): XIDDocument;
41
+ /**
42
+ * Resolve a sender XID document from the registry by UR or pet name.
13
43
  *
14
- * Common utilities for commands.
44
+ * Mirrors Rust `resolve_sender(registry, input)`
45
+ * (`cmd/dkg/common.rs:76-94`):
15
46
  *
16
- * Port of cmd/common.rs from frost-hubert-rust.
47
+ * 1. Trim and reject empty input.
48
+ * 2. Try parsing the input as a `ur:xid`. If that succeeds, look it
49
+ * up via `registry.participant(xid)`; if no record is found,
50
+ * error with `Sender with XID {ur} not found`.
51
+ * 3. Otherwise look it up by pet name via
52
+ * `registry.participantByPetName(name)`; if no record is found,
53
+ * error with `Sender with pet name '{name}' not found`.
17
54
  *
18
- * @module
55
+ * Note Rust does NOT check the owner here — only the participants
56
+ * map. The earlier inline duplicate in `participant/round1.ts` did
57
+ * an extra owner-check fallback which is removed to match Rust.
19
58
  */
59
+ declare function resolveSender(registry: Registry, input: string): XIDDocument;
60
+ /**
61
+ * Resolve participant identifiers (XID URs or pet names) to records.
62
+ *
63
+ * Port of `resolve_participants()` from cmd/dkg/common.rs lines 29-74.
64
+ */
65
+ declare function resolveParticipants(registry: Registry, inputs: string[]): [XID, ParticipantRecord][];
66
+ /**
67
+ * Get display name for sender from registry.
68
+ *
69
+ * Port of `resolve_sender_name()` from cmd/dkg/common.rs lines 96-116.
70
+ */
71
+ declare function resolveSenderName(registry: Registry, sender: XIDDocument): string | undefined;
72
+ /**
73
+ * Build GroupParticipant[] from XIDDocuments using registry lookups.
74
+ *
75
+ * Port of `build_group_participants()` from cmd/dkg/common.rs lines 122-131.
76
+ */
77
+ declare function buildGroupParticipants(registry: Registry, owner: OwnerRecord, participants: XIDDocument[]): GroupParticipant[];
78
+ /**
79
+ * Create a GroupParticipant from a XIDDocument, validating against the registry.
80
+ *
81
+ * Port of `group_participant_from_registry()` from cmd/dkg/common.rs lines 133-149.
82
+ */
83
+ declare function groupParticipantFromRegistry(registry: Registry, owner: OwnerRecord, document: XIDDocument): GroupParticipant;
84
+ /**
85
+ * Format a participant name with owner marker if applicable.
86
+ *
87
+ * Port of `format_name_with_owner_marker()` from cmd/dkg/common.rs lines 155-157.
88
+ */
89
+ declare function formatNameWithOwnerMarker(name: string, isOwner: boolean): string;
90
+ /**
91
+ * Get display names for participants, sorted by XID, with owner marked.
92
+ *
93
+ * Port of `participant_names_from_registry()` from cmd/dkg/common.rs lines 159-191.
94
+ */
95
+ declare function participantNamesFromRegistry(registry: Registry, participants: XIDDocument[], ownerXid: XID, ownerPetName: string | undefined): string[];
96
+ /**
97
+ * Get the DKG state directory for a given registry path and group ID.
98
+ *
99
+ * Port of `dkg_state_dir()` from cmd/dkg/common.rs.
100
+ */
101
+ declare function dkgStateDir(registryPath: string, groupIdHex: string): string;
102
+ /**
103
+ * Convert a verifying key bytes to a SigningPublicKey.
104
+ *
105
+ * Port of `signing_key_from_verifying()` from cmd/dkg/common.rs.
106
+ */
107
+ declare function signingKeyFromVerifying(verifyingKeyBytes: Uint8Array): unknown;
108
+ //#endregion
109
+ //#region src/cmd/common.d.ts
20
110
  /**
21
111
  * Get the group state directory for a given registry path and group ID.
22
112
  *
@@ -224,74 +314,6 @@ declare function parallelSend(client: StorageClient, messages: [XID, ARID, Envel
224
314
  */
225
315
  declare function checkAridExists(client: StorageClient, arid: ARID): Promise<boolean>;
226
316
  //#endregion
227
- //#region src/cmd/dkg/common.d.ts
228
- /**
229
- * Parse an ARID from a UR string.
230
- *
231
- * Port of `parse_arid_ur()` from cmd/dkg/common.rs.
232
- */
233
- declare function parseAridUr(urString: string): ARID;
234
- /**
235
- * Parse an envelope from a UR string.
236
- *
237
- * Port of `parse_envelope_ur()` from cmd/dkg/common.rs.
238
- */
239
- declare function parseEnvelopeUr(urString: string): Envelope;
240
- /**
241
- * Resolve the sender XID document from the registry.
242
- *
243
- * Port of `resolve_sender()` from cmd/dkg/common.rs.
244
- */
245
- declare function resolveSender(registry: Registry): XIDDocument;
246
- /**
247
- * Resolve participant identifiers (XID URs or pet names) to records.
248
- *
249
- * Port of `resolve_participants()` from cmd/dkg/common.rs lines 29-74.
250
- */
251
- declare function resolveParticipants(registry: Registry, inputs: string[]): [XID, ParticipantRecord][];
252
- /**
253
- * Get display name for sender from registry.
254
- *
255
- * Port of `resolve_sender_name()` from cmd/dkg/common.rs lines 96-116.
256
- */
257
- declare function resolveSenderName(registry: Registry, sender: XIDDocument): string | undefined;
258
- /**
259
- * Build GroupParticipant[] from XIDDocuments using registry lookups.
260
- *
261
- * Port of `build_group_participants()` from cmd/dkg/common.rs lines 122-131.
262
- */
263
- declare function buildGroupParticipants(registry: Registry, owner: OwnerRecord, participants: XIDDocument[]): GroupParticipant[];
264
- /**
265
- * Create a GroupParticipant from a XIDDocument, validating against the registry.
266
- *
267
- * Port of `group_participant_from_registry()` from cmd/dkg/common.rs lines 133-149.
268
- */
269
- declare function groupParticipantFromRegistry(registry: Registry, owner: OwnerRecord, document: XIDDocument): GroupParticipant;
270
- /**
271
- * Format a participant name with owner marker if applicable.
272
- *
273
- * Port of `format_name_with_owner_marker()` from cmd/dkg/common.rs lines 155-157.
274
- */
275
- declare function formatNameWithOwnerMarker(name: string, isOwner: boolean): string;
276
- /**
277
- * Get display names for participants, sorted by XID, with owner marked.
278
- *
279
- * Port of `participant_names_from_registry()` from cmd/dkg/common.rs lines 159-191.
280
- */
281
- declare function participantNamesFromRegistry(registry: Registry, participants: XIDDocument[], ownerXid: XID, ownerPetName: string | undefined): string[];
282
- /**
283
- * Get the DKG state directory for a given registry path and group ID.
284
- *
285
- * Port of `dkg_state_dir()` from cmd/dkg/common.rs.
286
- */
287
- declare function dkgStateDir(registryPath: string, groupIdHex: string): string;
288
- /**
289
- * Convert a verifying key bytes to a SigningPublicKey.
290
- *
291
- * Port of `signing_key_from_verifying()` from cmd/dkg/common.rs.
292
- */
293
- declare function signingKeyFromVerifying(verifyingKeyBytes: Uint8Array): unknown;
294
- //#endregion
295
317
  //#region src/cmd/dkg/coordinator/invite.d.ts
296
318
  /**
297
319
  * Options for the DKG invite command.
@@ -612,7 +634,7 @@ declare namespace index_d_exports$5 {
612
634
  export { DkgFinalizeOptions, DkgFinalizeResult, DkgReceiveOptions, DkgReceiveResult, DkgRound1Options, DkgRound1Result, DkgRound2Options, DkgRound2Result, InviteDetails, decodeInviteDetails, finalize$1 as finalize, receive$1 as receive, resolveInviteEnvelope, round1$2 as round1, round2$2 as round2 };
613
635
  }
614
636
  declare namespace index_d_exports$4 {
615
- export { buildGroupParticipants, index_d_exports$6 as coordinator, dkgStateDir, formatNameWithOwnerMarker, groupParticipantFromRegistry, groupStateDir, parseAridUr, parseEnvelopeUr, index_d_exports$5 as participant, participantNamesFromRegistry, resolveParticipants, resolveSender, resolveSenderName, signingKeyFromVerifying };
637
+ export { buildGroupParticipants, index_d_exports$6 as coordinator, dkgStateDir, formatNameWithOwnerMarker, groupParticipantFromRegistry, groupStateDir, parseAridUr, parseEnvelopeUr, index_d_exports$5 as participant, participantNamesFromRegistry, resolveOwnerXidDocument, resolveParticipants, resolveSender, resolveSenderName, signingKeyFromVerifying };
616
638
  }
617
639
  //#endregion
618
640
  //#region src/cmd/sign/common.d.ts
@@ -1098,5 +1120,5 @@ declare namespace index_d_exports {
1098
1120
  */
1099
1121
  declare function participantsFilePath(registry: string | undefined, cwd: string): string;
1100
1122
  //#endregion
1101
- export { StorageClient as C, isVerbose as D, groupStateDir as E, setVerbose as O, putWithIndicator as S, createStorageClient as T, fetchStatusTimeout as _, CollectionResult as a, parallelSend as b, FetchStatus as c, directionEmoji as d, emptyCollectionResult as f, fetchStatusSuccess as g, fetchStatusRejected as h, checkAridExists as i, ParallelFetchConfig as l, fetchStatusPending as m, index_d_exports$1 as n, DEFAULT_TIMEOUT_SECONDS as o, fetchStatusError as p, index_d_exports$4 as r, Direction as s, index_d_exports as t, buildFetchRequests as u, parallelFetch as v, StorageSelection as w, getWithIndicator as x, parallelFetchConfigWithTimeout as y };
1102
- //# sourceMappingURL=index-Dzm1v4_4.d.mts.map
1123
+ export { signingKeyFromVerifying as A, StorageClient as C, isVerbose as D, groupStateDir as E, setVerbose as O, putWithIndicator as S, createStorageClient as T, fetchStatusTimeout as _, CollectionResult as a, parallelSend as b, FetchStatus as c, directionEmoji as d, emptyCollectionResult as f, fetchStatusSuccess as g, fetchStatusRejected as h, checkAridExists as i, parseAridUr as k, ParallelFetchConfig as l, fetchStatusPending as m, index_d_exports$1 as n, DEFAULT_TIMEOUT_SECONDS as o, fetchStatusError as p, index_d_exports$4 as r, Direction as s, index_d_exports as t, buildFetchRequests as u, parallelFetch as v, StorageSelection as w, getWithIndicator as x, parallelFetchConfigWithTimeout as y };
1124
+ //# sourceMappingURL=index-F1iNEAJR.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-F1iNEAJR.d.cts","names":[],"sources":["../src/cmd/dkg/common.ts","../src/cmd/common.ts","../src/cmd/storage.ts","../src/cmd/busy.ts","../src/cmd/parallel.ts","../src/cmd/check.ts","../src/cmd/dkg/coordinator/invite.ts","../src/cmd/dkg/coordinator/round1.ts","../src/cmd/dkg/coordinator/round2.ts","../src/cmd/dkg/coordinator/finalize.ts","../src/cmd/dkg/coordinator/index.ts","../src/cmd/dkg/participant/receive.ts","../src/cmd/dkg/participant/round1.ts","../src/cmd/dkg/participant/round2.ts","../src/cmd/dkg/participant/finalize.ts","../src/cmd/dkg/participant/index.ts","../src/cmd/dkg/index.ts","../src/cmd/sign/common.ts","../src/cmd/sign/coordinator/invite.ts","../src/cmd/sign/coordinator/round1.ts","../src/cmd/sign/coordinator/round2.ts","../src/cmd/sign/coordinator/index.ts","../src/cmd/sign/participant/receive.ts","../src/cmd/sign/participant/round1.ts","../src/cmd/sign/participant/round2.ts","../src/cmd/sign/participant/finalize.ts","../src/cmd/sign/participant/index.ts","../src/cmd/sign/index.ts","../src/cmd/registry/owner/set.ts","../src/cmd/registry/participant/add.ts","../src/cmd/registry/index.ts"],"mappings":";;;;;;;;;;;AAqGA;;;;;;;;;AA4BA;;;iBApFgB,WAAA,CAAY,QAAA,WAAmB,IAAA;;;;;;iBAkC/B,eAAA,CAAgB,QAAA,WAAmB,QAAA;AA8FnD;;;;;;;;;AAAA,iBAxEgB,uBAAA,CAAwB,QAAA,EAAU,QAAA,GAAW,WAAA;;;;;;AAmI7D;;;;;;;;;;AA6BA;;;iBApIgB,aAAA,CAAc,QAAA,EAAU,QAAA,EAAU,KAAA,WAAgB,WAAA;;;;;;iBA4ClD,mBAAA,CACd,QAAA,EAAU,QAAA,EACV,MAAA,cACE,GAAA,E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AA;AAAA;;;;;;;;iBA2YoB,MAAA,CACpB,MAAA,EAAQ,aAAA,EACR,OAAA,EAAS,iBAAA,EACT,GAAA,WACC,OAAA,CAAQ,gBAAA;;;;;AxBtYX;UyB1BiB,mBAAA;EACf,YAAA;EACA,SAAA;EACA,OAAA;EACA,cAAA;EACA,OAAA;AAAA;;;;UAMe,kBAAA;EACf,SAAA;EACA,cAAA;AAAA;;;;;;;;iBA4pBoB,QAAA,CACpB,MAAA,EAAQ,aAAA,EACR,OAAA,EAAS,mBAAA,EACT,GAAA,WACC,OAAA,CAAQ,kBAAA;AAAA;;;;;;;;;;AzBnpBX;U4B7DiB,eAAA;;EAEf,WAAA;E5B2DyD;E4BzDzD,OAAA;E5B+EqC;E4B7ErC,YAAA;AAAA;;;;UAMe,cAAA;EACf,OAAA,EAAS,YAAA;AAAA;;;;;;;;iBA0BK,QAAA,CAAS,OAAA,EAAS,eAAA,EAAiB,GAAA,WAAc,cAAA;;;;;A5BsBjE;U6B7DiB,qBAAA;;EAEf,WAAA;E7B2DyD;E6BzDzD,OAAA;E7B+EqC;E6B7ErC,YAAA;AAAA;;;;UAMe,oBAAA;EACf,OAAA,EAAS,UAAA;AAAA;;;;;;;;iBA0BK,cAAA,CAAe,OAAA,EAAS,qBAAA,EAAuB,GAAA,WAAc,oBAAA;AAAA;;;;A7BsB7E;;;;;iB8BrDgB,oBAAA,CAAqB,QAAA,sBAA8B,GAAA"}
package/dist/index.cjs CHANGED
@@ -1,9 +1,14 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_proposed_participant = require("./proposed-participant-Dm1Eq6mX.cjs");
2
3
  const require_dkg_index = require("./dkg/index.cjs");
3
4
  const require_registry_index = require("./registry/index.cjs");
4
- const require_cmd = require("./cmd-BfZjC3Uh.cjs");
5
+ const require_common = require("./common-lKP5EzHy.cjs");
6
+ const require_busy = require("./busy-EZU7EKr6.cjs");
7
+ const require_parallel = require("./parallel-D1R6ZGlY.cjs");
8
+ const require_storage = require("./storage-B-Gu68-O.cjs");
9
+ const require_cmd = require("./cmd-Bw9_i2_f.cjs");
5
10
  const require_frost_index = require("./frost/index.cjs");
6
- const require_registry = require("./registry-loI1_Mh1.cjs");
11
+ const require_registry = require("./registry-9puTaRrD.cjs");
7
12
  //#region src/index.ts
8
13
  /**
9
14
  * Initialize the library by registering all required CBOR tags.
@@ -20,13 +25,13 @@ async function registerTags() {
20
25
  }
21
26
  //#endregion
22
27
  exports.AddOutcome = require_registry_index.AddOutcome;
23
- exports.CollectionResult = require_cmd.CollectionResult;
28
+ exports.CollectionResult = require_parallel.CollectionResult;
24
29
  exports.ContributionPaths = require_registry_index.ContributionPaths;
25
- exports.DEFAULT_TIMEOUT_SECONDS = require_cmd.DEFAULT_TIMEOUT_SECONDS;
26
- exports.Direction = require_cmd.Direction;
30
+ exports.DEFAULT_TIMEOUT_SECONDS = require_parallel.DEFAULT_TIMEOUT_SECONDS;
31
+ exports.Direction = require_parallel.Direction;
27
32
  exports.DkgInvitation = require_dkg_index.DkgInvitation;
28
33
  exports.DkgInvite = require_dkg_index.DkgInvite;
29
- exports.DkgProposedParticipant = require_dkg_index.DkgProposedParticipant;
34
+ exports.DkgProposedParticipant = require_proposed_participant.DkgProposedParticipant;
30
35
  exports.GroupOutcome = require_registry_index.GroupOutcome;
31
36
  exports.GroupParticipant = require_registry_index.GroupParticipant;
32
37
  exports.GroupRecord = require_registry_index.GroupRecord;
@@ -36,36 +41,38 @@ exports.ParticipantRecord = require_registry_index.ParticipantRecord;
36
41
  exports.PendingRequests = require_registry_index.PendingRequests;
37
42
  exports.Registry = require_registry_index.Registry;
38
43
  exports.accepted = require_dkg_index.accepted;
39
- exports.buildFetchRequests = require_cmd.buildFetchRequests;
44
+ exports.buildFetchRequests = require_parallel.buildFetchRequests;
40
45
  exports.checkAridExists = require_cmd.checkAridExists;
41
- exports.createStorageClient = require_cmd.createStorageClient;
46
+ exports.compareXidBytes = require_proposed_participant.compareXidBytes;
47
+ exports.createStorageClient = require_storage.createStorageClient;
42
48
  exports.declined = require_dkg_index.declined;
43
- exports.directionEmoji = require_cmd.directionEmoji;
49
+ exports.directionEmoji = require_parallel.directionEmoji;
44
50
  Object.defineProperty(exports, "dkg", {
45
51
  enumerable: true,
46
52
  get: function() {
47
53
  return require_cmd.dkg_exports;
48
54
  }
49
55
  });
50
- exports.emptyCollectionResult = require_cmd.emptyCollectionResult;
51
- exports.fetchStatusError = require_cmd.fetchStatusError;
52
- exports.fetchStatusPending = require_cmd.fetchStatusPending;
53
- exports.fetchStatusRejected = require_cmd.fetchStatusRejected;
54
- exports.fetchStatusSuccess = require_cmd.fetchStatusSuccess;
55
- exports.fetchStatusTimeout = require_cmd.fetchStatusTimeout;
56
+ exports.emptyCollectionResult = require_parallel.emptyCollectionResult;
57
+ exports.fetchStatusError = require_parallel.fetchStatusError;
58
+ exports.fetchStatusPending = require_parallel.fetchStatusPending;
59
+ exports.fetchStatusRejected = require_parallel.fetchStatusRejected;
60
+ exports.fetchStatusSuccess = require_parallel.fetchStatusSuccess;
61
+ exports.fetchStatusTimeout = require_parallel.fetchStatusTimeout;
56
62
  Object.defineProperty(exports, "frost", {
57
63
  enumerable: true,
58
64
  get: function() {
59
65
  return require_frost_index.frost_exports;
60
66
  }
61
67
  });
62
- exports.getWithIndicator = require_cmd.getWithIndicator;
63
- exports.groupStateDir = require_cmd.groupStateDir;
64
- exports.isVerbose = require_cmd.isVerbose;
65
- exports.parallelFetch = require_cmd.parallelFetch;
66
- exports.parallelFetchConfigWithTimeout = require_cmd.parallelFetchConfigWithTimeout;
67
- exports.parallelSend = require_cmd.parallelSend;
68
- exports.putWithIndicator = require_cmd.putWithIndicator;
68
+ exports.getWithIndicator = require_busy.getWithIndicator;
69
+ exports.groupStateDir = require_common.groupStateDir;
70
+ exports.isVerbose = require_common.isVerbose;
71
+ exports.parallelFetch = require_parallel.parallelFetch;
72
+ exports.parallelFetchConfigWithTimeout = require_parallel.parallelFetchConfigWithTimeout;
73
+ exports.parallelSend = require_parallel.parallelSend;
74
+ exports.parseAridUr = require_common.parseAridUr;
75
+ exports.putWithIndicator = require_busy.putWithIndicator;
69
76
  exports.registerTags = registerTags;
70
77
  Object.defineProperty(exports, "registry", {
71
78
  enumerable: true,
@@ -74,12 +81,13 @@ Object.defineProperty(exports, "registry", {
74
81
  }
75
82
  });
76
83
  exports.resolveRegistryPath = require_registry_index.resolveRegistryPath;
77
- exports.setVerbose = require_cmd.setVerbose;
84
+ exports.setVerbose = require_common.setVerbose;
78
85
  Object.defineProperty(exports, "sign", {
79
86
  enumerable: true,
80
87
  get: function() {
81
88
  return require_cmd.sign_exports;
82
89
  }
83
90
  });
91
+ exports.signingKeyFromVerifying = require_common.signingKeyFromVerifying;
84
92
 
85
93
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/**\n * Copyright © 2023-2026 Blockchain Commons, LLC\n * Copyright © 2025-2026 Parity Technologies\n *\n *\n * FROST DKG and signing using Hubert as the distributed substrate.\n *\n * Port of lib.rs from frost-hubert-rust.\n *\n * @module\n */\n\n// Re-export DKG module\nexport * from \"./dkg/index.js\";\n\n// Re-export Registry module\nexport * from \"./registry/index.js\";\n\n// Re-export command module\nexport * from \"./cmd/index.js\";\n\n// Re-export FROST cryptographic operations\nexport * as frost from \"./frost/index.js\";\n\n// Type for modules that may have registerTags\ninterface TagModule {\n registerTags?: () => void;\n}\n\n/**\n * Initialize the library by registering all required CBOR tags.\n *\n * Port of `run()` tag registration from lib.rs lines 14-16.\n */\nexport async function registerTags(): Promise<void> {\n const components = (await import(\"@bcts/components\")) as TagModule;\n const envelope = (await import(\"@bcts/envelope\")) as TagModule;\n const provenanceMark = (await import(\"@bcts/provenance-mark\")) as TagModule;\n\n if (typeof components.registerTags === \"function\") {\n components.registerTags();\n }\n if (typeof envelope.registerTags === \"function\") {\n envelope.registerTags();\n }\n if (typeof provenanceMark.registerTags === \"function\") {\n provenanceMark.registerTags();\n }\n}\n"],"mappings":";;;;;;;;;;;;AAkCA,eAAsB,eAA8B;CAClD,MAAM,aAAc,MAAM,OAAO;CACjC,MAAM,WAAY,MAAM,OAAO;CAC/B,MAAM,iBAAkB,MAAM,OAAO;AAErC,KAAI,OAAO,WAAW,iBAAiB,WACrC,YAAW,cAAc;AAE3B,KAAI,OAAO,SAAS,iBAAiB,WACnC,UAAS,cAAc;AAEzB,KAAI,OAAO,eAAe,iBAAiB,WACzC,gBAAe,cAAc"}
1
+ {"version":3,"file":"index.cjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/**\n * Copyright © 2023-2026 Blockchain Commons, LLC\n * Copyright © 2025-2026 Parity Technologies\n *\n *\n * FROST DKG and signing using Hubert as the distributed substrate.\n *\n * Port of lib.rs from frost-hubert-rust.\n *\n * @module\n */\n\n// Re-export DKG module\nexport * from \"./dkg/index.js\";\n\n// Re-export Registry module\nexport * from \"./registry/index.js\";\n\n// Re-export command module\nexport * from \"./cmd/index.js\";\n\n// Re-export FROST cryptographic operations\nexport * as frost from \"./frost/index.js\";\n\n// Type for modules that may have registerTags\ninterface TagModule {\n registerTags?: () => void;\n}\n\n/**\n * Initialize the library by registering all required CBOR tags.\n *\n * Port of `run()` tag registration from lib.rs lines 14-16.\n */\nexport async function registerTags(): Promise<void> {\n const components = (await import(\"@bcts/components\")) as TagModule;\n const envelope = (await import(\"@bcts/envelope\")) as TagModule;\n const provenanceMark = (await import(\"@bcts/provenance-mark\")) as TagModule;\n\n if (typeof components.registerTags === \"function\") {\n components.registerTags();\n }\n if (typeof envelope.registerTags === \"function\") {\n envelope.registerTags();\n }\n if (typeof provenanceMark.registerTags === \"function\") {\n provenanceMark.registerTags();\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAkCA,eAAsB,eAA8B;CAClD,MAAM,aAAc,MAAM,OAAO;CACjC,MAAM,WAAY,MAAM,OAAO;CAC/B,MAAM,iBAAkB,MAAM,OAAO;AAErC,KAAI,OAAO,WAAW,iBAAiB,WACrC,YAAW,cAAc;AAE3B,KAAI,OAAO,SAAS,iBAAiB,WACnC,UAAS,cAAc;AAEzB,KAAI,OAAO,eAAe,iBAAiB,WACzC,gBAAe,cAAc"}
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { C as StorageClient, D as isVerbose, E as groupStateDir, O as setVerbose, S as putWithIndicator, T as createStorageClient, _ as fetchStatusTimeout, a as CollectionResult, b as parallelSend, c as FetchStatus, d as directionEmoji, f as emptyCollectionResult, g as fetchStatusSuccess, h as fetchStatusRejected, i as checkAridExists, l as ParallelFetchConfig, m as fetchStatusPending, n as index_d_exports$3, o as DEFAULT_TIMEOUT_SECONDS, p as fetchStatusError, r as index_d_exports, s as Direction, t as index_d_exports$2, u as buildFetchRequests, v as parallelFetch, w as StorageSelection, x as getWithIndicator, y as parallelFetchConfigWithTimeout } from "./index-BJlwbPYu.cjs";
2
- import { a as resolveRegistryPath, c as ContributionPaths, d as PendingRequests, i as Registry, l as GroupParticipant, n as GroupOutcome, o as ParticipantRecord, r as OwnerOutcome, s as OwnerRecord, t as AddOutcome, u as GroupRecord } from "./index-BMbPgH0W.cjs";
3
- import { a as declined, i as accepted, n as DkgInvitationResult, o as DkgProposedParticipant, r as DkgInvite, t as DkgInvitation } from "./index-DmxfT59Y.cjs";
1
+ import { a as resolveRegistryPath, c as ContributionPaths, d as PendingRequests, i as Registry, l as GroupParticipant, n as GroupOutcome, o as ParticipantRecord, r as OwnerOutcome, s as OwnerRecord, t as AddOutcome, u as GroupRecord } from "./index-C8QeHNwa.cjs";
2
+ import { A as signingKeyFromVerifying, C as StorageClient, D as isVerbose, E as groupStateDir, O as setVerbose, S as putWithIndicator, T as createStorageClient, _ as fetchStatusTimeout, a as CollectionResult, b as parallelSend, c as FetchStatus, d as directionEmoji, f as emptyCollectionResult, g as fetchStatusSuccess, h as fetchStatusRejected, i as checkAridExists, k as parseAridUr, l as ParallelFetchConfig, m as fetchStatusPending, n as index_d_exports$3, o as DEFAULT_TIMEOUT_SECONDS, p as fetchStatusError, r as index_d_exports, s as Direction, t as index_d_exports$2, u as buildFetchRequests, v as parallelFetch, w as StorageSelection, x as getWithIndicator, y as parallelFetchConfigWithTimeout } from "./index-F1iNEAJR.cjs";
3
+ import { a as declined, i as accepted, n as DkgInvitationResult, o as DkgProposedParticipant, r as DkgInvite, s as compareXidBytes, t as DkgInvitation } from "./index-B3c-80VS.cjs";
4
4
  import { t as index_d_exports$1 } from "./frost/index.cjs";
5
5
 
6
6
  //#region src/index.d.ts
@@ -11,5 +11,5 @@ import { t as index_d_exports$1 } from "./frost/index.cjs";
11
11
  */
12
12
  declare function registerTags(): Promise<void>;
13
13
  //#endregion
14
- export { AddOutcome, CollectionResult, ContributionPaths, DEFAULT_TIMEOUT_SECONDS, Direction, DkgInvitation, DkgInvitationResult, DkgInvite, DkgProposedParticipant, FetchStatus, GroupOutcome, GroupParticipant, GroupRecord, OwnerOutcome, OwnerRecord, ParallelFetchConfig, ParticipantRecord, PendingRequests, Registry, StorageClient, StorageSelection, accepted, buildFetchRequests, checkAridExists, createStorageClient, declined, directionEmoji, index_d_exports as dkg, emptyCollectionResult, fetchStatusError, fetchStatusPending, fetchStatusRejected, fetchStatusSuccess, fetchStatusTimeout, index_d_exports$1 as frost, getWithIndicator, groupStateDir, isVerbose, parallelFetch, parallelFetchConfigWithTimeout, parallelSend, putWithIndicator, registerTags, index_d_exports$2 as registry, resolveRegistryPath, setVerbose, index_d_exports$3 as sign };
14
+ export { AddOutcome, CollectionResult, ContributionPaths, DEFAULT_TIMEOUT_SECONDS, Direction, DkgInvitation, DkgInvitationResult, DkgInvite, DkgProposedParticipant, FetchStatus, GroupOutcome, GroupParticipant, GroupRecord, OwnerOutcome, OwnerRecord, ParallelFetchConfig, ParticipantRecord, PendingRequests, Registry, StorageClient, StorageSelection, accepted, buildFetchRequests, checkAridExists, compareXidBytes, createStorageClient, declined, directionEmoji, index_d_exports as dkg, emptyCollectionResult, fetchStatusError, fetchStatusPending, fetchStatusRejected, fetchStatusSuccess, fetchStatusTimeout, index_d_exports$1 as frost, getWithIndicator, groupStateDir, isVerbose, parallelFetch, parallelFetchConfigWithTimeout, parallelSend, parseAridUr, putWithIndicator, registerTags, index_d_exports$2 as registry, resolveRegistryPath, setVerbose, index_d_exports$3 as sign, signingKeyFromVerifying };
15
15
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { C as StorageClient, D as isVerbose, E as groupStateDir, O as setVerbose, S as putWithIndicator, T as createStorageClient, _ as fetchStatusTimeout, a as CollectionResult, b as parallelSend, c as FetchStatus, d as directionEmoji, f as emptyCollectionResult, g as fetchStatusSuccess, h as fetchStatusRejected, i as checkAridExists, l as ParallelFetchConfig, m as fetchStatusPending, n as index_d_exports$3, o as DEFAULT_TIMEOUT_SECONDS, p as fetchStatusError, r as index_d_exports, s as Direction, t as index_d_exports$2, u as buildFetchRequests, v as parallelFetch, w as StorageSelection, x as getWithIndicator, y as parallelFetchConfigWithTimeout } from "./index-Dzm1v4_4.mjs";
2
- import { a as resolveRegistryPath, c as ContributionPaths, d as PendingRequests, i as Registry, l as GroupParticipant, n as GroupOutcome, o as ParticipantRecord, r as OwnerOutcome, s as OwnerRecord, t as AddOutcome, u as GroupRecord } from "./index-DoV5HFvV.mjs";
3
- import { a as declined, i as accepted, n as DkgInvitationResult, o as DkgProposedParticipant, r as DkgInvite, t as DkgInvitation } from "./index-BkqLimZT.mjs";
1
+ import { a as resolveRegistryPath, c as ContributionPaths, d as PendingRequests, i as Registry, l as GroupParticipant, n as GroupOutcome, o as ParticipantRecord, r as OwnerOutcome, s as OwnerRecord, t as AddOutcome, u as GroupRecord } from "./index-DVbWyOs7.mjs";
2
+ import { A as signingKeyFromVerifying, C as StorageClient, D as isVerbose, E as groupStateDir, O as setVerbose, S as putWithIndicator, T as createStorageClient, _ as fetchStatusTimeout, a as CollectionResult, b as parallelSend, c as FetchStatus, d as directionEmoji, f as emptyCollectionResult, g as fetchStatusSuccess, h as fetchStatusRejected, i as checkAridExists, k as parseAridUr, l as ParallelFetchConfig, m as fetchStatusPending, n as index_d_exports$3, o as DEFAULT_TIMEOUT_SECONDS, p as fetchStatusError, r as index_d_exports, s as Direction, t as index_d_exports$2, u as buildFetchRequests, v as parallelFetch, w as StorageSelection, x as getWithIndicator, y as parallelFetchConfigWithTimeout } from "./index-BgbSGpxn.mjs";
3
+ import { a as declined, i as accepted, n as DkgInvitationResult, o as DkgProposedParticipant, r as DkgInvite, s as compareXidBytes, t as DkgInvitation } from "./index-D3QTWkEm.mjs";
4
4
  import { t as index_d_exports$1 } from "./frost/index.mjs";
5
5
 
6
6
  //#region src/index.d.ts
@@ -11,5 +11,5 @@ import { t as index_d_exports$1 } from "./frost/index.mjs";
11
11
  */
12
12
  declare function registerTags(): Promise<void>;
13
13
  //#endregion
14
- export { AddOutcome, CollectionResult, ContributionPaths, DEFAULT_TIMEOUT_SECONDS, Direction, DkgInvitation, DkgInvitationResult, DkgInvite, DkgProposedParticipant, FetchStatus, GroupOutcome, GroupParticipant, GroupRecord, OwnerOutcome, OwnerRecord, ParallelFetchConfig, ParticipantRecord, PendingRequests, Registry, StorageClient, StorageSelection, accepted, buildFetchRequests, checkAridExists, createStorageClient, declined, directionEmoji, index_d_exports as dkg, emptyCollectionResult, fetchStatusError, fetchStatusPending, fetchStatusRejected, fetchStatusSuccess, fetchStatusTimeout, index_d_exports$1 as frost, getWithIndicator, groupStateDir, isVerbose, parallelFetch, parallelFetchConfigWithTimeout, parallelSend, putWithIndicator, registerTags, index_d_exports$2 as registry, resolveRegistryPath, setVerbose, index_d_exports$3 as sign };
14
+ export { AddOutcome, CollectionResult, ContributionPaths, DEFAULT_TIMEOUT_SECONDS, Direction, DkgInvitation, DkgInvitationResult, DkgInvite, DkgProposedParticipant, FetchStatus, GroupOutcome, GroupParticipant, GroupRecord, OwnerOutcome, OwnerRecord, ParallelFetchConfig, ParticipantRecord, PendingRequests, Registry, StorageClient, StorageSelection, accepted, buildFetchRequests, checkAridExists, compareXidBytes, createStorageClient, declined, directionEmoji, index_d_exports as dkg, emptyCollectionResult, fetchStatusError, fetchStatusPending, fetchStatusRejected, fetchStatusSuccess, fetchStatusTimeout, index_d_exports$1 as frost, getWithIndicator, groupStateDir, isVerbose, parallelFetch, parallelFetchConfigWithTimeout, parallelSend, parseAridUr, putWithIndicator, registerTags, index_d_exports$2 as registry, resolveRegistryPath, setVerbose, index_d_exports$3 as sign, signingKeyFromVerifying };
15
15
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -1,8 +1,13 @@
1
- import { DkgInvitation, DkgInvite, DkgProposedParticipant, accepted, declined } from "./dkg/index.mjs";
1
+ import { n as compareXidBytes, t as DkgProposedParticipant } from "./proposed-participant-cWM7iUrO.mjs";
2
+ import { DkgInvitation, DkgInvite, accepted, declined } from "./dkg/index.mjs";
2
3
  import { AddOutcome, ContributionPaths, GroupOutcome, GroupParticipant, GroupRecord, OwnerOutcome, OwnerRecord, ParticipantRecord, PendingRequests, Registry, resolveRegistryPath } from "./registry/index.mjs";
3
- import { C as setVerbose, S as isVerbose, _ as parallelFetchConfigWithTimeout, a as CollectionResult, b as putWithIndicator, c as buildFetchRequests, d as fetchStatusError, f as fetchStatusPending, g as parallelFetch, h as fetchStatusTimeout, i as createStorageClient, l as directionEmoji, m as fetchStatusSuccess, n as dkg_exports, o as DEFAULT_TIMEOUT_SECONDS, p as fetchStatusRejected, r as checkAridExists, s as Direction, t as sign_exports, u as emptyCollectionResult, v as parallelSend, x as groupStateDir, y as getWithIndicator } from "./cmd-5yLeC_QL.mjs";
4
+ import { c as parseAridUr, h as signingKeyFromVerifying, n as isVerbose, r as setVerbose, t as groupStateDir } from "./common-CvH6dFvQ.mjs";
5
+ import { n as putWithIndicator, t as getWithIndicator } from "./busy-DkM2jAIZ.mjs";
6
+ import { a as directionEmoji, c as fetchStatusPending, d as fetchStatusTimeout, f as parallelFetch, i as buildFetchRequests, l as fetchStatusRejected, m as parallelSend, n as DEFAULT_TIMEOUT_SECONDS, o as emptyCollectionResult, p as parallelFetchConfigWithTimeout, r as Direction, s as fetchStatusError, t as CollectionResult, u as fetchStatusSuccess } from "./parallel-D6zc6VW4.mjs";
7
+ import { t as createStorageClient } from "./storage-Bkkliz0K.mjs";
8
+ import { n as dkg_exports, r as checkAridExists, t as sign_exports } from "./cmd-CS1uJtuD.mjs";
4
9
  import { t as frost_exports } from "./frost/index.mjs";
5
- import { t as registry_exports } from "./registry-CgrCZ4En.mjs";
10
+ import { t as registry_exports } from "./registry-BpCwtrRt.mjs";
6
11
  //#region src/index.ts
7
12
  /**
8
13
  * Initialize the library by registering all required CBOR tags.
@@ -18,6 +23,6 @@ async function registerTags() {
18
23
  if (typeof provenanceMark.registerTags === "function") provenanceMark.registerTags();
19
24
  }
20
25
  //#endregion
21
- export { AddOutcome, CollectionResult, ContributionPaths, DEFAULT_TIMEOUT_SECONDS, Direction, DkgInvitation, DkgInvite, DkgProposedParticipant, GroupOutcome, GroupParticipant, GroupRecord, OwnerOutcome, OwnerRecord, ParticipantRecord, PendingRequests, Registry, accepted, buildFetchRequests, checkAridExists, createStorageClient, declined, directionEmoji, dkg_exports as dkg, emptyCollectionResult, fetchStatusError, fetchStatusPending, fetchStatusRejected, fetchStatusSuccess, fetchStatusTimeout, frost_exports as frost, getWithIndicator, groupStateDir, isVerbose, parallelFetch, parallelFetchConfigWithTimeout, parallelSend, putWithIndicator, registerTags, registry_exports as registry, resolveRegistryPath, setVerbose, sign_exports as sign };
26
+ export { AddOutcome, CollectionResult, ContributionPaths, DEFAULT_TIMEOUT_SECONDS, Direction, DkgInvitation, DkgInvite, DkgProposedParticipant, GroupOutcome, GroupParticipant, GroupRecord, OwnerOutcome, OwnerRecord, ParticipantRecord, PendingRequests, Registry, accepted, buildFetchRequests, checkAridExists, compareXidBytes, createStorageClient, declined, directionEmoji, dkg_exports as dkg, emptyCollectionResult, fetchStatusError, fetchStatusPending, fetchStatusRejected, fetchStatusSuccess, fetchStatusTimeout, frost_exports as frost, getWithIndicator, groupStateDir, isVerbose, parallelFetch, parallelFetchConfigWithTimeout, parallelSend, parseAridUr, putWithIndicator, registerTags, registry_exports as registry, resolveRegistryPath, setVerbose, sign_exports as sign, signingKeyFromVerifying };
22
27
 
23
28
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/**\n * Copyright © 2023-2026 Blockchain Commons, LLC\n * Copyright © 2025-2026 Parity Technologies\n *\n *\n * FROST DKG and signing using Hubert as the distributed substrate.\n *\n * Port of lib.rs from frost-hubert-rust.\n *\n * @module\n */\n\n// Re-export DKG module\nexport * from \"./dkg/index.js\";\n\n// Re-export Registry module\nexport * from \"./registry/index.js\";\n\n// Re-export command module\nexport * from \"./cmd/index.js\";\n\n// Re-export FROST cryptographic operations\nexport * as frost from \"./frost/index.js\";\n\n// Type for modules that may have registerTags\ninterface TagModule {\n registerTags?: () => void;\n}\n\n/**\n * Initialize the library by registering all required CBOR tags.\n *\n * Port of `run()` tag registration from lib.rs lines 14-16.\n */\nexport async function registerTags(): Promise<void> {\n const components = (await import(\"@bcts/components\")) as TagModule;\n const envelope = (await import(\"@bcts/envelope\")) as TagModule;\n const provenanceMark = (await import(\"@bcts/provenance-mark\")) as TagModule;\n\n if (typeof components.registerTags === \"function\") {\n components.registerTags();\n }\n if (typeof envelope.registerTags === \"function\") {\n envelope.registerTags();\n }\n if (typeof provenanceMark.registerTags === \"function\") {\n provenanceMark.registerTags();\n }\n}\n"],"mappings":";;;;;;;;;;;AAkCA,eAAsB,eAA8B;CAClD,MAAM,aAAc,MAAM,OAAO;CACjC,MAAM,WAAY,MAAM,OAAO;CAC/B,MAAM,iBAAkB,MAAM,OAAO;AAErC,KAAI,OAAO,WAAW,iBAAiB,WACrC,YAAW,cAAc;AAE3B,KAAI,OAAO,SAAS,iBAAiB,WACnC,UAAS,cAAc;AAEzB,KAAI,OAAO,eAAe,iBAAiB,WACzC,gBAAe,cAAc"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/**\n * Copyright © 2023-2026 Blockchain Commons, LLC\n * Copyright © 2025-2026 Parity Technologies\n *\n *\n * FROST DKG and signing using Hubert as the distributed substrate.\n *\n * Port of lib.rs from frost-hubert-rust.\n *\n * @module\n */\n\n// Re-export DKG module\nexport * from \"./dkg/index.js\";\n\n// Re-export Registry module\nexport * from \"./registry/index.js\";\n\n// Re-export command module\nexport * from \"./cmd/index.js\";\n\n// Re-export FROST cryptographic operations\nexport * as frost from \"./frost/index.js\";\n\n// Type for modules that may have registerTags\ninterface TagModule {\n registerTags?: () => void;\n}\n\n/**\n * Initialize the library by registering all required CBOR tags.\n *\n * Port of `run()` tag registration from lib.rs lines 14-16.\n */\nexport async function registerTags(): Promise<void> {\n const components = (await import(\"@bcts/components\")) as TagModule;\n const envelope = (await import(\"@bcts/envelope\")) as TagModule;\n const provenanceMark = (await import(\"@bcts/provenance-mark\")) as TagModule;\n\n if (typeof components.registerTags === \"function\") {\n components.registerTags();\n }\n if (typeof envelope.registerTags === \"function\") {\n envelope.registerTags();\n }\n if (typeof provenanceMark.registerTags === \"function\") {\n provenanceMark.registerTags();\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAkCA,eAAsB,eAA8B;CAClD,MAAM,aAAc,MAAM,OAAO;CACjC,MAAM,WAAY,MAAM,OAAO;CAC/B,MAAM,iBAAkB,MAAM,OAAO;AAErC,KAAI,OAAO,WAAW,iBAAiB,WACrC,YAAW,cAAc;AAE3B,KAAI,OAAO,SAAS,iBAAiB,WACnC,UAAS,cAAc;AAEzB,KAAI,OAAO,eAAe,iBAAiB,WACzC,gBAAe,cAAc"}