@arkade-os/boltz-swap 0.3.28 → 0.3.30
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/{background-UQDFQCGM.js → background-3R2AKATL.js} +2 -2
- package/dist/{chunk-LWUXSE5N.js → chunk-B3Q4TFWT.js} +1 -1
- package/dist/{chunk-X3JNWDAR.js → chunk-P7QCQWPG.js} +1 -1
- package/dist/expo/index.cjs +1 -1
- package/dist/expo/index.js +4 -4
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
defineExpoSwapBackgroundTask,
|
|
3
3
|
registerExpoSwapBackgroundTask,
|
|
4
4
|
unregisterExpoSwapBackgroundTask
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-P7QCQWPG.js";
|
|
6
|
+
import "./chunk-B3Q4TFWT.js";
|
|
7
7
|
import "./chunk-3RG5ZIWI.js";
|
|
8
8
|
export {
|
|
9
9
|
defineExpoSwapBackgroundTask,
|
|
@@ -335,7 +335,7 @@ var BoltzSwapProvider = class {
|
|
|
335
335
|
/** @param config Provider configuration with network and optional API URL. */
|
|
336
336
|
constructor(config) {
|
|
337
337
|
this.network = config.network;
|
|
338
|
-
this.referralId = config.referralId;
|
|
338
|
+
this.referralId = config.referralId ?? "arkade-ts-sdk";
|
|
339
339
|
const apiUrl = config.apiUrl || BASE_URLS[config.network];
|
|
340
340
|
if (!apiUrl)
|
|
341
341
|
throw new Error(
|
package/dist/expo/index.cjs
CHANGED
|
@@ -302,7 +302,7 @@ var init_boltz_swap_provider = __esm({
|
|
|
302
302
|
/** @param config Provider configuration with network and optional API URL. */
|
|
303
303
|
constructor(config) {
|
|
304
304
|
this.network = config.network;
|
|
305
|
-
this.referralId = config.referralId;
|
|
305
|
+
this.referralId = config.referralId ?? "arkade-ts-sdk";
|
|
306
306
|
const apiUrl = config.apiUrl || BASE_URLS[config.network];
|
|
307
307
|
if (!apiUrl)
|
|
308
308
|
throw new Error(
|
package/dist/expo/index.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
registerExpoSwapBackgroundTask,
|
|
5
5
|
swapsPollProcessor,
|
|
6
6
|
unregisterExpoSwapBackgroundTask
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-P7QCQWPG.js";
|
|
8
8
|
import {
|
|
9
9
|
ArkadeSwaps
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-B3Q4TFWT.js";
|
|
11
11
|
import "../chunk-3RG5ZIWI.js";
|
|
12
12
|
|
|
13
13
|
// src/expo/arkade-lightning.ts
|
|
@@ -56,7 +56,7 @@ var ExpoArkadeSwaps = class _ExpoArkadeSwaps {
|
|
|
56
56
|
await instance.seedSwapPollTask();
|
|
57
57
|
if (config.background.minimumBackgroundInterval) {
|
|
58
58
|
try {
|
|
59
|
-
const { registerExpoSwapBackgroundTask: registerExpoSwapBackgroundTask2 } = await import("../background-
|
|
59
|
+
const { registerExpoSwapBackgroundTask: registerExpoSwapBackgroundTask2 } = await import("../background-3R2AKATL.js");
|
|
60
60
|
await registerExpoSwapBackgroundTask2(
|
|
61
61
|
config.background.taskName,
|
|
62
62
|
{
|
|
@@ -129,7 +129,7 @@ var ExpoArkadeSwaps = class _ExpoArkadeSwaps {
|
|
|
129
129
|
}
|
|
130
130
|
await this.inner.dispose();
|
|
131
131
|
try {
|
|
132
|
-
const { unregisterExpoSwapBackgroundTask: unregisterExpoSwapBackgroundTask2 } = await import("../background-
|
|
132
|
+
const { unregisterExpoSwapBackgroundTask: unregisterExpoSwapBackgroundTask2 } = await import("../background-3R2AKATL.js");
|
|
133
133
|
await unregisterExpoSwapBackgroundTask2(this.taskName);
|
|
134
134
|
} catch (err) {
|
|
135
135
|
const message = err instanceof Error ? err.message : String(err);
|
package/dist/index.cjs
CHANGED
|
@@ -430,7 +430,7 @@ var BoltzSwapProvider = class {
|
|
|
430
430
|
/** @param config Provider configuration with network and optional API URL. */
|
|
431
431
|
constructor(config) {
|
|
432
432
|
this.network = config.network;
|
|
433
|
-
this.referralId = config.referralId;
|
|
433
|
+
this.referralId = config.referralId ?? "arkade-ts-sdk";
|
|
434
434
|
const apiUrl = config.apiUrl || BASE_URLS[config.network];
|
|
435
435
|
if (!apiUrl)
|
|
436
436
|
throw new Error(
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkade-os/boltz-swap",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A production-ready TypeScript package that brings Boltz submarine-swaps to Arkade.",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"author": "Arkade-OS",
|
|
61
61
|
"license": "MIT",
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@arkade-os/sdk": "0.4.
|
|
63
|
+
"@arkade-os/sdk": "0.4.26",
|
|
64
64
|
"@noble/hashes": "2.0.1",
|
|
65
65
|
"@scure/base": "2.0.0",
|
|
66
66
|
"@scure/btc-signer": "2.0.1",
|