@laceio/sdk 0.1.0 → 0.1.1-canary.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 (408) hide show
  1. package/dist/{Ed25519PublicKey-lvu1s54U.cjs → Address-AMKTo-dA.cjs} +17150 -61
  2. package/dist/{Ed25519PublicKey-CjnuAYRR.js → Address-_c_-9hLC.js} +16955 -264
  3. package/dist/{Bip32Account-r3KAhCgU.js → Bip32Account-CaW1zC9Y.js} +4 -5
  4. package/dist/{Bip32Account-Cz3h0ZUa.cjs → Bip32Account-DOaGmKpv.cjs} +4 -5
  5. package/dist/Cardano-B-gyqBBD.js +311 -0
  6. package/dist/Cardano-BQ_af0Y3.cjs +322 -0
  7. package/dist/Ed25519PublicKey-B3QcR0J2.cjs +88 -0
  8. package/dist/Ed25519PublicKey-DIE19xHg.js +83 -0
  9. package/dist/InMemoryKeyAgent-Bc_xZY-v.cjs +652 -0
  10. package/dist/InMemoryKeyAgent-D8T3vtXy.js +631 -0
  11. package/dist/{PaymentAddress-DhbtuYb7.cjs → PaymentAddress-B4n1KZMx.cjs} +1 -2
  12. package/dist/{PaymentAddress-xSmGUQ-8.js → PaymentAddress-Cml3EA1n.js} +1 -2
  13. package/dist/Percent-Cfuw5YyL.cjs +11 -0
  14. package/dist/Percent-DpvyJ_93.js +5 -0
  15. package/dist/SodiumBip32Ed25519-BaD-kjyx.cjs +380 -0
  16. package/dist/SodiumBip32Ed25519-DCikAMsl.js +363 -0
  17. package/dist/{TransactionBuilder-CeJTNzm-.cjs → TransactionBuilder-BakTJvsJ.cjs} +59 -89
  18. package/dist/{TransactionBuilder-DGNDM4kt.js → TransactionBuilder-D2ErwVWv.js} +5 -71
  19. package/dist/_md-6zV2Cme0.cjs +684 -0
  20. package/dist/_md-gbUqlhqd.js +399 -0
  21. package/dist/_web-crypto-random-bytes-BvzwTYPG.js +197 -0
  22. package/dist/acc-module-NL_8mEHH.cjs +27654 -0
  23. package/dist/acc-module-ur8CkBd1.js +27624 -0
  24. package/dist/account-call-B7cF8ly4.cjs +293 -0
  25. package/dist/account-call-BF4rBcNw.js +3 -0
  26. package/dist/account-call-CoCq3V55.js +252 -0
  27. package/dist/account-call-DFcD257E.cjs +4 -0
  28. package/dist/account-guards-BeKbV9D1.cjs +41 -0
  29. package/dist/account-guards-qnFXuXSE.js +36 -0
  30. package/dist/{activity-type.stable-ClO9j_PH.cjs → activity-type-BPXxdHBP.cjs} +2 -1
  31. package/dist/{activity-type.stable-Ml0SOYv9.js → activity-type-C1geyPsH.js} +2 -1
  32. package/dist/address-OxwXIwbF.js +15502 -0
  33. package/dist/address-book-address-validator-BqYM0Uyp.cjs +41 -0
  34. package/dist/{address-book-address-validator-BhqRfmlL.cjs → address-book-address-validator-CGIcqn5W.cjs} +5 -4
  35. package/dist/{address-book-address-validator-VqIOB8PY.js → address-book-address-validator-FkkYim3z.js} +6 -4
  36. package/dist/address-book-address-validator-RSx2Jozy.js +39 -0
  37. package/dist/address-lECYBd9-.cjs +13043 -0
  38. package/dist/{apply-vkey-witnesses-Ctzk7eye.cjs → apply-vkey-witnesses-1jyczTkw.cjs} +1 -1
  39. package/dist/{apply-vkey-witnesses-Dfo7XfhL.js → apply-vkey-witnesses-Byb40-yJ.js} +1 -1
  40. package/dist/artefact-loader-Cqc9eSkL.cjs +182 -0
  41. package/dist/artefact-loader-D0T2f6F7.js +159 -0
  42. package/dist/auto-dismiss-failure-on-success-BWJceNXd.cjs +37 -0
  43. package/dist/auto-dismiss-failure-on-success-Bpod-v4r.js +31 -0
  44. package/dist/bip32-EPpcFrpH.cjs +3851 -0
  45. package/dist/{bip32ed25519-D2In8WzR.cjs → bip32ed25519-CRiG-Kjg.cjs} +5 -4
  46. package/dist/{bip32ed25519-qsLH_eWO.js → bip32ed25519-E-fCUZNv.js} +6 -4
  47. package/dist/bip39-DZomfqeY.js +9 -0
  48. package/dist/bip39-MAck9iod.cjs +26 -0
  49. package/dist/bitcoin-data-provider-D0OT_Uiu.cjs +26 -0
  50. package/dist/bitcoin-data-provider-LN_8oamW.js +21 -0
  51. package/dist/bitcoin.cjs +48 -0
  52. package/dist/bitcoin.d.ts +29805 -1
  53. package/dist/bitcoin.js +22 -0
  54. package/dist/{blake2b-BGHUWMsV.js → blake2b-BL-eR5G2.js} +6 -4
  55. package/dist/{blake2b-DspUqw68.cjs → blake2b-Iy324FwH.cjs} +5 -4
  56. package/dist/{blockfrost-tx-submit-provider-BUEOmdvc.js → blockfrost-tx-submit-provider-BHDLgOIE.js} +9 -162
  57. package/dist/{blockfrost-tx-submit-provider-B5dWbdrZ.cjs → blockfrost-tx-submit-provider-BxC19smv.cjs} +7 -171
  58. package/dist/{blockingWithLatestFrom-BhaE7pnA.js → blockingWithLatestFrom-FUfZFEUG.js} +1 -1
  59. package/dist/{blockingWithLatestFrom-DkuT3G2a.cjs → blockingWithLatestFrom-bmCPgA3c.cjs} +1 -1
  60. package/dist/bn-BFq5a4dk.cjs +2553 -0
  61. package/dist/{SodiumBip32Ed25519-BEfo1Q9m.js → browser-D5jRKv_L.js} +4 -401
  62. package/dist/bytes.vo-CziaOsba.js +24 -0
  63. package/dist/bytes.vo-hecRu3YZ.cjs +35 -0
  64. package/dist/{cardano-network-id-to-network-type-PXvn1ycQ.cjs → cardano-network-id-to-network-type-BwG_d6QP.cjs} +1 -1
  65. package/dist/{cardano-network-id-to-network-type-DHgKhDAK.js → cardano-network-id-to-network-type-CYJheetp.js} +1 -1
  66. package/dist/{cardano-network-id.vo-CbNNKd-k.cjs → cardano-network-id.vo-C5VuBXT3.cjs} +2 -2
  67. package/dist/{cardano-network-id.vo-CTYe-Oix.js → cardano-network-id.vo-CeLJqmb_.js} +2 -2
  68. package/dist/{cardano-tx-id.vo-BMwemq5x.js → cardano-tx-id.vo-DJ70NC0-.js} +1 -1
  69. package/dist/{cardano-tx-id.vo-NY-gCOWJ.cjs → cardano-tx-id.vo-lnyO9XaW.cjs} +1 -1
  70. package/dist/cardano.cjs +31 -24
  71. package/dist/cardano.d.ts +27602 -8121
  72. package/dist/cardano.js +21 -13
  73. package/dist/client-Bw2foG5E.cjs +808 -0
  74. package/dist/const-BB3MccLt.js +153 -0
  75. package/dist/{const-BErUlcZw.cjs → const-BWBAzOmN.cjs} +1 -1
  76. package/dist/const-CSWmOyzn.cjs +42 -0
  77. package/dist/{const-Dy8Ctnpd.cjs → const-D3mCkwrM.cjs} +5 -5
  78. package/dist/const-DW7z3R5k.js +13 -0
  79. package/dist/{const-DeUA7zYl.js → const-DbuUHSzR.js} +5 -5
  80. package/dist/const-DgBzKfz6.cjs +31995 -0
  81. package/dist/{const-DVW6DGkZ.js → const-xGSNCtwQ.js} +1 -1
  82. package/dist/contract-BsIGhsYa.js +171 -0
  83. package/dist/contract-DD6CGnpB.cjs +189 -0
  84. package/dist/create-add-accounts-2mQA0ST2.js +102 -0
  85. package/dist/create-add-accounts-B6mR2NMn.cjs +114 -0
  86. package/dist/{delegation-tx-builder-CF0VunDW.cjs → delegation-tx-builder-Cp30jtj9.cjs} +9 -8
  87. package/dist/{delegation-tx-builder-C8LQxU2R.js → delegation-tx-builder-DUMikSTg.js} +9 -7
  88. package/dist/{deregistration-tx-builder-DcUXA3Ls.cjs → deregistration-tx-builder-B-ZeY-dR.cjs} +10 -9
  89. package/dist/{deregistration-tx-builder-BOBPP8m_.js → deregistration-tx-builder-CRLrK99U.js} +10 -8
  90. package/dist/device-commitment-hex.vo-BIUYUNz1.cjs +31 -0
  91. package/dist/device-commitment-hex.vo-D9FsYLn7.js +26 -0
  92. package/dist/device-key-BToCoS4D.js +2394 -0
  93. package/dist/device-key-D6euvxFi.cjs +2489 -0
  94. package/dist/device-readers-BHJeNR8I.js +3 -0
  95. package/dist/device-readers-Dw7uTNM5.cjs +167 -0
  96. package/dist/device-readers-b4g2j3QL.js +144 -0
  97. package/dist/device-readers-cxcJcWq5.cjs +7 -0
  98. package/dist/dist-B00GN41m.js +141 -0
  99. package/dist/dist-BA1xnF9O.cjs +4413 -0
  100. package/dist/dist-BmHOXLe8.cjs +3814 -0
  101. package/dist/dist-Br0OVXKt.cjs +535 -0
  102. package/dist/dist-C1JK9C1I.cjs +3452 -0
  103. package/dist/dist-DKEViNEI.cjs +1306 -0
  104. package/dist/dist-Dwqx184a.cjs +43175 -0
  105. package/dist/dist-MJof_Ky1.cjs +145 -0
  106. package/dist/dist-p84sVVJ9.cjs +1394 -0
  107. package/dist/{earn-rewards-tx-builder-BRlTueHS.js → earn-rewards-tx-builder-8G_rouIk.js} +9 -7
  108. package/dist/{earn-rewards-tx-builder-RgO0QUY8.cjs → earn-rewards-tx-builder-cOUNV58E.cjs} +9 -8
  109. package/dist/enc-key-circuits-0Dud78IB.js +13 -0
  110. package/dist/enc-key-circuits-yjPHbuo_.cjs +24 -0
  111. package/dist/english-BZ_ebp2-.cjs +2057 -0
  112. package/dist/envelopes-B3QCzo5p.js +2658 -0
  113. package/dist/envelopes-BdE1xlgz.cjs +2777 -0
  114. package/dist/errors-BA3b8aVu.cjs +584 -0
  115. package/dist/errors-pkQdxW-7.js +392 -0
  116. package/dist/experimental.cjs +6820 -0
  117. package/dist/experimental.d.ts +63552 -0
  118. package/dist/experimental.js +6670 -0
  119. package/dist/fees-6C2uEWFK.js +653 -0
  120. package/dist/fees-DtC71fOx.cjs +820 -0
  121. package/dist/gated-call-BrPjKolT.js +3 -0
  122. package/dist/gated-call-CcsuW9L5.js +691 -0
  123. package/dist/gated-call-DdDrxEq5.cjs +732 -0
  124. package/dist/gated-call-Dk7PazhG.cjs +4 -0
  125. package/dist/grant-rules-B7eDuD5G.cjs +5468 -0
  126. package/dist/grant-rules-qLrKUIR3.js +5217 -0
  127. package/dist/grant-status-CDmZpx32.js +296 -0
  128. package/dist/grant-status-CQtwjLsA.cjs +337 -0
  129. package/dist/grants-Bnb-3Hkv.cjs +16 -0
  130. package/dist/grants-CIb6nOV7.cjs +273 -0
  131. package/dist/grants-CYY0AquW.js +202 -0
  132. package/dist/grants-DOsFSotP.js +4 -0
  133. package/dist/{group-cardano-addresses-by-account-C-1GHUu8.cjs → group-cardano-addresses-by-account-BGOtPV-Y.cjs} +4 -40
  134. package/dist/{group-cardano-addresses-by-account-p4dXmCoj.js → group-cardano-addresses-by-account-TqvESg9x.js} +6 -37
  135. package/dist/{guarded-transaction-signer-DZSGHp1K.js → guarded-transaction-signer-BbVDE9Nn.js} +12 -18
  136. package/dist/{guarded-transaction-signer-BLSezbfV.cjs → guarded-transaction-signer-DTLjAkif.cjs} +26 -26
  137. package/dist/hex-BVtOKJki.cjs +263 -0
  138. package/dist/hex-CGYJPK_Z.js +192 -0
  139. package/dist/http-client-B7_kBTYn.js +155 -0
  140. package/dist/http-client-DYQ_7Rdf.cjs +167 -0
  141. package/dist/identity-DxPhxkZs.js +239 -0
  142. package/dist/identity-y41Yle03.cjs +274 -0
  143. package/dist/in-memory-wallet-integration-5BKiAvPT.js +20861 -0
  144. package/dist/{in-memory-wallet-integration-CUTa68ET.js → in-memory-wallet-integration-BCOqDgbt.js} +10 -107
  145. package/dist/in-memory-wallet-integration-Bi8I9Dso.js +128 -0
  146. package/dist/in-memory-wallet-integration-Bsl2ONua.cjs +239 -0
  147. package/dist/in-memory-wallet-integration-DZ0CAyvY.cjs +20865 -0
  148. package/dist/{in-memory-wallet-integration-Dw_S7amX.cjs → in-memory-wallet-integration-DsFm8gLk.cjs} +21 -112
  149. package/dist/{in-memory-wallet-integration-Z4Bp_DTv.cjs → in-memory-wallet-integration-aW_SF-go.cjs} +8 -5
  150. package/dist/{in-memory-wallet-integration-B6cbAlvD.js → in-memory-wallet-integration-mIEc8EfR.js} +9 -5
  151. package/dist/index.cjs +95 -58
  152. package/dist/index.d.ts +45152 -13448
  153. package/dist/index.js +55 -28
  154. package/dist/{init-CVi8J0zk.cjs → init-5SfWgCYD.cjs} +3 -3
  155. package/dist/{init-Ci7aqWCf2.cjs → init-8NVWbo302.cjs} +2 -2
  156. package/dist/init-B-C7n6u6.js +5 -0
  157. package/dist/{init-BFMWRf-L.js → init-B-ppfGO-.js} +1 -1
  158. package/dist/{init-IiR093Jw.cjs → init-B2OUhY5T.cjs} +2 -2
  159. package/dist/{init-DXnus199.cjs → init-B6Eg_o6G.cjs} +5 -5
  160. package/dist/{init-4hDl5bpr.js → init-BAWMHL1k.js} +2 -2
  161. package/dist/init-BC2CZZOu2.cjs +2002 -0
  162. package/dist/{init-a228hXnS.cjs → init-BF-a2p6E.cjs} +65 -73
  163. package/dist/{init-fFirX8OY.cjs → init-BFxlQAD8.cjs} +1 -1
  164. package/dist/init-BJE1ry0O.js +17 -0
  165. package/dist/{init-BVnI4z2J.js → init-BPKBVOHU.js} +2 -2
  166. package/dist/{init-bdqZBd-o.js → init-BSP_xcpB.js} +2 -2
  167. package/dist/{init-CFNOn3lo.js → init-BSd7mznK.js} +3 -3
  168. package/dist/{init-MjR4swi6.js → init-BUJTT0MN.js} +36 -43
  169. package/dist/init-BUpFzYsD.cjs +143 -0
  170. package/dist/{init-BvpYHyLH.cjs → init-BZ-WyAIL.cjs} +3 -3
  171. package/dist/init-BZdfdLX7.js +422 -0
  172. package/dist/{init-CJeOys1w.cjs → init-B_HWNXMD.cjs} +2 -2
  173. package/dist/init-BbIMt6xU.cjs +6 -0
  174. package/dist/{init-BYdN1aqE.cjs → init-BewG6swt.cjs} +2 -2
  175. package/dist/{init-BX0AZAVH2.js → init-Bilqsbng.js} +2 -2
  176. package/dist/{init-Tpn9VkFu.cjs → init-BpwlQ6wF.cjs} +1 -1
  177. package/dist/{init-D5-P0HXK.js → init-BtQOzUjX.js} +1 -1
  178. package/dist/{init-BvGz3qUd2.js → init-CCTscPaY2.js} +2 -2
  179. package/dist/{init-D4hPipCD.cjs → init-CH0yyBof.cjs} +1 -1
  180. package/dist/init-CaIkrXal.cjs +121 -0
  181. package/dist/init-CkZy4IMf.cjs +107 -0
  182. package/dist/{init-Drr2f_Pr.js → init-CmfcY7SV.js} +1 -1
  183. package/dist/{init-Kf3_OLv6.js → init-CnJAlks_.js} +1 -1
  184. package/dist/{init-Cdjt_z-b.cjs → init-CqqmtAIK.cjs} +4 -4
  185. package/dist/{init-Bb0avZeZ.js → init-Cu2znmIc.js} +5 -5
  186. package/dist/init-Cz5LAizN.js +2001 -0
  187. package/dist/init-D4WM3-Mn.cjs +18 -0
  188. package/dist/init-DMi2FGpf.cjs +424 -0
  189. package/dist/{init-lcaUSOOG.js → init-DPTJohPd.js} +1 -1
  190. package/dist/{init-BTYLMF9F2.cjs → init-DexLSprL2.cjs} +258 -61
  191. package/dist/init-DfKPgD21.js +106 -0
  192. package/dist/init-DgzRsI-C.js +141 -0
  193. package/dist/init-Dj4Cn7-P.js +4789 -0
  194. package/dist/init-DktAnYI0.cjs +2354 -0
  195. package/dist/{init-DFwhgert.cjs → init-DmyuM9Lo.cjs} +1 -1
  196. package/dist/{init-CX_zLXc6.js → init-IBnizp1U.js} +5 -5
  197. package/dist/init-MDKB6tGI2.cjs +4790 -0
  198. package/dist/{init-DbZ5byj42.js → init-TbB38KNt2.js} +258 -60
  199. package/dist/init-X6m_cqDy.js +2353 -0
  200. package/dist/{init-DvVgKCaP2.cjs → init-bzvl1JhF.cjs} +2 -2
  201. package/dist/{init-BgrY29gW.js → init-dsYkC_0B.js} +4 -4
  202. package/dist/{init-B5BsI3DR.cjs → init-kvn5FlPS.cjs} +7 -7
  203. package/dist/init-vfy9DW_E.js +119 -0
  204. package/dist/{init-BE_6Jyc4.js → init-w7xl6LsP.js} +3 -3
  205. package/dist/{init-DEsWVyn5.cjs → init-wgiBUmyW.cjs} +1 -1
  206. package/dist/{is-retriable-error-DWv_ob-f.js → is-retriable-error-CmFR20pe.js} +1 -1
  207. package/dist/{is-retriable-error-Dtb4JGjd.cjs → is-retriable-error-D2yo0_lS.cjs} +1 -1
  208. package/dist/jubjub-authoriser-A2c8vmkN.js +84 -0
  209. package/dist/jubjub-authoriser-D3ZDgzcF.cjs +85 -0
  210. package/dist/key-source-CcLTx8HK.js +2761 -0
  211. package/dist/key-source-D2tTAag-.cjs +806 -0
  212. package/dist/{key-value-store-DTX1quRS.js → key-value-store-DZcNDB3n.js} +1 -1
  213. package/dist/{key-value-store-B-XRIwaM.cjs → key-value-store-Htj4RgMe.cjs} +1 -1
  214. package/dist/keyDerivation-DcKRUCVh.cjs +274 -0
  215. package/dist/keyDerivation-QGesIMbS.js +4077 -0
  216. package/dist/{lace-context-FpU3iG3f.cjs → lace-context-BN0b_ury.cjs} +4 -4
  217. package/dist/{lace-context-BQvvxVLm.js → lace-context-DMRJ87Vg.js} +4 -4
  218. package/dist/lib-BC-62Byh.cjs +2359 -0
  219. package/dist/lib-JYqcAX0c.js +2354 -0
  220. package/dist/midnight-account-id.vo--Vcx34Xk.cjs +10 -0
  221. package/dist/midnight-account-id.vo-BuB8fiVO.js +5 -0
  222. package/dist/midnight-engine-B7D2hbHo.js +5 -0
  223. package/dist/midnight-engine-D5ikN_5F.cjs +6 -0
  224. package/dist/midnight-wallet-BOdFD6SX.cjs +24 -0
  225. package/dist/midnight-wallet-CAqZrNVe.js +18 -0
  226. package/dist/midnight.cjs +1412 -0
  227. package/dist/midnight.d.ts +28609 -0
  228. package/dist/midnight.js +1355 -0
  229. package/dist/modules-cardano-BiL9hoM3.js +996 -0
  230. package/dist/modules-cardano-UeXks3sd.cjs +1109 -0
  231. package/dist/node-relay-BOuvdZvC.cjs +49 -0
  232. package/dist/node-relay-CLtc5n1v.js +48 -0
  233. package/dist/outputs-5qdW8s-f.js +196 -0
  234. package/dist/outputs-BEM1GPMf.cjs +339 -0
  235. package/dist/{SodiumBip32Ed25519-BQUcrQWX.cjs → pbkdf2-B1veireP.cjs} +6 -411
  236. package/dist/pending-operation-CfTUNQVD.cjs +26 -0
  237. package/dist/pending-operation-Ljijb1Uh.js +21 -0
  238. package/dist/providers-1on_fwJO.cjs +364 -0
  239. package/dist/providers-C1MsxfMA.js +341 -0
  240. package/dist/redacted-4SJPqt-G.js +81 -0
  241. package/dist/redacted-DwxIDdIF.cjs +86 -0
  242. package/dist/{reselect-DPML1uFN.cjs → reselect-kP4DaAII.cjs} +1 -1
  243. package/dist/{retry-config-oNtfdyrG.cjs → retry-config-BGv5q5QM.cjs} +1 -1
  244. package/dist/{retry-config-VdbuqBsI.js → retry-config-Bu5Yn5ua.js} +1 -1
  245. package/dist/safe-buffer-CqGpSFCQ.js +43 -0
  246. package/dist/safe-buffer-DbXbwhUQ.cjs +48 -0
  247. package/dist/sdk-1SRu8Ype.cjs +1445 -0
  248. package/dist/sdk-BneJm7ey.js +1249 -0
  249. package/dist/sdk-init-9TG1ZvHF.cjs +3795 -0
  250. package/dist/sdk-init-Ce3mD-8F.js +1047 -0
  251. package/dist/secret-box-CSmRp6Tt.js +3777 -0
  252. package/dist/secret-box-ZfbYwBgS.cjs +6970 -0
  253. package/dist/send-proof-progress-DtAcrMP6.cjs +33 -0
  254. package/dist/send-proof-progress-Dx2cUz1B.js +22 -0
  255. package/dist/sha2-DaRJZOjk.cjs +390 -0
  256. package/dist/sha2-c4sB6peD.js +378 -0
  257. package/dist/side-effects-C3BhLrdP.js +768 -0
  258. package/dist/side-effects-DG0R-KFc.cjs +804 -0
  259. package/dist/sign-bitcoin-transaction-with-seed-C7vq9om8.js +147 -0
  260. package/dist/sign-bitcoin-transaction-with-seed-Ds1dwzan.cjs +158 -0
  261. package/dist/signer--2I6poMD.js +2 -0
  262. package/dist/signer-CX21Ups_.cjs +121 -0
  263. package/dist/signer-Cnn9q9oY.js +92 -0
  264. package/dist/signer-DbSxjk0F.cjs +7 -0
  265. package/dist/signer-factory-B5oFuUZ-.cjs +130 -0
  266. package/dist/signer-factory-BAt8FPNc.cjs +281 -0
  267. package/dist/signer-factory-BGE4nL4k.js +129 -0
  268. package/dist/signer-factory-C4pgsiJi.js +281 -0
  269. package/dist/{signer-factory-DySc1wRX.cjs → signer-factory-D95jQIPV.cjs} +9 -6
  270. package/dist/{signer-factory-D4HrwFPl.js → signer-factory-PrpsGX-8.js} +10 -6
  271. package/dist/{slice-BZTQgYSs.js → slice-B-xJcuT1.js} +4 -4
  272. package/dist/slice-B4QOYaOG.cjs +105 -0
  273. package/dist/{slice-CtIMw2YT.cjs → slice-B9QKuhi0.cjs} +3 -3
  274. package/dist/slice-BKnGkAkd.cjs +9031 -0
  275. package/dist/{slice-Bhwmqn1p.cjs → slice-Bf4enJKZ.cjs} +8 -8
  276. package/dist/{slice-DaNVz7_l.js → slice-ByNWnxKS.js} +8 -8
  277. package/dist/{slice-C2UDQrdt.js → slice-C1zOeseG.js} +449 -355
  278. package/dist/{slice-DFLyKRm5.cjs → slice-C4toRM6A.cjs} +2 -2
  279. package/dist/{slice-Cx4dULDA.cjs → slice-C8YVv4Qn.cjs} +1 -1
  280. package/dist/{slice-jnpOgiSZ.cjs → slice-CaMfviYu.cjs} +3 -3
  281. package/dist/{slice-DFvrwUur.js → slice-CgeRsYRg.js} +6 -6
  282. package/dist/slice-Cwt8jShq.js +9013 -0
  283. package/dist/{slice-zNEspZND.js → slice-D0VzpMbY.js} +2 -2
  284. package/dist/slice-D14F78Ca.js +87 -0
  285. package/dist/{slice-F6A1YKOF.cjs → slice-DLflttAu.cjs} +479 -366
  286. package/dist/{slice-C96EdeY1.js → slice-DcO-iNz2.js} +1 -1
  287. package/dist/{slice-C19quNWM.cjs → slice-DimtxfAT.cjs} +2 -2
  288. package/dist/{slice-KiNoGwD9.js → slice-DlTEqIoI.js} +1 -1
  289. package/dist/{slice-ws8PccRX.js → slice-Dn0WojD7.js} +3 -3
  290. package/dist/{slice-BLSxLmie.cjs → slice-Dongunf7.cjs} +4 -4
  291. package/dist/{slice-B6vPum19.js → slice-DpufJAjJ.js} +2 -2
  292. package/dist/{slice-exhhmucR.cjs → slice-DtitVc9L.cjs} +7 -7
  293. package/dist/{slice-Bjj2t2ut.cjs → slice-WMMMc1Xv.cjs} +2 -2
  294. package/dist/slice-a8VuIqzS.cjs +378 -0
  295. package/dist/slice-bRASyM-m.js +354 -0
  296. package/dist/{slice-CBFrgHSH.js → slice-hNyKbDry.js} +3 -3
  297. package/dist/{InMemoryKeyAgent-pyB2gA-N.cjs → src-BayYMIjw.cjs} +20 -8228
  298. package/dist/{InMemoryKeyAgent-D-3HejxN.js → src-CgINPlSx.js} +29 -4811
  299. package/dist/store-AUlTfcI_.js +37 -0
  300. package/dist/store-C7AneHEY.cjs +66 -0
  301. package/dist/submit-BuBCVi-l.cjs +87 -0
  302. package/dist/submit-D37lxFrK.js +70 -0
  303. package/dist/submit-bitcoin-tx-DFLnhidO.js +983 -0
  304. package/dist/submit-bitcoin-tx-sih2hSfb.cjs +1049 -0
  305. package/dist/{subtractValueQuantities-DfZg6oiG.js → subtractValueQuantities-BuDJVxq6.js} +3 -22
  306. package/dist/{subtractValueQuantities-C8qDTtgH.cjs → subtractValueQuantities-CqR606HV.cjs} +2 -32
  307. package/dist/{sync-operation-utils-BrQyWFS_.cjs → sync-operation-utils--Z_IQfyW.cjs} +0 -66
  308. package/dist/{sync-operation-utils-CAaCGvEN.js → sync-operation-utils-BimBpvI3.js} +1 -37
  309. package/dist/token-color.vo-CItgoOjw.js +26 -0
  310. package/dist/token-color.vo-Ca4hUXfh.cjs +37 -0
  311. package/dist/token-id-mapper-BVau2RXa.js +16 -0
  312. package/dist/token-id-mapper-CSeLzM4o.cjs +18 -0
  313. package/dist/{token-id-mapper-pDaTxpw2.js → token-id-mapper-ClBeIdJR.js} +2 -2
  314. package/dist/{token-id-mapper-DYcd8hhQ.cjs → token-id-mapper-D0wFdbOy.cjs} +2 -2
  315. package/dist/types-BhzypKMS.cjs +15 -0
  316. package/dist/types-DTE1ctDB.js +10 -0
  317. package/dist/types-DXSxXGz0.js +12 -0
  318. package/dist/types-Dls6Z5gV.cjs +23 -0
  319. package/dist/{util-P4PX2muj.cjs → util-D1YlKzrc.cjs} +2 -2
  320. package/dist/{util-CQSJU0wT.js → util-DHxtzUzY.js} +2 -2
  321. package/dist/{utils-Bv4OHT4S.cjs → utils-DYf4iZKX.cjs} +7 -1
  322. package/dist/{utils-DrtzChYN.js → utils-DcnoETEP.js} +2 -2
  323. package/dist/utils-Du0YXRcU.cjs +112 -0
  324. package/dist/utils-fF_rnZe3.js +65 -0
  325. package/dist/v8Signatures-ClGpA8mS.cjs +71 -0
  326. package/dist/{vote-delegation-tx-builder-69gOEkCB.cjs → vote-delegation-tx-builder-BjZxCOd3.cjs} +9 -8
  327. package/dist/{vote-delegation-tx-builder-BRJ_pf-c.js → vote-delegation-tx-builder-DRJwPXkD.js} +9 -7
  328. package/dist/watch-FGE4B_Ge.js +13056 -0
  329. package/dist/watch-imlsRZDp.cjs +52207 -0
  330. package/package.json +95 -3
  331. package/dist/Address-4KjeDt_x.cjs +0 -17269
  332. package/dist/Address-_VPkf7Xh.js +0 -17101
  333. package/dist/account-guards.stable-BKyYPj4z.cjs +0 -10
  334. package/dist/account-guards.stable-BdmQ43vC.js +0 -5
  335. package/dist/init-BR9ZIbED.cjs +0 -378
  336. package/dist/init-B_k1RUN_.cjs +0 -21
  337. package/dist/init-Bs3b5ZQH.js +0 -378
  338. package/dist/init-ChfcrHgG2.cjs +0 -4354
  339. package/dist/init-D1uUMMpG.js +0 -19
  340. package/dist/init-DV1OSZiK.js +0 -4352
  341. package/dist/modules-cardano-BINzpXpk.js +0 -5454
  342. package/dist/modules-cardano-Dt8OwoQb.cjs +0 -5640
  343. package/dist/slice-Caf98m0d2.js +0 -107
  344. package/dist/slice-PM6llajQ2.cjs +0 -125
  345. /package/dist/{BigIntMath-CoJWXt1h.cjs → BigIntMath-CBciEQn2.cjs} +0 -0
  346. /package/dist/{BigIntMath-BWUJOsOW.js → BigIntMath-X3EniYDo.js} +0 -0
  347. /package/dist/{ChainId-sdLmlIRk.cjs → ChainId-CNPSU9nn.cjs} +0 -0
  348. /package/dist/{ChainId-CKbm87yQ.js → ChainId-CeoG8Sov.js} +0 -0
  349. /package/dist/{_polyfill-node.process-4fnlkbBi.cjs → _polyfill-node.process-5UxyjoHG.cjs} +0 -0
  350. /package/dist/{account-id.vo-Xpgnu-av.cjs → account-id.vo-DYZBZQsz.cjs} +0 -0
  351. /package/dist/{account-id.vo-DP0BtOoF.js → account-id.vo-KDTWJ-W5.js} +0 -0
  352. /package/dist/{actions-BNagEO6m.cjs → actions-BnHFVSr_.cjs} +0 -0
  353. /package/dist/{actions-BWTyAr7B.js → actions-Cwj0ApZf.js} +0 -0
  354. /package/dist/{asyncoption-po7-RiA5.cjs → asyncoption-CYcZNBRM.cjs} +0 -0
  355. /package/dist/{asyncoption-CzIVH5Y1.js → asyncoption-DZQGfznq.js} +0 -0
  356. /package/dist/{bignum.vo-DhhZ9HP1.js → bignum.vo-Co6tMH2q.js} +0 -0
  357. /package/dist/{bignum.vo-CpkrIXjH.cjs → bignum.vo-Du-bpvar.cjs} +0 -0
  358. /package/dist/{blockchain-network-id.vo-CbgrAY_K.js → blockchain-network-id.vo-C6Jowh8t.js} +0 -0
  359. /package/dist/{blockchain-network-id.vo-5iC6Kffo.cjs → blockchain-network-id.vo-DEQ14dYj.cjs} +0 -0
  360. /package/dist/{composite-signer-factory-DABpCe1_.js → composite-signer-factory-D9RWY-1V.js} +0 -0
  361. /package/dist/{composite-signer-factory-BizuNPP7.cjs → composite-signer-factory-v4Pxn8bA.cjs} +0 -0
  362. /package/dist/{error-ggOihIfv.cjs → error-B6wj9nPv.cjs} +0 -0
  363. /package/dist/{error-DHKO2iS4.js → error-CvEYL98P.js} +0 -0
  364. /package/dist/{esm-browser-DnXNvpcn.cjs → esm-browser-CZbMeVod.cjs} +0 -0
  365. /package/dist/{esm-browser-BBVQuyQv.js → esm-browser-DpAD_RKv.js} +0 -0
  366. /package/dist/{feature-flag-key.vo-DoGK5Bfh.js → feature-flag-key.vo-9reURsOQ.js} +0 -0
  367. /package/dist/{feature-flag-key.vo-CP1Z9s8e.cjs → feature-flag-key.vo-KTIdnzYX.cjs} +0 -0
  368. /package/dist/{first-state-of-status-Bx4-QQ5m.cjs → first-state-of-status-9ICeDNSa.cjs} +0 -0
  369. /package/dist/{first-state-of-status-D7XzEuSa.js → first-state-of-status-BscbKj_t.js} +0 -0
  370. /package/dist/{init-4319psUJ.cjs → init-BT67pd9x.cjs} +0 -0
  371. /package/dist/{init-AFUM1TSg.js → init-CHk1fvJ2.js} +0 -0
  372. /package/dist/{init-ZX90nEJe2.js → init-DIyNx6DZ.js} +0 -0
  373. /package/dist/{init-CTQ2g6Xt.js → init-DtxxFaCx.js} +0 -0
  374. /package/dist/{init-Dt1Xifg_2.cjs → init-J8QobR93.cjs} +0 -0
  375. /package/dist/{init-BNewLCqw.cjs → init-xzZPlQwB.cjs} +0 -0
  376. /package/dist/{is-redux-persist-state-DxJSsvxB.cjs → is-redux-persist-state-C5luvPEH.cjs} +0 -0
  377. /package/dist/{is-redux-persist-state-Bl2n4VMr.js → is-redux-persist-state-CjcqyCoh.js} +0 -0
  378. /package/dist/{isNotNil-CZxBMfL5.js → isNotNil-Be7gCY0m.js} +0 -0
  379. /package/dist/{isNotNil-C_SO1tcC.cjs → isNotNil-CrYIUFry.cjs} +0 -0
  380. /package/dist/{logging-BvMDKgl0.js → logging-BAMMfn5j.js} +0 -0
  381. /package/dist/{logging-Bh9ikph3.cjs → logging-CbxgIX9V.cjs} +0 -0
  382. /package/dist/{metadatum-B-sxBnSY.cjs → metadatum-BGvFqGPt.cjs} +0 -0
  383. /package/dist/{metadatum-Ego4jVas.js → metadatum-BVocMYy_.js} +0 -0
  384. /package/dist/{repo-slice-BzZQUTj8.cjs → repo-slice-BB_W-6OL.cjs} +0 -0
  385. /package/dist/{repo-slice-vCcQJotS.js → repo-slice-BQlssw9M.js} +0 -0
  386. /package/dist/{reselect-BPkMzw3k.js → reselect-JIgawvPe.js} +0 -0
  387. /package/dist/{serializable-BxFUShKY.js → serializable-F7OtYl8d.js} +0 -0
  388. /package/dist/{serializable-DWgkHhv_.cjs → serializable-n3UoxbZc.cjs} +0 -0
  389. /package/dist/{slice-DY-DNtSi.js → slice-5dGBAz6w.js} +0 -0
  390. /package/dist/{slice-BEFoeqgr.cjs → slice-BzJgg9FS.cjs} +0 -0
  391. /package/dist/{src-CPmX4KUh.cjs → src-CeBNkonz.cjs} +0 -0
  392. /package/dist/{src-XOZXPKxe.js → src-Cv1ifqbe.js} +0 -0
  393. /package/dist/{time-CQPt4FdU.js → time-ByoKevdZ.js} +0 -0
  394. /package/dist/{time-Blvoyh9G.cjs → time-qD7edGU0.cjs} +0 -0
  395. /package/dist/{time.vo-Xln4yGBU.js → time.vo-C17-tYq3.js} +0 -0
  396. /package/dist/{time.vo-rwWwJzmP.cjs → time.vo-TmYE-_Y2.cjs} +0 -0
  397. /package/dist/{toEmpty-CzmoZVLN.cjs → toEmpty-Db6V94Mf.cjs} +0 -0
  398. /package/dist/{toEmpty-DzLd-ZCi.js → toEmpty-Djj-QbpI.js} +0 -0
  399. /package/dist/{token-id.vo-l8fuSpem.cjs → token-id.vo-CZ622zcZ.cjs} +0 -0
  400. /package/dist/{token-id.vo-DMKSaMlc.js → token-id.vo-IDI9C_Qm.js} +0 -0
  401. /package/dist/{types-B61DQoFW.js → types-By-XeXWg.js} +0 -0
  402. /package/dist/{types-CUC-Kcqh.cjs → types-Cn6WlQV6.cjs} +0 -0
  403. /package/dist/{util-BV3iGOrz.cjs → util-Cp1h58uD.cjs} +0 -0
  404. /package/dist/{util-BsQKLorV.js → util-DHppXj7U.js} +0 -0
  405. /package/dist/{util-selector-CKIyoAOz.js → util-selector-BWmHpo92.js} +0 -0
  406. /package/dist/{util-selector-C9H5RsNw.cjs → util-selector-glXkO-jR.cjs} +0 -0
  407. /package/dist/{while-active-CNXeLxre.js → while-active-CDBnUlQA.js} +0 -0
  408. /package/dist/{while-active-BsDWSNrO.cjs → while-active-I2TlHtm7.cjs} +0 -0
