@arkade-os/sdk 0.5.5 → 0.5.7

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 (77) hide show
  1. package/dist/adapters/expo.cjs +6 -6
  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/{asyncStorageTaskQueue-BbH-THYJ.d.cts → asyncStorageTaskQueue-B9byr6ij.d.cts} +1 -1
  6. package/dist/{asyncStorageTaskQueue-BlvkJyTa.d.ts → asyncStorageTaskQueue-XP4CCdRY.d.ts} +1 -1
  7. package/dist/{chunk-XWUCNMPN.cjs → chunk-3NALVGMJ.cjs} +16 -16
  8. package/dist/{chunk-XWUCNMPN.cjs.map → chunk-3NALVGMJ.cjs.map} +1 -1
  9. package/dist/{chunk-FVVXCDNE.js → chunk-4AJRIM44.js} +4 -4
  10. package/dist/{chunk-FVVXCDNE.js.map → chunk-4AJRIM44.js.map} +1 -1
  11. package/dist/{chunk-AMH7Q3DF.cjs → chunk-MQUATTIM.cjs} +8 -8
  12. package/dist/{chunk-AMH7Q3DF.cjs.map → chunk-MQUATTIM.cjs.map} +1 -1
  13. package/dist/{chunk-CE46RS6L.js → chunk-MWEDDWFU.js} +4 -4
  14. package/dist/{chunk-CE46RS6L.js.map → chunk-MWEDDWFU.js.map} +1 -1
  15. package/dist/{chunk-7GIKLFHC.js → chunk-MWMO2ZQP.js} +3 -3
  16. package/dist/{chunk-7GIKLFHC.js.map → chunk-MWMO2ZQP.js.map} +1 -1
  17. package/dist/{chunk-HQQ4NRXI.cjs → chunk-MXCB6EVM.cjs} +15 -15
  18. package/dist/{chunk-HQQ4NRXI.cjs.map → chunk-MXCB6EVM.cjs.map} +1 -1
  19. package/dist/{chunk-KCL5AVML.cjs → chunk-OMPDPBT5.cjs} +3 -3
  20. package/dist/chunk-OMPDPBT5.cjs.map +1 -0
  21. package/dist/{chunk-OO2KEK64.js → chunk-RLD7DRSZ.js} +381 -54
  22. package/dist/chunk-RLD7DRSZ.js.map +1 -0
  23. package/dist/{chunk-T254PXSN.cjs → chunk-URGVQ5TQ.cjs} +795 -462
  24. package/dist/chunk-URGVQ5TQ.cjs.map +1 -0
  25. package/dist/{chunk-BCA6D255.js → chunk-V2DDN4MV.js} +3 -3
  26. package/dist/{chunk-BCA6D255.js.map → chunk-V2DDN4MV.js.map} +1 -1
  27. package/dist/{chunk-5SYUEVJH.cjs → chunk-V5WRO3P6.cjs} +10 -10
  28. package/dist/{chunk-5SYUEVJH.cjs.map → chunk-V5WRO3P6.cjs.map} +1 -1
  29. package/dist/{chunk-4I53THL6.js → chunk-VMVFRTF4.js} +3 -3
  30. package/dist/chunk-VMVFRTF4.js.map +1 -0
  31. package/dist/contracts/handlers/index.cjs +9 -9
  32. package/dist/contracts/handlers/index.d.cts +2 -2
  33. package/dist/contracts/handlers/index.d.ts +2 -2
  34. package/dist/contracts/handlers/index.js +2 -2
  35. package/dist/{index-DCml4QJn.d.ts → index-18cDMayF.d.ts} +25 -25
  36. package/dist/{index-Bx-iArDs.d.ts → index-B_kcptF8.d.ts} +1 -1
  37. package/dist/{index-BWwVnJhU.d.cts → index-Ccfhdfvj.d.cts} +1 -1
  38. package/dist/{index-DkyzIzKL.d.cts → index-DDJFHfba.d.cts} +25 -25
  39. package/dist/index.cjs +335 -311
  40. package/dist/index.d.cts +89 -138
  41. package/dist/index.d.ts +89 -138
  42. package/dist/index.js +4 -4
  43. package/dist/{keyringDescriptorProvider-CS4w4PWd.d.ts → keyringDescriptorProvider-DL-jAiRO.d.ts} +158 -10
  44. package/dist/{keyringDescriptorProvider-CmHXrIXd.d.cts → keyringDescriptorProvider-Dtv0JWrT.d.cts} +158 -10
  45. package/dist/repositories/realm/index.cjs +37 -37
  46. package/dist/repositories/realm/index.cjs.map +1 -1
  47. package/dist/repositories/realm/index.d.cts +6 -6
  48. package/dist/repositories/realm/index.d.ts +6 -6
  49. package/dist/repositories/realm/index.js +6 -6
  50. package/dist/repositories/realm/index.js.map +1 -1
  51. package/dist/repositories/sqlite/index.cjs +35 -35
  52. package/dist/repositories/sqlite/index.cjs.map +1 -1
  53. package/dist/repositories/sqlite/index.d.cts +6 -6
  54. package/dist/repositories/sqlite/index.d.ts +6 -6
  55. package/dist/repositories/sqlite/index.js +5 -5
  56. package/dist/repositories/sqlite/index.js.map +1 -1
  57. package/dist/{taskRunner-DgMLSk_O.d.ts → taskRunner-DUafWu0o.d.ts} +1 -1
  58. package/dist/{taskRunner-buh6aFpG.d.cts → taskRunner-JYHaLPne.d.cts} +1 -1
  59. package/dist/wallet/expo/background.cjs +14 -14
  60. package/dist/wallet/expo/background.d.cts +3 -3
  61. package/dist/wallet/expo/background.d.ts +3 -3
  62. package/dist/wallet/expo/background.js +6 -6
  63. package/dist/wallet/expo/index.cjs +15 -15
  64. package/dist/wallet/expo/index.cjs.map +1 -1
  65. package/dist/wallet/expo/index.d.cts +6 -6
  66. package/dist/wallet/expo/index.d.ts +6 -6
  67. package/dist/wallet/expo/index.js +5 -5
  68. package/dist/wallet/expo/index.js.map +1 -1
  69. package/dist/worker/expo/index.cjs +9 -9
  70. package/dist/worker/expo/index.d.cts +4 -4
  71. package/dist/worker/expo/index.d.ts +4 -4
  72. package/dist/worker/expo/index.js +5 -5
  73. package/package.json +2 -2
  74. package/dist/chunk-4I53THL6.js.map +0 -1
  75. package/dist/chunk-KCL5AVML.cjs.map +0 -1
  76. package/dist/chunk-OO2KEK64.js.map +0 -1
  77. package/dist/chunk-T254PXSN.cjs.map +0 -1
