@arkade-os/boltz-swap 0.3.29 → 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.
@@ -2,8 +2,8 @@ import {
2
2
  defineExpoSwapBackgroundTask,
3
3
  registerExpoSwapBackgroundTask,
4
4
  unregisterExpoSwapBackgroundTask
5
- } from "./chunk-X3JNWDAR.js";
6
- import "./chunk-LWUXSE5N.js";
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(
@@ -8,7 +8,7 @@ import {
8
8
  isSubmarineFinalStatus,
9
9
  isSubmarineSwapRefundable,
10
10
  logger
11
- } from "./chunk-LWUXSE5N.js";
11
+ } from "./chunk-B3Q4TFWT.js";
12
12
  import {
13
13
  __require
14
14
  } from "./chunk-3RG5ZIWI.js";
@@ -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(
@@ -4,10 +4,10 @@ import {
4
4
  registerExpoSwapBackgroundTask,
5
5
  swapsPollProcessor,
6
6
  unregisterExpoSwapBackgroundTask
7
- } from "../chunk-X3JNWDAR.js";
7
+ } from "../chunk-P7QCQWPG.js";
8
8
  import {
9
9
  ArkadeSwaps
10
- } from "../chunk-LWUXSE5N.js";
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-UQDFQCGM.js");
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-UQDFQCGM.js");
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
@@ -51,7 +51,7 @@ import {
51
51
  updateReverseSwapStatus,
52
52
  updateSubmarineSwapStatus,
53
53
  verifySignatures
54
- } from "./chunk-LWUXSE5N.js";
54
+ } from "./chunk-B3Q4TFWT.js";
55
55
  import "./chunk-3RG5ZIWI.js";
56
56
 
57
57
  // src/serviceWorker/arkade-swaps-message-handler.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkade-os/boltz-swap",
3
- "version": "0.3.29",
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.25",
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",