@satora/swap 1.10.2 → 1.11.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.
- package/dist/{chunk-K4BQUZC6.js → chunk-2AULREFC.js} +2 -2
- package/dist/chunk-2AULREFC.js.map +1 -0
- package/dist/{chunk-2LGHF7A3.cjs → chunk-4NVWIR74.cjs} +755 -439
- package/dist/chunk-4NVWIR74.cjs.map +1 -0
- package/dist/{chunk-HWK7LVVX.js → chunk-JHZHRY7S.js} +130 -51
- package/dist/chunk-JHZHRY7S.js.map +1 -0
- package/dist/{chunk-7GOXIT24.cjs → chunk-JZTF4JNH.cjs} +110 -31
- package/dist/chunk-JZTF4JNH.cjs.map +1 -0
- package/dist/{chunk-OJNQCRHU.cjs → chunk-Q4TOBBAN.cjs} +7 -7
- package/dist/{chunk-OJNQCRHU.cjs.map → chunk-Q4TOBBAN.cjs.map} +1 -1
- package/dist/{chunk-MYOGO44L.cjs → chunk-TNZW35XA.cjs} +2 -2
- package/dist/chunk-TNZW35XA.cjs.map +1 -0
- package/dist/{chunk-VBNBVJLB.js → chunk-TT3J2OOS.js} +8 -8
- package/dist/{chunk-VBNBVJLB.js.map → chunk-TT3J2OOS.js.map} +1 -1
- package/dist/{chunk-S4T4GK5G.js → chunk-WQMAL2VD.js} +391 -75
- package/dist/chunk-WQMAL2VD.js.map +1 -0
- package/dist/delegate.cjs +3 -3
- package/dist/delegate.js +2 -2
- package/dist/dist-MHRQ5FFV.cjs +394 -0
- package/dist/{dist-MMYSP6LP.cjs.map → dist-MHRQ5FFV.cjs.map} +1 -1
- package/dist/{dist-L5LHQNRK.js → dist-SHY7I6SH.js} +13 -13
- package/dist/{fundSwap-IUPFISXM-ON5IVSSZ.cjs → fundSwap-UBCHMUP4-BEMQNSFQ.cjs} +15 -15
- package/dist/{fundSwap-IUPFISXM-ON5IVSSZ.cjs.map → fundSwap-UBCHMUP4-BEMQNSFQ.cjs.map} +1 -1
- package/dist/{fundSwap-IUPFISXM-6IBPJ5O7.js → fundSwap-UBCHMUP4-WBLYE6MC.js} +11 -11
- package/dist/index.cjs +28 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +17 -13
- package/dist/index.js.map +1 -1
- package/dist/node.cjs +11 -6
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +11 -6
- package/dist/node.js.map +1 -1
- package/dist/types/cjs/pure/cctp/attestation.d.cts +5 -3
- package/dist/types/cjs/pure/cctp/types.d.cts +11 -2
- package/dist/types/cjs/pure/cctp-inbound/submit.d.cts +2 -0
- package/dist/types/cjs/pure/cctp-inbound/types.d.cts +5 -0
- package/dist/types/cjs/pure/cctp-inbound/userOp.d.cts +11 -0
- package/dist/types/cjs/pure/client.d.cts +61 -18
- package/dist/types/cjs/pure/create/arkade-to-lightning.d.cts +8 -0
- package/dist/types/cjs/pure/create/bitcoin-to-lightning.d.cts +8 -0
- package/dist/types/cjs/pure/create/types.d.cts +16 -4
- package/dist/types/cjs/pure/evm/coordinator.d.cts +4 -0
- package/dist/types/cjs/pure/evm/wallet.d.cts +4 -4
- package/dist/types/cjs/pure/generated/api.d.cts +102 -21
- package/dist/types/cjs/pure/redeem/arkade.d.cts +4 -1
- package/dist/types/cjs/pure/storage/types.d.cts +2 -0
- package/dist/types/cjs/pure/swap-verification.d.cts +12 -0
- package/dist/types/cjs/pure/tokens.d.cts +0 -6
- package/dist/types/cjs/pure/types/dex-quote.d.cts +9 -1
- package/dist/types/cjs/pure/version.d.cts +4 -4
- package/dist/types/cjs/swap/client.d.cts +2 -0
- package/dist/types/esm/pure/cctp/attestation.d.ts +5 -3
- package/dist/types/esm/pure/cctp/types.d.ts +11 -2
- package/dist/types/esm/pure/cctp-inbound/submit.d.ts +2 -0
- package/dist/types/esm/pure/cctp-inbound/types.d.ts +5 -0
- package/dist/types/esm/pure/cctp-inbound/userOp.d.ts +11 -0
- package/dist/types/esm/pure/client.d.ts +61 -18
- package/dist/types/esm/pure/create/arkade-to-lightning.d.ts +8 -0
- package/dist/types/esm/pure/create/bitcoin-to-lightning.d.ts +8 -0
- package/dist/types/esm/pure/create/types.d.ts +16 -4
- package/dist/types/esm/pure/evm/coordinator.d.ts +4 -0
- package/dist/types/esm/pure/evm/wallet.d.ts +4 -4
- package/dist/types/esm/pure/generated/api.d.ts +102 -21
- package/dist/types/esm/pure/redeem/arkade.d.ts +4 -1
- package/dist/types/esm/pure/storage/types.d.ts +2 -0
- package/dist/types/esm/pure/swap-verification.d.ts +12 -0
- package/dist/types/esm/pure/tokens.d.ts +0 -6
- package/dist/types/esm/pure/types/dex-quote.d.ts +9 -1
- package/dist/types/esm/pure/version.d.ts +4 -4
- package/dist/types/esm/swap/client.d.ts +2 -0
- package/dist/wallet-33OJRHX5-4VM7QDPO.cjs +31 -0
- package/dist/{wallet-THELKUYT-26NOFCTE.cjs.map → wallet-33OJRHX5-4VM7QDPO.cjs.map} +1 -1
- package/dist/{wallet-THELKUYT-TOHSMRGU.js → wallet-33OJRHX5-PR4S3NI3.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-2LGHF7A3.cjs.map +0 -1
- package/dist/chunk-7GOXIT24.cjs.map +0 -1
- package/dist/chunk-HWK7LVVX.js.map +0 -1
- package/dist/chunk-K4BQUZC6.js.map +0 -1
- package/dist/chunk-MYOGO44L.cjs.map +0 -1
- package/dist/chunk-S4T4GK5G.js.map +0 -1
- package/dist/dist-MMYSP6LP.cjs +0 -394
- package/dist/wallet-THELKUYT-26NOFCTE.cjs +0 -31
- /package/dist/{dist-L5LHQNRK.js.map → dist-SHY7I6SH.js.map} +0 -0
- /package/dist/{fundSwap-IUPFISXM-6IBPJ5O7.js.map → fundSwap-UBCHMUP4-WBLYE6MC.js.map} +0 -0
- /package/dist/{wallet-THELKUYT-TOHSMRGU.js.map → wallet-33OJRHX5-PR4S3NI3.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
tronAddressToBytes32,
|
|
121
121
|
verifyHtlcAddress,
|
|
122
122
|
wrapKernelErc1271Signature
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-WQMAL2VD.js";
|
|
124
124
|
import {
|
|
125
125
|
electrumReader
|
|
126
126
|
} from "./chunk-3ZMSZSAV.js";
|
|
@@ -151,13 +151,9 @@ import {
|
|
|
151
151
|
simulateBatchCalls,
|
|
152
152
|
submitCctpInboundUserOp,
|
|
153
153
|
trackCctpMessage
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-JHZHRY7S.js";
|
|
155
155
|
import "./chunk-5XYV6L5B.js";
|
|
156
|
-
import "./chunk-BVGEKZAT.js";
|
|
157
|
-
import "./chunk-YTHFGOS2.js";
|
|
158
156
|
import "./chunk-LSMKNYFR.js";
|
|
159
|
-
import "./chunk-WJ3KFSJQ.js";
|
|
160
|
-
import "./chunk-ZLR5FXRD.js";
|
|
161
157
|
import {
|
|
162
158
|
CCTP_DOMAINS,
|
|
163
159
|
EURC_ADDRESSES,
|
|
@@ -181,7 +177,7 @@ import {
|
|
|
181
177
|
import {
|
|
182
178
|
SimulationRevertError,
|
|
183
179
|
isUserRejection
|
|
184
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-2AULREFC.js";
|
|
185
181
|
import {
|
|
186
182
|
ARKADE_HTLC_SCRIPT_VERSION_STRICT,
|
|
187
183
|
BTC_HTLC_SCRIPT_VERSION_STRICT,
|
|
@@ -196,7 +192,8 @@ import {
|
|
|
196
192
|
SDK_VERSION,
|
|
197
193
|
StrictVhtlcScript,
|
|
198
194
|
protocolHeaderName
|
|
199
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-TT3J2OOS.js";
|
|
196
|
+
import "./chunk-UM6TUP4E.js";
|
|
200
197
|
import {
|
|
201
198
|
SdkLogger,
|
|
202
199
|
createConsoleLogger,
|
|
@@ -204,15 +201,18 @@ import {
|
|
|
204
201
|
noopLogger,
|
|
205
202
|
redactLogValue
|
|
206
203
|
} from "./chunk-G6NZFSWU.js";
|
|
207
|
-
import "./chunk-KFRNRKGA.js";
|
|
208
|
-
import "./chunk-ERQERDN7.js";
|
|
209
|
-
import "./chunk-OP3WGL6J.js";
|
|
210
|
-
import "./chunk-UM6TUP4E.js";
|
|
211
204
|
import {
|
|
212
205
|
bytesToHex,
|
|
213
206
|
hexToBytes
|
|
214
207
|
} from "./chunk-QUHGKEK4.js";
|
|
215
208
|
import "./chunk-OBFZJKRF.js";
|
|
209
|
+
import "./chunk-BVGEKZAT.js";
|
|
210
|
+
import "./chunk-YTHFGOS2.js";
|
|
211
|
+
import "./chunk-WJ3KFSJQ.js";
|
|
212
|
+
import "./chunk-ZLR5FXRD.js";
|
|
213
|
+
import "./chunk-KFRNRKGA.js";
|
|
214
|
+
import "./chunk-ERQERDN7.js";
|
|
215
|
+
import "./chunk-OP3WGL6J.js";
|
|
216
216
|
import "./chunk-Z4J6YUVR.js";
|
|
217
217
|
import "./chunk-DGUM43GV.js";
|
|
218
218
|
|
|
@@ -827,7 +827,7 @@ var BitcoinContractManager = class _BitcoinContractManager {
|
|
|
827
827
|
if (config.electrumWsUrl) {
|
|
828
828
|
const [{ electrumReader: electrumReader2 }, { ElectrumWsClient: ElectrumWsClient2 }] = await Promise.all([
|
|
829
829
|
import("./bitcoin-reader-electrum-4PNSDHIA.js"),
|
|
830
|
-
import("./dist-
|
|
830
|
+
import("./dist-SHY7I6SH.js")
|
|
831
831
|
]);
|
|
832
832
|
reader = electrumReader2(new ElectrumWsClient2(config.electrumWsUrl), {
|
|
833
833
|
network: config.network,
|
|
@@ -3125,6 +3125,10 @@ var Client2 = class {
|
|
|
3125
3125
|
return this.#legacy.fundSwapGasless(...args);
|
|
3126
3126
|
}
|
|
3127
3127
|
/** Delegated to the legacy client (migration checkpoint). */
|
|
3128
|
+
gaslessFundingPlan(...args) {
|
|
3129
|
+
return this.#legacy.gaslessFundingPlan(...args);
|
|
3130
|
+
}
|
|
3131
|
+
/** Delegated to the legacy client (migration checkpoint). */
|
|
3128
3132
|
getEvmFundingExpectation(...args) {
|
|
3129
3133
|
return this.#legacy.getEvmFundingExpectation(...args);
|
|
3130
3134
|
}
|