@lendasat/lendaswap-sdk-pure 0.2.42 → 0.2.44

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 (252) hide show
  1. package/dist/_esm-7KJOBTZC.js +3660 -0
  2. package/dist/_esm-7KJOBTZC.js.map +1 -0
  3. package/dist/_esm-UGRDSVEV.cjs +3662 -0
  4. package/dist/_esm-UGRDSVEV.cjs.map +1 -0
  5. package/dist/api/client.d.ts +0 -4
  6. package/dist/api/client.d.ts.map +1 -1
  7. package/dist/base-2KYNAFR3.cjs +109 -0
  8. package/dist/base-2KYNAFR3.cjs.map +1 -0
  9. package/dist/base-B6OGU65B.js +7 -0
  10. package/dist/base-B6OGU65B.js.map +1 -0
  11. package/dist/ccip-MPMAZOUF.js +5 -0
  12. package/dist/ccip-MPMAZOUF.js.map +1 -0
  13. package/dist/ccip-PD37NJHA.cjs +26 -0
  14. package/dist/ccip-PD37NJHA.cjs.map +1 -0
  15. package/dist/cctp-bridge/index.cjs +67 -0
  16. package/dist/cctp-bridge/index.cjs.map +1 -0
  17. package/dist/cctp-bridge/index.js +51 -15
  18. package/dist/cctp-bridge/index.js.map +1 -1
  19. package/dist/cctp-inbound/client.d.ts +21 -19
  20. package/dist/cctp-inbound/client.d.ts.map +1 -1
  21. package/dist/cctp-inbound/smartAccount.d.ts +21 -19
  22. package/dist/cctp-inbound/smartAccount.d.ts.map +1 -1
  23. package/dist/chunk-3JWT4OW2.js +369 -0
  24. package/dist/chunk-3JWT4OW2.js.map +1 -0
  25. package/dist/chunk-A4GKKURK.cjs +430 -0
  26. package/dist/chunk-A4GKKURK.cjs.map +1 -0
  27. package/dist/chunk-BZU3R5DJ.cjs +554 -0
  28. package/dist/chunk-BZU3R5DJ.cjs.map +1 -0
  29. package/dist/chunk-C4YXYD24.js +418 -0
  30. package/dist/chunk-C4YXYD24.js.map +1 -0
  31. package/dist/chunk-CZNQYFDP.js +6141 -0
  32. package/dist/chunk-CZNQYFDP.js.map +1 -0
  33. package/dist/chunk-DKTFDGIU.js +2207 -0
  34. package/dist/chunk-DKTFDGIU.js.map +1 -0
  35. package/dist/chunk-DNSJDKTP.cjs +96 -0
  36. package/dist/chunk-DNSJDKTP.cjs.map +1 -0
  37. package/dist/chunk-EPKFLKTM.js +47093 -0
  38. package/dist/chunk-EPKFLKTM.js.map +1 -0
  39. package/dist/chunk-JBVKWKD4.cjs +50 -0
  40. package/dist/chunk-JBVKWKD4.cjs.map +1 -0
  41. package/dist/chunk-NPFJAXKV.js +551 -0
  42. package/dist/chunk-NPFJAXKV.js.map +1 -0
  43. package/dist/chunk-PKDJZJMV.cjs +2214 -0
  44. package/dist/chunk-PKDJZJMV.cjs.map +1 -0
  45. package/dist/chunk-PLDDJCW6.js +43 -0
  46. package/dist/chunk-PLDDJCW6.js.map +1 -0
  47. package/dist/chunk-RIOT5VOJ.cjs +47240 -0
  48. package/dist/chunk-RIOT5VOJ.cjs.map +1 -0
  49. package/dist/chunk-WVZSHRV7.cjs +431 -0
  50. package/dist/chunk-WVZSHRV7.cjs.map +1 -0
  51. package/dist/chunk-YEZOPVAH.js +86 -0
  52. package/dist/chunk-YEZOPVAH.js.map +1 -0
  53. package/dist/chunk-YLWPBHMV.cjs +6311 -0
  54. package/dist/chunk-YLWPBHMV.cjs.map +1 -0
  55. package/dist/client.d.ts +68 -1
  56. package/dist/client.d.ts.map +1 -1
  57. package/dist/compose-quote.d.ts +77 -0
  58. package/dist/compose-quote.d.ts.map +1 -0
  59. package/dist/delegate.cjs +23 -0
  60. package/dist/delegate.cjs.map +1 -0
  61. package/dist/delegate.js +5 -269
  62. package/dist/delegate.js.map +1 -1
  63. package/dist/dist-NE2R4YCX.js +5 -0
  64. package/dist/dist-NE2R4YCX.js.map +1 -0
  65. package/dist/dist-VEHYC67F.cjs +550 -0
  66. package/dist/dist-VEHYC67F.cjs.map +1 -0
  67. package/dist/esplora.d.ts +14 -0
  68. package/dist/esplora.d.ts.map +1 -1
  69. package/dist/generated/api.d.ts +235 -38
  70. package/dist/generated/api.d.ts.map +1 -1
  71. package/dist/index.cjs +35461 -0
  72. package/dist/index.cjs.map +1 -0
  73. package/dist/index.d.ts +2 -1
  74. package/dist/index.d.ts.map +1 -1
  75. package/dist/index.js +35309 -32
  76. package/dist/index.js.map +1 -1
  77. package/dist/mine.wasm-JJEJEODX.js +9 -0
  78. package/dist/mine.wasm-JJEJEODX.js.map +1 -0
  79. package/dist/mine.wasm-Z3ORSBKN.cjs +12 -0
  80. package/dist/mine.wasm-Z3ORSBKN.cjs.map +1 -0
  81. package/dist/node.cjs +166 -0
  82. package/dist/node.cjs.map +1 -0
  83. package/dist/node.js +157 -18
  84. package/dist/node.js.map +1 -1
  85. package/dist/secp256k1-PJCSE4N6.cjs +30 -0
  86. package/dist/secp256k1-PJCSE4N6.cjs.map +1 -0
  87. package/dist/secp256k1-VZNNVEPN.js +5 -0
  88. package/dist/secp256k1-VZNNVEPN.js.map +1 -0
  89. package/dist/tokens.d.ts +2 -1
  90. package/dist/tokens.d.ts.map +1 -1
  91. package/dist/types/chain-config.d.ts +50 -0
  92. package/dist/types/chain-config.d.ts.map +1 -0
  93. package/dist/types/chain.d.ts +11 -0
  94. package/dist/types/chain.d.ts.map +1 -0
  95. package/dist/types/dex-quote.d.ts +85 -0
  96. package/dist/types/dex-quote.d.ts.map +1 -0
  97. package/dist/types/index.d.ts +15 -0
  98. package/dist/types/index.d.ts.map +1 -0
  99. package/dist/types/network-fees.d.ts +43 -0
  100. package/dist/types/network-fees.d.ts.map +1 -0
  101. package/dist/types/quote.d.ts +87 -0
  102. package/dist/types/quote.d.ts.map +1 -0
  103. package/dist/types/swap-pairs.d.ts +37 -0
  104. package/dist/types/swap-pairs.d.ts.map +1 -0
  105. package/dist/version.d.ts +2 -2
  106. package/dist/wallet-SCGRX3EN.js +4 -0
  107. package/dist/wallet-SCGRX3EN.js.map +1 -0
  108. package/dist/wallet-SZJDXAY7.cjs +45 -0
  109. package/dist/wallet-SZJDXAY7.cjs.map +1 -0
  110. package/package.json +23 -10
  111. package/dist/api/client.js +0 -13
  112. package/dist/api/client.js.map +0 -1
  113. package/dist/arkade-network.js +0 -40
  114. package/dist/arkade-network.js.map +0 -1
  115. package/dist/arkade.js +0 -61
  116. package/dist/arkade.js.map +0 -1
  117. package/dist/cctp/attestation.js +0 -149
  118. package/dist/cctp/attestation.js.map +0 -1
  119. package/dist/cctp/constants.js +0 -92
  120. package/dist/cctp/constants.js.map +0 -1
  121. package/dist/cctp/fee.js +0 -70
  122. package/dist/cctp/fee.js.map +0 -1
  123. package/dist/cctp/index.js +0 -13
  124. package/dist/cctp/index.js.map +0 -1
  125. package/dist/cctp/types.js +0 -5
  126. package/dist/cctp/types.js.map +0 -1
  127. package/dist/cctp/utils.js +0 -91
  128. package/dist/cctp/utils.js.map +0 -1
  129. package/dist/cctp-bridge/bridge.js +0 -74
  130. package/dist/cctp-bridge/bridge.js.map +0 -1
  131. package/dist/cctp-inbound/approveAndBurn.js +0 -95
  132. package/dist/cctp-inbound/approveAndBurn.js.map +0 -1
  133. package/dist/cctp-inbound/burn.js +0 -66
  134. package/dist/cctp-inbound/burn.js.map +0 -1
  135. package/dist/cctp-inbound/chainMap.js +0 -128
  136. package/dist/cctp-inbound/chainMap.js.map +0 -1
  137. package/dist/cctp-inbound/client.js +0 -125
  138. package/dist/cctp-inbound/client.js.map +0 -1
  139. package/dist/cctp-inbound/eip2612.js +0 -95
  140. package/dist/cctp-inbound/eip2612.js.map +0 -1
  141. package/dist/cctp-inbound/evmSignerAdapter.js +0 -82
  142. package/dist/cctp-inbound/evmSignerAdapter.js.map +0 -1
  143. package/dist/cctp-inbound/fundSwap.js +0 -95
  144. package/dist/cctp-inbound/fundSwap.js.map +0 -1
  145. package/dist/cctp-inbound/index.js +0 -34
  146. package/dist/cctp-inbound/index.js.map +0 -1
  147. package/dist/cctp-inbound/permit2.js +0 -32
  148. package/dist/cctp-inbound/permit2.js.map +0 -1
  149. package/dist/cctp-inbound/preflight.js +0 -84
  150. package/dist/cctp-inbound/preflight.js.map +0 -1
  151. package/dist/cctp-inbound/recover.js +0 -177
  152. package/dist/cctp-inbound/recover.js.map +0 -1
  153. package/dist/cctp-inbound/smartAccount.js +0 -117
  154. package/dist/cctp-inbound/smartAccount.js.map +0 -1
  155. package/dist/cctp-inbound/submit.js +0 -136
  156. package/dist/cctp-inbound/submit.js.map +0 -1
  157. package/dist/cctp-inbound/types.js +0 -5
  158. package/dist/cctp-inbound/types.js.map +0 -1
  159. package/dist/cctp-inbound/userOp.js +0 -151
  160. package/dist/cctp-inbound/userOp.js.map +0 -1
  161. package/dist/client.js +0 -4126
  162. package/dist/client.js.map +0 -1
  163. package/dist/create/arkade-to-lightning.js +0 -76
  164. package/dist/create/arkade-to-lightning.js.map +0 -1
  165. package/dist/create/arkade.js +0 -86
  166. package/dist/create/arkade.js.map +0 -1
  167. package/dist/create/bitcoin-to-arkade.js +0 -76
  168. package/dist/create/bitcoin-to-arkade.js.map +0 -1
  169. package/dist/create/bitcoin.js +0 -77
  170. package/dist/create/bitcoin.js.map +0 -1
  171. package/dist/create/evm-to-arkade.js +0 -80
  172. package/dist/create/evm-to-arkade.js.map +0 -1
  173. package/dist/create/evm-to-bitcoin.js +0 -82
  174. package/dist/create/evm-to-bitcoin.js.map +0 -1
  175. package/dist/create/evm-to-lightning.js +0 -89
  176. package/dist/create/evm-to-lightning.js.map +0 -1
  177. package/dist/create/index.js +0 -21
  178. package/dist/create/index.js.map +0 -1
  179. package/dist/create/lightning-to-arkade.js +0 -69
  180. package/dist/create/lightning-to-arkade.js.map +0 -1
  181. package/dist/create/lightning.js +0 -61
  182. package/dist/create/lightning.js.map +0 -1
  183. package/dist/create/retry.js +0 -71
  184. package/dist/create/retry.js.map +0 -1
  185. package/dist/create/types.js +0 -5
  186. package/dist/create/types.js.map +0 -1
  187. package/dist/escrow/index.js +0 -115
  188. package/dist/escrow/index.js.map +0 -1
  189. package/dist/esplora.js +0 -47
  190. package/dist/esplora.js.map +0 -1
  191. package/dist/evm/coordinator.js +0 -714
  192. package/dist/evm/coordinator.js.map +0 -1
  193. package/dist/evm/htlc.js +0 -278
  194. package/dist/evm/htlc.js.map +0 -1
  195. package/dist/evm/index.js +0 -10
  196. package/dist/evm/index.js.map +0 -1
  197. package/dist/evm/signing.js +0 -70
  198. package/dist/evm/signing.js.map +0 -1
  199. package/dist/evm/wallet.js +0 -133
  200. package/dist/evm/wallet.js.map +0 -1
  201. package/dist/generated/api.js +0 -6
  202. package/dist/generated/api.js.map +0 -1
  203. package/dist/logging.js +0 -130
  204. package/dist/logging.js.map +0 -1
  205. package/dist/price-calculations.js +0 -135
  206. package/dist/price-calculations.js.map +0 -1
  207. package/dist/redeem/arkade.js +0 -416
  208. package/dist/redeem/arkade.js.map +0 -1
  209. package/dist/redeem/ethereum.js +0 -206
  210. package/dist/redeem/ethereum.js.map +0 -1
  211. package/dist/redeem/gasless.js +0 -73
  212. package/dist/redeem/gasless.js.map +0 -1
  213. package/dist/redeem/index.js +0 -189
  214. package/dist/redeem/index.js.map +0 -1
  215. package/dist/redeem/types.js +0 -36
  216. package/dist/redeem/types.js.map +0 -1
  217. package/dist/refund/arkade.js +0 -200
  218. package/dist/refund/arkade.js.map +0 -1
  219. package/dist/refund/collab-arkade-evm.js +0 -307
  220. package/dist/refund/collab-arkade-evm.js.map +0 -1
  221. package/dist/refund/collab-arkade-lightning.js +0 -245
  222. package/dist/refund/collab-arkade-lightning.js.map +0 -1
  223. package/dist/refund/index.js +0 -12
  224. package/dist/refund/index.js.map +0 -1
  225. package/dist/refund/onchain.js +0 -366
  226. package/dist/refund/onchain.js.map +0 -1
  227. package/dist/signer/index.js +0 -249
  228. package/dist/signer/index.js.map +0 -1
  229. package/dist/storage/idb.js +0 -236
  230. package/dist/storage/idb.js.map +0 -1
  231. package/dist/storage/index.js +0 -98
  232. package/dist/storage/index.js.map +0 -1
  233. package/dist/storage/sqlite.js +0 -206
  234. package/dist/storage/sqlite.js.map +0 -1
  235. package/dist/storage/types.js +0 -9
  236. package/dist/storage/types.js.map +0 -1
  237. package/dist/tokens.js +0 -322
  238. package/dist/tokens.js.map +0 -1
  239. package/dist/usd-price.js +0 -96
  240. package/dist/usd-price.js.map +0 -1
  241. package/dist/usdt0-bridge/constants.js +0 -71
  242. package/dist/usdt0-bridge/constants.js.map +0 -1
  243. package/dist/usdt0-bridge/index.js +0 -11
  244. package/dist/usdt0-bridge/index.js.map +0 -1
  245. package/dist/usdt0-bridge/tracking.js +0 -123
  246. package/dist/usdt0-bridge/tracking.js.map +0 -1
  247. package/dist/usdt0-bridge/utils.js +0 -51
  248. package/dist/usdt0-bridge/utils.js.map +0 -1
  249. package/dist/version.js +0 -6
  250. package/dist/version.js.map +0 -1
  251. package/dist/ws.js +0 -145
  252. package/dist/ws.js.map +0 -1
