@bcts/frost-hubert 1.0.0-alpha.22 → 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 (174) hide show
  1. package/dist/bin/frost.cjs +347 -75
  2. package/dist/bin/frost.cjs.map +1 -1
  3. package/dist/bin/frost.mjs +347 -75
  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/{chunk-uaV2rQ02.cjs → chunk-CZWwpsFl.cjs} +22 -32
  10. package/dist/{chunk-ClPoSABd.mjs → chunk-CjcI7cDX.mjs} +6 -12
  11. package/dist/cmd/index.cjs +46 -43
  12. package/dist/cmd/index.d.cts +2 -4
  13. package/dist/cmd/index.d.mts +2 -4
  14. package/dist/cmd/index.mjs +7 -6
  15. package/dist/cmd-Bw9_i2_f.cjs +130 -0
  16. package/dist/cmd-Bw9_i2_f.cjs.map +1 -0
  17. package/dist/cmd-CS1uJtuD.mjs +113 -0
  18. package/dist/cmd-CS1uJtuD.mjs.map +1 -0
  19. package/dist/common-CvH6dFvQ.mjs +282 -0
  20. package/dist/common-CvH6dFvQ.mjs.map +1 -0
  21. package/dist/common-DUWvtc08.mjs +96 -0
  22. package/dist/common-DUWvtc08.mjs.map +1 -0
  23. package/dist/common-lKP5EzHy.cjs +372 -0
  24. package/dist/common-lKP5EzHy.cjs.map +1 -0
  25. package/dist/common-lThIvJmZ.cjs +114 -0
  26. package/dist/common-lThIvJmZ.cjs.map +1 -0
  27. package/dist/dkg/index.cjs +245 -7
  28. package/dist/dkg/index.cjs.map +1 -0
  29. package/dist/dkg/index.d.cts +2 -2
  30. package/dist/dkg/index.d.mts +2 -2
  31. package/dist/dkg/index.mjs +238 -2
  32. package/dist/dkg/index.mjs.map +1 -0
  33. package/dist/finalize-BRgJK-Xv.cjs +402 -0
  34. package/dist/finalize-BRgJK-Xv.cjs.map +1 -0
  35. package/dist/finalize-BfLgzn8f.cjs +303 -0
  36. package/dist/finalize-BfLgzn8f.cjs.map +1 -0
  37. package/dist/finalize-CNTDj6aS.mjs +389 -0
  38. package/dist/finalize-CNTDj6aS.mjs.map +1 -0
  39. package/dist/finalize-EC3ikHQq.mjs +252 -0
  40. package/dist/finalize-EC3ikHQq.mjs.map +1 -0
  41. package/dist/finalize-IA01t_Qq.mjs +290 -0
  42. package/dist/finalize-IA01t_Qq.mjs.map +1 -0
  43. package/dist/finalize-UPyI1yb1.cjs +265 -0
  44. package/dist/finalize-UPyI1yb1.cjs.map +1 -0
  45. package/dist/frost/index.cjs +8 -9
  46. package/dist/frost/index.cjs.map +1 -1
  47. package/dist/frost/index.mjs +2 -3
  48. package/dist/frost/index.mjs.map +1 -1
  49. package/dist/{group-invite-Dz1Jmiky.d.cts → index-B3c-80VS.d.cts} +25 -2
  50. package/dist/index-B3c-80VS.d.cts.map +1 -0
  51. package/dist/{index-CcvTi5EA.d.cts → index-BgbSGpxn.d.mts} +102 -80
  52. package/dist/index-BgbSGpxn.d.mts.map +1 -0
  53. package/dist/{registry-impl-CE76sTXQ.d.cts → index-C8QeHNwa.d.cts} +46 -2
  54. package/dist/index-C8QeHNwa.d.cts.map +1 -0
  55. package/dist/{group-invite-Wk9CIbHL.d.mts → index-D3QTWkEm.d.mts} +25 -2
  56. package/dist/index-D3QTWkEm.d.mts.map +1 -0
  57. package/dist/{registry-impl-BETn_lEO.d.mts → index-DVbWyOs7.d.mts} +46 -2
  58. package/dist/index-DVbWyOs7.d.mts.map +1 -0
  59. package/dist/{index-DNCPeLNM.d.mts → index-F1iNEAJR.d.cts} +102 -80
  60. package/dist/index-F1iNEAJR.d.cts.map +1 -0
  61. package/dist/index.cjs +72 -68
  62. package/dist/index.cjs.map +1 -1
  63. package/dist/index.d.cts +4 -7
  64. package/dist/index.d.cts.map +1 -1
  65. package/dist/index.d.mts +4 -7
  66. package/dist/index.d.mts.map +1 -1
  67. package/dist/index.mjs +11 -10
  68. package/dist/index.mjs.map +1 -1
  69. package/dist/invite-5277FQVT.cjs +274 -0
  70. package/dist/invite-5277FQVT.cjs.map +1 -0
  71. package/dist/invite-DUTcfTgX.cjs +109 -0
  72. package/dist/invite-DUTcfTgX.cjs.map +1 -0
  73. package/dist/invite-IU4n0dq2.mjs +96 -0
  74. package/dist/invite-IU4n0dq2.mjs.map +1 -0
  75. package/dist/invite-RU-OXTNS.mjs +219 -0
  76. package/dist/invite-RU-OXTNS.mjs.map +1 -0
  77. package/dist/parallel-D1R6ZGlY.cjs +318 -0
  78. package/dist/parallel-D1R6ZGlY.cjs.map +1 -0
  79. package/dist/parallel-D6zc6VW4.mjs +235 -0
  80. package/dist/parallel-D6zc6VW4.mjs.map +1 -0
  81. package/dist/proposed-participant-Dm1Eq6mX.cjs +141 -0
  82. package/dist/proposed-participant-Dm1Eq6mX.cjs.map +1 -0
  83. package/dist/proposed-participant-cWM7iUrO.mjs +129 -0
  84. package/dist/proposed-participant-cWM7iUrO.mjs.map +1 -0
  85. package/dist/receive-CAI-x4II.cjs +213 -0
  86. package/dist/receive-CAI-x4II.cjs.map +1 -0
  87. package/dist/receive-D2Nn68L7.mjs +188 -0
  88. package/dist/receive-D2Nn68L7.mjs.map +1 -0
  89. package/dist/receive-DA_KQEgk.mjs +177 -0
  90. package/dist/receive-DA_KQEgk.mjs.map +1 -0
  91. package/dist/receive-kZMsXhbK.cjs +190 -0
  92. package/dist/receive-kZMsXhbK.cjs.map +1 -0
  93. package/dist/registry/index.cjs +881 -13
  94. package/dist/registry/index.cjs.map +1 -0
  95. package/dist/registry/index.d.cts +1 -1
  96. package/dist/registry/index.d.mts +1 -1
  97. package/dist/registry/index.mjs +867 -2
  98. package/dist/registry/index.mjs.map +1 -0
  99. package/dist/{registry-FMU-ec5K.cjs → registry-9puTaRrD.cjs} +28 -31
  100. package/dist/registry-9puTaRrD.cjs.map +1 -0
  101. package/dist/{registry-BDnNV1Rk.mjs → registry-BpCwtrRt.mjs} +7 -10
  102. package/dist/{registry-BDnNV1Rk.mjs.map → registry-BpCwtrRt.mjs.map} +1 -1
  103. package/dist/round1-4Hyx8w0x.cjs +422 -0
  104. package/dist/round1-4Hyx8w0x.cjs.map +1 -0
  105. package/dist/round1-7v9LlE11.mjs +373 -0
  106. package/dist/round1-7v9LlE11.mjs.map +1 -0
  107. package/dist/round1-BHBjru1m.cjs +465 -0
  108. package/dist/round1-BHBjru1m.cjs.map +1 -0
  109. package/dist/round1-CMLKN2RR.mjs +195 -0
  110. package/dist/round1-CMLKN2RR.mjs.map +1 -0
  111. package/dist/round1-CWSXZx5R.cjs +208 -0
  112. package/dist/round1-CWSXZx5R.cjs.map +1 -0
  113. package/dist/round1-CcQCGlIT.mjs +208 -0
  114. package/dist/round1-CcQCGlIT.mjs.map +1 -0
  115. package/dist/round1-Cgm7j1kI.mjs +452 -0
  116. package/dist/round1-Cgm7j1kI.mjs.map +1 -0
  117. package/dist/round1-DQ0fnc1H.cjs +221 -0
  118. package/dist/round1-DQ0fnc1H.cjs.map +1 -0
  119. package/dist/round2-BWz9SQIi.cjs +305 -0
  120. package/dist/round2-BWz9SQIi.cjs.map +1 -0
  121. package/dist/round2-BkNRCXgS.mjs +292 -0
  122. package/dist/round2-BkNRCXgS.mjs.map +1 -0
  123. package/dist/round2-Bl2uK93U.mjs +450 -0
  124. package/dist/round2-Bl2uK93U.mjs.map +1 -0
  125. package/dist/round2-CdUT-AhH.cjs +499 -0
  126. package/dist/round2-CdUT-AhH.cjs.map +1 -0
  127. package/dist/round2-DOA3rnV-.mjs +280 -0
  128. package/dist/round2-DOA3rnV-.mjs.map +1 -0
  129. package/dist/round2-Dg24w-TU.mjs +397 -0
  130. package/dist/round2-Dg24w-TU.mjs.map +1 -0
  131. package/dist/round2-LylCa84n.cjs +293 -0
  132. package/dist/round2-LylCa84n.cjs.map +1 -0
  133. package/dist/round2-o2Q-GMbX.cjs +410 -0
  134. package/dist/round2-o2Q-GMbX.cjs.map +1 -0
  135. package/dist/storage-B-Gu68-O.cjs +79 -0
  136. package/dist/storage-B-Gu68-O.cjs.map +1 -0
  137. package/dist/storage-Bkkliz0K.mjs +74 -0
  138. package/dist/storage-Bkkliz0K.mjs.map +1 -0
  139. package/package.json +17 -17
  140. package/src/bin/frost.ts +849 -128
  141. package/src/cmd/common.ts +19 -1
  142. package/src/cmd/dkg/common.ts +97 -10
  143. package/src/cmd/dkg/coordinator/invite.ts +5 -2
  144. package/src/cmd/dkg/participant/finalize.ts +52 -18
  145. package/src/cmd/dkg/participant/round1.ts +39 -38
  146. package/src/cmd/dkg/participant/round2.ts +60 -26
  147. package/src/cmd/sign/coordinator/round2.ts +5 -1
  148. package/src/cmd/sign/participant/finalize.ts +6 -2
  149. package/src/cmd/sign/participant/receive.ts +5 -2
  150. package/src/dkg/group-invite.ts +12 -2
  151. package/src/dkg/proposed-participant.ts +33 -5
  152. package/src/frost/index.ts +1 -1
  153. package/src/registry/owner-record.ts +13 -2
  154. package/src/registry/participant-record.ts +36 -4
  155. package/src/registry/registry-impl.ts +74 -18
  156. package/dist/group-invite-CrbOabFL.cjs +0 -368
  157. package/dist/group-invite-CrbOabFL.cjs.map +0 -1
  158. package/dist/group-invite-Dz1Jmiky.d.cts.map +0 -1
  159. package/dist/group-invite-RPElq-fm.mjs +0 -338
  160. package/dist/group-invite-RPElq-fm.mjs.map +0 -1
  161. package/dist/group-invite-Wk9CIbHL.d.mts.map +0 -1
  162. package/dist/index-CcvTi5EA.d.cts.map +0 -1
  163. package/dist/index-DNCPeLNM.d.mts.map +0 -1
  164. package/dist/registry-FMU-ec5K.cjs.map +0 -1
  165. package/dist/registry-impl-BETn_lEO.d.mts.map +0 -1
  166. package/dist/registry-impl-C7w4awTv.cjs +0 -865
  167. package/dist/registry-impl-C7w4awTv.cjs.map +0 -1
  168. package/dist/registry-impl-CE76sTXQ.d.cts.map +0 -1
  169. package/dist/registry-impl-eYXVSPwM.mjs +0 -797
  170. package/dist/registry-impl-eYXVSPwM.mjs.map +0 -1
  171. package/dist/sign-2bOp18Fs.cjs +0 -4875
  172. package/dist/sign-2bOp18Fs.cjs.map +0 -1
  173. package/dist/sign-D8C3HJ4B.mjs +0 -4736
  174. package/dist/sign-D8C3HJ4B.mjs.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 "./registry-impl-BETn_lEO.mjs";
