@laceio/sdk 0.1.1-canary.2 → 0.1.1

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 (386) hide show
  1. package/dist/{TransactionBuilder-CCjOn7NA.cjs → TransactionBuilder-DrB3NVTi.cjs} +0 -42
  2. package/dist/{TransactionBuilder-CIzdw18M.js → TransactionBuilder-V6aLx4SV.js} +1 -1
  3. package/dist/{_polyfill-buffer-patch-CM8X7JiY.cjs → _polyfill-buffer-patch-BnPVerlG.cjs} +2 -21
  4. package/dist/account-guards.stable-B1DSSh9D.cjs +10 -0
  5. package/dist/account-guards.stable-JRQ5qx2V.js +5 -0
  6. package/dist/{activity-type-Ch6ljxBy.cjs → activity-type.stable-BJEfeLxL.cjs} +1 -2
  7. package/dist/{activity-type-GsJGWs-3.js → activity-type.stable-C76_hWd7.js} +1 -2
  8. package/dist/{address-book-address-validator-ByIZOdO-.js → address-book-address-validator-DIUolI-s.js} +2 -2
  9. package/dist/{address-book-address-validator-BjOWerRE.cjs → address-book-address-validator-DNwQGlOB.cjs} +2 -2
  10. package/dist/bitcoin.cjs +0 -45
  11. package/dist/bitcoin.d.ts +1 -29782
  12. package/dist/bitcoin.js +0 -20
  13. package/dist/{blockfrost-tx-submit-provider-CLNQ5ycR.cjs → blockfrost-tx-submit-provider-BAIzV5o3.cjs} +167 -3
  14. package/dist/{blockfrost-tx-submit-provider-CBWQ0wK9.js → blockfrost-tx-submit-provider-DPTrapz-.js} +157 -5
  15. package/dist/{secret-box-DrjLZuS1.cjs → bytes.vo-Ck5u40RA.cjs} +35 -1
  16. package/dist/{secret-box-DUR0ACYz.js → bytes.vo-TgiwogWF.js} +25 -3
  17. package/dist/{cardano-network-id.vo-wfLiAxpY.js → cardano-network-id.vo-CK1tNQDg.js} +1 -1
  18. package/dist/{cardano-network-id.vo-BEvFd_74.cjs → cardano-network-id.vo-DSxrFk9S.cjs} +1 -1
  19. package/dist/cardano.cjs +18 -22
  20. package/dist/cardano.d.ts +3982 -18409
  21. package/dist/cardano.js +11 -16
  22. package/dist/codecs-B7X9pAsK.cjs +1945 -0
  23. package/dist/codecs-CC1Xjntz.js +1882 -0
  24. package/dist/{const-oMF-TLow.cjs → const-BDEg2Trq.cjs} +4 -4
  25. package/dist/{const-iwzZEE_w.cjs → const-BY8B3_0_.cjs} +1 -1
  26. package/dist/{const-CBGn60yu.js → const-C84qHkjp.js} +4 -4
  27. package/dist/{const-CjmfjBP3.js → const-DXk2tFyv.js} +1 -1
  28. package/dist/{delegation-tx-builder-BR6bt1fE.js → delegation-tx-builder-CGVqlaFE.js} +5 -5
  29. package/dist/{delegation-tx-builder-DVwGfiV0.cjs → delegation-tx-builder-CRpLP6jH.cjs} +6 -6
  30. package/dist/{deregistration-tx-builder-BhJRGj1M.js → deregistration-tx-builder-B-CrUyX6.js} +5 -5
  31. package/dist/{deregistration-tx-builder-Cv_09HGf.cjs → deregistration-tx-builder-DZGwB4cz.cjs} +6 -6
  32. package/dist/{earn-rewards-tx-builder-RYzKsZ6-.js → earn-rewards-tx-builder-BDbTDZmD.js} +5 -5
  33. package/dist/{earn-rewards-tx-builder-52gJiJYa.cjs → earn-rewards-tx-builder-D5sUT5v8.cjs} +6 -6
  34. package/dist/{group-cardano-addresses-by-account-D06r7daZ.cjs → group-cardano-addresses-by-account-B533oVXR.cjs} +35 -19
  35. package/dist/{group-cardano-addresses-by-account-CxCqFDrX.js → group-cardano-addresses-by-account-RHKoEskR.js} +35 -19
  36. package/dist/{guarded-transaction-signer-BhnTBjf6.cjs → guarded-transaction-signer-Bxl6_XNd.cjs} +18 -17
  37. package/dist/{guarded-transaction-signer-BSEx83R-.js → guarded-transaction-signer-CpKLj8Kp.js} +15 -8
  38. package/dist/{in-memory-wallet-integration-CH4rcg92.cjs → in-memory-wallet-integration-CnLYeX4-.cjs} +108 -17
  39. package/dist/{in-memory-wallet-integration-BKu985Jz.js → in-memory-wallet-integration-Croiuopx.js} +104 -7
  40. package/dist/{in-memory-wallet-integration-B0blZBxM.js → in-memory-wallet-integration-D-qn65Kx.js} +2 -5
  41. package/dist/{in-memory-wallet-integration-CwPCDMIe.cjs → in-memory-wallet-integration-DVh9sRXa.cjs} +2 -3
  42. package/dist/index.cjs +47 -84
  43. package/dist/index.d.ts +13618 -40268
  44. package/dist/index.js +24 -52
  45. package/dist/{init-DUF4ar8P.cjs → init-B64zCLxG.cjs} +4 -4
  46. package/dist/{init-Y3mkB4XS.js → init-BAJJzBza.js} +2 -2
  47. package/dist/{init-BTzOjA8x.cjs → init-BJVU54pI.cjs} +1 -1
  48. package/dist/{init-D6BxBs7e.cjs → init-BKhH6mVR.cjs} +1 -1
  49. package/dist/{init-EP0CUWNK.cjs → init-BsCBAGWf.cjs} +2 -2
  50. package/dist/{init-Dy-05ktr.cjs → init-BtzMZ7Pk.cjs} +1 -1
  51. package/dist/init-Bv53hpLM.js +19 -0
  52. package/dist/{init-BopV9ed4.cjs → init-C-jErzp5.cjs} +2 -2
  53. package/dist/{init-CjT-WZcW.cjs → init-C4Bkib9u.cjs} +59 -49
  54. package/dist/{init-BEjCRHxU.cjs → init-C7IeJwQR.cjs} +61 -258
  55. package/dist/{init-C-G32J12.cjs → init-CB__aLD7.cjs} +2 -2
  56. package/dist/{init-CyAY4Lzl.js → init-CFYsq82V.js} +1 -1
  57. package/dist/{init-0zzs9aqU.js → init-CLHuAMB-.js} +4 -4
  58. package/dist/{init-DA7zmptx.js → init-CNLGJJRx.js} +1 -1
  59. package/dist/{init-B-YE57gg.js → init-CR6tpw1B.js} +33 -25
  60. package/dist/init-CRbjI7p1.js +3494 -0
  61. package/dist/{init-CSDpdu0Q.cjs → init-CSHwHnfg.cjs} +2 -2
  62. package/dist/{init-CNM5m7M2.js → init-Cg9XdAru.js} +4 -4
  63. package/dist/{init-B3-1ghyx.js → init-CigestoM.js} +2 -2
  64. package/dist/{init-Dv3zKj0r.cjs → init-D6DBUsD3.cjs} +4 -4
  65. package/dist/init-DAna1KCg.cjs +3495 -0
  66. package/dist/{init-D74mn8nH2.js → init-DDdhguVC.js} +2 -2
  67. package/dist/init-DGe47B22.cjs +364 -0
  68. package/dist/init-DMtyvYfC.cjs +21 -0
  69. package/dist/{init-BrdVzxei.cjs → init-DX4WyB0R.cjs} +3 -3
  70. package/dist/{init-C8URA2OX.js → init-DcYY6zMD.js} +1 -1
  71. package/dist/{init-DFMiP2ZH.cjs → init-DkIc5nqF.cjs} +1 -1
  72. package/dist/{init-vqxOQNZi.js → init-Dku4b2lG.js} +1 -1
  73. package/dist/{init-NdhG_VrF.cjs → init-DxUHsN53.cjs} +6 -6
  74. package/dist/{init-COMH3Hfo.js → init-FMGDET-9.js} +60 -259
  75. package/dist/{init-DrkOb-wd.cjs → init-LfyMo-sS.cjs} +2 -2
  76. package/dist/{init-NCjgwCZy.js → init-Rxohwpmu.js} +2 -2
  77. package/dist/init-TkPDD750.js +363 -0
  78. package/dist/{init-C2RgrfZe.js → init-TkPq_Ny_.js} +1 -1
  79. package/dist/{init-5KcGcBb5.cjs → init-U8c9yHYx.cjs} +1 -1
  80. package/dist/{init-CX0AMQUn.js → init-aJHl-7AO.js} +2 -2
  81. package/dist/{init-rmt7-fQE.cjs → init-anYu6XB7.cjs} +2 -2
  82. package/dist/{init-Fw89ZmrR.js → init-w9GEs73W.js} +2 -2
  83. package/dist/{init-Dnsv155v.js → init-y2Ra0vZP.js} +3 -3
  84. package/dist/{init-DFjT8YvT.js → init-zSzCjoor.js} +4 -4
  85. package/dist/{is-retriable-error-BUiVJDwH.js → is-retriable-error-BU0e3hVI.js} +1 -1
  86. package/dist/{is-retriable-error-Dpt860if.cjs → is-retriable-error-CeeuHqDa.cjs} +1 -1
  87. package/dist/{lace-context-BZciB9c7.js → lace-context-CZcNHr4M.js} +4 -4
  88. package/dist/{lace-context-DgR6vLli.cjs → lace-context-fJTDghdp.cjs} +4 -4
  89. package/dist/{libsodium-wrappers-BhbOA8dQ.js → libsodium-wrappers-UH0LaOUE.js} +1647 -3
  90. package/dist/modules-cardano-BDvuL4Xx.js +5248 -0
  91. package/dist/modules-cardano-D2G3De2P.cjs +5432 -0
  92. package/dist/{retry-config-Dmgt28wM.js → retry-config-BcUmMS--.js} +1 -1
  93. package/dist/{retry-config-BaCfVC1H.cjs → retry-config-DC5IMaH7.cjs} +1 -1
  94. package/dist/{seam-cardano-B_etH4F4.js → seam-cardano-CATqBEyK.js} +1 -1
  95. package/dist/{signer-factory-B7PMe3lQ.js → signer-factory-9URFliA5.js} +3 -6
  96. package/dist/{signer-factory-DduwpsQj.cjs → signer-factory-BWGUmnvm.cjs} +3 -4
  97. package/dist/{slice-CqVNnz-j.js → slice-B2PhoWAg.js} +125 -316
  98. package/dist/{slice-DyNs7oWp.js → slice-BNu73oBa.js} +2 -2
  99. package/dist/{slice-GwiiJRoq.js → slice-CB4SnzMm.js} +3 -3
  100. package/dist/slice-CGVHXHDt.cjs +125 -0
  101. package/dist/{slice-CU80pbiu.js → slice-CnyWevM9.js} +3 -3
  102. package/dist/{slice-CwyYrh1H.js → slice-CobanYgn.js} +2 -2
  103. package/dist/{slice-7G2xxYKJ.cjs → slice-CuHUaPZx.cjs} +3 -3
  104. package/dist/{slice-DayJvMRD.cjs → slice-D11m2EKl.cjs} +1 -1
  105. package/dist/{slice-Bg6HEr3K.cjs → slice-DGcNrbPR.cjs} +4 -4
  106. package/dist/{slice-B4CdYoPu.cjs → slice-DZmQJNV8.cjs} +2 -2
  107. package/dist/slice-DhvF7L6X.js +107 -0
  108. package/dist/{slice-C9TT5KhY.cjs → slice-Do2R2CYW.cjs} +6 -6
  109. package/dist/{slice-Bs2aMERu.cjs → slice-DtaO72qY.cjs} +3 -3
  110. package/dist/{slice-C34iOOUH.cjs → slice-HeHCv3bl.cjs} +7 -7
  111. package/dist/{slice-D-9aPKG-.js → slice-d0p6-xj5.js} +6 -6
  112. package/dist/{slice-CK07EBCo.js → slice-eIwcwKHI.js} +4 -4
  113. package/dist/{slice-DBpJ2QGf.js → slice-maaskdUn.js} +6 -6
  114. package/dist/{slice-6sP0Qs5V.cjs → slice-mxLQ_FeY.cjs} +127 -343
  115. package/dist/{slice-DnG-yvpI.cjs → slice-oqm_r1cS.cjs} +2 -2
  116. package/dist/{slice-Da426sf9.js → slice-zJ9XVYjZ.js} +1 -1
  117. package/dist/{sync-operation-utils-KT5Y9yFK.js → sync-operation-utils-BYXLO80m.js} +52 -1
  118. package/dist/{sync-operation-utils-C9kcmjKH.cjs → sync-operation-utils-SdPbwFoD.cjs} +87 -0
  119. package/dist/{token-id-mapper-qx7XfH0b.js → token-id-mapper-B2ivlLv3.js} +2 -2
  120. package/dist/{token-id-mapper-IApjwuJb.cjs → token-id-mapper-DsPAL6Nh.cjs} +2 -2
  121. package/dist/{util-D1e0skzp.js → util-BaLzwa32.js} +1 -1
  122. package/dist/{util-BeG7WXzM.cjs → util-CGzqQ8IV.cjs} +1 -1
  123. package/dist/{utils-DsElZgCI.cjs → utils-5JvjbqH3.cjs} +1 -7
  124. package/dist/{utils-BfBEUvWA.js → utils-o8aMjfln.js} +2 -2
  125. package/dist/{vote-delegation-tx-builder-CtdIgaIt.cjs → vote-delegation-tx-builder-BpEMSti4.cjs} +6 -6
  126. package/dist/{vote-delegation-tx-builder-CQjGvVNZ.js → vote-delegation-tx-builder-CmKv6GoG.js} +5 -5
  127. package/package.json +4 -96
  128. package/dist/_polyfill-buffer-patch-yNxN4d5E.js +0 -1467
  129. package/dist/_web-crypto-random-bytes-Bo-GTcRS.js +0 -197
  130. package/dist/acc-module-4iIUv6My.cjs +0 -27654
  131. package/dist/acc-module-Cmj8EsIb.js +0 -27624
  132. package/dist/account-BlYkEmcs.cjs +0 -11
  133. package/dist/account-DVX0F5_M.js +0 -6
  134. package/dist/account-call-D68oF6bh.js +0 -267
  135. package/dist/account-call-DIIa2rK_.cjs +0 -314
  136. package/dist/account-call-NgLhYein.cjs +0 -4
  137. package/dist/account-call-n-Nkp35e.js +0 -3
  138. package/dist/account-guards-BtjTGxDZ.cjs +0 -42
  139. package/dist/account-guards-D9Lu5T3W.js +0 -36
  140. package/dist/account-tokens-CtN2BaFy.js +0 -16
  141. package/dist/account-tokens-DXr8DlpW.cjs +0 -21
  142. package/dist/address-B9ntKL8K.js +0 -13761
  143. package/dist/address-BXp-mY8H.cjs +0 -11270
  144. package/dist/address-book-address-validator-DK0dnsRS.cjs +0 -41
  145. package/dist/address-book-address-validator-Di_ywo8M.js +0 -39
  146. package/dist/artefact-loader-54uK5RAa.js +0 -160
  147. package/dist/artefact-loader-DZPYrq-6.cjs +0 -183
  148. package/dist/auto-dismiss-failure-on-success-C-qoJuid.cjs +0 -37
  149. package/dist/auto-dismiss-failure-on-success-s8MGDEIu.js +0 -31
  150. package/dist/bip32-D6wd_QMn.cjs +0 -3851
  151. package/dist/bitcoin-data-provider-BYPSmuZS.js +0 -21
  152. package/dist/bitcoin-data-provider-w1oEDSU3.cjs +0 -26
  153. package/dist/bn-d3nSOIf7.cjs +0 -2553
  154. package/dist/browser-B1eMbDwh.js +0 -7468
  155. package/dist/bytes.vo-BB7_4JK6.js +0 -23
  156. package/dist/bytes.vo-BNRquqaO.cjs +0 -34
  157. package/dist/cardano-DfPwhwm-.js +0 -3
  158. package/dist/client-DXBLHk7K.cjs +0 -808
  159. package/dist/codecs-Cswkg7Tm.cjs +0 -4051
  160. package/dist/codecs-Dc1Krpbt.js +0 -3903
  161. package/dist/const-BfEnY8fg.js +0 -153
  162. package/dist/const-BhYOdznB.cjs +0 -42
  163. package/dist/const-CUnCl5U0.js +0 -13
  164. package/dist/const-DLrX5SD9.cjs +0 -31995
  165. package/dist/contract-C_CBwwiC.cjs +0 -189
  166. package/dist/contract-s_x-9-lz.js +0 -171
  167. package/dist/create-add-accounts-Brqk84vF.js +0 -102
  168. package/dist/create-add-accounts-DzXIh7Ot.cjs +0 -114
  169. package/dist/device-commitment-hex.vo-5wFtQvDS.js +0 -26
  170. package/dist/device-commitment-hex.vo-CT3RmAug.cjs +0 -31
  171. package/dist/device-readers-70i7tQqU.cjs +0 -8
  172. package/dist/device-readers-B7--ezKM.js +0 -4
  173. package/dist/device-readers-BWOmz9eD.js +0 -145
  174. package/dist/device-readers-CIgYZN7f.cjs +0 -168
  175. package/dist/dist-BMi5ZjEq.cjs +0 -43175
  176. package/dist/dist-BtIq4XFn.cjs +0 -535
  177. package/dist/dist-C3SHC_Ho.cjs +0 -1394
  178. package/dist/dist-CykEjYEX.cjs +0 -3814
  179. package/dist/dist-Dcsxh3be.cjs +0 -3452
  180. package/dist/dist-DqJfSlTd.cjs +0 -4413
  181. package/dist/dist-nTZ70qj7.cjs +0 -1306
  182. package/dist/enc-key-circuits-C8fGAMEF.cjs +0 -24
  183. package/dist/enc-key-circuits-DA2Xs3vZ.js +0 -13
  184. package/dist/english-Byb9M0E_.cjs +0 -2057
  185. package/dist/envelopes-BkH1Qdxk.js +0 -1620
  186. package/dist/envelopes-ETZEJS_O.cjs +0 -1721
  187. package/dist/errors-BZ8hnhCM.cjs +0 -584
  188. package/dist/errors-DIJTAsLa.js +0 -392
  189. package/dist/esm-HBSUQw3w.js +0 -384
  190. package/dist/esm-LZuaZjMf.cjs +0 -389
  191. package/dist/experimental.cjs +0 -7073
  192. package/dist/experimental.d.ts +0 -84347
  193. package/dist/experimental.js +0 -6915
  194. package/dist/gated-call-Boy6rXdC.js +0 -3
  195. package/dist/gated-call-DJWY299W.cjs +0 -736
  196. package/dist/gated-call-DjoRPqn1.js +0 -695
  197. package/dist/gated-call-SomdJ5nj.cjs +0 -4
  198. package/dist/grant-circuits-_1x--moV.cjs +0 -49
  199. package/dist/grant-circuits-swuzEdUl.js +0 -26
  200. package/dist/grant-rules-7Zqi_3BN.cjs +0 -7114
  201. package/dist/grant-rules-_xJHAT2M.js +0 -6833
  202. package/dist/grant-status-B2y49iIu.js +0 -2688
  203. package/dist/grant-status-DOr3t_u8.cjs +0 -2820
  204. package/dist/grants--b0LQQzZ.cjs +0 -266
  205. package/dist/grants-BIs6qm3b.js +0 -213
  206. package/dist/grants-CSgfYlOO.js +0 -5
  207. package/dist/grants-D61131nK.cjs +0 -17
  208. package/dist/hex-D9ITYbwt.cjs +0 -263
  209. package/dist/hex-mkXcV3pN.js +0 -191
  210. package/dist/http-client-B3N-TMxu.cjs +0 -167
  211. package/dist/http-client-TRlhDZGh.js +0 -155
  212. package/dist/identity-BMLuufva.cjs +0 -263
  213. package/dist/identity-DII6f-h7.js +0 -233
  214. package/dist/in-memory-wallet-integration-B2xzxORj.cjs +0 -20741
  215. package/dist/in-memory-wallet-integration-CUKesGG1.js +0 -130
  216. package/dist/in-memory-wallet-integration-CoPx69lQ.cjs +0 -240
  217. package/dist/in-memory-wallet-integration-TM9bBphA.js +0 -20738
  218. package/dist/init-B5X_sGj9.cjs +0 -6
  219. package/dist/init-BJn-8_hf.js +0 -141
  220. package/dist/init-Bp6yJk31.js +0 -1142
  221. package/dist/init-Bu4iXcTH.cjs +0 -34
  222. package/dist/init-C00gw1zi.js +0 -422
  223. package/dist/init-CIjZaQvL.js +0 -3584
  224. package/dist/init-CR7BfztQ.cjs +0 -18
  225. package/dist/init-Cp8EJGbm.js +0 -5
  226. package/dist/init-CpIadSUb.js +0 -33
  227. package/dist/init-D5UiYI12.cjs +0 -106
  228. package/dist/init-DAikR9qU.js +0 -1177
  229. package/dist/init-DGjXwWs2.cjs +0 -143
  230. package/dist/init-DHrCbpkW.cjs +0 -121
  231. package/dist/init-DU5yYX5u.js +0 -2374
  232. package/dist/init-DWvkFDkc.cjs +0 -1176
  233. package/dist/init-DY1unoGb.cjs +0 -1141
  234. package/dist/init-DlqJuHhl.js +0 -119
  235. package/dist/init-DuYENxci.js +0 -17
  236. package/dist/init-E7c40ddW.cjs +0 -3585
  237. package/dist/init-GsT2AEa4.cjs +0 -424
  238. package/dist/init-KQnIdm39.js +0 -104
  239. package/dist/init-ZjNDDC-T.cjs +0 -2375
  240. package/dist/jubjub-authoriser-BxE3oN2y.js +0 -86
  241. package/dist/jubjub-authoriser-C6SDEP9I.cjs +0 -87
  242. package/dist/key-source-5oUBFiC7.cjs +0 -583
  243. package/dist/key-source-B08HukZg.js +0 -2550
  244. package/dist/keyDerivation-D3k9XyHg.js +0 -4077
  245. package/dist/keyDerivation-u0nBA93T.cjs +0 -274
  246. package/dist/lib--iqvW4O_.js +0 -2354
  247. package/dist/lib-Yk6Upl5D.cjs +0 -2359
  248. package/dist/midnight-account-id.vo-0x9X-r3l.cjs +0 -10
  249. package/dist/midnight-account-id.vo-DjCAGcqc.js +0 -5
  250. package/dist/midnight-engine-DpemplKO.js +0 -5
  251. package/dist/midnight-engine-xU1wotne.cjs +0 -6
  252. package/dist/midnight-wallet-DIsAlSn6.js +0 -18
  253. package/dist/midnight-wallet-XTZc2li7.cjs +0 -24
  254. package/dist/midnight.cjs +0 -1406
  255. package/dist/midnight.d.ts +0 -28586
  256. package/dist/midnight.js +0 -1350
  257. package/dist/modules-cardano-CtWLntet.cjs +0 -1108
  258. package/dist/modules-cardano-D2dkeKHY.js +0 -995
  259. package/dist/node-relay-Cv0cNknM.js +0 -48
  260. package/dist/node-relay-DblH5fKv.cjs +0 -49
  261. package/dist/outputs-Bd2yZVjx.js +0 -720
  262. package/dist/outputs-CJoQBIA2.cjs +0 -990
  263. package/dist/pbkdf2-CIW-oWrm.cjs +0 -1337
  264. package/dist/pending-operation-B0_P78Jo.cjs +0 -26
  265. package/dist/pending-operation-BIS6mpjB.js +0 -21
  266. package/dist/providers-BLgJ0uQs.cjs +0 -366
  267. package/dist/providers-CwnT4vEE.js +0 -343
  268. package/dist/redacted-BmE2aXqr.js +0 -81
  269. package/dist/redacted-CRZJLS3w.cjs +0 -86
  270. package/dist/safe-buffer-B_vMqJWU.js +0 -43
  271. package/dist/safe-buffer-DYOwEfHB.cjs +0 -48
  272. package/dist/sdk-DIcjlgLF.js +0 -1241
  273. package/dist/sdk-Dgal10kG.cjs +0 -1439
  274. package/dist/sdk-init-BKkqFtWZ.cjs +0 -3791
  275. package/dist/sdk-init-DNd-oQXp.js +0 -1044
  276. package/dist/send-proof-progress-DTK3ZuYB.js +0 -22
  277. package/dist/send-proof-progress-dDoqIohG.cjs +0 -33
  278. package/dist/side-effects-BnqYz7Nl.js +0 -768
  279. package/dist/side-effects-CngaeXi0.cjs +0 -804
  280. package/dist/sign-bitcoin-transaction-with-seed-D4z62-jV.js +0 -147
  281. package/dist/sign-bitcoin-transaction-with-seed-DsLYXnCY.cjs +0 -158
  282. package/dist/signer-3fk8lZtE.cjs +0 -7
  283. package/dist/signer-CsL28DrK.cjs +0 -121
  284. package/dist/signer-DGluibtn.js +0 -92
  285. package/dist/signer-RqB5pu3K.js +0 -2
  286. package/dist/signer-factory-BA7WFJVZ.js +0 -282
  287. package/dist/signer-factory-CORIG4Yl.cjs +0 -130
  288. package/dist/signer-factory-Cd2TwD50.js +0 -129
  289. package/dist/signer-factory-Cwd6o-lG.cjs +0 -281
  290. package/dist/slice-BOyAAaj0.cjs +0 -378
  291. package/dist/slice-BnTJeMOb.js +0 -354
  292. package/dist/slice-C4uXUT7S.js +0 -9013
  293. package/dist/slice-CxKWDuBP.js +0 -87
  294. package/dist/slice-DQv_RhsI.cjs +0 -9031
  295. package/dist/slice-HjLXJyQG2.cjs +0 -105
  296. package/dist/src-BDzYIksE.cjs +0 -20637
  297. package/dist/src-BFoefPv_.js +0 -20755
  298. package/dist/store-B1Lq3cEf.cjs +0 -66
  299. package/dist/store-DuBG8qh5.js +0 -37
  300. package/dist/submit-BBYjnZu8.cjs +0 -87
  301. package/dist/submit-D_yxYM_T.js +0 -70
  302. package/dist/submit-bitcoin-tx-BkZIeF4b.js +0 -983
  303. package/dist/submit-bitcoin-tx-DZNQgihl.cjs +0 -1049
  304. package/dist/token-id-mapper-Bnds3xKH.cjs +0 -18
  305. package/dist/token-id-mapper-CnKHQ8DV.js +0 -16
  306. package/dist/tokens-Cevp7rdU.cjs +0 -62
  307. package/dist/tokens-Diw4MLRM.js +0 -44
  308. package/dist/types-B8uiJn-X.js +0 -12
  309. package/dist/types-CJT6XF2c.js +0 -10
  310. package/dist/types-CLRUYpfe.cjs +0 -23
  311. package/dist/types-DWbVZpnF.cjs +0 -15
  312. package/dist/types-T0cjaR75.js +0 -33
  313. package/dist/types-Zj78LtYu.cjs +0 -50
  314. package/dist/unwrap-provider-result-BZSiwabU.js +0 -32
  315. package/dist/unwrap-provider-result-ZqfBsTkk.cjs +0 -39
  316. package/dist/utils-BfMdr_1w.cjs +0 -112
  317. package/dist/utils-CvAW5Yw7.js +0 -65
  318. package/dist/v8Signatures-CO_Uloy7.cjs +0 -71
  319. package/dist/watch-Cz1J42um.cjs +0 -52205
  320. package/dist/watch-Z53L4yoK.js +0 -13054
  321. /package/dist/{account-id.vo-DwqFjK5u.cjs → account-id.vo-LvCBVn5r.cjs} +0 -0
  322. /package/dist/{account-id.vo-OPz2v-JZ.js → account-id.vo-MYSI7YFm.js} +0 -0
  323. /package/dist/{actions-iLXdgL5Y.js → actions-9QSQR-GB.js} +0 -0
  324. /package/dist/{actions-B2BJ4RTy.cjs → actions-DdGbj7c7.cjs} +0 -0
  325. /package/dist/{apply-vkey-witnesses-ZnFS0jnJ.cjs → apply-vkey-witnesses-CLzVSWxl.cjs} +0 -0
  326. /package/dist/{apply-vkey-witnesses-BKx3lcs0.js → apply-vkey-witnesses-ClZbpk5w.js} +0 -0
  327. /package/dist/{asyncoption-CruEYOBI.js → asyncoption-Cw07zPH7.js} +0 -0
  328. /package/dist/{asyncoption-i0VbqVTq.cjs → asyncoption-DYoGuQfP.cjs} +0 -0
  329. /package/dist/{bignum.vo-CEXOIew0.js → bignum.vo-B0rK_PQ1.js} +0 -0
  330. /package/dist/{bignum.vo-hx2kuqlA.cjs → bignum.vo-DsG3kNiZ.cjs} +0 -0
  331. /package/dist/{bip32ed25519-B7Yat217.cjs → bip32ed25519-1ApqeAZk.cjs} +0 -0
  332. /package/dist/{bip32ed25519-FQ8qvdcq.js → bip32ed25519-DetAdGwD.js} +0 -0
  333. /package/dist/{blake2b-DEeVUdKR.cjs → blake2b-B9tftbvG.cjs} +0 -0
  334. /package/dist/{blake2b-BiQTw3GC.js → blake2b-DOEVc57D.js} +0 -0
  335. /package/dist/{blockchain-network-id.vo-BAKEwGjG.cjs → blockchain-network-id.vo-BXpZhvvQ.cjs} +0 -0
  336. /package/dist/{blockchain-network-id.vo-CiVykuqG.js → blockchain-network-id.vo-DNRkuT5B.js} +0 -0
  337. /package/dist/{blockingWithLatestFrom-Cd8c8EPG.js → blockingWithLatestFrom-C5wp_uA-.js} +0 -0
  338. /package/dist/{blockingWithLatestFrom-D8kBPBMX.cjs → blockingWithLatestFrom-DY8OPg0w.cjs} +0 -0
  339. /package/dist/{cardano-network-id-to-network-type-C0ufJOyE.cjs → cardano-network-id-to-network-type-BDTF-HmK.cjs} +0 -0
  340. /package/dist/{cardano-network-id-to-network-type-BWwzeEtM.js → cardano-network-id-to-network-type-CrZfUcyP.js} +0 -0
  341. /package/dist/{cardano-tx-id.vo-D3ASTIMd.cjs → cardano-tx-id.vo-BPhV-AmZ.cjs} +0 -0
  342. /package/dist/{cardano-tx-id.vo-BXLo1b7Q.js → cardano-tx-id.vo-DF9NzZXk.js} +0 -0
  343. /package/dist/{composite-signer-factory-m5cVs9h_.cjs → composite-signer-factory-BpF1mIYA.cjs} +0 -0
  344. /package/dist/{composite-signer-factory-CR8YHA1y.js → composite-signer-factory-_46QsNBz.js} +0 -0
  345. /package/dist/{error-DIZOY2Lw.js → error-BCp9NkPi.js} +0 -0
  346. /package/dist/{error-Cb3EnD0u.cjs → error-CNIquqT5.cjs} +0 -0
  347. /package/dist/{esm-browser-MG97cre9.js → esm-browser-C93Q-EOI.js} +0 -0
  348. /package/dist/{esm-browser-bweqfBlL.cjs → esm-browser-DTc9IK3D.cjs} +0 -0
  349. /package/dist/{feature-flag-key.vo-RlfHL3hq.cjs → feature-flag-key.vo-BPz-ZAp6.cjs} +0 -0
  350. /package/dist/{feature-flag-key.vo-DN_-4-sG.js → feature-flag-key.vo-ofrB6ZVQ.js} +0 -0
  351. /package/dist/{first-state-of-status-unPynOuM.js → first-state-of-status-DQnMT3ya.js} +0 -0
  352. /package/dist/{first-state-of-status-CbT7hPa4.cjs → first-state-of-status-OROkXcRv.cjs} +0 -0
  353. /package/dist/{init-zUoRG_EC2.cjs → init-C5CEZ1m0.cjs} +0 -0
  354. /package/dist/{init-DHaMxHM1.js → init-CKipPE_c.js} +0 -0
  355. /package/dist/{init-Atisw4x2.cjs → init-DFQQ9dTW.cjs} +0 -0
  356. /package/dist/{init-829HRYcz.js → init-Es3wHW7D.js} +0 -0
  357. /package/dist/{init-BgNobbNq.cjs → init-IAk_CkGa.cjs} +0 -0
  358. /package/dist/{init-atCFur0v.js → init-cqN3uX2j.js} +0 -0
  359. /package/dist/{is-redux-persist-state-BCFnSm36.cjs → is-redux-persist-state-CTn3WZVh.cjs} +0 -0
  360. /package/dist/{is-redux-persist-state-yBfq0h_E.js → is-redux-persist-state-Cxcd0_bM.js} +0 -0
  361. /package/dist/{key-value-store--W3SrMaw.js → key-value-store-8cMzeNyG.js} +0 -0
  362. /package/dist/{key-value-store-C2Xt5Emp.cjs → key-value-store-DUAepXQf.cjs} +0 -0
  363. /package/dist/{repo-slice-RxFm0zDZ.js → repo-slice-DwyMhCR1.js} +0 -0
  364. /package/dist/{repo-slice-7X4AYYVm.cjs → repo-slice-WxetRhMY.cjs} +0 -0
  365. /package/dist/{reselect-CGoLzEPv.js → reselect-C06X06oX.js} +0 -0
  366. /package/dist/{reselect-Bd94u0K-.cjs → reselect-CRDqmQY9.cjs} +0 -0
  367. /package/dist/{serializable-BHdKIgk3.js → serializable-B8GahgE1.js} +0 -0
  368. /package/dist/{serializable-BxHkoPdk.cjs → serializable-CRdnFaLZ.cjs} +0 -0
  369. /package/dist/{slice-obCSLm1x.js → slice-B87b52iM.js} +0 -0
  370. /package/dist/{slice-Bk0Sv05J.js → slice-Be7hj4Iy.js} +0 -0
  371. /package/dist/{slice-BiRsDKOK.cjs → slice-D11FHQuQ.cjs} +0 -0
  372. /package/dist/{slice-Dqw1ecum.cjs → slice-FioKeHtA.cjs} +0 -0
  373. /package/dist/{src-Cqp0B2M_.cjs → src-BTPIvlDI.cjs} +0 -0
  374. /package/dist/{src-BlxEp6Mm.js → src-vq1wS9sZ.js} +0 -0
  375. /package/dist/{time.vo-D3wWRw9L.cjs → time.vo-CQ8pSXz2.cjs} +0 -0
  376. /package/dist/{time.vo-tNheinXm.js → time.vo-DkYYGYp6.js} +0 -0
  377. /package/dist/{toEmpty-8Zax1MPd.js → toEmpty-CgAl3097.js} +0 -0
  378. /package/dist/{toEmpty-CYAbupM4.cjs → toEmpty-DAMmNB5r.cjs} +0 -0
  379. /package/dist/{token-id.vo-DXv5uS9n.cjs → token-id.vo-BxG9TG0O.cjs} +0 -0
  380. /package/dist/{token-id.vo-Bvwhr3ZE.js → token-id.vo-ClsroxHO.js} +0 -0
  381. /package/dist/{util-CzeB3hfa.cjs → util-CmdAhheh.cjs} +0 -0
  382. /package/dist/{util-C8a4fA9p.js → util-DxzlYNS5.js} +0 -0
  383. /package/dist/{util-selector-BWPH68_l.cjs → util-selector-BcAncU4L.cjs} +0 -0
  384. /package/dist/{util-selector-BSTsxgne.js → util-selector-CcK-GAdE.js} +0 -0
  385. /package/dist/{while-active-B0lWy_6l.js → while-active-BpppWuCs.js} +0 -0
  386. /package/dist/{while-active-Dsowp0Fi.cjs → while-active-Dhc2LwOm.cjs} +0 -0
@@ -1,1439 +0,0 @@
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-6sP0Qs5V.cjs");
18
- const require_const = require("./const-oMF-TLow.cjs");
19
- const require_slice$7 = require("./slice-DQv_RhsI.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-CjT-WZcW.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-BTzOjA8x.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-BEjCRHxU.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-zUoRG_EC2.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-DrkOb-wd.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
- });