@arkade-os/sdk 0.4.57 → 0.4.58

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 (73) hide show
  1. package/dist/adapters/expo.cjs +5 -5
  2. package/dist/adapters/expo.d.cts +2 -2
  3. package/dist/adapters/expo.d.ts +2 -2
  4. package/dist/adapters/expo.js +3 -3
  5. package/dist/adapters/indexedDB.cjs +5 -5
  6. package/dist/adapters/indexedDB.js +4 -4
  7. package/dist/{ark-CJgH_pmn.d.cts → ark-ClaVUg4e.d.cts} +11 -0
  8. package/dist/{ark-CJgH_pmn.d.ts → ark-ClaVUg4e.d.ts} +11 -0
  9. package/dist/{asyncStorageTaskQueue-BeeZbf-Q.d.ts → asyncStorageTaskQueue-Bgau-mvD.d.ts} +1 -1
  10. package/dist/{asyncStorageTaskQueue-BlrsUUX_.d.cts → asyncStorageTaskQueue-CnYrhpS-.d.cts} +1 -1
  11. package/dist/{chunk-KEG4AAKX.cjs → chunk-6PY4WYXI.cjs} +485 -394
  12. package/dist/chunk-6PY4WYXI.cjs.map +1 -0
  13. package/dist/{chunk-CPS7V4A3.js → chunk-AGWZXGG2.js} +4 -4
  14. package/dist/{chunk-CPS7V4A3.js.map → chunk-AGWZXGG2.js.map} +1 -1
  15. package/dist/{chunk-OWTKOMJZ.cjs → chunk-COLJARV4.cjs} +40 -40
  16. package/dist/{chunk-OWTKOMJZ.cjs.map → chunk-COLJARV4.cjs.map} +1 -1
  17. package/dist/{chunk-KUN5ZRMW.cjs → chunk-D6RGHPZ5.cjs} +3 -3
  18. package/dist/{chunk-KUN5ZRMW.cjs.map → chunk-D6RGHPZ5.cjs.map} +1 -1
  19. package/dist/{chunk-YK6NP5KX.cjs → chunk-F4C67JYB.cjs} +15 -15
  20. package/dist/{chunk-YK6NP5KX.cjs.map → chunk-F4C67JYB.cjs.map} +1 -1
  21. package/dist/{chunk-EZBKSWEL.cjs → chunk-I4YEGI2R.cjs} +17 -17
  22. package/dist/{chunk-EZBKSWEL.cjs.map → chunk-I4YEGI2R.cjs.map} +1 -1
  23. package/dist/{chunk-P6L2W5IL.js → chunk-IPPASJE5.js} +3 -3
  24. package/dist/{chunk-P6L2W5IL.js.map → chunk-IPPASJE5.js.map} +1 -1
  25. package/dist/{chunk-NIZPFPUM.js → chunk-S3BFUTC5.js} +112 -21
  26. package/dist/chunk-S3BFUTC5.js.map +1 -0
  27. package/dist/{chunk-C4SVRVNM.js → chunk-SGWMB4W2.js} +4 -4
  28. package/dist/{chunk-C4SVRVNM.js.map → chunk-SGWMB4W2.js.map} +1 -1
  29. package/dist/{chunk-A7TOVUYG.cjs → chunk-SYZEQF5D.cjs} +9 -9
  30. package/dist/{chunk-A7TOVUYG.cjs.map → chunk-SYZEQF5D.cjs.map} +1 -1
  31. package/dist/{chunk-ASUJNZ63.js → chunk-TV2RLVOB.js} +3 -3
  32. package/dist/{chunk-ASUJNZ63.js.map → chunk-TV2RLVOB.js.map} +1 -1
  33. package/dist/{chunk-PUNBWFIV.js → chunk-VROHHJL4.js} +3 -3
  34. package/dist/{chunk-PUNBWFIV.js.map → chunk-VROHHJL4.js.map} +1 -1
  35. package/dist/contracts/handlers/index.cjs +8 -8
  36. package/dist/contracts/handlers/index.d.cts +3 -3
  37. package/dist/contracts/handlers/index.d.ts +3 -3
  38. package/dist/contracts/handlers/index.js +2 -2
  39. package/dist/{delegate-Dk-OJVdf.d.cts → delegate-CVrkEepn.d.cts} +1 -1
  40. package/dist/{delegate-DM3YECSY.d.ts → delegate-YDYq1El_.d.ts} +1 -1
  41. package/dist/{index-Cig0RkTf.d.cts → index-BmqkJBAf.d.cts} +2 -2
  42. package/dist/{index-CnE7Gnvb.d.ts → index-CuSHBkq7.d.ts} +2 -2
  43. package/dist/index.cjs +223 -223
  44. package/dist/index.d.cts +25 -8
  45. package/dist/index.d.ts +25 -8
  46. package/dist/index.js +4 -4
  47. package/dist/repositories/realm/index.cjs +19 -19
  48. package/dist/repositories/realm/index.d.cts +2 -2
  49. package/dist/repositories/realm/index.d.ts +2 -2
  50. package/dist/repositories/realm/index.js +5 -5
  51. package/dist/repositories/sqlite/index.cjs +18 -18
  52. package/dist/repositories/sqlite/index.d.cts +2 -2
  53. package/dist/repositories/sqlite/index.d.ts +2 -2
  54. package/dist/repositories/sqlite/index.js +5 -5
  55. package/dist/{taskRunner-F7tWzsrC.d.ts → taskRunner-CFN61bBM.d.ts} +1 -1
  56. package/dist/{taskRunner-CnGSTaAJ.d.cts → taskRunner-CFkGkD85.d.cts} +1 -1
  57. package/dist/wallet/expo/background.cjs +14 -14
  58. package/dist/wallet/expo/background.d.cts +3 -3
  59. package/dist/wallet/expo/background.d.ts +3 -3
  60. package/dist/wallet/expo/background.js +6 -6
  61. package/dist/wallet/expo/index.cjs +14 -14
  62. package/dist/wallet/expo/index.d.cts +4 -4
  63. package/dist/wallet/expo/index.d.ts +4 -4
  64. package/dist/wallet/expo/index.js +5 -5
  65. package/dist/{wallet-D6_S0n6B.d.ts → wallet-DnK09TtT.d.ts} +2 -2
  66. package/dist/{wallet-DvRIQBBY.d.cts → wallet-hQp2qC_M.d.cts} +2 -2
  67. package/dist/worker/expo/index.cjs +9 -9
  68. package/dist/worker/expo/index.d.cts +4 -4
  69. package/dist/worker/expo/index.d.ts +4 -4
  70. package/dist/worker/expo/index.js +5 -5
  71. package/package.json +2 -2
  72. package/dist/chunk-KEG4AAKX.cjs.map +0 -1
  73. package/dist/chunk-NIZPFPUM.js.map +0 -1
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var chunkEZBKSWEL_cjs = require('../chunk-EZBKSWEL.cjs');
4
- require('../chunk-YK6NP5KX.cjs');
5
- require('../chunk-KUN5ZRMW.cjs');
3
+ var chunkI4YEGI2R_cjs = require('../chunk-I4YEGI2R.cjs');
4
+ require('../chunk-F4C67JYB.cjs');
5
+ require('../chunk-D6RGHPZ5.cjs');
6
6
  require('../chunk-5BLDMQED.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "ExpoArkProvider", {
11
11
  enumerable: true,
12
- get: function () { return chunkEZBKSWEL_cjs.ExpoArkProvider; }
12
+ get: function () { return chunkI4YEGI2R_cjs.ExpoArkProvider; }
13
13
  });