2
- import { t as DkgInvitation } from "./group-invite-Wk9CIbHL.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-DNCPeLNM.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,EAAK,iBAAA;;;;;;iBAwDO,iBAAA,CAAkB,QAAA,EAAU,QAAA,EAAU,MAAA,EAAQ,WAAA;;;AA0C9D;;;iBAbgB,sBAAA,CACd,QAAA,EAAU,QAAA,EACV,KAAA,EAAO,WAAA,EACP,YAAA,EAAc,WAAA,KACb,gBAAA;;;;;;iBASa,4BAAA,CACd,QAAA,EAAU,QAAA,EACV,KAAA,EAAO,WAAA,EACP,QAAA,EAAU,WAAA,GACT,gBAAA;;;;;;iBAyBa,yBAAA,CAA0B,IAAA,UAAc,OAAA;;;AAAxD;;;iBASgB,4BAAA,CACd,QAAA,EAAU,QAAA,EACV,YAAA,EAAc,WAAA,IACd,QAAA,EAAU,GAAA,EACV,YAAA;;AAJF;;;;iBAsCgB,WAAA,CAAY,YAAA,UAAsB,UAAA;;;;;;iBAUlC,uBAAA,CAAwB,iBAAA,EAAmB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AA,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,13 +1,14 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_group_invite = require('./group-invite-CrbOabFL.cjs');
3
- require('./dkg/index.cjs');
4
- const require_registry_impl = require('./registry-impl-C7w4awTv.cjs');
5
- require('./registry/index.cjs');
6
- const require_sign = require('./sign-2bOp18Fs.cjs');
7
- const require_frost_index = require('./frost/index.cjs');
8
- const require_registry = require('./registry-FMU-ec5K.cjs');
9
- require('./cmd/index.cjs');
10
-
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_proposed_participant = require("./proposed-participant-Dm1Eq6mX.cjs");
3
+ const require_dkg_index = require("./dkg/index.cjs");
4
+ const require_registry_index = require("./registry/index.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");
10
+ const require_frost_index = require("./frost/index.cjs");
11
+ const require_registry = require("./registry-9puTaRrD.cjs");
11
12
  //#region src/index.ts