@@ -0,0 +1,550 @@
1
+ 'use strict';
2
+
3
+ var chunkRIOT5VOJ_cjs = require('./chunk-RIOT5VOJ.cjs');
4
+ require('./chunk-BZU3R5DJ.cjs');
5
+ require('./chunk-JBVKWKD4.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "ArkAddress", {
10
+ enumerable: true,
11
+ get: function () { return chunkRIOT5VOJ_cjs.ArkAddress; }
12
+ });
13
+ Object.defineProperty(exports, "ArkError", {
14
+ enumerable: true,
15
+ get: function () { return chunkRIOT5VOJ_cjs.ArkError; }
16
+ });
17
+ Object.defineProperty(exports, "ArkNote", {
18
+ enumerable: true,
19
+ get: function () { return chunkRIOT5VOJ_cjs.ArkNote; }
20
+ });
21
+ Object.defineProperty(exports, "ArkPsbtFieldKey", {
22
+ enumerable: true,
23
+ get: function () { return chunkRIOT5VOJ_cjs.ArkPsbtFieldKey; }
24
+ });
25
+ Object.defineProperty(exports, "ArkPsbtFieldKeyType", {
26
+ enumerable: true,
27
+ get: function () { return chunkRIOT5VOJ_cjs.ArkPsbtFieldKeyType; }
28
+ });
29
+ Object.defineProperty(exports, "AssetManager", {
30
+ enumerable: true,
31
+ get: function () { return chunkRIOT5VOJ_cjs.AssetManager; }
32
+ });
33
+ Object.defineProperty(exports, "BIP322", {
34
+ enumerable: true,
35
+ get: function () { return chunkRIOT5VOJ_cjs.BIP322; }
36
+ });
37
+ Object.defineProperty(exports, "Batch", {
38
+ enumerable: true,
39
+ get: function () { return chunkRIOT5VOJ_cjs.Batch; }
40
+ });
41
+ Object.defineProperty(exports, "BoardingContractHandler", {
42
+ enumerable: true,
43
+ get: function () { return chunkRIOT5VOJ_cjs.BoardingContractHandler; }
44
+ });
45
+ Object.defineProperty(exports, "CLTVMultisigTapscript", {
46
+ enumerable: true,
47
+ get: function () { return chunkRIOT5VOJ_cjs.CLTVMultisigTapscript; }
48
+ });
49
+ Object.defineProperty(exports, "CSVMultisigTapscript", {
50
+ enumerable: true,
51
+ get: function () { return chunkRIOT5VOJ_cjs.CSVMultisigTapscript; }
52
+ });
53
+ Object.defineProperty(exports, "ChainTxType", {
54
+ enumerable: true,
55
+ get: function () { return chunkRIOT5VOJ_cjs.ChainTxType; }
56
+ });
57
+ Object.defineProperty(exports, "ConditionCSVMultisigTapscript", {
58
+ enumerable: true,
59
+ get: function () { return chunkRIOT5VOJ_cjs.ConditionCSVMultisigTapscript; }
60
+ });
61
+ Object.defineProperty(exports, "ConditionMultisigTapscript", {
62
+ enumerable: true,
63
+ get: function () { return chunkRIOT5VOJ_cjs.ConditionMultisigTapscript; }
64
+ });
65
+ Object.defineProperty(exports, "ConditionWitness", {
66
+ enumerable: true,
67
+ get: function () { return chunkRIOT5VOJ_cjs.ConditionWitness; }
68
+ });
69
+ Object.defineProperty(exports, "ContractManager", {
70
+ enumerable: true,
71
+ get: function () { return chunkRIOT5VOJ_cjs.ContractManager; }
72
+ });
73
+ Object.defineProperty(exports, "ContractRepositoryImpl", {
74
+ enumerable: true,
75
+ get: function () { return chunkRIOT5VOJ_cjs.ContractRepositoryImpl; }
76
+ });
77
+ Object.defineProperty(exports, "ContractWatcher", {
78
+ enumerable: true,
79
+ get: function () { return chunkRIOT5VOJ_cjs.ContractWatcher; }
80
+ });
81
+ Object.defineProperty(exports, "CosignerPublicKey", {
82
+ enumerable: true,
83
+ get: function () { return chunkRIOT5VOJ_cjs.CosignerPublicKey; }
84
+ });
85
+ Object.defineProperty(exports, "DEFAULT_MESSAGE_TIMEOUTS", {
86
+ enumerable: true,
87
+ get: function () { return chunkRIOT5VOJ_cjs.DEFAULT_MESSAGE_TIMEOUTS; }
88
+ });
89
+ Object.defineProperty(exports, "DefaultContractHandler", {
90
+ enumerable: true,
91
+ get: function () { return chunkRIOT5VOJ_cjs.DefaultContractHandler; }
92
+ });
93
+ Object.defineProperty(exports, "DefaultVtxo", {
94
+ enumerable: true,
95
+ get: function () { return chunkRIOT5VOJ_cjs.DefaultVtxo; }
96
+ });
97
+ Object.defineProperty(exports, "DelegateContractHandler", {
98
+ enumerable: true,
99
+ get: function () { return chunkRIOT5VOJ_cjs.DelegateContractHandler; }
100
+ });
101
+ Object.defineProperty(exports, "DelegateManagerImpl", {
102
+ enumerable: true,
103
+ get: function () { return chunkRIOT5VOJ_cjs.DelegateManagerImpl; }
104
+ });
105
+ Object.defineProperty(exports, "DelegateNotConfiguredError", {
106
+ enumerable: true,
107
+ get: function () { return chunkRIOT5VOJ_cjs.DelegateNotConfiguredError; }
108
+ });
109
+ Object.defineProperty(exports, "DelegateVtxo", {
110
+ enumerable: true,
111
+ get: function () { return chunkRIOT5VOJ_cjs.DelegateVtxo; }
112
+ });
113
+ Object.defineProperty(exports, "DelegatorManagerImpl", {
114
+ enumerable: true,
115
+ get: function () { return chunkRIOT5VOJ_cjs.DelegatorManagerImpl; }
116
+ });
117
+ Object.defineProperty(exports, "DelegatorNotConfiguredError", {
118
+ enumerable: true,
119
+ get: function () { return chunkRIOT5VOJ_cjs.DelegatorNotConfiguredError; }
120
+ });
121
+ Object.defineProperty(exports, "DescriptorSigningProviderMissingError", {
122
+ enumerable: true,
123
+ get: function () { return chunkRIOT5VOJ_cjs.DescriptorSigningProviderMissingError; }
124
+ });
125
+ Object.defineProperty(exports, "DigestMismatchError", {
126
+ enumerable: true,
127
+ get: function () { return chunkRIOT5VOJ_cjs.DigestMismatchError; }
128
+ });
129
+ Object.defineProperty(exports, "DustChangeError", {
130
+ enumerable: true,
131
+ get: function () { return chunkRIOT5VOJ_cjs.DustChangeError; }
132
+ });
133
+ Object.defineProperty(exports, "ELECTRUM_TCP_HOST", {
134
+ enumerable: true,
135
+ get: function () { return chunkRIOT5VOJ_cjs.ELECTRUM_TCP_HOST; }
136
+ });
137
+ Object.defineProperty(exports, "ELECTRUM_WS_URL", {
138
+ enumerable: true,
139
+ get: function () { return chunkRIOT5VOJ_cjs.ELECTRUM_WS_URL; }
140
+ });
141
+ Object.defineProperty(exports, "ESPLORA_URL", {
142
+ enumerable: true,
143
+ get: function () { return chunkRIOT5VOJ_cjs.ESPLORA_URL; }
144
+ });
145
+ Object.defineProperty(exports, "ElectrumOnchainProvider", {
146
+ enumerable: true,
147
+ get: function () { return chunkRIOT5VOJ_cjs.ElectrumOnchainProvider; }
148
+ });
149
+ Object.defineProperty(exports, "EsploraProvider", {
150
+ enumerable: true,
151
+ get: function () { return chunkRIOT5VOJ_cjs.EsploraProvider; }
152
+ });
153
+ Object.defineProperty(exports, "Estimator", {
154
+ enumerable: true,
155
+ get: function () { return chunkRIOT5VOJ_cjs.Estimator; }
156
+ });
157
+ Object.defineProperty(exports, "HDDescriptorProvider", {
158
+ enumerable: true,
159
+ get: function () { return chunkRIOT5VOJ_cjs.HDDescriptorProvider; }
160
+ });
161
+ Object.defineProperty(exports, "InMemoryContractRepository", {
162
+ enumerable: true,
163
+ get: function () { return chunkRIOT5VOJ_cjs.InMemoryContractRepository; }
164
+ });
165
+ Object.defineProperty(exports, "InMemoryWalletRepository", {
166
+ enumerable: true,
167
+ get: function () { return chunkRIOT5VOJ_cjs.InMemoryWalletRepository; }
168
+ });
169
+ Object.defineProperty(exports, "IndexedDBContractRepository", {
170
+ enumerable: true,
171
+ get: function () { return chunkRIOT5VOJ_cjs.IndexedDBContractRepository; }
172
+ });
173
+ Object.defineProperty(exports, "IndexedDBWalletRepository", {
174
+ enumerable: true,
175
+ get: function () { return chunkRIOT5VOJ_cjs.IndexedDBWalletRepository; }
176
+ });
177
+ Object.defineProperty(exports, "IndexerTxType", {
178
+ enumerable: true,
179
+ get: function () { return chunkRIOT5VOJ_cjs.IndexerTxType; }
180
+ });
181
+ Object.defineProperty(exports, "Intent", {
182
+ enumerable: true,
183
+ get: function () { return chunkRIOT5VOJ_cjs.Intent; }
184
+ });
185
+ Object.defineProperty(exports, "MESSAGE_BUS_NOT_INITIALIZED", {
186
+ enumerable: true,
187
+ get: function () { return chunkRIOT5VOJ_cjs.MESSAGE_BUS_NOT_INITIALIZED; }
188
+ });
189
+ Object.defineProperty(exports, "MIGRATION_KEY", {
190
+ enumerable: true,
191
+ get: function () { return chunkRIOT5VOJ_cjs.MIGRATION_KEY; }
192
+ });
193
+ Object.defineProperty(exports, "MessageBus", {
194
+ enumerable: true,
195
+ get: function () { return chunkRIOT5VOJ_cjs.MessageBus; }
196
+ });
197
+ Object.defineProperty(exports, "MessageBusNotInitializedError", {
198
+ enumerable: true,
199
+ get: function () { return chunkRIOT5VOJ_cjs.MessageBusNotInitializedError; }
200
+ });
201
+ Object.defineProperty(exports, "MissingSigningDescriptorError", {
202
+ enumerable: true,
203
+ get: function () { return chunkRIOT5VOJ_cjs.MissingSigningDescriptorError; }
204
+ });
205
+ Object.defineProperty(exports, "MnemonicIdentity", {
206
+ enumerable: true,
207
+ get: function () { return chunkRIOT5VOJ_cjs.MnemonicIdentity; }
208
+ });
209
+ Object.defineProperty(exports, "MultisigTapscript", {
210
+ enumerable: true,
211
+ get: function () { return chunkRIOT5VOJ_cjs.MultisigTapscript; }
212
+ });
213
+ Object.defineProperty(exports, "OnchainWallet", {
214
+ enumerable: true,
215
+ get: function () { return chunkRIOT5VOJ_cjs.OnchainWallet; }
216
+ });
217
+ Object.defineProperty(exports, "P2A", {
218
+ enumerable: true,
219
+ get: function () { return chunkRIOT5VOJ_cjs.P2A; }
220
+ });
221
+ Object.defineProperty(exports, "Ramps", {
222
+ enumerable: true,
223
+ get: function () { return chunkRIOT5VOJ_cjs.Ramps; }
224
+ });
225
+ Object.defineProperty(exports, "ReadonlyAssetManager", {
226
+ enumerable: true,
227
+ get: function () { return chunkRIOT5VOJ_cjs.ReadonlyAssetManager; }
228
+ });
229
+ Object.defineProperty(exports, "ReadonlyDescriptorIdentity", {
230
+ enumerable: true,
231
+ get: function () { return chunkRIOT5VOJ_cjs.ReadonlyDescriptorIdentity; }
232
+ });
233
+ Object.defineProperty(exports, "ReadonlySingleKey", {
234
+ enumerable: true,
235
+ get: function () { return chunkRIOT5VOJ_cjs.ReadonlySingleKey; }
236
+ });
237
+ Object.defineProperty(exports, "ReadonlyWallet", {
238
+ enumerable: true,
239
+ get: function () { return chunkRIOT5VOJ_cjs.ReadonlyWallet; }
240
+ });
241
+ Object.defineProperty(exports, "ReadonlyWalletError", {
242
+ enumerable: true,
243
+ get: function () { return chunkRIOT5VOJ_cjs.ReadonlyWalletError; }
244
+ });
245
+ Object.defineProperty(exports, "RestArkProvider", {
246
+ enumerable: true,
247
+ get: function () { return chunkRIOT5VOJ_cjs.RestArkProvider; }
248
+ });
249
+ Object.defineProperty(exports, "RestDelegateProvider", {
250
+ enumerable: true,
251
+ get: function () { return chunkRIOT5VOJ_cjs.RestDelegateProvider; }
252
+ });
253
+ Object.defineProperty(exports, "RestDelegatorProvider", {
254
+ enumerable: true,
255
+ get: function () { return chunkRIOT5VOJ_cjs.RestDelegatorProvider; }
256
+ });
257
+ Object.defineProperty(exports, "RestIndexerProvider", {
258
+ enumerable: true,
259
+ get: function () { return chunkRIOT5VOJ_cjs.RestIndexerProvider; }
260
+ });
261
+ Object.defineProperty(exports, "SeedIdentity", {
262
+ enumerable: true,
263
+ get: function () { return chunkRIOT5VOJ_cjs.SeedIdentity; }
264
+ });
265
+ Object.defineProperty(exports, "ServiceWorkerReadonlyWallet", {
266
+ enumerable: true,
267
+ get: function () { return chunkRIOT5VOJ_cjs.ServiceWorkerReadonlyWallet; }
268
+ });
269
+ Object.defineProperty(exports, "ServiceWorkerTimeoutError", {
270
+ enumerable: true,
271
+ get: function () { return chunkRIOT5VOJ_cjs.ServiceWorkerTimeoutError; }
272
+ });
273
+ Object.defineProperty(exports, "ServiceWorkerWallet", {
274
+ enumerable: true,
275
+ get: function () { return chunkRIOT5VOJ_cjs.ServiceWorkerWallet; }
276
+ });
277
+ Object.defineProperty(exports, "SettlementEventType", {
278
+ enumerable: true,
279
+ get: function () { return chunkRIOT5VOJ_cjs.SettlementEventType; }
280
+ });
281
+ Object.defineProperty(exports, "SingleKey", {
282
+ enumerable: true,
283
+ get: function () { return chunkRIOT5VOJ_cjs.SingleKey; }
284
+ });
285
+ Object.defineProperty(exports, "TapTreeCoder", {
286
+ enumerable: true,
287
+ get: function () { return chunkRIOT5VOJ_cjs.TapTreeCoder; }
288
+ });
289
+ Object.defineProperty(exports, "Transaction", {
290
+ enumerable: true,
291
+ get: function () { return chunkRIOT5VOJ_cjs.Transaction2; }
292
+ });
293
+ Object.defineProperty(exports, "TxTree", {
294
+ enumerable: true,
295
+ get: function () { return chunkRIOT5VOJ_cjs.TxTree; }
296
+ });
297
+ Object.defineProperty(exports, "TxType", {
298
+ enumerable: true,
299
+ get: function () { return chunkRIOT5VOJ_cjs.TxType; }
300
+ });
301
+ Object.defineProperty(exports, "TxWeightEstimator", {
302
+ enumerable: true,
303
+ get: function () { return chunkRIOT5VOJ_cjs.TxWeightEstimator; }
304
+ });
305
+ Object.defineProperty(exports, "Unroll", {
306
+ enumerable: true,
307
+ get: function () { return chunkRIOT5VOJ_cjs.Unroll; }
308
+ });
309
+ Object.defineProperty(exports, "VHTLC", {
310
+ enumerable: true,
311
+ get: function () { return chunkRIOT5VOJ_cjs.VHTLC; }
312
+ });
313
+ Object.defineProperty(exports, "VHTLCContractHandler", {
314
+ enumerable: true,
315
+ get: function () { return chunkRIOT5VOJ_cjs.VHTLCContractHandler; }
316
+ });
317
+ Object.defineProperty(exports, "VtxoManager", {
318
+ enumerable: true,
319
+ get: function () { return chunkRIOT5VOJ_cjs.VtxoManager; }
320
+ });
321
+ Object.defineProperty(exports, "VtxoScript", {
322
+ enumerable: true,
323
+ get: function () { return chunkRIOT5VOJ_cjs.VtxoScript; }
324
+ });
325
+ Object.defineProperty(exports, "VtxoTaprootTree", {
326
+ enumerable: true,
327
+ get: function () { return chunkRIOT5VOJ_cjs.VtxoTaprootTree; }
328
+ });
329
+ Object.defineProperty(exports, "VtxoTreeExpiry", {
330
+ enumerable: true,
331
+ get: function () { return chunkRIOT5VOJ_cjs.VtxoTreeExpiry; }
332
+ });
333
+ Object.defineProperty(exports, "Wallet", {
334
+ enumerable: true,
335
+ get: function () { return chunkRIOT5VOJ_cjs.Wallet2; }
336
+ });
337
+ Object.defineProperty(exports, "WalletMessageHandler", {
338
+ enumerable: true,
339
+ get: function () { return chunkRIOT5VOJ_cjs.WalletMessageHandler; }
340
+ });
341
+ Object.defineProperty(exports, "WalletNotInitializedError", {
342
+ enumerable: true,
343
+ get: function () { return chunkRIOT5VOJ_cjs.WalletNotInitializedError; }
344
+ });
345
+ Object.defineProperty(exports, "WalletRepositoryImpl", {
346
+ enumerable: true,
347
+ get: function () { return chunkRIOT5VOJ_cjs.WalletRepositoryImpl; }
348
+ });
349
+ Object.defineProperty(exports, "WsElectrumChainSource", {
350
+ enumerable: true,
351
+ get: function () { return chunkRIOT5VOJ_cjs.WsElectrumChainSource; }
352
+ });
353
+ Object.defineProperty(exports, "assembleBtcdTaprootTree", {
354
+ enumerable: true,
355
+ get: function () { return chunkRIOT5VOJ_cjs.assembleBtcdTaprootTree; }
356
+ });
357
+ Object.defineProperty(exports, "asset", {
358
+ enumerable: true,
359
+ get: function () { return chunkRIOT5VOJ_cjs.asset_exports; }
360
+ });
361
+ Object.defineProperty(exports, "buildForfeitTx", {
362
+ enumerable: true,
363
+ get: function () { return chunkRIOT5VOJ_cjs.buildForfeitTx; }
364
+ });
365
+ Object.defineProperty(exports, "buildOffchainTx", {
366
+ enumerable: true,
367
+ get: function () { return chunkRIOT5VOJ_cjs.buildOffchainTx; }
368
+ });
369
+ Object.defineProperty(exports, "buildVersion", {
370
+ enumerable: true,
371
+ get: function () { return chunkRIOT5VOJ_cjs.buildVersion; }
372
+ });
373
+ Object.defineProperty(exports, "classifyAgainstSignerSet", {
374
+ enumerable: true,
375
+ get: function () { return chunkRIOT5VOJ_cjs.classifyAgainstSignerSet; }
376
+ });
377
+ Object.defineProperty(exports, "classifyContractSigner", {
378
+ enumerable: true,
379
+ get: function () { return chunkRIOT5VOJ_cjs.classifyContractSigner; }
380
+ });
381
+ Object.defineProperty(exports, "closeDatabase", {
382
+ enumerable: true,
383
+ get: function () { return chunkRIOT5VOJ_cjs.closeDatabase; }
384
+ });
385
+ Object.defineProperty(exports, "combineTapscriptSigs", {
386
+ enumerable: true,
387
+ get: function () { return chunkRIOT5VOJ_cjs.combineTapscriptSigs; }
388
+ });
389
+ Object.defineProperty(exports, "contractFromArkContract", {
390
+ enumerable: true,
391
+ get: function () { return chunkRIOT5VOJ_cjs.contractFromArkContract; }
392
+ });
393
+ Object.defineProperty(exports, "contractFromArkContractWithAddress", {
394
+ enumerable: true,
395
+ get: function () { return chunkRIOT5VOJ_cjs.contractFromArkContractWithAddress; }
396
+ });
397
+ Object.defineProperty(exports, "contractHandlers", {
398
+ enumerable: true,
399
+ get: function () { return chunkRIOT5VOJ_cjs.contractHandlers; }
400
+ });
401
+ Object.defineProperty(exports, "decodeArkContract", {
402
+ enumerable: true,
403
+ get: function () { return chunkRIOT5VOJ_cjs.decodeArkContract; }
404
+ });
405
+ Object.defineProperty(exports, "decodeTapscript", {
406
+ enumerable: true,
407
+ get: function () { return chunkRIOT5VOJ_cjs.decodeTapscript; }
408
+ });
409
+ Object.defineProperty(exports, "encodeArkContract", {
410
+ enumerable: true,
411
+ get: function () { return chunkRIOT5VOJ_cjs.encodeArkContract; }
412
+ });
413
+ Object.defineProperty(exports, "getArkPsbtFields", {
414
+ enumerable: true,
415
+ get: function () { return chunkRIOT5VOJ_cjs.getArkPsbtFields; }
416
+ });
417
+ Object.defineProperty(exports, "getMigrationStatus", {
418
+ enumerable: true,
419
+ get: function () { return chunkRIOT5VOJ_cjs.getMigrationStatus; }
420
+ });
421
+ Object.defineProperty(exports, "getRandomId", {
422
+ enumerable: true,
423
+ get: function () { return chunkRIOT5VOJ_cjs.getRandomId; }
424
+ });
425
+ Object.defineProperty(exports, "getSequence", {
426
+ enumerable: true,
427
+ get: function () { return chunkRIOT5VOJ_cjs.getSequence; }
428
+ });
429
+ Object.defineProperty(exports, "hasBoardingTxExpired", {
430
+ enumerable: true,
431
+ get: function () { return chunkRIOT5VOJ_cjs.hasBoardingTxExpired; }
432
+ });
433
+ Object.defineProperty(exports, "isArkContract", {
434
+ enumerable: true,
435
+ get: function () { return chunkRIOT5VOJ_cjs.isArkContract; }
436
+ });
437
+ Object.defineProperty(exports, "isBatchSignable", {
438
+ enumerable: true,
439
+ get: function () { return chunkRIOT5VOJ_cjs.isBatchSignable; }
440
+ });
441
+ Object.defineProperty(exports, "isCltvSatisfied", {
442
+ enumerable: true,
443
+ get: function () { return chunkRIOT5VOJ_cjs.isCltvSatisfied; }
444
+ });
445
+ Object.defineProperty(exports, "isCooperativelyMigratable", {
446
+ enumerable: true,
447
+ get: function () { return chunkRIOT5VOJ_cjs.isCooperativelyMigratable; }
448
+ });
449
+ Object.defineProperty(exports, "isCsvSpendable", {
450
+ enumerable: true,
451
+ get: function () { return chunkRIOT5VOJ_cjs.isCsvSpendable; }
452
+ });
453
+ Object.defineProperty(exports, "isDiscoverable", {
454
+ enumerable: true,
455
+ get: function () { return chunkRIOT5VOJ_cjs.isDiscoverable; }
456
+ });
457
+ Object.defineProperty(exports, "isExpired", {
458
+ enumerable: true,
459
+ get: function () { return chunkRIOT5VOJ_cjs.isExpired; }
460
+ });
461
+ Object.defineProperty(exports, "isRecoverable", {
462
+ enumerable: true,
463
+ get: function () { return chunkRIOT5VOJ_cjs.isRecoverable; }
464
+ });
465
+ Object.defineProperty(exports, "isSpendable", {
466
+ enumerable: true,
467
+ get: function () { return chunkRIOT5VOJ_cjs.isSpendable; }
468
+ });
469
+ Object.defineProperty(exports, "isSubdust", {
470
+ enumerable: true,
471
+ get: function () { return chunkRIOT5VOJ_cjs.isSubdust; }
472
+ });
473
+ Object.defineProperty(exports, "isValidArkAddress", {
474
+ enumerable: true,
475
+ get: function () { return chunkRIOT5VOJ_cjs.isValidArkAddress; }
476
+ });
477
+ Object.defineProperty(exports, "isVtxoExpiringSoon", {
478
+ enumerable: true,
479
+ get: function () { return chunkRIOT5VOJ_cjs.isVtxoExpiringSoon; }
480
+ });
481
+ Object.defineProperty(exports, "maybeArkError", {
482
+ enumerable: true,
483
+ get: function () { return chunkRIOT5VOJ_cjs.maybeArkError; }
484
+ });
485
+ Object.defineProperty(exports, "migrateWalletRepository", {
486
+ enumerable: true,
487
+ get: function () { return chunkRIOT5VOJ_cjs.migrateWalletRepository; }
488
+ });
489
+ Object.defineProperty(exports, "networks", {
490
+ enumerable: true,
491
+ get: function () { return chunkRIOT5VOJ_cjs.networks; }
492
+ });
493
+ Object.defineProperty(exports, "openDatabase", {
494
+ enumerable: true,
495
+ get: function () { return chunkRIOT5VOJ_cjs.openDatabase; }
496
+ });
497
+ Object.defineProperty(exports, "requiresMigration", {
498
+ enumerable: true,
499
+ get: function () { return chunkRIOT5VOJ_cjs.requiresMigration; }
500
+ });
501
+ Object.defineProperty(exports, "rollbackMigration", {
502
+ enumerable: true,
503
+ get: function () { return chunkRIOT5VOJ_cjs.rollbackMigration; }
504
+ });
505
+ Object.defineProperty(exports, "sdkVersion", {
506
+ enumerable: true,
507
+ get: function () { return chunkRIOT5VOJ_cjs.sdkVersion; }
508
+ });
509
+ Object.defineProperty(exports, "sequenceToTimelock", {
510
+ enumerable: true,
511
+ get: function () { return chunkRIOT5VOJ_cjs.sequenceToTimelock; }
512
+ });
513
+ Object.defineProperty(exports, "setArkPsbtField", {
514
+ enumerable: true,
515
+ get: function () { return chunkRIOT5VOJ_cjs.setArkPsbtField; }
516
+ });
517
+ Object.defineProperty(exports, "setupServiceWorker", {
518
+ enumerable: true,
519
+ get: function () { return chunkRIOT5VOJ_cjs.setupServiceWorker; }
520
+ });
521
+ Object.defineProperty(exports, "signerSetFromInfo", {
522
+ enumerable: true,
523
+ get: function () { return chunkRIOT5VOJ_cjs.signerSetFromInfo; }
524
+ });
525
+ Object.defineProperty(exports, "timelockToSequence", {
526
+ enumerable: true,
527
+ get: function () { return chunkRIOT5VOJ_cjs.timelockToSequence; }
528
+ });
529
+ Object.defineProperty(exports, "toXOnlySignerHex", {
530
+ enumerable: true,
531
+ get: function () { return chunkRIOT5VOJ_cjs.toXOnlySignerHex; }
532
+ });
533
+ Object.defineProperty(exports, "validateConnectorsTxGraph", {
534
+ enumerable: true,
535
+ get: function () { return chunkRIOT5VOJ_cjs.validateConnectorsTxGraph; }
536
+ });
537
+ Object.defineProperty(exports, "validateVtxoTxGraph", {
538
+ enumerable: true,
539
+ get: function () { return chunkRIOT5VOJ_cjs.validateVtxoTxGraph; }
540
+ });
541
+ Object.defineProperty(exports, "verifyTapscriptSignatures", {
542
+ enumerable: true,
543
+ get: function () { return chunkRIOT5VOJ_cjs.verifyTapscriptSignatures; }
544
+ });
545
+ Object.defineProperty(exports, "waitForIncomingFunds", {
546
+ enumerable: true,
547
+ get: function () { return chunkRIOT5VOJ_cjs.waitForIncomingFunds; }
548
+ });
549
+ //# sourceMappingURL=dist-VEHYC67F.cjs.map
550
+ //# sourceMappingURL=dist-VEHYC67F.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"dist-VEHYC67F.cjs"}
package/dist/esplora.d.ts CHANGED
@@ -38,4 +38,18 @@ export declare function findOutputByAddress(esploraUrl: string, address: string)
38
38
  * @returns The transaction ID on success