14
14
  Object.defineProperty(exports, "ExpoIndexerProvider", {
15
15
  enumerable: true,
16
- get: function () { return chunkEZBKSWEL_cjs.ExpoIndexerProvider; }
16
+ get: function () { return chunkI4YEGI2R_cjs.ExpoIndexerProvider; }
17
17
  });
18
18
  //# sourceMappingURL=expo.cjs.map
19
19
  //# sourceMappingURL=expo.cjs.map
@@ -1,5 +1,5 @@
1
- import { k as RestArkProvider, i as SettlementEvent, T as TxNotification, l as RestIndexerProvider, m as SubscriptionResponse } from '../ark-CJgH_pmn.cjs';
2
- export { n as ArkProvider, o as IndexerProvider } from '../ark-CJgH_pmn.cjs';
1
+ import { k as RestArkProvider, i as SettlementEvent, T as TxNotification, l as RestIndexerProvider, m as SubscriptionResponse } from '../ark-ClaVUg4e.cjs';
2
+ export { n as ArkProvider, o as IndexerProvider } from '../ark-ClaVUg4e.cjs';
3
3
  import '@scure/btc-signer/transaction.js';
4
4
  import '@scure/btc-signer/utils.js';
5
5
  import '@scure/btc-signer/psbt.js';
@@ -1,5 +1,5 @@
1
- import { k as RestArkProvider, i as SettlementEvent, T as TxNotification, l as RestIndexerProvider, m as SubscriptionResponse } from '../ark-CJgH_pmn.js';
2
- export { n as ArkProvider, o as IndexerProvider } from '../ark-CJgH_pmn.js';
1
+ import { k as RestArkProvider, i as SettlementEvent, T as TxNotification, l as RestIndexerProvider, m as SubscriptionResponse } from '../ark-ClaVUg4e.js';
2
+ export { n as ArkProvider, o as IndexerProvider } from '../ark-ClaVUg4e.js';
3
3
  import '@scure/btc-signer/transaction.js';
4
4
  import '@scure/btc-signer/utils.js';
5
5
  import '@scure/btc-signer/psbt.js';
@@ -1,6 +1,6 @@
1
- export { ExpoArkProvider, ExpoIndexerProvider } from '../chunk-CPS7V4A3.js';
2
- import '../chunk-ASUJNZ63.js';
3
- import '../chunk-PUNBWFIV.js';
1
+ export { ExpoArkProvider, ExpoIndexerProvider } from '../chunk-AGWZXGG2.js';
2
+ import '../chunk-TV2RLVOB.js';
3
+ import '../chunk-VROHHJL4.js';
4
4
  import '../chunk-NSBPE2FW.js';