@@ -1,23 +1,23 @@
1
1
  'use strict';
2
2
 
3
- var chunkHQQ4NRXI_cjs = require('../chunk-HQQ4NRXI.cjs');
4
- require('../chunk-XWUCNMPN.cjs');
5
- require('../chunk-KCL5AVML.cjs');
3
+ var chunkMXCB6EVM_cjs = require('../chunk-MXCB6EVM.cjs');
4
+ require('../chunk-3NALVGMJ.cjs');
5
+ require('../chunk-OMPDPBT5.cjs');
6
6
  require('../chunk-FLPWNMX3.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "ExpoArkProvider", {
11
11
  enumerable: true,
12
- get: function () { return chunkHQQ4NRXI_cjs.ExpoArkProvider; }
12
+ get: function () { return chunkMXCB6EVM_cjs.ExpoArkProvider; }
13
13
  });
14
14
  Object.defineProperty(exports, "ExpoIndexerProvider", {
15
15
  enumerable: true,
16
- get: function () { return chunkHQQ4NRXI_cjs.ExpoIndexerProvider; }
16
+ get: function () { return chunkMXCB6EVM_cjs.ExpoIndexerProvider; }
17
17
  });
18
18
  Object.defineProperty(exports, "ExpoOperatorProvider", {
19
19
  enumerable: true,
20
- get: function () { return chunkHQQ4NRXI_cjs.ExpoOperatorProvider; }
20
+ get: function () { return chunkMXCB6EVM_cjs.ExpoOperatorProvider; }
21
21
  });
22
22
  //# sourceMappingURL=expo.cjs.map
23
23
  //# sourceMappingURL=expo.cjs.map