12
13
  /**
13
14
  * Initialize the library by registering all required CBOR tags.
@@ -22,68 +23,71 @@ async function registerTags() {
22
23
  if (typeof envelope.registerTags === "function") envelope.registerTags();
23
24
  if (typeof provenanceMark.registerTags === "function") provenanceMark.registerTags();
24
25
  }
25
-
26
26
  //#endregion
27
- exports.AddOutcome = require_registry_impl.AddOutcome;
28
- exports.CollectionResult = require_sign.CollectionResult;
29
- exports.ContributionPaths = require_registry_impl.ContributionPaths;
30
- exports.DEFAULT_TIMEOUT_SECONDS = require_sign.DEFAULT_TIMEOUT_SECONDS;
31
- exports.Direction = require_sign.Direction;
32
- exports.DkgInvitation = require_group_invite.DkgInvitation;
33
- exports.DkgInvite = require_group_invite.DkgInvite;
34
- exports.DkgProposedParticipant = require_group_invite.DkgProposedParticipant;
35
- exports.GroupOutcome = require_registry_impl.GroupOutcome;
36
- exports.GroupParticipant = require_registry_impl.GroupParticipant;
37
- exports.GroupRecord = require_registry_impl.GroupRecord;
38
- exports.OwnerOutcome = require_registry_impl.OwnerOutcome;
39
- exports.OwnerRecord = require_registry_impl.OwnerRecord;
40
- exports.ParticipantRecord = require_registry_impl.ParticipantRecord;
41
- exports.PendingRequests = require_registry_impl.PendingRequests;
42
- exports.Registry = require_registry_impl.Registry;
43
- exports.accepted = require_group_invite.accepted;
44
- exports.buildFetchRequests = require_sign.buildFetchRequests;
45
- exports.checkAridExists = require_sign.checkAridExists;
46
- exports.createStorageClient = require_sign.createStorageClient;
47
- exports.declined = require_group_invite.declined;
48
- exports.directionEmoji = require_sign.directionEmoji;
49
- Object.defineProperty(exports, 'dkg', {
50
- enumerable: true,
51
- get: function () {
52
- return require_sign.dkg_exports;
53
- }
27
+ exports.AddOutcome = require_registry_index.AddOutcome;
28
+ exports.CollectionResult = require_parallel.CollectionResult;
29
+ exports.ContributionPaths = require_registry_index.ContributionPaths;
30
+ exports.DEFAULT_TIMEOUT_SECONDS = require_parallel.DEFAULT_TIMEOUT_SECONDS;
31
+ exports.Direction = require_parallel.Direction;
32
+ exports.DkgInvitation = require_dkg_index.DkgInvitation;
33
+ exports.DkgInvite = require_dkg_index.DkgInvite;
34
+ exports.DkgProposedParticipant = require_proposed_participant.DkgProposedParticipant;
35
+ exports.GroupOutcome = require_registry_index.GroupOutcome;
36
+ exports.GroupParticipant = require_registry_index.GroupParticipant;
37
+ exports.GroupRecord = require_registry_index.GroupRecord;
38
+ exports.OwnerOutcome = require_registry_index.OwnerOutcome;
39
+ exports.OwnerRecord = require_registry_index.OwnerRecord;
40
+ exports.ParticipantRecord = require_registry_index.ParticipantRecord;
41
+ exports.PendingRequests = require_registry_index.PendingRequests;
42
+ exports.Registry = require_registry_index.Registry;
43
+ exports.accepted = require_dkg_index.accepted;
44
+ exports.buildFetchRequests = require_parallel.buildFetchRequests;
45
+ exports.checkAridExists = require_cmd.checkAridExists;
46
+ exports.compareXidBytes = require_proposed_participant.compareXidBytes;
47
+ exports.createStorageClient = require_storage.createStorageClient;
48
+ exports.declined = require_dkg_index.declined;
49
+ exports.directionEmoji = require_parallel.directionEmoji;
50
+ Object.defineProperty(exports, "dkg", {
51
+ enumerable: true,
52
+ get: function() {
53
+ return require_cmd.dkg_exports;
54
+ }
54
55
  });
55
- exports.emptyCollectionResult = require_sign.emptyCollectionResult;
56
- exports.fetchStatusError = require_sign.fetchStatusError;
57
- exports.fetchStatusPending = require_sign.fetchStatusPending;
58
- exports.fetchStatusRejected = require_sign.fetchStatusRejected;
59
- exports.fetchStatusSuccess = require_sign.fetchStatusSuccess;
60
- exports.fetchStatusTimeout = require_sign.fetchStatusTimeout;
61
- Object.defineProperty(exports, 'frost', {
62
- enumerable: true,
63
- get: function () {
64
- return require_frost_index.frost_exports;
65
- }
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;
62
+ Object.defineProperty(exports, "frost", {
63
+ enumerable: true,
64
+ get: function() {
65
+ return require_frost_index.frost_exports;
66
+ }
66
67
  });
67
- exports.getWithIndicator = require_sign.getWithIndicator;
68
- exports.groupStateDir = require_sign.groupStateDir;
69
- exports.isVerbose = require_sign.isVerbose;
70
- exports.parallelFetch = require_sign.parallelFetch;
71
- exports.parallelFetchConfigWithTimeout = require_sign.parallelFetchConfigWithTimeout;
72
- exports.parallelSend = require_sign.parallelSend;
73
- exports.putWithIndicator = require_sign.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;
74
76
  exports.registerTags = registerTags;
75
- Object.defineProperty(exports, 'registry', {
76
- enumerable: true,
77
- get: function () {
78
- return require_registry.registry_exports;
79
- }
77
+ Object.defineProperty(exports, "registry", {
78
+ enumerable: true,
79
+ get: function() {
80
+ return require_registry.registry_exports;
81
+ }
80
82
  });
81
- exports.resolveRegistryPath = require_registry_impl.resolveRegistryPath;
82
- exports.setVerbose = require_sign.setVerbose;
83
- Object.defineProperty(exports, 'sign', {
84
- enumerable: true,
85
- get: function () {
86
- return require_sign.sign_exports;
87
- }
83
+ exports.resolveRegistryPath = require_registry_index.resolveRegistryPath;
84
+ exports.setVerbose = require_common.setVerbose;
85
+ Object.defineProperty(exports, "sign", {
86
+ enumerable: true,
87
+ get: function() {
88
+ return require_cmd.sign_exports;
89
+ }
88
90
  });
91
+ exports.signingKeyFromVerifying = require_common.signingKeyFromVerifying;
92
+
89
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,9 +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-CcvTi5EA.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 "./registry-impl-CE76sTXQ.cjs";
3
- import "./registry/index.cjs";
4
- import { a as declined, i as accepted, n as DkgInvitationResult, o as DkgProposedParticipant, r as DkgInvite, t as DkgInvitation } from "./group-invite-Dz1Jmiky.cjs";
5
- import "./dkg/index.cjs";
6
- import "./cmd/index.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";
7
4
  import { t as index_d_exports$1 } from "./frost/index.cjs";
8
5
 
9
6
  //#region src/index.d.ts
@@ -14,5 +11,5 @@ import { t as index_d_exports$1 } from "./frost/index.cjs";
14
11
  */