5
5
  //# sourceMappingURL=expo.js.map
6
6
  //# sourceMappingURL=expo.js.map
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkKEG4AAKX_cjs = require('../chunk-KEG4AAKX.cjs');
4
- require('../chunk-YK6NP5KX.cjs');
5
- require('../chunk-OWTKOMJZ.cjs');
6
- require('../chunk-KUN5ZRMW.cjs');
3
+ var chunk6PY4WYXI_cjs = require('../chunk-6PY4WYXI.cjs');
4
+ require('../chunk-F4C67JYB.cjs');
5
+ require('../chunk-COLJARV4.cjs');
6
+ require('../chunk-D6RGHPZ5.cjs');
7
7
  require('../chunk-5BLDMQED.cjs');
8
8
 
9
9
  // src/storage/indexedDB.ts
@@ -11,7 +11,7 @@ var IndexedDBStorageAdapter = class {
11
11
  dbName;
12
12
  version;
13
13
  db = null;
14
- constructor(dbName, version = chunkKEG4AAKX_cjs.DB_VERSION) {
14
+ constructor(dbName, version = chunk6PY4WYXI_cjs.DB_VERSION) {
15
15
  this.dbName = dbName;
16
16
  this.version = version;
17
17
  }
@@ -1,7 +1,7 @@
1
- import { DB_VERSION } from '../chunk-NIZPFPUM.js';
2
- import '../chunk-ASUJNZ63.js';
3
- import '../chunk-P6L2W5IL.js';
4
- import '../chunk-PUNBWFIV.js';
1
+ import { DB_VERSION } from '../chunk-S3BFUTC5.js';
2
+ import '../chunk-TV2RLVOB.js';
3
+ import '../chunk-IPPASJE5.js';
4
+ import '../chunk-VROHHJL4.js';
5
5
  import '../chunk-NSBPE2FW.js';
6
6
 
7
7
  // src/storage/indexedDB.ts
@@ -1343,6 +1343,17 @@ declare class VtxoManager implements AsyncDisposable, IVtxoManager {
1343
1343
  *
1344
1344
  * Useful for displaying to users before they decide to recover funds.
1345
1345
  *
1346
+ * Both amounts are net of the operator's intent fees, so `recoverable` is
1347
+ * what {@link recoverVtxos} would actually hand back rather than the gross
1348
+ * sum of the inputs. `subdust` is net of the per-input fees only — the
1349
+ * output fee is charged on the batch as a whole and is not attributed per
1350
+ * coin — so it reports what the subdust coins are worth once each has paid
1351
+ * its own way, and is not strictly a slice of `recoverable`. It can exceed
1352
+ * `recoverable` where a flat output fee meets a wholly subdust wallet.
1353
+ *
1354
+ * The batch size caps are not applied here: they defer the overflow to the
1355
+ * next cycle rather than reducing what is recoverable.
1356
+ *
1346
1357
  * @returns Object containing recoverable amounts and subdust information
1347
1358
  *
1348
1359
  * @example
@@ -1343,6 +1343,17 @@ declare class VtxoManager implements AsyncDisposable, IVtxoManager {
1343
1343
  *
1344
1344
  * Useful for displaying to users before they decide to recover funds.
1345
1345
  *
1346
+ * Both amounts are net of the operator's intent fees, so `recoverable` is
1347
+ * what {@link recoverVtxos} would actually hand back rather than the gross
1348
+ * sum of the inputs. `subdust` is net of the per-input fees only — the
1349
+ * output fee is charged on the batch as a whole and is not attributed per
1350
+ * coin — so it reports what the subdust coins are worth once each has paid
1351
+ * its own way, and is not strictly a slice of `recoverable`. It can exceed
1352
+ * `recoverable` where a flat output fee meets a wholly subdust wallet.
1353
+ *
1354
+ * The batch size caps are not applied here: they defer the overflow to the
1355
+ * next cycle rather than reducing what is recoverable.
1356
+ *
1346
1357
  * @returns Object containing recoverable amounts and subdust information
1347
1358
  *
1348
1359
  * @example
@@ -1,4 +1,4 @@
1
- import { c as TaskQueue, b as TaskItem, d as TaskResult } from './taskRunner-F7tWzsrC.js';
1
+ import { c as TaskQueue, b as TaskItem, d as TaskResult } from './taskRunner-CFN61bBM.js';
2
2
 
3
3
  /**
4
4
  * Minimal async key-value storage interface.
@@ -1,4 +1,4 @@
1
- import { c as TaskQueue, b as TaskItem, d as TaskResult } from './taskRunner-CnGSTaAJ.cjs';
1
+ import { c as TaskQueue, b as TaskItem, d as TaskResult } from './taskRunner-CFkGkD85.cjs';
2
2
 
3
3
  /**
4
4
  * Minimal async key-value storage interface.