@@ -0,0 +1,806 @@
1
+ const require_Address = require("./Address-AMKTo-dA.cjs");
2
+ const require__md = require("./_md-6zV2Cme0.cjs");
3
+ const require_english = require("./english-BZ_ebp2-.cjs");
4
+ const require_sha2 = require("./sha2-DaRJZOjk.cjs");
5
+ //#region ../../node_modules/@noble/hashes/esm/hmac.js
6
+ /**
7
+ * HMAC: RFC2104 message authentication code.
8
+ * @module
9
+ */
10
+ var HMAC = class extends require__md.Hash {
11
+ constructor(hash, _key) {
12
+ super();
13
+ this.finished = false;
14
+ this.destroyed = false;
15
+ require__md.ahash(hash);
16
+ const key = require__md.toBytes(_key);
17
+ this.iHash = hash.create();
18
+ if (typeof this.iHash.update !== "function") throw new Error("Expected instance of class which extends utils.Hash");
19
+ this.blockLen = this.iHash.blockLen;
20
+ this.outputLen = this.iHash.outputLen;
21
+ const blockLen = this.blockLen;
22
+ const pad = new Uint8Array(blockLen);
23
+ pad.set(key.length > blockLen ? hash.create().update(key).digest() : key);
24
+ for (let i = 0; i < pad.length; i++) pad[i] ^= 54;
25
+ this.iHash.update(pad);
26
+ this.oHash = hash.create();
27
+ for (let i = 0; i < pad.length; i++) pad[i] ^= 106;
28
+ this.oHash.update(pad);
29
+ require__md.clean(pad);
30
+ }
31
+ update(buf) {
32
+ require__md.aexists(this);
33
+ this.iHash.update(buf);
34
+ return this;
35
+ }
36
+ digestInto(out) {
37
+ require__md.aexists(this);
38
+ require__md.abytes(out, this.outputLen);
39
+ this.finished = true;
40
+ this.iHash.digestInto(out);
41
+ this.oHash.update(out);
42
+ this.oHash.digestInto(out);
43
+ this.destroy();
44
+ }
45
+ digest() {
46
+ const out = new Uint8Array(this.oHash.outputLen);
47
+ this.digestInto(out);
48
+ return out;
49
+ }
50
+ _cloneInto(to) {
51
+ to || (to = Object.create(Object.getPrototypeOf(this), {}));
52
+ const { oHash, iHash, finished, destroyed, blockLen, outputLen } = this;
53
+ to = to;
54
+ to.finished = finished;
55
+ to.destroyed = destroyed;
56
+ to.blockLen = blockLen;
57
+ to.outputLen = outputLen;
58
+ to.oHash = oHash._cloneInto(to.oHash);
59
+ to.iHash = iHash._cloneInto(to.iHash);
60
+ return to;
61
+ }
62
+ clone() {
63
+ return this._cloneInto();
64
+ }
65
+ destroy() {
66
+ this.destroyed = true;
67
+ this.oHash.destroy();
68
+ this.iHash.destroy();
69
+ }
70
+ };
71
+ /**
72
+ * HMAC: RFC2104 message authentication code.
73
+ * @param hash - function that would be used e.g. sha256
74
+ * @param key - message key
75
+ * @param message - message data
76
+ * @example
77
+ * import { hmac } from '@noble/hashes/hmac';
78
+ * import { sha256 } from '@noble/hashes/sha2';
79
+ * const mac1 = hmac(sha256, 'key', 'message');
80
+ */
81
+ const hmac = (hash, key, message) => new HMAC(hash, key).update(message).digest();
82
+ hmac.create = (hash, key) => new HMAC(hash, key);
83
+ //#endregion
84
+ //#region ../../node_modules/@noble/hashes/esm/hkdf.js
85
+ /**
86
+ * HKDF (RFC 5869): extract + expand in one step.
87
+ * See https://soatok.blog/2021/11/17/understanding-hkdf/.
88
+ * @module
89
+ */
90
+ /**
91
+ * HKDF-extract from spec. Less important part. `HKDF-Extract(IKM, salt) -> PRK`
92
+ * Arguments position differs from spec (IKM is first one, since it is not optional)
93
+ * @param hash - hash function that would be used (e.g. sha256)
94
+ * @param ikm - input keying material, the initial key
95
+ * @param salt - optional salt value (a non-secret random value)
96
+ */
97
+ function extract(hash, ikm, salt) {
98
+ require__md.ahash(hash);
99
+ if (salt === void 0) salt = new Uint8Array(hash.outputLen);
100
+ return hmac(hash, require__md.toBytes(salt), require__md.toBytes(ikm));
101
+ }
102
+ const HKDF_COUNTER = /* @__PURE__ */ Uint8Array.from([0]);
103
+ const EMPTY_BUFFER = /* @__PURE__ */ Uint8Array.of();
104
+ /**
105
+ * HKDF-expand from the spec. The most important part. `HKDF-Expand(PRK, info, L) -> OKM`
106
+ * @param hash - hash function that would be used (e.g. sha256)
107
+ * @param prk - a pseudorandom key of at least HashLen octets (usually, the output from the extract step)
108
+ * @param info - optional context and application specific information (can be a zero-length string)
109
+ * @param length - length of output keying material in bytes
110
+ */
111
+ function expand(hash, prk, info, length = 32) {
112
+ require__md.ahash(hash);
113
+ require__md.anumber(length);
114
+ const olen = hash.outputLen;
115
+ if (length > 255 * olen) throw new Error("Length should be <= 255*HashLen");
116
+ const blocks = Math.ceil(length / olen);
117
+ if (info === void 0) info = EMPTY_BUFFER;
118
+ const okm = new Uint8Array(blocks * olen);
119
+ const HMAC = hmac.create(hash, prk);
120
+ const HMACTmp = HMAC._cloneInto();
121
+ const T = new Uint8Array(HMAC.outputLen);
122
+ for (let counter = 0; counter < blocks; counter++) {
123
+ HKDF_COUNTER[0] = counter + 1;
124
+ HMACTmp.update(counter === 0 ? EMPTY_BUFFER : T).update(info).update(HKDF_COUNTER).digestInto(T);
125
+ okm.set(T, olen * counter);
126
+ HMAC._cloneInto(HMACTmp);
127
+ }
128
+ HMAC.destroy();
129
+ HMACTmp.destroy();
130
+ require__md.clean(T, HKDF_COUNTER);
131
+ return okm.slice(0, length);
132
+ }
133
+ /**
134
+ * HKDF (RFC 5869): derive keys from an initial input.
135
+ * Combines hkdf_extract + hkdf_expand in one step
136
+ * @param hash - hash function that would be used (e.g. sha256)
137
+ * @param ikm - input keying material, the initial key
138
+ * @param salt - optional salt value (a non-secret random value)
139
+ * @param info - optional context and application specific information (can be a zero-length string)
140
+ * @param length - length of output keying material in bytes
141
+ * @example
142
+ * import { hkdf } from '@noble/hashes/hkdf';
143
+ * import { sha256 } from '@noble/hashes/sha2';
144
+ * import { randomBytes } from '@noble/hashes/utils';
145
+ * const inputKey = randomBytes(32);
146
+ * const salt = randomBytes(32);
147
+ * const info = 'application-key';
148
+ * const hk1 = hkdf(sha256, inputKey, salt, info, 32);
149
+ */
150
+ const hkdf = (hash, ikm, salt, info, length) => expand(hash, extract(hash, ikm, salt), info, length);
151
+ //#endregion
152
+ //#region ../../packages/lib/crypto/src/value-objects/entropy-hex.vo.ts
153
+ const ENTROPY_BYTE_LENGTH = 32;
154
+ const ENTROPY_HEX_LENGTH = ENTROPY_BYTE_LENGTH * 2;
155
+ const HEX_PATTERN = /^[0-9a-fA-F]+$/;
156
+ /**
157
+ * Types 32 bytes of entropy, as 64 hex characters, for `Mnemonic.deriveFrom`.
158
+ * Throws when the value has another length or is not hex.
159
+ */
160
+ const EntropyHex = (value) => {
161
+ if (value.length !== ENTROPY_HEX_LENGTH) throw new Error(`EntropyHex must be ${ENTROPY_BYTE_LENGTH} bytes (${ENTROPY_HEX_LENGTH} hex characters), got ${value.length}`);
162
+ if (!HEX_PATTERN.test(value)) throw new Error("EntropyHex must be a hex-encoded string");
163
+ return value;
164
+ };
165
+ //#endregion
166
+ //#region ../../node_modules/@noble/hashes/esm/pbkdf2.js
167
+ /**
168
+ * PBKDF (RFC 2898). Can be used to create a key from password and salt.
169
+ * @module
170
+ */
171
+ function pbkdf2Init(hash, _password, _salt, _opts) {
172
+ require__md.ahash(hash);
173
+ const { c, dkLen, asyncTick } = require__md.checkOpts({
174
+ dkLen: 32,
175
+ asyncTick: 10
176
+ }, _opts);
177
+ require__md.anumber(c);
178
+ require__md.anumber(dkLen);
179
+ require__md.anumber(asyncTick);
180
+ if (c < 1) throw new Error("iterations (c) should be >= 1");
181
+ const password = require__md.kdfInputToBytes(_password);
182
+ const salt = require__md.kdfInputToBytes(_salt);
183
+ const DK = new Uint8Array(dkLen);
184
+ const PRF = hmac.create(hash, password);
185
+ return {
186
+ c,
187
+ dkLen,
188
+ asyncTick,
189
+ DK,
190
+ PRF,
191
+ PRFSalt: PRF._cloneInto().update(salt)
192
+ };
193
+ }
194
+ function pbkdf2Output(PRF, PRFSalt, DK, prfW, u) {
195
+ PRF.destroy();
196
+ PRFSalt.destroy();
197
+ if (prfW) prfW.destroy();
198
+ require__md.clean(u);
199
+ return DK;
200
+ }
201
+ /**
202
+ * PBKDF2-HMAC: RFC 2898 key derivation function
203
+ * @param hash - hash function that would be used e.g. sha256
204
+ * @param password - password from which a derived key is generated
205
+ * @param salt - cryptographic salt
206
+ * @param opts - {c, dkLen} where c is work factor and dkLen is output message size
207
+ * @example
208
+ * const key = pbkdf2(sha256, 'password', 'salt', { dkLen: 32, c: Math.pow(2, 18) });
209
+ */
210
+ function pbkdf2(hash, password, salt, opts) {
211
+ const { c, dkLen, DK, PRF, PRFSalt } = pbkdf2Init(hash, password, salt, opts);
212
+ let prfW;
213
+ const arr = new Uint8Array(4);
214
+ const view = require__md.createView(arr);
215
+ const u = new Uint8Array(PRF.outputLen);
216
+ for (let ti = 1, pos = 0; pos < dkLen; ti++, pos += PRF.outputLen) {
217
+ const Ti = DK.subarray(pos, pos + PRF.outputLen);
218
+ view.setInt32(0, ti, false);
219
+ (prfW = PRFSalt._cloneInto(prfW)).update(arr).digestInto(u);
220
+ Ti.set(u.subarray(0, Ti.length));
221
+ for (let ui = 1; ui < c; ui++) {
222
+ PRF._cloneInto(prfW).update(u).digestInto(u);
223
+ for (let i = 0; i < Ti.length; i++) Ti[i] ^= u[i];
224
+ }
225
+ }
226
+ return pbkdf2Output(PRF, PRFSalt, DK, prfW, u);
227
+ }
228
+ //#endregion
229
+ //#region ../../packages/lib/crypto/node_modules/@scure/bip39/esm/index.js
230
+ /**
231
+ * Audited & minimal JS implementation of
232
+ * [BIP39 mnemonic phrases](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki).
233
+ * @module
234
+ * @example
235
+ ```js
236
+ import * as bip39 from '@scure/bip39';
237
+ import { wordlist } from '@scure/bip39/wordlists/english';
238
+ const mn = bip39.generateMnemonic(wordlist);
239
+ console.log(mn);
240
+ const ent = bip39.mnemonicToEntropy(mn, wordlist)
241
+ bip39.entropyToMnemonic(ent, wordlist);
242
+ bip39.validateMnemonic(mn, wordlist);
243
+ await bip39.mnemonicToSeed(mn, 'password');
244
+ bip39.mnemonicToSeedSync(mn, 'password');
245
+
246
+ // Wordlists
247
+ import { wordlist as czech } from '@scure/bip39/wordlists/czech';
248
+ import { wordlist as english } from '@scure/bip39/wordlists/english';
249
+ import { wordlist as french } from '@scure/bip39/wordlists/french';
250
+ import { wordlist as italian } from '@scure/bip39/wordlists/italian';
251
+ import { wordlist as japanese } from '@scure/bip39/wordlists/japanese';
252
+ import { wordlist as korean } from '@scure/bip39/wordlists/korean';
253
+ import { wordlist as portuguese } from '@scure/bip39/wordlists/portuguese';
254
+ import { wordlist as simplifiedChinese } from '@scure/bip39/wordlists/simplified-chinese';
255
+ import { wordlist as spanish } from '@scure/bip39/wordlists/spanish';
256
+ import { wordlist as traditionalChinese } from '@scure/bip39/wordlists/traditional-chinese';
257
+ ```
258
+ */
259
+ /*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */
260
+ const isJapanese = (wordlist) => wordlist[0] === "あいこくしん";
261
+ function nfkd(str) {
262
+ if (typeof str !== "string") throw new TypeError("invalid mnemonic type: " + typeof str);
263
+ return str.normalize("NFKD");
264
+ }
265
+ function normalize(str) {
266
+ const norm = nfkd(str);
267
+ const words = norm.split(" ");
268
+ if (![
269
+ 12,
270
+ 15,
271
+ 18,
272
+ 21,
273
+ 24
274
+ ].includes(words.length)) throw new Error("Invalid mnemonic");
275
+ return {
276
+ nfkd: norm,
277
+ words
278
+ };
279
+ }
280
+ function aentropy(ent) {
281
+ require__md.abytes(ent, 16, 20, 24, 28, 32);
282
+ }
283
+ const calcChecksum = (entropy) => {
284
+ const bitsLeft = 8 - entropy.length / 4;
285
+ return new Uint8Array([require_sha2.sha256(entropy)[0] >> bitsLeft << bitsLeft]);
286
+ };
287
+ function getCoder(wordlist) {
288
+ if (!Array.isArray(wordlist) || wordlist.length !== 2048 || typeof wordlist[0] !== "string") throw new Error("Wordlist: expected array of 2048 strings");
289
+ wordlist.forEach((i) => {
290
+ if (typeof i !== "string") throw new Error("wordlist: non-string element: " + i);
291
+ });
292
+ return require_Address.utils.chain(require_Address.utils.checksum(1, calcChecksum), require_Address.utils.radix2(11, true), require_Address.utils.alphabet(wordlist));
293
+ }
294
+ /**
295
+ * Reversible: Converts raw entropy in form of byte array to mnemonic string.
296
+ * @param entropy byte array
297
+ * @param wordlist imported wordlist for specific language
298
+ * @returns 12-24 words
299
+ * @example
300
+ * const ent = new Uint8Array([
301
+ * 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f,
302
+ * 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f
303
+ * ]);
304
+ * entropyToMnemonic(ent, wordlist);
305
+ * // 'legal winner thank year wave sausage worth useful legal winner thank yellow'
306
+ */
307
+ function entropyToMnemonic(entropy, wordlist) {
308
+ aentropy(entropy);
309
+ return getCoder(wordlist).encode(entropy).join(isJapanese(wordlist) ? " " : " ");
310
+ }
311
+ const psalt = (passphrase) => nfkd("mnemonic" + passphrase);
312
+ /**
313
+ * Irreversible: Uses KDF to derive 64 bytes of key data from mnemonic + optional password.
314
+ * @param mnemonic 12-24 words
315
+ * @param passphrase string that will additionally protect the key
316
+ * @returns 64 bytes of key data
317
+ * @example
318
+ * const mnem = 'legal winner thank year wave sausage worth useful legal winner thank yellow';
319
+ * mnemonicToSeedSync(mnem, 'password');
320
+ * // new Uint8Array([...64 bytes])
321
+ */
322
+ function mnemonicToSeedSync(mnemonic, passphrase = "") {
323
+ return pbkdf2(require_sha2.sha512, normalize(mnemonic).nfkd, psalt(passphrase), {
324
+ c: 2048,
325
+ dkLen: 64
326
+ });
327
+ }
328
+ //#endregion
329
+ //#region ../../packages/lib/crypto/src/value-objects/mnemonic.vo.ts
330
+ /**
331
+ * Types a list of words as a BIP-39 mnemonic; it checks nothing.
332
+ * `Mnemonic.deriveFrom(entropy)` derives 24 words from 32 bytes of entropy,
333
+ * and `Mnemonic.toSeed(words)` gives their BIP-39 seed.
334
+ */
335
+ const Mnemonic = (words) => words;
336
+ /**
337
+ * Derives a 24-word BIP39 mnemonic from 32 bytes of hex-encoded entropy.
338
+ * Uses HKDF for domain separation, so the raw entropy is never used
339
+ * directly as seed material. The entropy bytes and the expanded key are zeroed once the
340
+ * words exist; the words themselves are strings and cannot be.
341
+ */
342
+ Mnemonic.deriveFrom = (entropyHex) => {
343
+ const rawKey = require__md.hexToBytes(entropyHex);
344
+ const derived = hkdf(require_sha2.sha256, rawKey, "lace", "wallet-seed", 32);
345
+ try {
346
+ return Mnemonic(entropyToMnemonic(derived, require_english.wordlist).split(" "));
347
+ } finally {
348
+ rawKey.fill(0);
349
+ derived.fill(0);
350
+ }
351
+ };
352
+ /**
353
+ * The 64-byte BIP39 seed of the mnemonic with an empty passphrase: the seed
354
+ * that wallets deriving their keys from the BIP39 seed consume, so secrets
355
+ * derived from it match what such a wallet built from the same words would
356
+ * derive. The caller owns the bytes and zeroes them after use.
357
+ */
358
+ Mnemonic.toSeed = (words) => mnemonicToSeedSync(words.join(" "));
359
+ //#endregion
360
+ //#region ../../packages/lib/passkey/src/constants.ts
361
+ /** The label of the first PRF salt, whose output is the device secret. */
362
+ const PRF_SALT_AUTHORISER_LABEL = "lace-passport/prf/authoriser/v1";
363
+ /** The label of the second PRF salt, whose output is the root every named derivation starts from. */
364
+ const PRF_SALT_ROOT_LABEL = "lace/prf/root/v1";
365
+ /** The HKDF info label under which the record sealing key derives from the root. */
366
+ const HKDF_RECORD_KEY_INFO = "lace-passport/hkdf/record-key/v1";
367
+ /** The HKDF info label under which the wallet entropy, and from it the recovery words, derives from the root. */
368
+ const HKDF_WALLET_ENTROPY_INFO = "lace/hkdf/wallet-entropy/v1";
369
+ //#endregion
370
+ //#region ../../packages/lib/passkey/src/errors.ts
371
+ /** The user dismissed a WebAuthn ceremony. */
372
+ var PasskeyCeremonyCancelledError = class extends Error {
373
+ code = "ceremony-cancelled";
374
+ constructor() {
375
+ super("The passkey ceremony was cancelled.");
376
+ this.name = "PasskeyCeremonyCancelledError";
377
+ }
378
+ };
379
+ /** The authenticator did not supply both PRF outputs. */
380
+ var PasskeyPrfUnsupportedError = class extends Error {
381
+ code = "prf-unsupported";
382
+ constructor() {
383
+ super("The platform authenticator does not support the PRF extension.");
384
+ this.name = "PasskeyPrfUnsupportedError";
385
+ }
386
+ };
387
+ /** The selected credential differs from the imported wallet credential. */
388
+ var PasskeyCredentialMismatchError = class extends Error {
389
+ code = "credential-mismatch";
390
+ constructor() {
391
+ super("The selected passkey does not match the wallet credential.");
392
+ this.name = "PasskeyCredentialMismatchError";
393
+ }
394
+ };
395
+ /**
396
+ * The browser refused to open the signer popup (`popup-blocked`); it must be
397
+ * opened inside a user gesture.
398
+ */
399
+ var SignerPopupBlockedError = class extends Error {
400
+ code = "popup-blocked";
401
+ constructor() {
402
+ super("The browser blocked the signer popup.");
403
+ this.name = "SignerPopupBlockedError";
404
+ }
405
+ };
406
+ /**
407
+ * The signer answered a request with a failure; `code` is the code it
408
+ * reported, such as `ceremony-cancelled` when the user rejects the request
409
+ * or `malformed-request` when the signer cannot describe it for consent,
410
+ * and `details` the values it declared alongside, when any. Both come from
411
+ * the signer page, so a reader validates `details` before acting on it.
412
+ */
413
+ var RemoteSignerError = class extends Error {
414
+ code;
415
+ details;
416
+ constructor(code, message, details) {
417
+ super(message);
418
+ this.code = code;
419
+ this.details = details;
420
+ this.name = "RemoteSignerError";
421
+ }
422
+ };
423
+ /**
424
+ * The signer popup closed, as when the user closes the window, while requests
425
+ * were still pending (`ceremony-cancelled`).
426
+ */
427
+ var SignerClosedError = class extends Error {
428
+ code = "ceremony-cancelled";
429
+ constructor() {
430
+ super("The signer popup was closed.");
431
+ this.name = "SignerClosedError";
432
+ }
433
+ };
434
+ //#endregion
435
+ //#region ../../packages/lib/passkey/src/ceremony.ts
436
+ const DEFAULT_RP_NAME = "Lace";
437
+ const CHALLENGE_LENGTH = 32;
438
+ const USER_ID_LENGTH = 16;
439
+ const WALLET_ENTROPY_LENGTH = 32;
440
+ const MAX_CREDENTIAL_ID_LENGTH = 1023;
441
+ const ES256 = -7;
442
+ const RS256 = -257;
443
+ const RECIPE_VERSION = "v1";
444
+ const encodeId = (id) => btoa(String.fromCharCode(...new Uint8Array(id))).replaceAll("+", "-").replaceAll("/", "_").replace(/=+$/, "");
445
+ const decodeId = (id) => {
446
+ if (!/^[A-Za-z0-9_-]+$/.test(id) || id.length > Math.ceil(MAX_CREDENTIAL_ID_LENGTH * 4 / 3)) throw new Error("Invalid passkey credential ID.");
447
+ let bytes;
448
+ try {
449
+ bytes = Uint8Array.from(atob(id.replaceAll("-", "+").replaceAll("_", "/")), (character) => character.charCodeAt(0));
450
+ } catch {
451
+ throw new Error("Invalid passkey credential ID.");
452
+ }
453
+ if (bytes.length > MAX_CREDENTIAL_ID_LENGTH || encodeId(bytes.buffer) !== id) throw new Error("Invalid passkey credential ID.");
454
+ return bytes.buffer;
455
+ };
456
+ const utf8 = (value) => new TextEncoder().encode(value);
457
+ /** PRF salts are public domain separators: SHA-256 of their label. */
458
+ const prfSalt = async (label) => new Uint8Array(await crypto.subtle.digest("SHA-256", utf8(label)));
459
+ const isCancellation = (error) => error instanceof Object && "name" in error && error.name === "NotAllowedError";
460
+ const toBytes = (source) => source instanceof ArrayBuffer ? new Uint8Array(source) : new Uint8Array(source.buffer, source.byteOffset, source.byteLength);
461
+ /** Zeroes every PRF output of one assertion. */
462
+ const zeroOutputs = (outputs) => {
463
+ outputs.device?.fill(0);
464
+ outputs.root.fill(0);
465
+ };
466
+ /**
467
+ * The wallet entropy is HKDF-SHA256 over the root with an empty salt and a
468
+ * fixed info label. The expanded bytes are zeroed once encoded; the hex
469
+ * string is what leaves this function, and only for the caller's use.
470
+ */
471
+ const deriveWalletEntropy = (root) => {
472
+ const raw = hkdf(require_sha2.sha256, root, void 0, HKDF_WALLET_ENTROPY_INFO, WALLET_ENTROPY_LENGTH);
473
+ try {
474
+ return EntropyHex(require__md.bytesToHex(raw));
475
+ } finally {
476
+ raw.fill(0);
477
+ }
478
+ };
479
+ /**
480
+ * Runs a fresh assertion and confines the words its root derives to `consume`.
481
+ * The outputs are zeroed and the credential released on success and failure
482
+ * alike; the credential is committed only when `consume` succeeds.
483
+ */
484
+ const withCeremonyMnemonic = async (ceremony, consume) => {
485
+ const { outputs, credential } = await ceremony();
486
+ try {
487
+ const result = await consume(Mnemonic.deriveFrom(deriveWalletEntropy(outputs.root)));
488
+ credential.commit();
489
+ return result;
490
+ } finally {
491
+ credential.release();
492
+ zeroOutputs(outputs);
493
+ }
494
+ };
495
+ /**
496
+ * The credential handling every key source shares: enrolment, the pinned
497
+ * credential, and assertions evaluating the PRF at the root salt and, when
498
+ * `deviceSaltLabel` is given, at that salt first. The root output is the
499
+ * same either way, so every key source over one passkey derives the same
500
+ * words.
501
+ *
502
+ * Ceremonies pin `allowCredentials` to the credential id captured from
503
+ * passkey creation or a previous assertion; before one is known the key
504
+ * is omitted, which is how WebAuthn asks for a discoverable credential,
505
+ * so the browser offers any resident passkey for the origin. A dismissed
506
+ * prompt maps to PasskeyCeremonyCancelledError and an authenticator without
507
+ * PRF support to PasskeyPrfUnsupportedError.
508
+ *
509
+ * Enrolment asks for a platform authenticator, so the passkey is created
510
+ * on the device the user is on and syncs through their platform
511
+ * credential manager. Without that constraint a browser with no passkey
512
+ * for the origin yet offers to scan a QR code and enrol another device
513
+ * instead.
514
+ */
515
+ const createPasskeyCeremonies = ({ credentials, rpName = DEFAULT_RP_NAME, rpId = globalThis.location?.hostname, credentialId: importedCredentialId }, deviceSaltLabel) => {
516
+ if (!rpId) throw new Error("A passkey RP ID is required.");
517
+ const container = credentials ?? navigator.credentials;
518
+ let credentialPin = importedCredentialId !== void 0 ? {
519
+ credentialId: decodeId(importedCredentialId),
520
+ committed: true,
521
+ holders: 0
522
+ } : void 0;
523
+ const prfEval = async () => {
524
+ const rootSalt = await prfSalt(PRF_SALT_ROOT_LABEL);
525
+ return deviceSaltLabel === void 0 ? { first: rootSalt } : {
526
+ first: await prfSalt(deviceSaltLabel),
527
+ second: rootSalt
528
+ };
529
+ };
530
+ const toOutputs = (results) => {
531
+ if (deviceSaltLabel === void 0) {
532
+ if (!results?.first) throw new PasskeyPrfUnsupportedError();
533
+ return { root: toBytes(results.first) };
534
+ }
535
+ if (!results?.first || !results.second) throw new PasskeyPrfUnsupportedError();
536
+ return {
537
+ device: toBytes(results.first),
538
+ root: toBytes(results.second)
539
+ };
540
+ };
541
+ const credentialRef = () => credentialPin ? {
542
+ credentialId: encodeId(credentialPin.credentialId),
543
+ rpId,
544
+ recipeVersion: RECIPE_VERSION
545
+ } : void 0;
546
+ const releaseCredentialPin = (pin) => {
547
+ pin.holders -= 1;
548
+ if (!pin.committed && pin.holders === 0 && credentialPin === pin) credentialPin = void 0;
549
+ };
550
+ const createCredential = async () => {
551
+ const evaluation = await prfEval();
552
+ let created;
553
+ try {
554
+ created = await container.create({ publicKey: {
555
+ rp: {
556
+ name: rpName,
557
+ id: rpId
558
+ },
559
+ user: {
560
+ id: crypto.getRandomValues(new Uint8Array(USER_ID_LENGTH)),
561
+ name: rpName,
562
+ displayName: rpName
563
+ },
564
+ challenge: crypto.getRandomValues(new Uint8Array(CHALLENGE_LENGTH)),
565
+ pubKeyCredParams: [{
566
+ type: "public-key",
567
+ alg: ES256
568
+ }, {
569
+ type: "public-key",
570
+ alg: RS256
571
+ }],
572
+ authenticatorSelection: {
573
+ authenticatorAttachment: "platform",
574
+ residentKey: "required",
575
+ userVerification: "required"
576
+ },
577
+ extensions: { prf: { eval: evaluation } }
578
+ } });
579
+ } catch (error) {
580
+ if (isCancellation(error)) throw new PasskeyCeremonyCancelledError();
581
+ throw error;
582
+ }
583
+ if (!created) throw new PasskeyCeremonyCancelledError();
584
+ const credential = created;
585
+ if (!credential.getClientExtensionResults().prf?.enabled) throw new PasskeyPrfUnsupportedError();
586
+ credentialPin = {
587
+ credentialId: credential.rawId,
588
+ committed: true,
589
+ holders: 0
590
+ };
591
+ return credentialRef();
592
+ };
593
+ let enrolment;
594
+ const ensureCredential = async () => {
595
+ const existing = credentialRef();
596
+ if (existing) return existing;
597
+ enrolment ??= createCredential().finally(() => {
598
+ enrolment = void 0;
599
+ });
600
+ return enrolment;
601
+ };
602
+ const ceremony = async () => {
603
+ const evaluation = await prfEval();
604
+ const expectedPin = credentialPin;
605
+ const expectedCredentialId = expectedPin?.credentialId;
606
+ if (expectedPin) expectedPin.holders += 1;
607
+ let asserted;
608
+ try {
609
+ asserted = await container.get({ publicKey: {
610
+ challenge: crypto.getRandomValues(new Uint8Array(CHALLENGE_LENGTH)),
611
+ rpId,
612
+ ...expectedCredentialId && { allowCredentials: [{
613
+ type: "public-key",
614
+ id: expectedCredentialId
615
+ }] },
616
+ userVerification: "required",
617
+ extensions: { prf: { eval: evaluation } }
618
+ } });
619
+ } catch (error) {
620
+ if (expectedPin) releaseCredentialPin(expectedPin);
621
+ if (isCancellation(error)) throw new PasskeyCeremonyCancelledError();
622
+ throw error;
623
+ }
624
+ if (!asserted) {
625
+ if (expectedPin) releaseCredentialPin(expectedPin);
626
+ throw new PasskeyCeremonyCancelledError();
627
+ }
628
+ let heldPin = expectedPin;
629
+ try {
630
+ const credential = asserted;
631
+ if (expectedCredentialId && encodeId(credential.rawId) !== encodeId(expectedCredentialId)) throw new PasskeyCredentialMismatchError();
632
+ const outputs = toOutputs(credential.getClientExtensionResults().prf?.results);
633
+ if (!heldPin) {
634
+ const currentPin = credentialPin;
635
+ if (currentPin && encodeId(credential.rawId) !== encodeId(currentPin.credentialId)) throw new PasskeyCredentialMismatchError();
636
+ if (currentPin) {
637
+ currentPin.holders += 1;
638
+ heldPin = currentPin;
639
+ } else {
640
+ heldPin = {
641
+ credentialId: credential.rawId,
642
+ committed: false,
643
+ holders: 1
644
+ };
645
+ credentialPin = heldPin;
646
+ }
647
+ }
648
+ const selectedPin = heldPin;
649
+ let isReleased = false;
650
+ return {
651
+ outputs,
652
+ credential: {
653
+ commit: () => {
654
+ selectedPin.committed = true;
655
+ },
656
+ release: () => {
657
+ if (isReleased) return;
658
+ isReleased = true;
659
+ releaseCredentialPin(selectedPin);
660
+ }
661
+ }
662
+ };
663
+ } catch (error) {
664
+ if (heldPin) releaseCredentialPin(heldPin);
665
+ throw error;
666
+ }
667
+ };
668
+ return {
669
+ ensureCredential,
670
+ credentialRef,
671
+ ceremony
672
+ };
673
+ };
674
+ //#endregion
675
+ //#region ../../packages/lib/passkey/src/key-source.ts
676
+ /**
677
+ * Creates the key source of one passkey: it runs the WebAuthn PRF ceremony
678
+ * and derives the passkey's wallet words, handing them only to the callback
679
+ * of `withPasskeyMnemonic`.
680
+ *
681
+ * @remarks
682
+ * A {@link PasskeyKeySource} over the WebAuthn PRF extension. Each call to
683
+ * `withPasskeyMnemonic` is its own assertion: the PRF output is the root,
684
+ * the words derive from it through HKDF and BIP-39, and the root is zeroed
685
+ * once the callback settles, on success and failure alike. Nothing is kept
686
+ * between calls except the credential id.
687
+ *
688
+ * Ceremonies pin `allowCredentials` to the credential id captured from
689
+ * passkey creation or a previous assertion; before one is known the key is
690
+ * omitted, so the browser offers any resident passkey for the origin. A
691
+ * dismissed prompt rejects with a `ceremony-cancelled` error and an
692
+ * authenticator without PRF support with a `prf-unsupported` one.
693
+ *
694
+ * Enrolment asks for a platform authenticator, so the passkey is created on
695
+ * the device the user is on and syncs through their platform credential
696
+ * manager. Without that constraint a browser with no passkey for the origin
697
+ * yet offers to scan a QR code and enrol another device instead.
698
+ *
699
+ * @param props - The relying party, a saved credential ID and the WebAuthn
700
+ * entry point, each optional.
701
+ */
702
+ const createPasskeyKeySource = (props = {}) => {
703
+ const { ensureCredential, credentialRef, ceremony } = createPasskeyCeremonies(props);
704
+ return {
705
+ ensureCredential,
706
+ credentialRef,
707
+ withPasskeyMnemonic: async (use) => withCeremonyMnemonic(ceremony, use)
708
+ };
709
+ };
710
+ //#endregion
711
+ Object.defineProperty(exports, "EntropyHex", {
712
+ enumerable: true,
713
+ get: function() {
714
+ return EntropyHex;
715
+ }
716
+ });
717
+ Object.defineProperty(exports, "HKDF_RECORD_KEY_INFO", {
718
+ enumerable: true,
719
+ get: function() {
720
+ return HKDF_RECORD_KEY_INFO;
721
+ }
722
+ });
723
+ Object.defineProperty(exports, "Mnemonic", {
724
+ enumerable: true,
725
+ get: function() {
726
+ return Mnemonic;
727
+ }
728
+ });
729
+ Object.defineProperty(exports, "PRF_SALT_AUTHORISER_LABEL", {
730
+ enumerable: true,
731
+ get: function() {
732
+ return PRF_SALT_AUTHORISER_LABEL;
733
+ }
734
+ });
735
+ Object.defineProperty(exports, "PasskeyCeremonyCancelledError", {
736
+ enumerable: true,
737
+ get: function() {
738
+ return PasskeyCeremonyCancelledError;
739
+ }
740
+ });
741
+ Object.defineProperty(exports, "PasskeyPrfUnsupportedError", {
742
+ enumerable: true,
743
+ get: function() {
744
+ return PasskeyPrfUnsupportedError;
745
+ }
746
+ });
747
+ Object.defineProperty(exports, "RemoteSignerError", {
748
+ enumerable: true,
749
+ get: function() {
750
+ return RemoteSignerError;
751
+ }
752
+ });
753
+ Object.defineProperty(exports, "SignerClosedError", {
754
+ enumerable: true,
755
+ get: function() {
756
+ return SignerClosedError;
757
+ }
758
+ });
759
+ Object.defineProperty(exports, "SignerPopupBlockedError", {
760
+ enumerable: true,
761
+ get: function() {
762
+ return SignerPopupBlockedError;
763
+ }
764
+ });
765
+ Object.defineProperty(exports, "createPasskeyCeremonies", {
766
+ enumerable: true,
767
+ get: function() {
768
+ return createPasskeyCeremonies;
769
+ }
770
+ });
771
+ Object.defineProperty(exports, "createPasskeyKeySource", {
772
+ enumerable: true,
773
+ get: function() {
774
+ return createPasskeyKeySource;
775
+ }
776
+ });
777
+ Object.defineProperty(exports, "deriveWalletEntropy", {
778
+ enumerable: true,
779
+ get: function() {
780
+ return deriveWalletEntropy;
781
+ }
782
+ });
783
+ Object.defineProperty(exports, "hkdf", {
784
+ enumerable: true,
785
+ get: function() {
786
+ return hkdf;
787
+ }
788
+ });
789
+ Object.defineProperty(exports, "hmac", {
790
+ enumerable: true,
791
+ get: function() {
792
+ return hmac;
793
+ }
794
+ });
795
+ Object.defineProperty(exports, "withCeremonyMnemonic", {
796
+ enumerable: true,
797
+ get: function() {
798
+ return withCeremonyMnemonic;
799
+ }
800
+ });
801
+ Object.defineProperty(exports, "zeroOutputs", {
802
+ enumerable: true,
803
+ get: function() {
804
+ return zeroOutputs;
805
+ }
806
+ });