15
12
  declare function registerTags(): Promise<void>;
16
13
  //#endregion
17
- 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 };
18
15
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;;;;iBAkCsB,YAAA,CAAA,GAAgB,OAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;iBAkCsB,YAAA,CAAA,GAAgB,OAAA"}
package/dist/index.d.mts CHANGED
@@ -1,9 +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-DNCPeLNM.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 "./registry-impl-BETn_lEO.mjs";
3
- import "./registry/index.mjs";
4
- import { a as declined, i as accepted, n as DkgInvitationResult, o as DkgProposedParticipant, r as DkgInvite, t as DkgInvitation } from "./group-invite-Wk9CIbHL.mjs";
5
- import "./dkg/index.mjs";
6
- import "./cmd/index.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";
7
4
  import { t as index_d_exports$1 } from "./frost/index.mjs";
8
5
 
9
6
  //#region src/index.d.ts
@@ -14,5 +11,5 @@ import { t as index_d_exports$1 } from "./frost/index.mjs";
14
11
  */
15
12
  declare function registerTags(): Promise<void>;
16
13
  //#endregion
17
- 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 };
18
15
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;;;;iBAkCsB,YAAA,CAAA,GAAgB,OAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;iBAkCsB,YAAA,CAAA,GAAgB,OAAA"}
package/dist/index.mjs CHANGED
@@ -1,12 +1,13 @@
1
- import { a as DkgProposedParticipant, i as declined, n as DkgInvite, r as accepted, t as DkgInvitation } from "./group-invite-RPElq-fm.mjs";
2
- import "./dkg/index.mjs";
3
- 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 "./registry-impl-eYXVSPwM.mjs";
4
- import "./registry/index.mjs";
5
- 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 "./sign-D8C3HJ4B.mjs";
1
+ import { n as compareXidBytes, t as DkgProposedParticipant } from "./proposed-participant-cWM7iUrO.mjs";
2
+ import { DkgInvitation, DkgInvite, accepted, declined } from "./dkg/index.mjs";
3
+ import { AddOutcome, ContributionPaths, GroupOutcome, GroupParticipant, GroupRecord, OwnerOutcome, OwnerRecord, ParticipantRecord, PendingRequests, Registry, resolveRegistryPath } from "./registry/index.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";
6
9
  import { t as frost_exports } from "./frost/index.mjs";
7
- import { t as registry_exports } from "./registry-BDnNV1Rk.mjs";
8
- import "./cmd/index.mjs";
9
-
10
+ import { t as registry_exports } from "./registry-BpCwtrRt.mjs";
10
11
  //#region src/index.ts
11
12
  /**
12
13
  * Initialize the library by registering all required CBOR tags.
@@ -21,7 +22,7 @@ async function registerTags() {
21
22
  if (typeof envelope.registerTags === "function") envelope.registerTags();
22
23
  if (typeof provenanceMark.registerTags === "function") provenanceMark.registerTags();
23
24
  }
24
-
25
25
  //#endregion
26
- 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 };
27
+
27
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"}