@@ -1,5 +1,5 @@
1
- import { s as RestOperatorProvider, o as SettlementEvent, T as TxNotificationEvent, t as RestIndexerProvider, u as SubscriptionEvent, v as SubscriptionHeartbeat } from '../index-DkyzIzKL.cjs';
2
- export { w as ArkProvider, x as IndexerProvider, O as OperatorProvider } from '../index-DkyzIzKL.cjs';
1
+ import { r as RestOperatorProvider, n as SettlementEvent, T as TxNotificationEvent, s as RestIndexerProvider, t as SubscriptionEvent, u as SubscriptionHeartbeat } from '../index-DDJFHfba.cjs';
2
+ export { v as ArkProvider, w as IndexerProvider, x as OperatorProvider } from '../index-DDJFHfba.cjs';
3
3
  import '@scure/btc-signer/utils.js';
4
4
  import '@scure/btc-signer';
5
5
  import '@scure/btc-signer/psbt.js';
@@ -1,5 +1,5 @@
1
- import { s as RestOperatorProvider, o as SettlementEvent, T as TxNotificationEvent, t as RestIndexerProvider, u as SubscriptionEvent, v as SubscriptionHeartbeat } from '../index-DCml4QJn.js';
2
- export { w as ArkProvider, x as IndexerProvider, O as OperatorProvider } from '../index-DCml4QJn.js';
1
+ import { r as RestOperatorProvider, n as SettlementEvent, T as TxNotificationEvent, s as RestIndexerProvider, t as SubscriptionEvent, u as SubscriptionHeartbeat } from '../index-18cDMayF.js';
2
+ export { v as ArkProvider, w as IndexerProvider, x as OperatorProvider } from '../index-18cDMayF.js';
3
3
  import '@scure/btc-signer/utils.js';
4
4
  import '@scure/btc-signer';
5
5
  import '@scure/btc-signer/psbt.js';
@@ -1,6 +1,6 @@
1
- export { ExpoArkProvider, ExpoIndexerProvider, ExpoOperatorProvider } from '../chunk-CE46RS6L.js';
2
- import '../chunk-7GIKLFHC.js';
3
- import '../chunk-4I53THL6.js';
1
+ export { ExpoArkProvider, ExpoIndexerProvider, ExpoOperatorProvider } from '../chunk-MWEDDWFU.js';
2
+ import '../chunk-MWMO2ZQP.js';
3
+ import '../chunk-VMVFRTF4.js';
4
4
  import '../chunk-FDJ734CH.js';
5
5
  //# sourceMappingURL=expo.js.map
6
6
  //# sourceMappingURL=expo.js.map
@@ -1,4 +1,4 @@
1
- import { c as TaskQueue, b as TaskItem, d as TaskResult } from './taskRunner-buh6aFpG.cjs';
1
+ import { c as TaskQueue, b as TaskItem, d as TaskResult } from './taskRunner-JYHaLPne.cjs';
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-DgMLSk_O.js';
1
+ import { c as TaskQueue, b as TaskItem, d as TaskResult } from './taskRunner-DUafWu0o.js';
2
2
 
