@laceio/sdk 0.1.1 → 0.1.2-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 (388) hide show
  1. package/dist/{TransactionBuilder-DrB3NVTi.cjs → TransactionBuilder-CCjOn7NA.cjs} +42 -0
  2. package/dist/{TransactionBuilder-V6aLx4SV.js → TransactionBuilder-CIzdw18M.js} +1 -1
  3. package/dist/{_polyfill-buffer-patch-BnPVerlG.cjs → _polyfill-buffer-patch-CM8X7JiY.cjs} +21 -2
  4. package/dist/_polyfill-buffer-patch-yNxN4d5E.js +1467 -0
  5. package/dist/_web-crypto-random-bytes-Bo-GTcRS.js +197 -0
  6. package/dist/acc-module-4iIUv6My.cjs +27654 -0
  7. package/dist/acc-module-Cmj8EsIb.js +27624 -0
  8. package/dist/account-BOQruszJ.js +6 -0
  9. package/dist/account-BUOj4pYJ.cjs +11 -0
  10. package/dist/account-call-7wnopBq0.cjs +5 -0
  11. package/dist/account-call-B9d_2Xwi.js +4 -0
  12. package/dist/account-call-Bd4Rpbvt.cjs +323 -0
  13. package/dist/account-call-C3CkDqEC.js +276 -0
  14. package/dist/account-guards-BtjTGxDZ.cjs +42 -0
  15. package/dist/account-guards-D9Lu5T3W.js +36 -0
  16. package/dist/account-tokens-DvkOFVON.js +16 -0
  17. package/dist/account-tokens-nwcvwLu4.cjs +21 -0
  18. package/dist/{activity-type.stable-BJEfeLxL.cjs → activity-type-Ch6ljxBy.cjs} +2 -1
  19. package/dist/{activity-type.stable-C76_hWd7.js → activity-type-GsJGWs-3.js} +2 -1
  20. package/dist/address-B9ntKL8K.js +13761 -0
  21. package/dist/address-BXp-mY8H.cjs +11270 -0
  22. package/dist/{address-book-address-validator-DIUolI-s.js → address-book-address-validator-0J9XAADH.js} +2 -2
  23. package/dist/address-book-address-validator-DK0dnsRS.cjs +41 -0
  24. package/dist/address-book-address-validator-Di_ywo8M.js +39 -0
  25. package/dist/{address-book-address-validator-DNwQGlOB.cjs → address-book-address-validator-Dte_YQ2L.cjs} +2 -2
  26. package/dist/artefact-loader-BWWYAD7E.cjs +183 -0
  27. package/dist/artefact-loader-Dik4HIfv.js +160 -0
  28. package/dist/auto-dismiss-failure-on-success-C-qoJuid.cjs +37 -0
  29. package/dist/auto-dismiss-failure-on-success-s8MGDEIu.js +31 -0
  30. package/dist/bip32-D6wd_QMn.cjs +3851 -0
  31. package/dist/bitcoin-data-provider-BYPSmuZS.js +21 -0
  32. package/dist/bitcoin-data-provider-w1oEDSU3.cjs +26 -0
  33. package/dist/bitcoin.cjs +45 -0
  34. package/dist/bitcoin.d.ts +29906 -1
  35. package/dist/bitcoin.js +20 -0
  36. package/dist/{blockfrost-tx-submit-provider-DPTrapz-.js → blockfrost-tx-submit-provider-CBWQ0wK9.js} +5 -157
  37. package/dist/{blockfrost-tx-submit-provider-BAIzV5o3.cjs → blockfrost-tx-submit-provider-CLNQ5ycR.cjs} +3 -167
  38. package/dist/bn-d3nSOIf7.cjs +2553 -0
  39. package/dist/browser-B1eMbDwh.js +7468 -0
  40. package/dist/bytes.vo-BB7_4JK6.js +23 -0
  41. package/dist/bytes.vo-BNRquqaO.cjs +34 -0
  42. package/dist/cardano-DfPwhwm-.js +3 -0
  43. package/dist/{cardano-network-id.vo-DSxrFk9S.cjs → cardano-network-id.vo-BEDPn6Li.cjs} +1 -1
  44. package/dist/{cardano-network-id.vo-CK1tNQDg.js → cardano-network-id.vo-Cfpvbod9.js} +1 -1
  45. package/dist/cardano.cjs +22 -18
  46. package/dist/cardano.d.ts +16956 -1716
  47. package/dist/cardano.js +16 -11
  48. package/dist/client-DXBLHk7K.cjs +808 -0
  49. package/dist/codecs-Cswkg7Tm.cjs +4051 -0
  50. package/dist/codecs-Dc1Krpbt.js +3903 -0
  51. package/dist/{const-C84qHkjp.js → const-BJfIK_G-.js} +4 -4
  52. package/dist/const-BhYOdznB.cjs +42 -0
  53. package/dist/const-BsnjG2_Q.cjs +32071 -0
  54. package/dist/const-CUnCl5U0.js +13 -0
  55. package/dist/{const-DXk2tFyv.js → const-CjmfjBP3.js} +1 -1
  56. package/dist/{const-BDEg2Trq.cjs → const-D-eZIS4n.cjs} +4 -4
  57. package/dist/const-D0CbQlo4.js +154 -0
  58. package/dist/{const-BY8B3_0_.cjs → const-iwzZEE_w.cjs} +1 -1
  59. package/dist/contract-1R86jhSw.js +171 -0
  60. package/dist/contract-MKLzYVkW.cjs +189 -0
  61. package/dist/create-add-accounts-Brqk84vF.js +102 -0
  62. package/dist/create-add-accounts-DzXIh7Ot.cjs +114 -0
  63. package/dist/{delegation-tx-builder-CRpLP6jH.cjs → delegation-tx-builder-CCjiakoy.cjs} +6 -6
  64. package/dist/{delegation-tx-builder-CGVqlaFE.js → delegation-tx-builder-DZFjHDS8.js} +5 -5
  65. package/dist/{deregistration-tx-builder-B-CrUyX6.js → deregistration-tx-builder-Bf6xAYp4.js} +5 -5
  66. package/dist/{deregistration-tx-builder-DZGwB4cz.cjs → deregistration-tx-builder-CQP35yex.cjs} +6 -6
  67. package/dist/device-commitment-hex.vo-5wFtQvDS.js +26 -0
  68. package/dist/device-commitment-hex.vo-CT3RmAug.cjs +31 -0
  69. package/dist/device-readers-CUHYoYOH.js +145 -0
  70. package/dist/device-readers-CdxS2btd.cjs +168 -0
  71. package/dist/device-readers-D_JZeNL2.cjs +8 -0
  72. package/dist/device-readers-DwSNCGPP.js +4 -0
  73. package/dist/dist-BMi5ZjEq.cjs +43175 -0
  74. package/dist/dist-BtIq4XFn.cjs +535 -0
  75. package/dist/dist-C3SHC_Ho.cjs +1394 -0
  76. package/dist/dist-CykEjYEX.cjs +3814 -0
  77. package/dist/dist-Dcsxh3be.cjs +3452 -0
  78. package/dist/dist-DqJfSlTd.cjs +4413 -0
  79. package/dist/dist-nTZ70qj7.cjs +1306 -0
  80. package/dist/{earn-rewards-tx-builder-BDbTDZmD.js → earn-rewards-tx-builder-Bsga3yFb.js} +5 -5
  81. package/dist/{earn-rewards-tx-builder-D5sUT5v8.cjs → earn-rewards-tx-builder-GuxofYns.cjs} +6 -6
  82. package/dist/enc-key-circuits-B7BjgUL9.js +13 -0
  83. package/dist/enc-key-circuits-BLrZrBVI.cjs +24 -0
  84. package/dist/english-Byb9M0E_.cjs +2057 -0
  85. package/dist/envelopes-BGoO_v8m.js +1621 -0
  86. package/dist/envelopes-CH25R-DN.cjs +1722 -0
  87. package/dist/errors-BIftM8ZN.cjs +688 -0
  88. package/dist/errors-DSq5wUwt.js +466 -0
  89. package/dist/esm-HBSUQw3w.js +384 -0
  90. package/dist/esm-LZuaZjMf.cjs +389 -0
  91. package/dist/experimental.cjs +7349 -0
  92. package/dist/experimental.d.ts +86273 -0
  93. package/dist/experimental.js +7184 -0
  94. package/dist/gated-call-CDCVZIK-.cjs +5 -0
  95. package/dist/gated-call-D-tT7P_t.js +722 -0
  96. package/dist/gated-call-D_VT2quk.js +4 -0
  97. package/dist/gated-call-DgJm1Mi_.cjs +787 -0
  98. package/dist/grant-circuits-DswmW3nI.cjs +71 -0
  99. package/dist/grant-circuits-Jxb5y1HW.js +42 -0
  100. package/dist/grant-rules-By07_eDi.js +6824 -0
  101. package/dist/grant-rules-BzVTWXS7.cjs +7099 -0
  102. package/dist/grant-spend-B3Md9L0n.js +215 -0
  103. package/dist/grant-spend-oWmzRsjH.cjs +217 -0
  104. package/dist/grant-status-B2y49iIu.js +2688 -0
  105. package/dist/grant-status-DOr3t_u8.cjs +2820 -0
  106. package/dist/grants-2BZ-qEVQ.js +5 -0
  107. package/dist/grants-BPoLSiMt.cjs +18 -0
  108. package/dist/grants-BoI5uwSF.cjs +272 -0
  109. package/dist/grants-CtofFu-e.js +213 -0
  110. package/dist/{group-cardano-addresses-by-account-B533oVXR.cjs → group-cardano-addresses-by-account-Bp0g4wEY.cjs} +3 -39
  111. package/dist/{group-cardano-addresses-by-account-RHKoEskR.js → group-cardano-addresses-by-account-SR8MMrZf.js} +5 -35
  112. package/dist/{guarded-transaction-signer-Bxl6_XNd.cjs → guarded-transaction-signer-MFpPg98D.cjs} +17 -18
  113. package/dist/{guarded-transaction-signer-CpKLj8Kp.js → guarded-transaction-signer-P6Rp1faj.js} +8 -15
  114. package/dist/hex-D9ITYbwt.cjs +263 -0
  115. package/dist/hex-mkXcV3pN.js +191 -0
  116. package/dist/http-client-B3N-TMxu.cjs +167 -0
  117. package/dist/http-client-TRlhDZGh.js +155 -0
  118. package/dist/identity-BMLuufva.cjs +263 -0
  119. package/dist/identity-DII6f-h7.js +233 -0
  120. package/dist/in-memory-wallet-integration-B2xzxORj.cjs +20741 -0
  121. package/dist/in-memory-wallet-integration-CBRiPjLO.js +130 -0
  122. package/dist/in-memory-wallet-integration-CULUB5Tf.cjs +240 -0
  123. package/dist/{in-memory-wallet-integration-D-qn65Kx.js → in-memory-wallet-integration-ChIOirMW.js} +5 -2
  124. package/dist/{in-memory-wallet-integration-Croiuopx.js → in-memory-wallet-integration-CljprQQV.js} +7 -104
  125. package/dist/{in-memory-wallet-integration-DVh9sRXa.cjs → in-memory-wallet-integration-Cm6P8sk6.cjs} +3 -2
  126. package/dist/in-memory-wallet-integration-TM9bBphA.js +20738 -0
  127. package/dist/{in-memory-wallet-integration-CnLYeX4-.cjs → in-memory-wallet-integration-t9I00R_V.cjs} +17 -108
  128. package/dist/index.cjs +84 -47
  129. package/dist/index.d.ts +37496 -10033
  130. package/dist/index.js +52 -24
  131. package/dist/{init-CLHuAMB-.js → init-0zzs9aqU.js} +4 -4
  132. package/dist/{init-U8c9yHYx.cjs → init-5KcGcBb5.cjs} +1 -1
  133. package/dist/init-8v_n8boO.js +1177 -0
  134. package/dist/{init-CigestoM.js → init-B3-1ghyx.js} +2 -2
  135. package/dist/init-B8U3ABhS.cjs +107 -0
  136. package/dist/init-BJn-8_hf.js +141 -0
  137. package/dist/init-BPU3j8sT.cjs +6 -0
  138. package/dist/init-BRzH6xu-2.cjs +2797 -0
  139. package/dist/init-BmzfDaKL.js +1142 -0
  140. package/dist/{init-C-jErzp5.cjs → init-BopV9ed4.cjs} +2 -2
  141. package/dist/init-BpHTq2R5.js +105 -0
  142. package/dist/init-BpSITBfF.js +39 -0
  143. package/dist/{init-DX4WyB0R.cjs → init-BrdVzxei.cjs} +3 -3
  144. package/dist/{init-LfyMo-sS.cjs → init-BwkU0ruo.cjs} +2 -2
  145. package/dist/{init-CB__aLD7.cjs → init-C-G32J12.cjs} +2 -2
  146. package/dist/init-C00gw1zi.js +422 -0
  147. package/dist/{init-TkPq_Ny_.js → init-C2RgrfZe.js} +1 -1
  148. package/dist/{init-DcYY6zMD.js → init-C8URA2OX.js} +1 -1
  149. package/dist/init-CDkRynJa.js +2796 -0
  150. package/dist/{init-Cg9XdAru.js → init-CNM5m7M2.js} +4 -4
  151. package/dist/init-CR7BfztQ.cjs +18 -0
  152. package/dist/{init-CSHwHnfg.cjs → init-CSDpdu0Q.cjs} +2 -2
  153. package/dist/{init-aJHl-7AO.js → init-CX0AMQUn.js} +2 -2
  154. package/dist/{init-FMGDET-9.js → init-CfTbSEKy.js} +259 -60
  155. package/dist/{init-CR6tpw1B.js → init-Cigr_tKx.js} +47 -43
  156. package/dist/init-CuW7rHNA.js +3584 -0
  157. package/dist/{init-CFYsq82V.js → init-CyAY4Lzl.js} +1 -1
  158. package/dist/init-Cz0rz5fU.cjs +3585 -0
  159. package/dist/{init-BKhH6mVR.cjs → init-D6BxBs7e.cjs} +1 -1
  160. package/dist/init-D8OeObDF.cjs +1141 -0
  161. package/dist/init-D9g1HXYf.cjs +40 -0
  162. package/dist/{init-CNLGJJRx.js → init-DA7zmptx.js} +1 -1
  163. package/dist/{init-DkIc5nqF.cjs → init-DFMiP2ZH.cjs} +1 -1
  164. package/dist/{init-zSzCjoor.js → init-DFjT8YvT.js} +4 -4
  165. package/dist/init-DGjXwWs2.cjs +143 -0
  166. package/dist/init-DHrCbpkW.cjs +121 -0
  167. package/dist/{init-B64zCLxG.cjs → init-DUF4ar8P.cjs} +4 -4
  168. package/dist/init-DlqJuHhl.js +119 -0
  169. package/dist/{init-y2Ra0vZP.js → init-Dnsv155v.js} +3 -3
  170. package/dist/init-DrRdf5sZ.cjs +1176 -0
  171. package/dist/init-DuYENxci.js +17 -0
  172. package/dist/{init-D6DBUsD3.cjs → init-Dv3zKj0r.cjs} +4 -4
  173. package/dist/{init-BtzMZ7Pk.cjs → init-Dy-05ktr.cjs} +1 -1
  174. package/dist/{init-BsCBAGWf.cjs → init-EP0CUWNK.cjs} +2 -2
  175. package/dist/{init-BJVU54pI.cjs → init-EhzD7a8i.cjs} +1 -1
  176. package/dist/{init-w9GEs73W.js → init-Fw89ZmrR.js} +2 -2
  177. package/dist/init-GsT2AEa4.cjs +424 -0
  178. package/dist/{init-Rxohwpmu.js → init-NCjgwCZy.js} +2 -2
  179. package/dist/{init-DxUHsN53.cjs → init-NdhG_VrF.cjs} +6 -6
  180. package/dist/{init-DDdhguVC.js → init-SZ01tARX2.js} +2 -2
  181. package/dist/{init-BAJJzBza.js → init-Y3mkB4XS.js} +2 -2
  182. package/dist/init-c4l6r-o-.js +5 -0
  183. package/dist/{init-Dku4b2lG.js → init-kEfUTuG2.js} +1 -1
  184. package/dist/{init-C7IeJwQR.cjs → init-lzHt4Cli.cjs} +256 -59
  185. package/dist/{init-anYu6XB7.cjs → init-rmt7-fQE.cjs} +2 -2
  186. package/dist/{init-C4Bkib9u.cjs → init-zU-_9Gsp.cjs} +67 -65
  187. package/dist/{is-retriable-error-BU0e3hVI.js → is-retriable-error-BUiVJDwH.js} +1 -1
  188. package/dist/{is-retriable-error-CeeuHqDa.cjs → is-retriable-error-Dpt860if.cjs} +1 -1
  189. package/dist/jubjub-authoriser-D7zDXu3V.js +86 -0
  190. package/dist/jubjub-authoriser-Dgu6o3Sv.cjs +87 -0
  191. package/dist/key-source-5oUBFiC7.cjs +583 -0
  192. package/dist/key-source-B08HukZg.js +2550 -0
  193. package/dist/keyDerivation-D3k9XyHg.js +4077 -0
  194. package/dist/keyDerivation-u0nBA93T.cjs +274 -0
  195. package/dist/{lace-context-CZcNHr4M.js → lace-context-BZciB9c7.js} +4 -4
  196. package/dist/{lace-context-fJTDghdp.cjs → lace-context-DgR6vLli.cjs} +4 -4
  197. package/dist/lib--iqvW4O_.js +2354 -0
  198. package/dist/lib-Yk6Upl5D.cjs +2359 -0
  199. package/dist/{libsodium-wrappers-UH0LaOUE.js → libsodium-wrappers-BhbOA8dQ.js} +3 -1647
  200. package/dist/midnight-account-id.vo-0x9X-r3l.cjs +10 -0
  201. package/dist/midnight-account-id.vo-DjCAGcqc.js +5 -0
  202. package/dist/midnight-engine-DpemplKO.js +5 -0
  203. package/dist/midnight-engine-xU1wotne.cjs +6 -0
  204. package/dist/midnight-wallet-DIsAlSn6.js +18 -0
  205. package/dist/midnight-wallet-XTZc2li7.cjs +24 -0
  206. package/dist/midnight.cjs +1408 -0
  207. package/dist/midnight.d.ts +28934 -0
  208. package/dist/midnight.js +1352 -0
  209. package/dist/modules-cardano-B1nDUWqy.js +995 -0
  210. package/dist/modules-cardano-BYeYHrRm.cjs +1108 -0
  211. package/dist/node-relay-DWe1U0w2.cjs +49 -0
  212. package/dist/node-relay-h4i5IlAQ.js +48 -0
  213. package/dist/outputs-Bd2yZVjx.js +720 -0
  214. package/dist/outputs-CJoQBIA2.cjs +990 -0
  215. package/dist/pbkdf2-CIW-oWrm.cjs +1337 -0
  216. package/dist/pending-operation-B0_P78Jo.cjs +26 -0
  217. package/dist/pending-operation-BIS6mpjB.js +21 -0
  218. package/dist/providers-FjhM47BH.cjs +388 -0
  219. package/dist/providers-WtiSuxFu.js +365 -0
  220. package/dist/redacted-BmE2aXqr.js +81 -0
  221. package/dist/redacted-CRZJLS3w.cjs +86 -0
  222. package/dist/{retry-config-DC5IMaH7.cjs → retry-config-BaCfVC1H.cjs} +1 -1
  223. package/dist/{retry-config-BcUmMS--.js → retry-config-Dmgt28wM.js} +1 -1
  224. package/dist/safe-buffer-B_vMqJWU.js +43 -0
  225. package/dist/safe-buffer-DYOwEfHB.cjs +48 -0
  226. package/dist/sdk-Cb-gZnS9.js +1241 -0
  227. package/dist/sdk-DffwmX8b.cjs +1439 -0
  228. package/dist/sdk-init-Bln9rFtn.js +4138 -0
  229. package/dist/sdk-init-CYViTJY_.cjs +3841 -0
  230. package/dist/{seam-cardano-CATqBEyK.js → seam-cardano-B_etH4F4.js} +1 -1
  231. package/dist/{bytes.vo-TgiwogWF.js → secret-box-DUR0ACYz.js} +3 -25
  232. package/dist/{bytes.vo-Ck5u40RA.cjs → secret-box-DrjLZuS1.cjs} +1 -35
  233. package/dist/send-proof-progress-C-ljq1x5.js +30 -0
  234. package/dist/send-proof-progress-vmsaSfbz.cjs +47 -0
  235. package/dist/side-effects-BnqYz7Nl.js +768 -0
  236. package/dist/side-effects-CngaeXi0.cjs +804 -0
  237. package/dist/sign-bitcoin-transaction-with-seed-D4z62-jV.js +147 -0
  238. package/dist/sign-bitcoin-transaction-with-seed-DsLYXnCY.cjs +158 -0
  239. package/dist/signer-3fk8lZtE.cjs +7 -0
  240. package/dist/signer-CsL28DrK.cjs +121 -0
  241. package/dist/signer-DGluibtn.js +92 -0
  242. package/dist/signer-RqB5pu3K.js +2 -0
  243. package/dist/signer-factory-BA7WFJVZ.js +282 -0
  244. package/dist/signer-factory-Cwd6o-lG.cjs +281 -0
  245. package/dist/{signer-factory-9URFliA5.js → signer-factory-DObB55D4.js} +6 -3
  246. package/dist/signer-factory-DhZiE03y.cjs +149 -0
  247. package/dist/{signer-factory-BWGUmnvm.cjs → signer-factory-Ds6G2AZk.cjs} +4 -3
  248. package/dist/signer-factory-hzSRaIw2.js +148 -0
  249. package/dist/{slice-CuHUaPZx.cjs → slice-7G2xxYKJ.cjs} +3 -3
  250. package/dist/{slice-DZmQJNV8.cjs → slice-B4CdYoPu.cjs} +2 -2
  251. package/dist/slice-BPNuHKfw.js +9091 -0
  252. package/dist/{slice-DGcNrbPR.cjs → slice-Bg6HEr3K.cjs} +4 -4
  253. package/dist/{slice-DtaO72qY.cjs → slice-Bs2aMERu.cjs} +3 -3
  254. package/dist/{slice-HeHCv3bl.cjs → slice-C34iOOUH.cjs} +7 -7
  255. package/dist/{slice-Do2R2CYW.cjs → slice-C9TT5KhY.cjs} +6 -6
  256. package/dist/{slice-eIwcwKHI.js → slice-CK07EBCo.js} +4 -4
  257. package/dist/{slice-CnyWevM9.js → slice-CU80pbiu.js} +3 -3
  258. package/dist/{slice-CobanYgn.js → slice-CwyYrh1H.js} +2 -2
  259. package/dist/slice-Czfp6t84.cjs +436 -0
  260. package/dist/{slice-d0p6-xj5.js → slice-D-9aPKG-.js} +6 -6
  261. package/dist/{slice-maaskdUn.js → slice-DBpJ2QGf.js} +6 -6
  262. package/dist/{slice-mxLQ_FeY.cjs → slice-DTZTiJle.cjs} +352 -39
  263. package/dist/{slice-zJ9XVYjZ.js → slice-Da426sf9.js} +1 -1
  264. package/dist/{slice-D11m2EKl.cjs → slice-DayJvMRD.cjs} +1 -1
  265. package/dist/slice-DnBWfA-k.cjs +9109 -0
  266. package/dist/{slice-oqm_r1cS.cjs → slice-DnG-yvpI.cjs} +2 -2
  267. package/dist/{slice-BNu73oBa.js → slice-DyNs7oWp.js} +2 -2
  268. package/dist/{slice-CB4SnzMm.js → slice-GwiiJRoq.js} +3 -3
  269. package/dist/slice-oWnc7YVD.js +412 -0
  270. package/dist/{slice-B2PhoWAg.js → slice-qt0uBExh.js} +325 -37
  271. package/dist/slice-t8Gzj55G2.cjs +106 -0
  272. package/dist/slice-t8Q1cHm-.js +88 -0
  273. package/dist/src-BDzYIksE.cjs +20637 -0
  274. package/dist/src-BFoefPv_.js +20755 -0
  275. package/dist/store-B1Lq3cEf.cjs +66 -0
  276. package/dist/store-DuBG8qh5.js +37 -0
  277. package/dist/submit-Bs77dPn_.cjs +413 -0
  278. package/dist/submit-DOv8Z0Vf.js +336 -0
  279. package/dist/submit-bitcoin-tx-D6oYgH5S.js +983 -0
  280. package/dist/submit-bitcoin-tx-goFuRL7K.cjs +1049 -0
  281. package/dist/{sync-operation-utils-BYXLO80m.js → sync-operation-utils-31iFLExW.js} +2 -38
  282. package/dist/{sync-operation-utils-SdPbwFoD.cjs → sync-operation-utils-COIZ66-I.cjs} +1 -67
  283. package/dist/token-id-mapper-Bnds3xKH.cjs +18 -0
  284. package/dist/{token-id-mapper-DsPAL6Nh.cjs → token-id-mapper-CVyQJUKY.cjs} +2 -2
  285. package/dist/token-id-mapper-CnKHQ8DV.js +16 -0
  286. package/dist/{token-id-mapper-B2ivlLv3.js → token-id-mapper-D29Ggv8h.js} +2 -2
  287. package/dist/tokens-Cevp7rdU.cjs +62 -0
  288. package/dist/tokens-Diw4MLRM.js +44 -0
  289. package/dist/types-B8uiJn-X.js +12 -0
  290. package/dist/types-BHC12eSa.js +33 -0
  291. package/dist/types-CJT6XF2c.js +10 -0
  292. package/dist/types-CLRUYpfe.cjs +23 -0
  293. package/dist/types-Cc3mC8u0.cjs +50 -0
  294. package/dist/types-DWbVZpnF.cjs +15 -0
  295. package/dist/unwrap-provider-result-BZSiwabU.js +32 -0
  296. package/dist/unwrap-provider-result-ZqfBsTkk.cjs +39 -0
  297. package/dist/{util-CGzqQ8IV.cjs → util-Bu4W5lF4.cjs} +1 -1
  298. package/dist/{util-BaLzwa32.js → util-Cp5cZkfK.js} +1 -1
  299. package/dist/{utils-o8aMjfln.js → utils-BfBEUvWA.js} +2 -2
  300. package/dist/utils-DFwzEvbv.js +65 -0
  301. package/dist/{utils-5JvjbqH3.cjs → utils-DsElZgCI.cjs} +7 -1
  302. package/dist/utils-IXxR-Djh.cjs +112 -0
  303. package/dist/v8Signatures-CO_Uloy7.cjs +71 -0
  304. package/dist/{vote-delegation-tx-builder-BpEMSti4.cjs → vote-delegation-tx-builder-BUg1S2Ep.cjs} +6 -6
  305. package/dist/{vote-delegation-tx-builder-CmKv6GoG.js → vote-delegation-tx-builder-C6FiS7zI.js} +5 -5
  306. package/dist/watch-CUEvcP-V.js +21997 -0
  307. package/dist/watch-DMF2s-II.cjs +52281 -0
  308. package/package.json +96 -4
  309. package/dist/account-guards.stable-B1DSSh9D.cjs +0 -10
  310. package/dist/account-guards.stable-JRQ5qx2V.js +0 -5
  311. package/dist/codecs-B7X9pAsK.cjs +0 -1945
  312. package/dist/codecs-CC1Xjntz.js +0 -1882
  313. package/dist/init-Bv53hpLM.js +0 -19
  314. package/dist/init-CRbjI7p1.js +0 -3494
  315. package/dist/init-DAna1KCg.cjs +0 -3495
  316. package/dist/init-DGe47B22.cjs +0 -364
  317. package/dist/init-DMtyvYfC.cjs +0 -21
  318. package/dist/init-TkPDD750.js +0 -363
  319. package/dist/modules-cardano-BDvuL4Xx.js +0 -5248
  320. package/dist/modules-cardano-D2G3De2P.cjs +0 -5432
  321. package/dist/slice-CGVHXHDt.cjs +0 -125
  322. package/dist/slice-DhvF7L6X.js +0 -107
  323. /package/dist/{account-id.vo-LvCBVn5r.cjs → account-id.vo-DwqFjK5u.cjs} +0 -0
  324. /package/dist/{account-id.vo-MYSI7YFm.js → account-id.vo-OPz2v-JZ.js} +0 -0
  325. /package/dist/{actions-DdGbj7c7.cjs → actions-B2BJ4RTy.cjs} +0 -0
  326. /package/dist/{actions-9QSQR-GB.js → actions-iLXdgL5Y.js} +0 -0
  327. /package/dist/{apply-vkey-witnesses-ClZbpk5w.js → apply-vkey-witnesses-BKx3lcs0.js} +0 -0
  328. /package/dist/{apply-vkey-witnesses-CLzVSWxl.cjs → apply-vkey-witnesses-ZnFS0jnJ.cjs} +0 -0
  329. /package/dist/{asyncoption-Cw07zPH7.js → asyncoption-CruEYOBI.js} +0 -0
  330. /package/dist/{asyncoption-DYoGuQfP.cjs → asyncoption-i0VbqVTq.cjs} +0 -0
  331. /package/dist/{bignum.vo-B0rK_PQ1.js → bignum.vo-CEXOIew0.js} +0 -0
  332. /package/dist/{bignum.vo-DsG3kNiZ.cjs → bignum.vo-hx2kuqlA.cjs} +0 -0
  333. /package/dist/{bip32ed25519-1ApqeAZk.cjs → bip32ed25519-B7Yat217.cjs} +0 -0
  334. /package/dist/{bip32ed25519-DetAdGwD.js → bip32ed25519-FQ8qvdcq.js} +0 -0
  335. /package/dist/{blake2b-DOEVc57D.js → blake2b-BiQTw3GC.js} +0 -0
  336. /package/dist/{blake2b-B9tftbvG.cjs → blake2b-DEeVUdKR.cjs} +0 -0
  337. /package/dist/{blockchain-network-id.vo-BXpZhvvQ.cjs → blockchain-network-id.vo-BAKEwGjG.cjs} +0 -0
  338. /package/dist/{blockchain-network-id.vo-DNRkuT5B.js → blockchain-network-id.vo-CiVykuqG.js} +0 -0
  339. /package/dist/{blockingWithLatestFrom-C5wp_uA-.js → blockingWithLatestFrom-Cd8c8EPG.js} +0 -0
  340. /package/dist/{blockingWithLatestFrom-DY8OPg0w.cjs → blockingWithLatestFrom-D8kBPBMX.cjs} +0 -0
  341. /package/dist/{cardano-network-id-to-network-type-CrZfUcyP.js → cardano-network-id-to-network-type-BWwzeEtM.js} +0 -0
  342. /package/dist/{cardano-network-id-to-network-type-BDTF-HmK.cjs → cardano-network-id-to-network-type-C0ufJOyE.cjs} +0 -0
  343. /package/dist/{cardano-tx-id.vo-BPhV-AmZ.cjs → cardano-tx-id.vo-TLjJZHCI.cjs} +0 -0
  344. /package/dist/{cardano-tx-id.vo-DF9NzZXk.js → cardano-tx-id.vo-eVnKuzlm.js} +0 -0
  345. /package/dist/{composite-signer-factory-_46QsNBz.js → composite-signer-factory-CR8YHA1y.js} +0 -0
  346. /package/dist/{composite-signer-factory-BpF1mIYA.cjs → composite-signer-factory-m5cVs9h_.cjs} +0 -0
  347. /package/dist/{error-CNIquqT5.cjs → error-Cb3EnD0u.cjs} +0 -0
  348. /package/dist/{error-BCp9NkPi.js → error-DIZOY2Lw.js} +0 -0
  349. /package/dist/{esm-browser-C93Q-EOI.js → esm-browser-MG97cre9.js} +0 -0
  350. /package/dist/{esm-browser-DTc9IK3D.cjs → esm-browser-bweqfBlL.cjs} +0 -0
  351. /package/dist/{feature-flag-key.vo-ofrB6ZVQ.js → feature-flag-key.vo-DN_-4-sG.js} +0 -0
  352. /package/dist/{feature-flag-key.vo-BPz-ZAp6.cjs → feature-flag-key.vo-RlfHL3hq.cjs} +0 -0
  353. /package/dist/{first-state-of-status-OROkXcRv.cjs → first-state-of-status-CbT7hPa4.cjs} +0 -0
  354. /package/dist/{first-state-of-status-DQnMT3ya.js → first-state-of-status-unPynOuM.js} +0 -0
  355. /package/dist/{init-Es3wHW7D.js → init-829HRYcz.js} +0 -0
  356. /package/dist/{init-CKipPE_c.js → init-A-VyGSNW2.js} +0 -0
  357. /package/dist/{init-DFQQ9dTW.cjs → init-Atisw4x2.cjs} +0 -0
  358. /package/dist/{init-C5CEZ1m0.cjs → init-BFcvPHL-.cjs} +0 -0
  359. /package/dist/{init-IAk_CkGa.cjs → init-BgNobbNq.cjs} +0 -0
  360. /package/dist/{init-cqN3uX2j.js → init-atCFur0v.js} +0 -0
  361. /package/dist/{is-redux-persist-state-CTn3WZVh.cjs → is-redux-persist-state-BCFnSm36.cjs} +0 -0
  362. /package/dist/{is-redux-persist-state-Cxcd0_bM.js → is-redux-persist-state-yBfq0h_E.js} +0 -0
  363. /package/dist/{key-value-store-8cMzeNyG.js → key-value-store--W3SrMaw.js} +0 -0
  364. /package/dist/{key-value-store-DUAepXQf.cjs → key-value-store-C2Xt5Emp.cjs} +0 -0
  365. /package/dist/{repo-slice-WxetRhMY.cjs → repo-slice-7X4AYYVm.cjs} +0 -0
  366. /package/dist/{repo-slice-DwyMhCR1.js → repo-slice-RxFm0zDZ.js} +0 -0
  367. /package/dist/{reselect-CRDqmQY9.cjs → reselect-Bd94u0K-.cjs} +0 -0
  368. /package/dist/{reselect-C06X06oX.js → reselect-CGoLzEPv.js} +0 -0
  369. /package/dist/{serializable-B8GahgE1.js → serializable-BHdKIgk3.js} +0 -0
  370. /package/dist/{serializable-CRdnFaLZ.cjs → serializable-BxHkoPdk.cjs} +0 -0
  371. /package/dist/{slice-D11FHQuQ.cjs → slice-BiRsDKOK.cjs} +0 -0
  372. /package/dist/{slice-Be7hj4Iy.js → slice-Bk0Sv05J.js} +0 -0
  373. /package/dist/{slice-FioKeHtA.cjs → slice-Dqw1ecum.cjs} +0 -0
  374. /package/dist/{slice-B87b52iM.js → slice-obCSLm1x.js} +0 -0
  375. /package/dist/{src-vq1wS9sZ.js → src-BlxEp6Mm.js} +0 -0
  376. /package/dist/{src-BTPIvlDI.cjs → src-Cqp0B2M_.cjs} +0 -0
  377. /package/dist/{time.vo-CQ8pSXz2.cjs → time.vo-D3wWRw9L.cjs} +0 -0
  378. /package/dist/{time.vo-DkYYGYp6.js → time.vo-tNheinXm.js} +0 -0
  379. /package/dist/{toEmpty-CgAl3097.js → toEmpty-8Zax1MPd.js} +0 -0
  380. /package/dist/{toEmpty-DAMmNB5r.cjs → toEmpty-CYAbupM4.cjs} +0 -0
  381. /package/dist/{token-id.vo-ClsroxHO.js → token-id.vo-Bvwhr3ZE.js} +0 -0
  382. /package/dist/{token-id.vo-BxG9TG0O.cjs → token-id.vo-DXv5uS9n.cjs} +0 -0
  383. /package/dist/{util-DxzlYNS5.js → util-C8a4fA9p.js} +0 -0
  384. /package/dist/{util-CmdAhheh.cjs → util-CzeB3hfa.cjs} +0 -0
  385. /package/dist/{util-selector-CcK-GAdE.js → util-selector-BSTsxgne.js} +0 -0
  386. /package/dist/{util-selector-BcAncU4L.cjs → util-selector-BWPH68_l.cjs} +0 -0
  387. /package/dist/{while-active-BpppWuCs.js → while-active-B0lWy_6l.js} +0 -0
  388. /package/dist/{while-active-Dhc2LwOm.cjs → while-active-Dsowp0Fi.cjs} +0 -0