39
39
  */
40
40
  export declare function broadcastTransaction(esploraUrl: string, txHex: string): Promise<string>;
41
+ /**
42
+ * Broadcasts a raw transaction, retrying on transient failures.
43
+ *
44
+ * The funding tx may still be propagating to the broadcast node when the
45
+ * client tries to claim, so the first attempt can fail with a
46
+ * missing-inputs style error that clears within a few seconds. Retries use
47
+ * a capped backoff (500ms → 2s).
48
+ *
49
+ * @param esploraUrl - The Esplora API base URL
50
+ * @param txHex - The raw transaction hex to broadcast
51
+ * @param retries - Number of additional attempts after the first (default 5)
52
+ * @returns The transaction ID on success
53
+ */
54
+ export declare function broadcastTransactionWithRetry(esploraUrl: string, txHex: string, retries?: number): Promise<string>;
41
55
  //# sourceMappingURL=esplora.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"esplora.d.ts","sourceRoot":"","sources":["../src/esplora.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,4BAA4B;AAC5B,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE;QACN,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;CACf;AAED,uCAAuC;AACvC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;GASG;AACH,wBAAsB,mBAAmB,CACvC,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAgBlC;AAED;;;;;;GAMG;AACH,wBAAsB,oBAAoB,CACxC,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,MAAM,CAAC,CAejB"}
1
+ {"version":3,"file":"esplora.d.ts","sourceRoot":"","sources":["../src/esplora.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,4BAA4B;AAC5B,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE;QACN,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;CACf;AAED,uCAAuC;AACvC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;GASG;AACH,wBAAsB,mBAAmB,CACvC,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAgBlC;AAED;;;;;;GAMG;AACH,wBAAsB,oBAAoB,CACxC,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,MAAM,CAAC,CAejB;AAkDD;;;;;;;;;;;;GAYG;AACH,wBAAsB,6BAA6B,CACjD,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,MAAM,EACb,OAAO,SAAI,GACV,OAAO,CAAC,MAAM,CAAC,CAkBjB"}