3
3
  /**
4
4
  * Minimal async key-value storage interface.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkKCL5AVML_cjs = require('./chunk-KCL5AVML.cjs');
3
+ var chunkOMPDPBT5_cjs = require('./chunk-OMPDPBT5.cjs');
4
4
  var chunkFLPWNMX3_cjs = require('./chunk-FLPWNMX3.cjs');
5
5
  var base = require('@scure/base');
6
6
  var secp256k1_js = require('@noble/curves/secp256k1.js');
@@ -1320,10 +1320,10 @@ async function indexerFetch(input, init) {
1320
1320
  const lastAttempt = attempt >= maxAttempts;
1321
1321
  let res;
1322
1322
  try {
1323
- res = await chunkKCL5AVML_cjs.rateGate.runHttp(input, () => chunkKCL5AVML_cjs.baseFetch(input, init));
1323
+ res = await chunkOMPDPBT5_cjs.rateGate.runHttp(input, () => chunkOMPDPBT5_cjs.baseFetch(input, init));
1324
1324
  } catch (err) {
1325
- const mapped = chunkKCL5AVML_cjs.toProviderUnavailable(err, "indexer");
1326
- if (lastAttempt || !(mapped instanceof chunkKCL5AVML_cjs.ProviderUnavailableError)) throw mapped;
1325
+ const mapped = chunkOMPDPBT5_cjs.toProviderUnavailable(err, "indexer");
1326
+ if (lastAttempt || !(mapped instanceof chunkOMPDPBT5_cjs.ProviderUnavailableError)) throw mapped;
1327
1327
  await sleep(retryDelayMs(attempt));
1328
1328
  continue;
1329
1329
  }
@@ -1335,7 +1335,7 @@ async function indexerFetch(input, init) {
1335
1335
  body = void 0;
1336
1336
  }
1337
1337
  try {
1338
- chunkKCL5AVML_cjs.throwIfHttpUnavailable(res, "indexer", body);
1338
+ chunkOMPDPBT5_cjs.throwIfHttpUnavailable(res, "indexer", body);
1339
1339
  } catch (err) {
1340
1340
  if (lastAttempt) throw err;
1341
1341
  await sleep(retryDelayMs(attempt));
@@ -1499,8 +1499,8 @@ var RestIndexerProvider = class {
1499
1499
  try {
1500
1500
  while (!abortSignal?.aborted) {
1501
1501
  try {
1502
- const currentIterator = chunkKCL5AVML_cjs.eventSourceIterator(
1503
- chunkKCL5AVML_cjs.resolveEventSource(override)(url)
1502
+ const currentIterator = chunkOMPDPBT5_cjs.eventSourceIterator(
1503
+ chunkOMPDPBT5_cjs.resolveEventSource(override)(url)
1504
1504
  );
1505
1505
  iterator = currentIterator;
1506
1506
  for await (const event of currentIterator) {
@@ -1517,14 +1517,14 @@ var RestIndexerProvider = class {
1517
1517
  if (abortSignal?.aborted || error instanceof Error && error.name === "AbortError") {
1518
1518
  break;
1519
1519
  }
1520
- if (chunkKCL5AVML_cjs.isFetchTimeoutError(error)) {
1520
+ if (chunkOMPDPBT5_cjs.isFetchTimeoutError(error)) {
1521
1521
  console.debug("Timeout error ignored");
1522
1522
  continue;
1523
1523
  }
1524
- if (chunkKCL5AVML_cjs.isEventSourceError(error)) {
1524
+ if (chunkOMPDPBT5_cjs.isEventSourceError(error)) {
1525
1525
  throw error;
1526
1526
  }
1527
- if (chunkKCL5AVML_cjs.isEventSourceUnavailableError(error)) throw error;
1527
+ if (chunkOMPDPBT5_cjs.isEventSourceUnavailableError(error)) throw error;
1528
1528
  console.error("Subscription error:", error);
1529
1529
  throw error;
1530
1530
  } finally {
@@ -1653,7 +1653,7 @@ var RestIndexerProvider = class {
1653
1653
  }
1654
1654
  const data = await this.fetchVtxosJson(url);
1655
1655
  return {
1656
- vtxos: data.vtxos.map(chunkKCL5AVML_cjs.convertVtxo),
1656
+ vtxos: data.vtxos.map(chunkOMPDPBT5_cjs.convertVtxo),
1657
1657
  page: data.page
1658
1658
  };
1659
1659
  }
@@ -1800,9 +1800,9 @@ function toSubscriptionResponse(event) {
1800
1800
  return {
1801
1801
  txid: event.txid,
1802
1802
  scripts: event.scripts || [],
1803
- newVtxos: (event.newVtxos || []).map(chunkKCL5AVML_cjs.convertVtxo),
1804
- spentVtxos: (event.spentVtxos || []).map(chunkKCL5AVML_cjs.convertVtxo),
1805
- sweptVtxos: (event.sweptVtxos || []).map(chunkKCL5AVML_cjs.convertVtxo),
1803
+ newVtxos: (event.newVtxos || []).map(chunkOMPDPBT5_cjs.convertVtxo),
1804
+ spentVtxos: (event.spentVtxos || []).map(chunkOMPDPBT5_cjs.convertVtxo),
1805
+ sweptVtxos: (event.sweptVtxos || []).map(chunkOMPDPBT5_cjs.convertVtxo),
1806
1806
  tx: event.tx,
1807
1807
  checkpointTxs: event.checkpointTxs
1808
1808
  };
@@ -1928,5 +1928,5 @@ exports.Packet = Packet;
1928
1928
  exports.RestIndexerProvider = RestIndexerProvider;
1929
1929
  exports.asset_exports = asset_exports;
1930
1930
  exports.toSubscriptionMessage = toSubscriptionMessage;
1931
- //# sourceMappingURL=chunk-XWUCNMPN.cjs.map
1932
- //# sourceMappingURL=chunk-XWUCNMPN.cjs.map
1931
+ //# sourceMappingURL=chunk-3NALVGMJ.cjs.map
1932
+ //# sourceMappingURL=chunk-3NALVGMJ.cjs.map