@@ -0,0 +1,1439 @@
1
+ const require_rolldown_runtime = require("./rolldown-runtime-Br2OG8yv.cjs");
2
+ const require__polyfill_buffer_patch = require("./_polyfill-buffer-patch-CM8X7JiY.cjs");
3
+ const require_secret_box = require("./secret-box-DrjLZuS1.cjs");
4
+ const require_bytes_vo = require("./bytes.vo-BNRquqaO.cjs");
5
+ const require_util_selector = require("./util-selector-BWPH68_l.cjs");
6
+ const require_util = require("./util-CzeB3hfa.cjs");
7
+ const require_store = require("./store-B1Lq3cEf.cjs");
8
+ const require_slice = require("./slice-BiRsDKOK.cjs");
9
+ const require_redacted = require("./redacted-CRZJLS3w.cjs");
10
+ const require_feature_flag_key_vo = require("./feature-flag-key.vo-RlfHL3hq.cjs");
11
+ const require_slice$1 = require("./slice-DnG-yvpI.cjs");
12
+ const require_slice$2 = require("./slice-Bs2aMERu.cjs");
13
+ const require_lace_context = require("./lace-context-DgR6vLli.cjs");
14
+ const require_slice$3 = require("./slice-C9TT5KhY.cjs");
15
+ const require_slice$4 = require("./slice-C34iOOUH.cjs");
16
+ const require_slice$5 = require("./slice-7G2xxYKJ.cjs");
17
+ const require_slice$6 = require("./slice-DTZTiJle.cjs");
18
+ const require_const = require("./const-D-eZIS4n.cjs");
19
+ const require_slice$7 = require("./slice-DnBWfA-k.cjs");
20
+ const require_actions = require("./actions-B2BJ4RTy.cjs");
21
+ let _laceio_cardano_util = require("@laceio/cardano/util");
22
+ let rxjs = require("rxjs");
23
+ let _reduxjs_toolkit = require("@reduxjs/toolkit");
24
+ let lodash_merge = require("lodash/merge.js");
25
+ lodash_merge = require_rolldown_runtime.__toESM(lodash_merge);
26
+ let redux_observable = require("redux-observable");
27
+ let redux_persist = require("redux-persist");
28
+ let lodash_uniq = require("lodash/uniq.js");
29
+ lodash_uniq = require_rolldown_runtime.__toESM(lodash_uniq);
30
+ let ts_log = require("ts-log");
31
+ let _laceio_cardano_key_management = require("@laceio/cardano/key-management");
32
+ let _laceio_cardano_crypto = require("@laceio/cardano/crypto");
33
+ //#region ../../packages/lib/core/src/encrypt-recovery-phrase.ts
34
+ /**
35
+ * SBV1 (Argon2id + ChaCha20-Poly1305) encryption of a mnemonic recovery phrase:
36
+ * encrypt the utf8 bytes of the space-joined words with the passphrase, returning
37
+ * hex. New wallets are sealed with SBV1; `SecretBox.open` still reads legacy
38
+ * EMIP-003 blobs through the `@lace-lib/vendor` seam (ADR 37/38).
39
+ */
40
+ const encryptRecoveryPhrase = async (words, passphrase) => require_bytes_vo.HexBytes.fromByteArray(await require_secret_box.SecretBox.seal(require_bytes_vo.ByteArray.fromUTF8(_laceio_cardano_key_management.util.joinMnemonicWords(words)), passphrase));
41
+ //#endregion
42
+ //#region ../../packages/lib/core/src/value-objects/wallet-id.vo.ts
43
+ const WALLET_ID_BYTES = 16;
44
+ const doubleBlake2b128 = (inputHex) => {
45
+ const digest = _laceio_cardano_crypto.blake2b.hash(inputHex, WALLET_ID_BYTES);
46
+ return WalletId(_laceio_cardano_crypto.blake2b.hash(digest, WALLET_ID_BYTES));
47
+ };
48
+ /**
49
+ * Types a string as a wallet identifier. It checks nothing; the `deriveFrom…`
50
+ * functions derive the identifier a wallet's keys give it.
51
+ */
52
+ const WalletId = (walletId) => walletId;
53
+ /** Derive a walletId from an extended account public key (xpub). */
54
+ WalletId.deriveFromBip32PublicKey = (xpubHex) => doubleBlake2b128(xpubHex);
55
+ /**
56
+ * Derive a walletId from a hardware device's BIP-32 master key fingerprint
57
+ * (`xfpHex` — 8 hex chars / 4 bytes), domain-separated by `vendorTag` (the device
58
+ * family: `'ledger'`, `'trezor'`).
59
+ *
60
+ * The xfp identifies the master key itself, so it is invariant across derivation
61
+ * paths and across mainnet/testnet (whose account xpubs differ): one physical
62
+ * device is one wallet whichever network its open app served. The vendor tag is
63
+ * what keeps one seed restored onto two device families two wallets — the xfp
64
+ * alone is identical for both. Same double blake2b-128 as the xpub mints, so every
65
+ * id shares one 32-hex format and one collision domain.
66
+ */
67
+ WalletId.deriveFromHardwareFingerprint = (vendorTag, xfpHex) => doubleBlake2b128(require__polyfill_buffer_patch.import_buffer.Buffer.from(`${vendorTag}:${xfpHex.toLowerCase()}`, "utf8").toString("hex"));
68
+ /** Derive a walletId from a mnemonic — the utf8 bytes of the space-joined words. */
69
+ WalletId.deriveFromMnemonic = (words) => doubleBlake2b128(require__polyfill_buffer_patch.import_buffer.Buffer.from(_laceio_cardano_key_management.util.joinMnemonicWords(words), "utf8").toString("hex"));
70
+ //#endregion
71
+ //#region ../../packages/contract/module/src/redux-persist-storage.ts
72
+ /** The name of the contract a module implements to provide key-value storage. */
73
+ const STORAGE_CONTRACT_NAME = "storage-dependency";
74
+ /**
75
+ * Adapts a key-value storage factory to the redux-persist `Storage` interface,
76
+ * keeping persisted state in the `redux` collection.
77
+ */
78
+ const createReduxPersistStorage = (keyValueStorageFactory) => {
79
+ const keyValueStorage = keyValueStorageFactory({ collectionId: "redux" });
80
+ return {
81
+ getItem: async (key) => (0, rxjs.firstValueFrom)(keyValueStorage.getValues([key]).pipe((0, rxjs.map)(([value]) => value), (0, rxjs.defaultIfEmpty)(void 0))),
82
+ removeItem: async (key) => (0, rxjs.firstValueFrom)(keyValueStorage.setValue(key, void 0)),
83
+ setItem: async (key, value) => (0, rxjs.firstValueFrom)(keyValueStorage.setValue(key, value))
84
+ };
85
+ };
86
+ /**
87
+ * Finds the module implementing the storage contract, initializes its store on
88
+ * its own and returns the key-value storage factory it provides.
89
+ *
90
+ * @throws Error when no module implements the storage contract or it provides no `createKeyValueStorage`.
91
+ */
92
+ const findStorageModule = async (props, { logger, ...rest }) => {
93
+ const storageModule = props.modules.find((m) => m.implements.contracts.some((contract) => contract.name === STORAGE_CONTRACT_NAME));
94
+ if (!storageModule) throw new Error("No storage module found");
95
+ const storageModuleStore = await storageModule.store?.load();
96
+ if (!storageModuleStore) throw new Error(`Module '${storageModule.moduleName}' must implement 'createKeyValueStorage' in store sideEffectDependencies`);
97
+ const dependencies = {
98
+ ...rest,
99
+ logger: (0, _laceio_cardano_util.contextLogger)((0, _laceio_cardano_util.contextLogger)(logger, storageModule.moduleName), "redux-storage"),
100
+ reduxPersistStorage: {}
101
+ };
102
+ const keyValueStorageFactory = (await storageModuleStore.default({
103
+ ...props,
104
+ loadModules: () => {
105
+ throw new Error("Storage module \"store\" cannot load other modules");
106
+ }
107
+ }, dependencies)).sideEffectDependencies?.createKeyValueStorage;
108
+ if (!keyValueStorageFactory) throw new Error(`Module '${storageModule.moduleName}' must implement 'createKeyValueStorage' in store sideEffectDependencies`);
109
+ return keyValueStorageFactory;
110
+ };
111
+ //#endregion
112
+ //#region ../../packages/contract/module/src/create-store.ts
113
+ const SERIALIZABLE_CHECK_WARN_AFTER_MS = 128;
114
+ const IMMUTABLE_CHECK_WARN_AFTER_MS = 256;
115
+ const createActionObservables = (action$, actions) => {
116
+ return Object.fromEntries(Object.entries(actions).map(([scope, actionCreators]) => [scope, Object.fromEntries(Object.entries(actionCreators).map(([actionCreatorName, actionCreator]) => [`${actionCreatorName}$`, action$.pipe((0, rxjs.filter)((0, _reduxjs_toolkit.isAnyOf)(actionCreator)), (0, rxjs.share)())]))]));
117
+ };
118
+ /**
119
+ * Maps scoped selectors to observables of the state, keyed `<selectorName>$`.
120
+ * A parameterized selector yields a function of its parameter instead of a
121
+ * value. Each observable emits on change and replays its latest value.
122
+ */
123
+ const createStateObservables = (state$, selectors) => {
124
+ return Object.fromEntries(Object.entries(selectors).map(([scope, selectors]) => [scope, Object.fromEntries(Object.entries(selectors).map(([selectorName, selector]) => {
125
+ const selectorFunction = selector;
126
+ return [`${selectorName}$`, state$.pipe((0, rxjs.map)((state) => {
127
+ if (selectorFunction[require_util_selector.IS_PARAMETERIZED] === true) return (parameter) => selectorFunction(state, parameter);
128
+ if (selectorFunction.length > 1) return (parameter) => selectorFunction(state, parameter);
129
+ return selectorFunction(state);
130
+ }), (0, rxjs.distinctUntilChanged)(), (0, rxjs.shareReplay)(1))];
131
+ }))]));
132
+ };
133
+ const rehydrateStore = async (store) => new Promise((resolve) => {
134
+ const persistor = (0, redux_persist.persistStore)(store, null, () => {
135
+ resolve(persistor);
136
+ });
137
+ });
138
+ const mergeStoreExports = (storeExports, getter) => (0, lodash_merge.default)({}, ...storeExports.map(getter).filter(_laceio_cardano_util.isNotNil));
139
+ /**
140
+ * Builds the app's Redux store from every loaded module store: combines their
141
+ * reducers, middleware and side effects, rehydrates persisted slices, and
142
+ * starts the side effects.
143
+ */
144
+ const createStore = async (createStoreProps, createStoreDependencies) => {
145
+ const { loadModules, runtime, lastEnhancer } = createStoreProps;
146
+ const { logger, reduxPersistStorage, sideEffectDependenciesOverride } = createStoreDependencies;
147
+ const stores = await loadModules("store");
148
+ const storeExports = await Promise.all(stores.map(async (s) => s.load().then(async (module) => module.default(createStoreProps, createStoreDependencies))));
149
+ const selectors = stores.map((s) => s.context.selectors).filter((selectors) => !!selectors).reduce(Object.assign, {});
150
+ const actions = stores.map((s) => s.context.actions).reduce(Object.assign, {});
151
+ const persistConfigs = mergeStoreExports(storeExports, (s) => s.persistConfig);
152
+ const preloadedState = mergeStoreExports(storeExports, (s) => s.preloadedState);
153
+ const reducer = (0, _reduxjs_toolkit.combineReducers)(Object.assign({}, ...storeExports.map((m) => m.reducers ? Object.fromEntries(Object.entries(m.reducers).map(([key, reducer]) => [key, key in persistConfigs ? (0, redux_persist.persistReducer)({
154
+ key,
155
+ storage: reduxPersistStorage,
156
+ ...persistConfigs[key]
157
+ }, reducer) : reducer])) : void 0)));
158
+ const initialState = reducer(void 0, { type: "@@lace/initial-state-snapshot" });
159
+ const toEpic = (sideEffect) => (action$, state$, dependencies) => sideEffect(createActionObservables(action$, actions), createStateObservables(state$, selectors), dependencies).pipe(createStoreProps.noEpicDelay ? (a) => a : (0, rxjs.delay)(0));
160
+ let actionObservables;
161
+ let stateObservables;
162
+ let state$ = null;
163
+ const captureObservables = (actions, state) => {
164
+ actionObservables = actions;
165
+ stateObservables = state;
166
+ return rxjs.NEVER;
167
+ };
168
+ const rootEpic = (0, redux_observable.combineEpics)(...[...storeExports.flatMap(({ sideEffects }) => sideEffects).filter(_laceio_cardano_util.isNotNil), captureObservables].map(toEpic), (_, stateObservable$) => {
169
+ state$ = stateObservable$;
170
+ return rxjs.NEVER;
171
+ });
172
+ let persistor;
173
+ const defaultDependencies = {
174
+ actions,
175
+ selectors,
176
+ createKeyValueStorage: () => {
177
+ throw new Error("This must be overridden by storage module");
178
+ },
179
+ __getState: () => {
180
+ if (!state$) throw new Error("__getState() is not available during SideEffect initialization");
181
+ return state$.value;
182
+ },
183
+ flushPersistedState: () => (0, rxjs.from)(persistor?.flush() ?? Promise.resolve()),
184
+ runtime,
185
+ logger,
186
+ loadModules
187
+ };
188
+ const epicMiddleware = (0, redux_observable.createEpicMiddleware)({ dependencies: Object.assign(defaultDependencies, ...storeExports.map(({ sideEffectDependencies }) => sideEffectDependencies), sideEffectDependenciesOverride ?? {}) });
189
+ const middleware = storeExports.map(({ middleware }) => middleware).filter(_laceio_cardano_util.isNotNil).flat();
190
+ const store = (0, _reduxjs_toolkit.configureStore)({
191
+ reducer,
192
+ preloadedState,
193
+ devTools: createStoreProps.devTools || false,
194
+ middleware: (getDefaultMiddleware) => getDefaultMiddleware({
195
+ immutableCheck: { warnAfter: IMMUTABLE_CHECK_WARN_AFTER_MS },
196
+ serializableCheck: {
197
+ ignoredActions: [
198
+ "accountManagement/attemptAddAccount",
199
+ "accountManagement/attemptAddInMemoryWalletAccount",
200
+ "txExecutor/tx-phase-completed",
201
+ "sendFlow/processingResulted",
202
+ "cardanoContext/setProtocolParameters",
203
+ "cardanoContext/setEraSummaries",
204
+ "cardanoContext/setStakePoolsData",
205
+ "cardanoContext/setAccountUtxos",
206
+ redux_persist.FLUSH,
207
+ redux_persist.REHYDRATE,
208
+ redux_persist.PAUSE,
209
+ redux_persist.PERSIST,
210
+ redux_persist.PURGE,
211
+ redux_persist.REGISTER
212
+ ],
213
+ warnAfter: SERIALIZABLE_CHECK_WARN_AFTER_MS
214
+ }
215
+ }),
216
+ enhancers: (getDefaultEnhancers) => {
217
+ const enhancers = getDefaultEnhancers().prepend([(0, _reduxjs_toolkit.applyMiddleware)(...middleware, epicMiddleware)]);
218
+ if (lastEnhancer) return enhancers.concat(lastEnhancer);
219
+ return enhancers;
220
+ }
221
+ });
222
+ if (Object.keys(persistConfigs)) persistor = await rehydrateStore(store);
223
+ const epicTeardown$ = new rxjs.Subject();
224
+ epicMiddleware.run((...args) => rootEpic(...args).pipe((0, rxjs.takeUntil)(epicTeardown$)));
225
+ return {
226
+ store,
227
+ initialState,
228
+ teardown: () => {
229
+ epicTeardown$.next();
230
+ epicTeardown$.complete();
231
+ },
232
+ actionObservables,
233
+ stateObservables
234
+ };
235
+ };
236
+ //#endregion
237
+ //#region ../../packages/contract/module/src/create-module-loader.ts
238
+ const isStoreContract = (contract) => contract.contractType === "store";
239
+ /**
240
+ * Builds the single module formed by applying, once each, the mixins of every
241
+ * store contract the given modules implement or depend on as `zero-or-more`.
242
+ */
243
+ const reduceMixinsModule = (modules) => {
244
+ return (0, lodash_uniq.default)(modules.flatMap((laceModule) => [...laceModule.implements.contracts, ...laceModule.dependsOn?.contracts.filter(({ instance }) => instance === "zero-or-more") || []])).filter(isStoreContract).map(({ mixin }) => mixin).filter(_laceio_cardano_util.isNotNil).reduce((laceModule, mixin) => mixin(laceModule), {});
245
+ };
246
+ const parseLoadableKey = (loadableKey) => loadableKey.split(".");
247
+ const moduleOrAddonExport = (m, key) => {
248
+ const [moduleKey, addonKey] = parseLoadableKey(key);
249
+ const moduleValue = m[moduleKey];
250
+ if (addonKey) {
251
+ if (typeof moduleValue !== "object") return;
252
+ return moduleValue[addonKey];
253
+ }
254
+ return moduleValue;
255
+ };
256
+ /**
257
+ * Creates a {@link ModuleLoader} over the given modules and their contract
258
+ * mixins. Each loaded initializer receives the shared dependencies, a logger
259
+ * scoped to its module and key, and a nested loader of its own.
260
+ */
261
+ const createModuleLoader = (props, { logger, ...rest }) => {
262
+ const { modules } = props;
263
+ const loadModule = async (m, key) => {
264
+ if (!m) return;
265
+ const dependencies = {
266
+ ...rest,
267
+ logger: (0, _laceio_cardano_util.contextLogger)((0, _laceio_cardano_util.contextLogger)(logger, m.moduleName), key.replace("load", ""))
268
+ };
269
+ const exportValue = moduleOrAddonExport(m, key);
270
+ if (typeof exportValue === "function") {
271
+ const defaultExport = (await exportValue()).default;
272
+ if (typeof defaultExport === "function") return defaultExport({
273
+ ...props,
274
+ loadModules: createModuleLoader(props, dependencies)
275
+ }, dependencies);
276
+ return defaultExport;
277
+ } else return exportValue;
278
+ };
279
+ const mixinsAndModules = [reduceMixinsModule(modules), ...modules];
280
+ return async (key) => {
281
+ return (await Promise.all(mixinsAndModules.map(async (m) => loadModule(m, key)))).filter(_laceio_cardano_util.isNotNil);
282
+ };
283
+ };
284
+ //#endregion
285
+ //#region ../../packages/contract/module/src/value-objects/module-name.vo.ts
286
+ /** Types a string as a module's name, the `moduleName` it declares. It checks nothing. */
287
+ const ModuleName = (moduleName) => moduleName;
288
+ //#endregion
289
+ //#region ../../packages/contract/module/src/value-objects/contract-name.vo.ts
290
+ /** Types a string as a contract's name. It checks nothing. */
291
+ const ContractName = (moduleKind) => moduleKind;
292
+ //#endregion
293
+ //#region ../../packages/contract/module/src/util-mixin.ts
294
+ /**
295
+ * Combines a module's store with a contract mixin's store. Reducers,
296
+ * middleware, side effects, persist config, preloaded state, selectors and
297
+ * actions of both are merged; the mixin's entries win on a key clash.
298
+ */
299
+ const combineStore = (module, mixinStore) => {
300
+ const combinedStoreInit = (mixinStoreInit, moduleStoreInit) => async (props, dependencies) => {
301
+ const loadedModuleStore = await moduleStoreInit?.default(props, dependencies);
302
+ const loadedMixinStore = await mixinStoreInit.default(props, dependencies);
303
+ return {
304
+ middleware: (0, lodash_uniq.default)([...loadedModuleStore?.middleware || [], ...loadedMixinStore.middleware || []]),
305
+ reducers: {
306
+ ...loadedModuleStore?.reducers,
307
+ ...loadedMixinStore.reducers
308
+ },
309
+ persistConfig: {
310
+ ...loadedModuleStore?.persistConfig,
311
+ ...loadedMixinStore.persistConfig
312
+ },
313
+ preloadedState: {
314
+ ...loadedModuleStore?.preloadedState,
315
+ ...loadedMixinStore.preloadedState
316
+ },
317
+ sideEffectDependencies: {
318
+ ...loadedModuleStore?.sideEffectDependencies,
319
+ ...loadedMixinStore.sideEffectDependencies
320
+ },
321
+ sideEffects: (0, lodash_uniq.default)([...loadedModuleStore?.sideEffects || [], ...loadedMixinStore.sideEffects || []])
322
+ };
323
+ };
324
+ return {
325
+ load: async () => {
326
+ const moduleStoreInit = await module.store?.load();
327
+ return { default: combinedStoreInit(await mixinStore.load(), moduleStoreInit) };
328
+ },
329
+ context: {
330
+ actions: {
331
+ ...module.store?.context.actions,
332
+ ...mixinStore.context.actions
333
+ },
334
+ selectors: Object.assign({}, module.store?.context.selectors, mixinStore.context.selectors)
335
+ }
336
+ };
337
+ };
338
+ /**
339
+ * Creates a contract mixin: a function that patches every module implementing
340
+ * the contract with the properties `patchModule` returns.
341
+ */
342
+ const createMixin = (patchModule) => (laceModule) => ({
343
+ ...laceModule,
344
+ addons: laceModule.addons || {},
345
+ ...patchModule(laceModule)
346
+ });
347
+ //#endregion
348
+ //#region ../../packages/contract/storage/src/contract.ts
349
+ /**
350
+ * The contract a storage module implements: it gives every module's side
351
+ * effects `createDocumentStorage` and `createCollectionStorage`, backed by
352
+ * the platform's storage. A wallet loads one storage module; with two,
353
+ * `createLaceWallet` fails with `MultipleImplementationsError`.
354
+ */
355
+ const storageDependencyContract = require_store.inferContractContext({
356
+ contractType: "sideEffectDependency",
357
+ name: ContractName("storage-dependency"),
358
+ instance: "exactly-one"
359
+ });
360
+ //#endregion
361
+ //#region ../../packages/contract/feature/src/store/index.ts
362
+ var store_default$14 = require_store.inferStoreContext({
363
+ load: async () => Promise.resolve().then(() => require("./init-EP0CUWNK.cjs")),
364
+ context: {
365
+ actions: require_slice.featuresActions,
366
+ selectors: require_slice.featuresSelectors
367
+ }
368
+ });
369
+ //#endregion
370
+ //#region ../../packages/contract/feature/src/contract.ts
371
+ const featureDependencyContract = require_store.inferContractContext({
372
+ contractType: "sideEffectDependency",
373
+ name: ContractName("feature-dependency"),
374
+ instance: "exactly-one"
375
+ });
376
+ require_store.inferContractContext({
377
+ contractType: "sideEffectDependency",
378
+ name: ContractName("feature-flag-refresh-trigger-dependency"),
379
+ instance: "exactly-one"
380
+ });
381
+ const featureStoreContract = require_store.inferContractContext({
382
+ contractType: "store",
383
+ name: ContractName("feature-store"),
384
+ instance: "exactly-one",
385
+ dependsOn: require_store.combineContracts([storageDependencyContract]),
386
+ mixin: createMixin((laceModule) => ({ store: combineStore(laceModule, store_default$14) }))
387
+ });
388
+ //#endregion
389
+ //#region ../../packages/contract/analytics/src/store/index.ts
390
+ var store_default$13 = require_store.inferStoreContext({
391
+ load: async () => Promise.resolve().then(() => require("./init-DUF4ar8P.cjs")),
392
+ context: {
393
+ actions: require_slice$1.analyticsActions,
394
+ selectors: require_slice$1.analyticsSelectors
395
+ }
396
+ });
397
+ //#endregion
398
+ //#region ../../packages/contract/analytics/src/contract.ts
399
+ const analyticsProviderDependencyContract = require_store.inferContractContext({
400
+ contractType: "sideEffectDependency",
401
+ name: ContractName("analytics-provider-dependency"),
402
+ instance: "exactly-one"
403
+ });
404
+ const analyticsStoreContract = require_store.inferContractContext({
405
+ contractType: "store",
406
+ name: ContractName("analytics-store"),
407
+ instance: "exactly-one",
408
+ dependsOn: require_store.combineContracts([analyticsProviderDependencyContract, featureStoreContract]),
409
+ mixin: createMixin((laceModule) => ({ store: combineStore(laceModule, store_default$13) }))
410
+ });
411
+ //#endregion
412
+ //#region ../../packages/contract/failures/src/contract.ts
413
+ const failuresStoreContract = require_store.inferContractContext({
414
+ name: ContractName("failures-store"),
415
+ contractType: "store",
416
+ instance: "exactly-one",
417
+ dependsOn: require_store.combineContracts([analyticsStoreContract]),
418
+ mixin: createMixin((laceModule) => ({ store: combineStore(laceModule, require_store.store_default) }))
419
+ });
420
+ //#endregion
421
+ //#region ../../packages/contract/network/src/store/index.ts
422
+ var store_default$12 = require_store.inferStoreContext({
423
+ load: async () => Promise.resolve().then(() => require("./init-C-G32J12.cjs")),
424
+ context: {
425
+ actions: require_slice$2.networkActions,
426
+ selectors: require_slice$2.networkSelectors
427
+ }
428
+ });
429
+ //#endregion
430
+ //#region ../../packages/contract/network/src/contract.ts
431
+ const networkStoreContract = require_store.inferContractContext({
432
+ name: ContractName("network-store"),
433
+ contractType: "store",
434
+ instance: "exactly-one",
435
+ dependsOn: require_store.combineContracts([featureStoreContract]),
436
+ mixin: createMixin((laceModule) => ({ store: combineStore(laceModule, store_default$12) }))
437
+ });
438
+ //#endregion
439
+ //#region ../../packages/contract/wallet-repo/src/store/index.ts
440
+ var store_default$11 = require_store.inferStoreContext({
441
+ load: async () => Promise.resolve().then(() => require("./init-DGjXwWs2.cjs")),
442
+ context: {
443
+ actions: require_lace_context.walletsActions,
444
+ selectors: require_lace_context.walletsSelectors
445
+ }
446
+ });
447
+ //#endregion
448
+ //#region ../../packages/contract/wallet-repo/src/contract.ts
449
+ /**
450
+ * Store contract for the wallet repository: the persisted `wallets` state
451
+ * holding every wallet, its accounts and the active account. Exactly one
452
+ * module provides it; it depends on the network store.
453
+ */
454
+ const walletRepoStoreContract = require_store.inferContractContext({
455
+ contractType: "store",
456
+ name: ContractName("wallet-repo-store"),
457
+ instance: "exactly-one",
458
+ dependsOn: require_store.combineContracts([networkStoreContract]),
459
+ mixin: createMixin((laceModule) => ({ store: combineStore(laceModule, store_default$11) }))
460
+ });
461
+ require_store.inferContractContext({
462
+ name: ContractName("request-hw-connection-addon"),
463
+ instance: "exactly-one",
464
+ contractType: "addon",
465
+ provides: { addons: ["loadRequestHWConnections"] }
466
+ });
467
+ require_store.inferContractContext({
468
+ name: ContractName("search-hw-devices-addon"),
469
+ instance: "zero-or-more",
470
+ contractType: "addon",
471
+ provides: { addons: ["loadSearchHWDevices"] }
472
+ });
473
+ require_store.inferContractContext({
474
+ name: ContractName("wallet-identity-addon"),
475
+ instance: "zero-or-more",
476
+ contractType: "addon",
477
+ preloadInServiceWorker: true,
478
+ provides: { addons: ["loadWalletIdentity"] }
479
+ });
480
+ //#endregion
481
+ //#region ../../packages/contract/wallet-repo/src/wallet-type.ts
482
+ /** The kinds of wallet the wallet repository holds, by who manages their keys. */
483
+ let WalletType = /* @__PURE__ */ function(WalletType) {
484
+ /**
485
+ * Keys are held by the wallet: it stores its recovery phrase encrypted under
486
+ * the app's authentication secret, such as a password the user chooses.
487
+ * A wallet imported without its recovery phrase stores none.
488
+ */
489
+ WalletType["InMemory"] = "InMemory";
490
+ /**
491
+ * Keys, and the seed they derive from, are never stored. The wallet holds
492
+ * only public keys, and a vault module signs for it, reaching the seed for
493
+ * each signature wherever the app keeps it.
494
+ */
495
+ WalletType["LazyInMemory"] = "LazyInMemory";
496
+ /**
497
+ * Keys are managed by an external Ledger device
498
+ */
499
+ WalletType["HardwareLedger"] = "HardwareLedger";
500
+ /**
501
+ * Keys are managed by an external Trezor device
502
+ */
503
+ WalletType["HardwareTrezor"] = "HardwareTrezor";
504
+ /**
505
+ * Keys are managed by an external Cardano Seed Signer device.
506
+ * Like other hardware wallets, the wallet stores only its public keys and
507
+ * the device signs; it also stores the device master fingerprint (xfp) so
508
+ * signing requests can target the right device seed.
509
+ */
510
+ WalletType["HardwareSeedSigner"] = "HardwareSeedSigner";
511
+ /**
512
+ * Keys are managed by an external Keystone device.
513
+ * Like other hardware wallets, the wallet stores only its public keys and
514
+ * the device signs; the device communicates exclusively over QR codes and is
515
+ * identified by its BIP-32 master fingerprint (xfp) so signing requests can
516
+ * target the right device seed.
517
+ */
518
+ WalletType["HardwareKeystone"] = "HardwareKeystone";
519
+ /**
520
+ * Requires more than 1 set of keys to spend from this wallet.
521
+ * Some (or all) co-signers are other wallet (InMemory/Hardware)
522
+ * accounts from this repository.
523
+ */
524
+ WalletType["MultiSig"] = "MultiSig";
525
+ /** A Cardano script account. */
526
+ WalletType["CardanoCustody"] = "CardanoCustody";
527
+ return WalletType;
528
+ }({});
529
+ //#endregion
530
+ //#region ../../packages/contract/activities/src/store/index.ts
531
+ var store_default$10 = require_store.inferStoreContext({
532
+ load: async () => Promise.resolve().then(() => require("./init-NdhG_VrF.cjs")),
533
+ context: {
534
+ actions: require_slice$4.activitiesActions,
535
+ selectors: require_slice$4.activitiesSelectors
536
+ }
537
+ });
538
+ //#endregion
539
+ //#region ../../packages/contract/activities/src/contract.ts
540
+ const activitiesStoreContract = require_store.inferContractContext({
541
+ name: ContractName("activities-store"),
542
+ contractType: "store",
543
+ instance: "exactly-one",
544
+ dependsOn: require_store.combineContracts([failuresStoreContract]),
545
+ mixin: createMixin((laceModule) => ({ store: combineStore(laceModule, store_default$10) }))
546
+ });
547
+ //#endregion
548
+ //#region ../../packages/contract/addresses/src/store/index.ts
549
+ var store_default$9 = require_store.inferStoreContext({
550
+ load: async () => Promise.resolve().then(() => require("./init-D6BxBs7e.cjs")),
551
+ context: {
552
+ actions: require_slice$5.addressesActions,
553
+ selectors: require_slice$5.addressesSelectors
554
+ }
555
+ });
556
+ //#endregion
557
+ //#region ../../packages/contract/addresses/src/contract.ts
558
+ const addressesStoreContract = require_store.inferContractContext({
559
+ name: ContractName("addresses-store"),
560
+ contractType: "store",
561
+ mixin: createMixin((laceModule) => ({ store: combineStore(laceModule, store_default$9) })),
562
+ instance: "at-least-one"
563
+ });
564
+ require_store.inferContractContext({
565
+ name: ContractName("addresses-alias-resolver-addon"),
566
+ instance: "zero-or-more",
567
+ contractType: "addon",
568
+ preloadInServiceWorker: true,
569
+ provides: { addons: ["loadAddressAliasResolver"] }
570
+ });
571
+ //#endregion
572
+ //#region ../../packages/contract/sync/src/contract.ts
573
+ const syncStoreContract = require_store.inferContractContext({
574
+ name: ContractName("sync-store"),
575
+ contractType: "store",
576
+ instance: "at-least-one",
577
+ mixin: createMixin((laceModule) => ({ store: combineStore(laceModule, require_slice$6.store_default) }))
578
+ });
579
+ //#endregion
580
+ //#region ../../packages/contract/tokens/src/store/index.ts
581
+ var store_default$8 = require_store.inferStoreContext({
582
+ load: async () => Promise.resolve().then(() => require("./init-BrdVzxei.cjs")),
583
+ context: {
584
+ actions: require_slice$3.tokensActions,
585
+ selectors: require_slice$3.tokensSelectors
586
+ }
587
+ });
588
+ //#endregion
589
+ //#region ../../packages/contract/tokens/src/contract.ts
590
+ const tokensStoreContract = require_store.inferContractContext({
591
+ name: ContractName("tokens-store"),
592
+ contractType: "store",
593
+ dependsOn: require_store.combineContracts([storageDependencyContract]),
594
+ mixin: createMixin((laceModule) => ({ store: combineStore(laceModule, store_default$8) })),
595
+ instance: "at-least-one"
596
+ });
597
+ //#endregion
598
+ //#region ../../packages/contract/cardano-context/src/store/index.ts
599
+ var store_default$7 = require_store.inferStoreContext({
600
+ load: async () => Promise.resolve().then(() => require("./init-zU-_9Gsp.cjs")),
601
+ context: {
602
+ actions: require_slice$6.cardanoContextActions,
603
+ selectors: require_slice$6.cardanoContextSelectors
604
+ }
605
+ });
606
+ //#endregion
607
+ //#region ../../packages/contract/views/src/store/index.ts
608
+ var store_default$6 = require_store.inferStoreContext({
609
+ load: async () => Promise.resolve().then(() => require("./init-EhzD7a8i.cjs")),
610
+ context: {
611
+ actions: require_slice$7.viewsActions,
612
+ selectors: require_slice$7.viewsSelectors
613
+ }
614
+ });
615
+ //#endregion
616
+ //#region ../../packages/contract/views/src/ui-addon-contracts.ts
617
+ const initializeExtensionViewAddonContract = require_store.inferContractContext({
618
+ name: ContractName("initialize-extension-view-addon"),
619
+ instance: "zero-or-more",
620
+ contractType: "addon",
621
+ provides: { addons: ["loadInitializeExtensionView"] }
622
+ });
623
+ const initializeMobileViewAddonContract = require_store.inferContractContext({
624
+ name: ContractName("initialize-mobile-view-addon"),
625
+ instance: "zero-or-more",
626
+ contractType: "addon",
627
+ provides: { addons: ["loadInitializeMobileView"] }
628
+ });
629
+ const renderRootAddonContract = require_store.inferContractContext({
630
+ name: ContractName("render-root-addon"),
631
+ instance: "zero-or-more",
632
+ contractType: "addon",
633
+ provides: { addons: ["renderRoot"] }
634
+ });
635
+ const stackPagesAddonContract = require_store.inferContractContext({
636
+ name: ContractName("stack-pages-addon"),
637
+ instance: "zero-or-more",
638
+ contractType: "addon",
639
+ provides: { addons: ["loadStackPages"] }
640
+ });
641
+ const tabPagesAddonContract = require_store.inferContractContext({
642
+ name: ContractName("tab-pages-addon"),
643
+ instance: "zero-or-more",
644
+ contractType: "addon",
645
+ provides: { addons: ["loadTabPages"] }
646
+ });
647
+ require_store.inferContractContext({
648
+ name: ContractName("global-overlays-addon"),
649
+ instance: "zero-or-more",
650
+ contractType: "addon",
651
+ provides: { addons: ["loadGlobalOverlays"] }
652
+ });
653
+ const sheetPagesAddonContract = require_store.inferContractContext({
654
+ name: ContractName("sheet-pages-addon"),
655
+ instance: "zero-or-more",
656
+ contractType: "addon",
657
+ provides: { addons: ["loadSheetPages"] }
658
+ });
659
+ require_store.inferContractContext({
660
+ name: ContractName("load-deep-links-addon"),
661
+ instance: "exactly-one",
662
+ contractType: "addon",
663
+ provides: { addons: ["loadMobileDeepLinks"] }
664
+ });
665
+ //#endregion
666
+ //#region ../../packages/contract/views/src/ui-addon-dependencies.ts
667
+ /**
668
+ * The UI addon contracts the views store depends on, in its dependency
669
+ * order.
670
+ */
671
+ const viewsUiAddonDependencies = [
672
+ initializeExtensionViewAddonContract,
673
+ initializeMobileViewAddonContract,
674
+ tabPagesAddonContract,
675
+ stackPagesAddonContract,
676
+ renderRootAddonContract,
677
+ sheetPagesAddonContract
678
+ ];
679
+ //#endregion
680
+ //#region ../../packages/contract/views/src/contract.ts
681
+ const viewsStoreContract = require_store.inferContractContext({
682
+ name: ContractName("views-store"),
683
+ instance: "exactly-one",
684
+ contractType: "store",
685
+ dependsOn: require_store.combineContracts([analyticsStoreContract, ...viewsUiAddonDependencies]),
686
+ mixin: createMixin((laceModule) => ({ store: combineStore(laceModule, store_default$6) }))
687
+ });
688
+ /** Direct import of this is an anti-pattern. OK for tests. */
689
+ const appActions = { app: { reloadApplication: (0, _reduxjs_toolkit.createAction)("app/reloadApplication") } };
690
+ const uiActions = { ui: {
691
+ showToast: (0, _reduxjs_toolkit.createAction)("ui/showToast"),
692
+ hideToast: (0, _reduxjs_toolkit.createAction)("ui/hideToast")
693
+ } };
694
+ //#endregion
695
+ //#region ../../packages/contract/app/src/store/index.ts
696
+ var store_default$5 = require_store.inferStoreContext({
697
+ load: async () => Promise.resolve().then(() => require("./init-5KcGcBb5.cjs")),
698
+ context: { actions: {
699
+ ...appActions,
700
+ ...uiActions
701
+ } }
702
+ });
703
+ require_store.inferContractContext({
704
+ name: ContractName("profile-dropdown-wallets-addon"),
705
+ contractType: "addon",
706
+ instance: "zero-or-more",
707
+ provides: { addons: ["loadProfileDropdownWalletsUICustomisations", "loadProfileDropdownMenuItemUICustomisations"] }
708
+ });
709
+ require_store.inferContractContext({
710
+ name: ContractName("blockchain-specific-app-customizations-addon"),
711
+ instance: "zero-or-more",
712
+ contractType: "addon",
713
+ provides: { addons: [
714
+ "loadAccountUICustomisations",
715
+ "loadReceiveSheetAddressDataCustomisations",
716
+ "loadTokenDetailsUICustomisations",
717
+ "loadPortfolioBannerUICustomisations",
718
+ "loadAboutPageUICustomisations"
719
+ ] }
720
+ });
721
+ require_store.inferContractContext({
722
+ name: ContractName("token-details-ui-customisations-addon"),
723
+ instance: "zero-or-more",
724
+ contractType: "addon",
725
+ provides: { addons: ["loadTokenDetailsUICustomisations"] }
726
+ });
727
+ require_store.inferContractContext({
728
+ name: ContractName("portfolio-announcements-addon"),
729
+ instance: "zero-or-more",
730
+ contractType: "addon",
731
+ provides: { addons: ["loadPortfolioAnnouncements"] }
732
+ });
733
+ require_store.inferContractContext({
734
+ name: ContractName("blockchain-specific-app-settings-page-customizations-addon"),
735
+ instance: "zero-or-more",
736
+ contractType: "addon",
737
+ provides: { addons: ["loadSettingsPageUICustomisations"] }
738
+ });
739
+ require_store.inferContractContext({
740
+ name: ContractName("dialogs-addon"),
741
+ instance: "zero-or-more",
742
+ contractType: "addon",
743
+ provides: { addons: ["loadDialogs"] }
744
+ });
745
+ require_store.inferContractContext({
746
+ name: ContractName("account-ui-customisation-addon"),
747
+ instance: "zero-or-more",
748
+ contractType: "addon",
749
+ provides: { addons: ["loadAccountUICustomisations"] }
750
+ });
751
+ require_store.inferContractContext({
752
+ name: ContractName("send-flow-sheet-ui-customisation-addon"),
753
+ instance: "zero-or-more",
754
+ contractType: "addon",
755
+ provides: { addons: ["loadSendFlowSheetUICustomisations"] }
756
+ });
757
+ //#endregion
758
+ //#region ../../packages/contract/app/src/ui-addon-dependencies.ts
759
+ /**
760
+ * The UI addon contracts the app store depends on, in its dependency
761
+ * order.
762
+ */
763
+ const appUiAddonDependencies = [
764
+ require_store.inferContractContext({
765
+ name: ContractName("app-context-initialization-addon"),
766
+ instance: "zero-or-more",
767
+ contractType: "addon",
768
+ preloadInServiceWorker: true,
769
+ provides: { addons: ["loadInitializeAppContext"] }
770
+ }),
771
+ require_store.inferContractContext({
772
+ name: ContractName("app-menu-items-addon"),
773
+ instance: "zero-or-more",
774
+ contractType: "addon",
775
+ provides: { addons: ["loadAppMenuItems"] }
776
+ }),
777
+ require_store.inferContractContext({
778
+ name: ContractName("tab-menu-items-addon"),
779
+ instance: "zero-or-more",
780
+ contractType: "addon",
781
+ provides: { addons: ["loadTabMenuItems"] }
782
+ })
783
+ ];
784
+ //#endregion
785
+ //#region ../../packages/contract/app/src/contract.ts
786
+ const performAppReloadDependencyContract = require_store.inferContractContext({
787
+ contractType: "sideEffectDependency",
788
+ name: ContractName("perform-app-reload-dependency"),
789
+ instance: "exactly-one"
790
+ });
791
+ const appStoreContract = require_store.inferContractContext({
792
+ name: ContractName("app-store"),
793
+ instance: "exactly-one",
794
+ contractType: "store",
795
+ dependsOn: require_store.combineContracts([
796
+ viewsStoreContract,
797
+ ...appUiAddonDependencies,
798
+ analyticsStoreContract,
799
+ featureStoreContract,
800
+ tokensStoreContract,
801
+ performAppReloadDependencyContract
802
+ ]),
803
+ mixin: createMixin((laceModule) => ({ store: combineStore(laceModule, store_default$5) }))
804
+ });
805
+ //#endregion
806
+ //#region ../../packages/contract/app/src/utils.ts
807
+ const runInitializers = async (initializers) => Promise.all(initializers.map(async (initializer) => initializer()));
808
+ //#endregion
809
+ //#region ../../packages/contract/wallet-active-state/src/contract.ts
810
+ const walletActiveStateDependencyContract = require_store.inferContractContext({
811
+ contractType: "sideEffectDependency",
812
+ name: ContractName("wallet-active-state-dependency"),
813
+ instance: "exactly-one"
814
+ });
815
+ //#endregion
816
+ //#region ../../packages/contract/cardano-context/src/contract.ts
817
+ const cardanoProviderDependencyContract = require_store.inferContractContext({
818
+ contractType: "sideEffectDependency",
819
+ name: ContractName("cardano-provider-dependency"),
820
+ instance: "exactly-one"
821
+ });
822
+ const cardanoInMemorySigningDependencyContract = require_store.inferContractContext({
823
+ contractType: "sideEffectDependency",
824
+ name: ContractName("cardano-in-memory-signing-dependency"),
825
+ instance: "exactly-one"
826
+ });
827
+ /**
828
+ * Implementor must provide sideEffectDependencies (CardanoProviderDependencies)
829
+ */
830
+ const cardanoProviderStoreContract = require_store.inferContractContext({
831
+ name: ContractName("cardano-provider-store"),
832
+ instance: "exactly-one",
833
+ contractType: "store",
834
+ dependsOn: require_store.combineContracts([
835
+ networkStoreContract,
836
+ activitiesStoreContract,
837
+ addressesStoreContract,
838
+ appStoreContract,
839
+ tokensStoreContract,
840
+ walletActiveStateDependencyContract,
841
+ walletRepoStoreContract,
842
+ cardanoProviderDependencyContract,
843
+ syncStoreContract,
844
+ failuresStoreContract,
845
+ analyticsStoreContract,
846
+ featureStoreContract
847
+ ]),
848
+ mixin: createMixin((laceModule) => ({ store: combineStore(laceModule, store_default$7) }))
849
+ });
850
+ const delegationTxBuilderAddonContract = require_store.inferContractContext({
851
+ name: ContractName("delegation-tx-builder-addon"),
852
+ instance: "at-least-one",
853
+ contractType: "addon",
854
+ preloadInServiceWorker: true,
855
+ provides: { addons: ["loadDelegationTxBuilder"] }
856
+ });
857
+ const deregistrationTxBuilderAddonContract = require_store.inferContractContext({
858
+ name: ContractName("deregistration-tx-builder-addon"),
859
+ instance: "at-least-one",
860
+ contractType: "addon",
861
+ preloadInServiceWorker: true,
862
+ provides: { addons: ["loadDeregistrationTxBuilder"] }
863
+ });
864
+ const voteDelegationTxBuilderAddonContract = require_store.inferContractContext({
865
+ name: ContractName("vote-delegation-tx-builder-addon"),
866
+ instance: "at-least-one",
867
+ contractType: "addon",
868
+ preloadInServiceWorker: true,
869
+ provides: { addons: ["loadVoteDelegationTxBuilder"] }
870
+ });
871
+ const earnRewardsTxBuilderAddonContract = require_store.inferContractContext({
872
+ name: ContractName("earn-rewards-tx-builder-addon"),
873
+ instance: "at-least-one",
874
+ contractType: "addon",
875
+ preloadInServiceWorker: true,
876
+ provides: { addons: ["loadEarnRewardsTxBuilder"] }
877
+ });
878
+ //#endregion
879
+ //#region ../../packages/contract/signer/src/store/index.ts
880
+ var store_default$4 = require_store.inferStoreContext({
881
+ load: async () => Promise.resolve().then(() => require("./init-DFMiP2ZH.cjs")),
882
+ context: {
883
+ actions: {},
884
+ selectors: {}
885
+ }
886
+ });
887
+ //#endregion
888
+ //#region ../../packages/contract/signer/src/contract.ts
889
+ const signerFactoryAddonContract = require_store.inferContractContext({
890
+ name: ContractName("signer-factory-addon"),
891
+ instance: "at-least-one",
892
+ contractType: "addon",
893
+ preloadInServiceWorker: true,
894
+ provides: { addons: ["loadSignerFactory"] }
895
+ });
896
+ const signerStoreContract = require_store.inferContractContext({
897
+ name: ContractName("signer-store"),
898
+ instance: "exactly-one",
899
+ contractType: "store",
900
+ dependsOn: require_store.combineContracts([signerFactoryAddonContract]),
901
+ mixin: createMixin((laceModule) => ({ store: combineStore(laceModule, store_default$4) }))
902
+ });
903
+ //#endregion
904
+ //#region ../../packages/module/cardano-sync/src/store/index.ts
905
+ var store_default$3 = require_store.inferStoreContext({
906
+ load: async () => Promise.resolve().then(() => require("./init-lzHt4Cli.cjs")),
907
+ context: {
908
+ actions: {},
909
+ selectors: {}
910
+ }
911
+ });
912
+ //#endregion
913
+ //#region ../../packages/module/cardano-sync/src/module.ts
914
+ const cardanoSyncModule = require_store.inferModuleContext({
915
+ moduleName: ModuleName("cardano-sync"),
916
+ implements: require_store.combineContracts([]),
917
+ dependsOn: require_store.combineContracts([cardanoProviderStoreContract, syncStoreContract]),
918
+ store: store_default$3,
919
+ feature: {
920
+ willLoad: (featureFlags) => featureFlags.some((flag) => flag.key === require_const.FEATURE_FLAG_CARDANO),
921
+ metadata: {
922
+ name: "CardanoSync",
923
+ description: "Cardano provider-backed sync executors and round model"
924
+ }
925
+ },
926
+ addons: {}
927
+ });
928
+ //#endregion
929
+ //#region src/app-context.ts
930
+ /** Runs the app-context initializers the loaded modules provide, such as i18n. */
931
+ const initializeAppContext = async (loadModules) => {
932
+ await runInitializers(await loadModules("addons.loadInitializeAppContext"));
933
+ };
934
+ //#endregion
935
+ //#region src/base-module-store/index.ts
936
+ var base_module_store_default = require_store.inferStoreContext({
937
+ load: async () => Promise.resolve().then(() => require("./init-Atisw4x2.cjs")),
938
+ context: {
939
+ actions: {},
940
+ selectors: {}
941
+ }
942
+ });
943
+ //#endregion
944
+ //#region src/base-module.ts
945
+ /**
946
+ * SDK base module - implements the "app shell" store contracts
947
+ * that app-mobile currently provides.
948
+ *
949
+ * NOTE: app-mobile owns too many store contracts that should ideally
950
+ * be implemented by their respective domain modules (e.g., sendFlowStoreContract
951
+ * should be owned by a send-flow domain module, activitiesStoreContract by an
952
+ * activities domain module, etc.). This base module inherits that over-centralization
953
+ * for now. As contracts get properly distributed to domain modules in the future,
954
+ * this base module should shrink.
955
+ */
956
+ const implementsContracts$1 = require_store.combineContracts([
957
+ activitiesStoreContract,
958
+ analyticsStoreContract,
959
+ analyticsProviderDependencyContract,
960
+ networkStoreContract,
961
+ failuresStoreContract,
962
+ walletActiveStateDependencyContract,
963
+ walletRepoStoreContract,
964
+ signerStoreContract
965
+ ]);
966
+ const sdkBaseModule = require_store.inferModuleContext({
967
+ moduleName: ModuleName("lace-sdk-base"),
968
+ implements: implementsContracts$1,
969
+ store: base_module_store_default,
970
+ addons: {}
971
+ });
972
+ //#endregion
973
+ //#region src/cardano-app-module-store/index.ts
974
+ var cardano_app_module_store_default = require_store.inferStoreContext({
975
+ load: async () => Promise.resolve().then(() => require("./init-BgNobbNq.cjs")),
976
+ context: {
977
+ actions: {},
978
+ selectors: {}
979
+ }
980
+ });
981
+ //#endregion
982
+ //#region src/cardano-app-module.ts
983
+ /**
984
+ * The key of the flag that enables Bitcoin accounts. Spelled out here rather
985
+ * than imported from the Bitcoin contract, which is canary code that neither
986
+ * the stable build nor the Cardano entry may carry (ADR 66).
987
+ */
988
+ const BITCOIN_FEATURE_FLAG_KEY = require_feature_flag_key_vo.FeatureFlagKey("BLOCKCHAIN_BITCOIN");
989
+ /**
990
+ * The app-shell contracts the blockchain modules need, such as the analytics
991
+ * store that failures report to, implemented headless. `createLaceWallet`
992
+ * loads it whenever the Cardano or Bitcoin feature flag is on.
993
+ */
994
+ const sdkCardanoAppModule = require_store.inferModuleContext({
995
+ moduleName: ModuleName("lace-sdk-cardano-app"),
996
+ implements: require_store.combineContracts([
997
+ appStoreContract,
998
+ viewsStoreContract,
999
+ performAppReloadDependencyContract
1000
+ ]),
1001
+ store: cardano_app_module_store_default,
1002
+ feature: {
1003
+ willLoad: (featureFlags) => featureFlags.some((flag) => flag.key === require_const.FEATURE_FLAG_CARDANO || flag.key === BITCOIN_FEATURE_FLAG_KEY),
1004
+ metadata: {
1005
+ name: "SdkCardanoApp",
1006
+ description: "Headless app contracts of the blockchain modules"
1007
+ }
1008
+ },
1009
+ addons: {}
1010
+ });
1011
+ //#endregion
1012
+ //#region src/create-lace-wallet.ts
1013
+ const parseKey = (key) => {
1014
+ const items = key.split(".");
1015
+ if (items.length < 2) throw new Error(`Invalid key "${key}", expected format: "{scope}.{actionName}"`);
1016
+ return items;
1017
+ };
1018
+ /**
1019
+ * Creates a wallet from a set of modules. The SDK adds its own base modules,
1020
+ * keeps the modules whose feature flags are enabled, and checks that every
1021
+ * contract a module depends on is implemented, and implemented once where it
1022
+ * allows only one. It then loads the modules and returns a wallet whose
1023
+ * actions and state are typed from them.
1024
+ *
1025
+ * @param props - The modules, environment, configuration and feature flags.
1026
+ * @returns The wallet, typed from `props.modules`. Rejects with
1027
+ * `MissingContractImplementationError` or `MultipleImplementationsError` when
1028
+ * the modules do not fit together.
1029
+ */
1030
+ const createLaceWallet = async (props) => {
1031
+ const { modules, environment, config, featureFlags = [] } = props;
1032
+ const app = "lace-sdk";
1033
+ const logger = ts_log.dummyLogger;
1034
+ const allModules = [
1035
+ sdkBaseModule,
1036
+ sdkCardanoAppModule,
1037
+ cardanoSyncModule,
1038
+ ...modules
1039
+ ];
1040
+ const { modulesToLoad } = require_util.selectModules(allModules, featureFlags, environment);
1041
+ const moduleInitProps = {
1042
+ modules: modulesToLoad,
1043
+ runtime: {
1044
+ app,
1045
+ env: environment,
1046
+ config,
1047
+ platform: "web",
1048
+ features: {
1049
+ availableModules: allModules,
1050
+ loaded: {
1051
+ featureFlags,
1052
+ modules: modulesToLoad.map((m) => ({
1053
+ moduleName: m.moduleName,
1054
+ feature: m.feature ? { metadata: m.feature.metadata } : void 0
1055
+ }))
1056
+ }
1057
+ }
1058
+ }
1059
+ };
1060
+ const loadModules = createModuleLoader(moduleInitProps, { logger });
1061
+ const reduxPersistStorage = createReduxPersistStorage(await findStorageModule(moduleInitProps, { logger }));
1062
+ await initializeAppContext(loadModules);
1063
+ const { store, stateObservables, actionObservables } = await createStore({
1064
+ ...moduleInitProps,
1065
+ loadModules
1066
+ }, {
1067
+ logger,
1068
+ reduxPersistStorage
1069
+ });
1070
+ const stores = await loadModules("store");
1071
+ const actions = {};
1072
+ for (const s of stores) Object.assign(actions, s.context.actions);
1073
+ const dispatch = (key, ...args) => {
1074
+ const [scope, actionCreatorName] = parseKey(key);
1075
+ const actionCreator = actions[scope]?.[actionCreatorName];
1076
+ if (!actionCreator) throw new Error(`Unknown action: ${key}`);
1077
+ store.dispatch(actionCreator(...args));
1078
+ };
1079
+ return {
1080
+ stateObservables,
1081
+ actionObservables,
1082
+ dispatch,
1083
+ getState: () => store.getState(),
1084
+ _loadModules: loadModules
1085
+ };
1086
+ };
1087
+ //#endregion
1088
+ //#region ../../packages/contract/authentication-prompt/src/value-objects/auth-secret.ts
1089
+ const AuthSecret = (authSecret) => require_redacted.Redacted.make(authSecret);
1090
+ const fromUTF8 = (utf8string) => AuthSecret(require_bytes_vo.ByteArray.fromUTF8(utf8string));
1091
+ const fromHex = (hex) => AuthSecret(require_bytes_vo.HexBytes.toByteArray(hex));
1092
+ AuthSecret.fromUTF8 = fromUTF8;
1093
+ AuthSecret.fromHex = fromHex;
1094
+ //#endregion
1095
+ //#region ../../packages/contract/in-memory/src/contract.ts
1096
+ const inMemoryIntegrationAddonContract = require_store.inferContractContext({
1097
+ name: ContractName("in-memory-integration-addon"),
1098
+ instance: "at-least-one",
1099
+ contractType: "addon",
1100
+ preloadInServiceWorker: true,
1101
+ provides: { addons: ["loadInMemoryWalletIntegration"] }
1102
+ });
1103
+ //#endregion
1104
+ //#region ../../packages/contract/onboarding-v2/src/store/wallet-creation/wallet-entity.ts
1105
+ /**
1106
+ * Factory for creating in-memory wallet entities.
1107
+ *
1108
+ * With `password`: encrypts the recovery phrase and returns an
1109
+ * {@link InMemoryWallet}. Without `password`: persists no seed material and
1110
+ * returns a {@link LazyInMemoryWallet} — signing relies on an external module
1111
+ * re-supplying the mnemonic on demand.
1112
+ */
1113
+ const createInMemoryWalletEntityFactory = ({ integrations, logger }) => {
1114
+ const create = async ({ walletName, blockchains, password, order, recoveryPhrase }) => {
1115
+ const walletId = WalletId.deriveFromMnemonic(recoveryPhrase);
1116
+ const integrationResults = await Promise.all(integrations.filter(({ blockchainName }) => blockchains.includes(blockchainName)).map(async (integration) => integration.initializeWallet({
1117
+ recoveryPhrase,
1118
+ walletId,
1119
+ order,
1120
+ walletName,
1121
+ password
1122
+ }, { logger }).then((result) => ({
1123
+ ...result,
1124
+ blockchainName: integration.blockchainName
1125
+ }))));
1126
+ const blockchainSpecific = integrationResults.map(({ blockchainName, blockchainSpecificWalletData }) => ({ [blockchainName]: blockchainSpecificWalletData })).reduce((accumulator, value) => ({
1127
+ ...accumulator,
1128
+ ...value
1129
+ }), {});
1130
+ const accounts = integrationResults.flatMap(({ accounts }) => accounts);
1131
+ if (!password) return {
1132
+ accounts,
1133
+ blockchainSpecific,
1134
+ metadata: {
1135
+ name: walletName,
1136
+ order
1137
+ },
1138
+ type: WalletType.LazyInMemory,
1139
+ walletId
1140
+ };
1141
+ return {
1142
+ accounts,
1143
+ blockchainSpecific,
1144
+ encryptedRecoveryPhrase: await encryptRecoveryPhrase(recoveryPhrase, password),
1145
+ isPassphraseConfirmed: false,
1146
+ metadata: {
1147
+ name: walletName,
1148
+ order
1149
+ },
1150
+ type: WalletType.InMemory,
1151
+ walletId
1152
+ };
1153
+ };
1154
+ return create;
1155
+ };
1156
+ //#endregion
1157
+ //#region src/create-in-memory-wallet-entity.ts
1158
+ async function createInMemoryWalletEntity(wallet, props) {
1159
+ return createEntity(wallet, props);
1160
+ }
1161
+ async function createBlockchainWalletEntity(wallet, blockchainName, props) {
1162
+ return createEntity(wallet, props, blockchainName);
1163
+ }
1164
+ const createEntity = async (wallet, props, blockchainName) => {
1165
+ const { mnemonicWords, password: rawPassword, walletName, order = 0 } = props;
1166
+ const password = rawPassword ? AuthSecret(require_bytes_vo.ByteArray(rawPassword)) : void 0;
1167
+ const integrations = (await wallet._loadModules("addons.loadInMemoryWalletIntegration")).filter((integration) => !blockchainName || integration.blockchainName === blockchainName);
1168
+ return createInMemoryWalletEntityFactory({
1169
+ integrations,
1170
+ logger: ts_log.dummyLogger
1171
+ })({
1172
+ blockchains: integrations.map((integration) => integration.blockchainName),
1173
+ order,
1174
+ password,
1175
+ recoveryPhrase: mnemonicWords,
1176
+ walletName
1177
+ });
1178
+ };
1179
+ //#endregion
1180
+ //#region ../../packages/module/feature-dev/src/sdk-contracts.ts
1181
+ const implementsContracts = require_store.combineContracts([featureStoreContract, featureDependencyContract]);
1182
+ //#endregion
1183
+ //#region ../../packages/module/feature-dev/src/store/index.ts
1184
+ const featureDevActions = { featureDev: { setFeatureFlags: require_actions.setFeatureFlags } };
1185
+ var store_default$2 = require_store.inferStoreContext({
1186
+ load: async () => Promise.resolve().then(() => require("./init-BopV9ed4.cjs")),
1187
+ context: {
1188
+ actions: featureDevActions,
1189
+ selectors: {}
1190
+ }
1191
+ });
1192
+ //#endregion
1193
+ //#region ../../packages/module/feature-dev/src/sdk.ts
1194
+ /**
1195
+ * Feature flags the app sets: the wallet starts with the flags passed to
1196
+ * `createLaceWallet`, and dispatching `featureDev.setFeatureFlags` replaces
1197
+ * them.
1198
+ */
1199
+ var sdk_default$2 = require_store.inferModuleContext({
1200
+ moduleName: ModuleName("feature-dev"),
1201
+ implements: implementsContracts,
1202
+ store: store_default$2,
1203
+ addons: {}
1204
+ });
1205
+ //#endregion
1206
+ //#region ../../packages/module/storage-in-memory/src/store/index.ts
1207
+ var store_default$1 = require_store.inferStoreContext({
1208
+ load: async () => Promise.resolve().then(() => require("./init-BFcvPHL-.cjs")),
1209
+ context: {
1210
+ actions: {},
1211
+ selectors: {}
1212
+ }
1213
+ });
1214
+ //#endregion
1215
+ //#region ../../packages/module/storage-in-memory/src/sdk.ts
1216
+ /**
1217
+ * In-memory storage: the wallet's persisted state lasts as long as the
1218
+ * process.
1219
+ */
1220
+ var sdk_default$1 = require_store.inferModuleContext({
1221
+ moduleName: ModuleName("storage-in-memory"),
1222
+ implements: require_store.combineContracts([storageDependencyContract]),
1223
+ store: store_default$1,
1224
+ addons: {}
1225
+ });
1226
+ //#endregion
1227
+ //#region ../../packages/module/storage-web-indexeddb/src/store/index.ts
1228
+ var store_default = require_store.inferStoreContext({
1229
+ load: async () => Promise.resolve().then(() => require("./init-BwkU0ruo.cjs")),
1230
+ context: {
1231
+ actions: {},
1232
+ selectors: {}
1233
+ }
1234
+ });
1235
+ //#endregion
1236
+ //#region ../../packages/module/storage-web-indexeddb/src/sdk.ts
1237
+ /**
1238
+ * Browser storage in IndexedDB: the wallet's persisted state lasts across
1239
+ * page loads and sessions.
1240
+ */
1241
+ var sdk_default = require_store.inferModuleContext({
1242
+ moduleName: ModuleName("storage-web-indexeddb"),
1243
+ implements: require_store.combineContracts([storageDependencyContract]),
1244
+ store: store_default,
1245
+ addons: {}
1246
+ });
1247
+ //#endregion
1248
+ Object.defineProperty(exports, "AuthSecret", {
1249
+ enumerable: true,
1250
+ get: function() {
1251
+ return AuthSecret;
1252
+ }
1253
+ });
1254
+ Object.defineProperty(exports, "ContractName", {
1255
+ enumerable: true,
1256
+ get: function() {
1257
+ return ContractName;
1258
+ }
1259
+ });
1260
+ Object.defineProperty(exports, "ModuleName", {
1261
+ enumerable: true,
1262
+ get: function() {
1263
+ return ModuleName;
1264
+ }
1265
+ });
1266
+ Object.defineProperty(exports, "WalletId", {
1267
+ enumerable: true,
1268
+ get: function() {
1269
+ return WalletId;
1270
+ }
1271
+ });
1272
+ Object.defineProperty(exports, "WalletType", {
1273
+ enumerable: true,
1274
+ get: function() {
1275
+ return WalletType;
1276
+ }
1277
+ });
1278
+ Object.defineProperty(exports, "activitiesStoreContract", {
1279
+ enumerable: true,
1280
+ get: function() {
1281
+ return activitiesStoreContract;
1282
+ }
1283
+ });
1284
+ Object.defineProperty(exports, "addressesStoreContract", {
1285
+ enumerable: true,
1286
+ get: function() {
1287
+ return addressesStoreContract;
1288
+ }
1289
+ });
1290
+ Object.defineProperty(exports, "cardanoInMemorySigningDependencyContract", {
1291
+ enumerable: true,
1292
+ get: function() {
1293
+ return cardanoInMemorySigningDependencyContract;
1294
+ }
1295
+ });
1296
+ Object.defineProperty(exports, "cardanoProviderDependencyContract", {
1297
+ enumerable: true,
1298
+ get: function() {
1299
+ return cardanoProviderDependencyContract;
1300
+ }
1301
+ });
1302
+ Object.defineProperty(exports, "cardanoProviderStoreContract", {
1303
+ enumerable: true,
1304
+ get: function() {
1305
+ return cardanoProviderStoreContract;
1306
+ }
1307
+ });
1308
+ Object.defineProperty(exports, "combineStore", {
1309
+ enumerable: true,
1310
+ get: function() {
1311
+ return combineStore;
1312
+ }
1313
+ });
1314
+ Object.defineProperty(exports, "createBlockchainWalletEntity", {
1315
+ enumerable: true,
1316
+ get: function() {
1317
+ return createBlockchainWalletEntity;
1318
+ }
1319
+ });
1320
+ Object.defineProperty(exports, "createInMemoryWalletEntity", {
1321
+ enumerable: true,
1322
+ get: function() {
1323
+ return createInMemoryWalletEntity;
1324
+ }
1325
+ });
1326
+ Object.defineProperty(exports, "createLaceWallet", {
1327
+ enumerable: true,
1328
+ get: function() {
1329
+ return createLaceWallet;
1330
+ }
1331
+ });
1332
+ Object.defineProperty(exports, "createMixin", {
1333
+ enumerable: true,
1334
+ get: function() {
1335
+ return createMixin;
1336
+ }
1337
+ });
1338
+ Object.defineProperty(exports, "delegationTxBuilderAddonContract", {
1339
+ enumerable: true,
1340
+ get: function() {
1341
+ return delegationTxBuilderAddonContract;
1342
+ }
1343
+ });
1344
+ Object.defineProperty(exports, "deregistrationTxBuilderAddonContract", {
1345
+ enumerable: true,
1346
+ get: function() {
1347
+ return deregistrationTxBuilderAddonContract;
1348
+ }
1349
+ });
1350
+ Object.defineProperty(exports, "earnRewardsTxBuilderAddonContract", {
1351
+ enumerable: true,
1352
+ get: function() {
1353
+ return earnRewardsTxBuilderAddonContract;
1354
+ }
1355
+ });
1356
+ Object.defineProperty(exports, "failuresStoreContract", {
1357
+ enumerable: true,
1358
+ get: function() {
1359
+ return failuresStoreContract;
1360
+ }
1361
+ });
1362
+ Object.defineProperty(exports, "featureStoreContract", {
1363
+ enumerable: true,
1364
+ get: function() {
1365
+ return featureStoreContract;
1366
+ }
1367
+ });
1368
+ Object.defineProperty(exports, "inMemoryIntegrationAddonContract", {
1369
+ enumerable: true,
1370
+ get: function() {
1371
+ return inMemoryIntegrationAddonContract;
1372
+ }
1373
+ });
1374
+ Object.defineProperty(exports, "networkStoreContract", {
1375
+ enumerable: true,
1376
+ get: function() {
1377
+ return networkStoreContract;
1378
+ }
1379
+ });
1380
+ Object.defineProperty(exports, "sdk_default", {
1381
+ enumerable: true,
1382
+ get: function() {
1383
+ return sdk_default;
1384
+ }
1385
+ });
1386
+ Object.defineProperty(exports, "sdk_default$1", {
1387
+ enumerable: true,
1388
+ get: function() {
1389
+ return sdk_default$1;
1390
+ }
1391
+ });
1392
+ Object.defineProperty(exports, "sdk_default$2", {
1393
+ enumerable: true,
1394
+ get: function() {
1395
+ return sdk_default$2;
1396
+ }
1397
+ });
1398
+ Object.defineProperty(exports, "signerFactoryAddonContract", {
1399
+ enumerable: true,
1400
+ get: function() {
1401
+ return signerFactoryAddonContract;
1402
+ }
1403
+ });
1404
+ Object.defineProperty(exports, "storageDependencyContract", {
1405
+ enumerable: true,
1406
+ get: function() {
1407
+ return storageDependencyContract;
1408
+ }
1409
+ });
1410
+ Object.defineProperty(exports, "syncStoreContract", {
1411
+ enumerable: true,
1412
+ get: function() {
1413
+ return syncStoreContract;
1414
+ }
1415
+ });
1416
+ Object.defineProperty(exports, "tokensStoreContract", {
1417
+ enumerable: true,
1418
+ get: function() {
1419
+ return tokensStoreContract;
1420
+ }
1421
+ });
1422
+ Object.defineProperty(exports, "voteDelegationTxBuilderAddonContract", {
1423
+ enumerable: true,
1424
+ get: function() {
1425
+ return voteDelegationTxBuilderAddonContract;
1426
+ }
1427
+ });
1428
+ Object.defineProperty(exports, "walletActiveStateDependencyContract", {
1429
+ enumerable: true,
1430
+ get: function() {
1431
+ return walletActiveStateDependencyContract;
1432
+ }
1433
+ });
1434
+ Object.defineProperty(exports, "walletRepoStoreContract", {
1435
+ enumerable: true,
1436
+ get: function() {
1437
+ return walletRepoStoreContract;
1438
+ }
1439
+ });