@arkade-os/sdk 0.5.0-rc.26 → 0.5.0-rc.28

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 (76) hide show
  1. package/README.md +37 -0
  2. package/dist/adapters/expo.cjs +5 -5
  3. package/dist/adapters/expo.d.cts +4 -4
  4. package/dist/adapters/expo.d.ts +4 -4
  5. package/dist/adapters/expo.js +3 -3
  6. package/dist/{index-BfvbSL0W.d.cts → ark-CgZYyMpf.d.cts} +4369 -4205
  7. package/dist/{index-BfvbSL0W.d.ts → ark-CgZYyMpf.d.ts} +4369 -4205
  8. package/dist/{asyncStorageTaskQueue-CFWscYpG.d.cts → asyncStorageTaskQueue-B099Jii3.d.cts} +1 -1
  9. package/dist/{asyncStorageTaskQueue-DrFapzPg.d.ts → asyncStorageTaskQueue-BeQji1Ee.d.ts} +1 -1
  10. package/dist/{chunk-K2YTDYQF.cjs → chunk-3P7SXAAC.cjs} +16 -16
  11. package/dist/{chunk-K2YTDYQF.cjs.map → chunk-3P7SXAAC.cjs.map} +1 -1
  12. package/dist/{chunk-B2YMUJD5.cjs → chunk-4BT6HBZQ.cjs} +1155 -701
  13. package/dist/chunk-4BT6HBZQ.cjs.map +1 -0
  14. package/dist/{chunk-FEBAG2K2.cjs → chunk-6BJJ47JM.cjs} +18 -18
  15. package/dist/{chunk-FEBAG2K2.cjs.map → chunk-6BJJ47JM.cjs.map} +1 -1
  16. package/dist/{chunk-HPUKFTZV.js → chunk-BDTASM5W.js} +4 -4
  17. package/dist/{chunk-HPUKFTZV.js.map → chunk-BDTASM5W.js.map} +1 -1
  18. package/dist/{chunk-U5ZRDVVB.js → chunk-BIN2DVKS.js} +675 -222
  19. package/dist/chunk-BIN2DVKS.js.map +1 -0
  20. package/dist/{chunk-HTCIPDVW.js → chunk-CG7S6CDR.js} +5 -4
  21. package/dist/chunk-CG7S6CDR.js.map +1 -0
  22. package/dist/{chunk-N2VM6V6K.js → chunk-CR5YHHEM.js} +154 -51
  23. package/dist/chunk-CR5YHHEM.js.map +1 -0
  24. package/dist/{chunk-VVFCCNU2.cjs → chunk-FGKBQH5S.cjs} +5 -3
  25. package/dist/chunk-FGKBQH5S.cjs.map +1 -0
  26. package/dist/{chunk-Y5VSJURH.js → chunk-FSSINCR6.js} +4 -4
  27. package/dist/{chunk-Y5VSJURH.js.map → chunk-FSSINCR6.js.map} +1 -1
  28. package/dist/{chunk-QCD3SJOL.cjs → chunk-HFSC7T5I.cjs} +10 -10
  29. package/dist/{chunk-QCD3SJOL.cjs.map → chunk-HFSC7T5I.cjs.map} +1 -1
  30. package/dist/{chunk-5JQ5EOYE.js → chunk-PHSUZSRH.js} +3 -3
  31. package/dist/{chunk-5JQ5EOYE.js.map → chunk-PHSUZSRH.js.map} +1 -1
  32. package/dist/{chunk-CFOIHLON.cjs → chunk-YFQOJTG3.cjs} +201 -96
  33. package/dist/chunk-YFQOJTG3.cjs.map +1 -0
  34. package/dist/contracts/handlers/index.cjs +9 -9
  35. package/dist/contracts/handlers/index.d.cts +5 -5
  36. package/dist/contracts/handlers/index.d.ts +5 -5
  37. package/dist/contracts/handlers/index.js +2 -2
  38. package/dist/{delegate-Cz8FnLqi.d.ts → delegate-B8KSoeVz.d.ts} +1 -1
  39. package/dist/{delegate-r3jh7UcH.d.cts → delegate-wuf6DBpr.d.cts} +1 -1
  40. package/dist/{index-DOION7Ta.d.cts → index-1pLGuueL.d.ts} +58 -52
  41. package/dist/{index-Chgwl4dO.d.ts → index-CP3v0PVS.d.cts} +58 -52
  42. package/dist/index.cjs +328 -316
  43. package/dist/index.d.cts +332 -286
  44. package/dist/index.d.ts +332 -286
  45. package/dist/index.js +4 -4
  46. package/dist/repositories/realm/index.cjs +35 -35
  47. package/dist/repositories/realm/index.d.cts +4 -4
  48. package/dist/repositories/realm/index.d.ts +4 -4
  49. package/dist/repositories/realm/index.js +5 -5
  50. package/dist/repositories/sqlite/index.cjs +33 -33
  51. package/dist/repositories/sqlite/index.d.cts +4 -4
  52. package/dist/repositories/sqlite/index.d.ts +4 -4
  53. package/dist/repositories/sqlite/index.js +5 -5
  54. package/dist/{taskRunner-CXAcjtdU.d.ts → taskRunner-D4IF7tc8.d.cts} +1 -1
  55. package/dist/{taskRunner-BO8a-SQh.d.cts → taskRunner-DzEg63qV.d.ts} +1 -1
  56. package/dist/wallet/expo/background.cjs +14 -14
  57. package/dist/wallet/expo/background.d.cts +5 -5
  58. package/dist/wallet/expo/background.d.ts +5 -5
  59. package/dist/wallet/expo/background.js +6 -6
  60. package/dist/wallet/expo/index.cjs +15 -15
  61. package/dist/wallet/expo/index.d.cts +4 -4
  62. package/dist/wallet/expo/index.d.ts +4 -4
  63. package/dist/wallet/expo/index.js +5 -5
  64. package/dist/{wallet-CFIfUlQP.d.ts → walletRepository-BA5C6Slk.d.cts} +29 -29
  65. package/dist/{wallet-s90p-vIk.d.cts → walletRepository-BE2yiIHF.d.ts} +29 -29
  66. package/dist/worker/expo/index.cjs +9 -9
  67. package/dist/worker/expo/index.d.cts +6 -6
  68. package/dist/worker/expo/index.d.ts +6 -6
  69. package/dist/worker/expo/index.js +5 -5
  70. package/package.json +1 -1
  71. package/dist/chunk-B2YMUJD5.cjs.map +0 -1
  72. package/dist/chunk-CFOIHLON.cjs.map +0 -1
  73. package/dist/chunk-HTCIPDVW.js.map +0 -1
  74. package/dist/chunk-N2VM6V6K.js.map +0 -1
  75. package/dist/chunk-U5ZRDVVB.js.map +0 -1
  76. package/dist/chunk-VVFCCNU2.cjs.map +0 -1
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkK2YTDYQF_cjs = require('../../chunk-K2YTDYQF.cjs');
4
- var chunkQCD3SJOL_cjs = require('../../chunk-QCD3SJOL.cjs');
5
- var chunkB2YMUJD5_cjs = require('../../chunk-B2YMUJD5.cjs');
6
- require('../../chunk-FEBAG2K2.cjs');
7
- require('../../chunk-CFOIHLON.cjs');
8
- require('../../chunk-VVFCCNU2.cjs');
3
+ var chunk3P7SXAAC_cjs = require('../../chunk-3P7SXAAC.cjs');
4
+ var chunkHFSC7T5I_cjs = require('../../chunk-HFSC7T5I.cjs');
5
+ var chunk4BT6HBZQ_cjs = require('../../chunk-4BT6HBZQ.cjs');
6
+ require('../../chunk-6BJJ47JM.cjs');
7
+ require('../../chunk-YFQOJTG3.cjs');
8
+ require('../../chunk-FGKBQH5S.cjs');
9
9
  var TaskManager = require('expo-task-manager');
10
10
  var BackgroundTask = require('expo-background-task');
11
11
 
@@ -35,7 +35,7 @@ function defineExpoBackgroundTask(taskName, options) {
35
35
  taskQueue,
36
36
  walletRepository,
37
37
  contractRepository,
38
- processors = [chunkQCD3SJOL_cjs.contractPollProcessor]
38
+ processors = [chunkHFSC7T5I_cjs.contractPollProcessor]
39
39
  } = options;
40
40
  TaskManager__namespace.defineTask(taskName, async () => {
41
41
  try {
@@ -43,24 +43,24 @@ function defineExpoBackgroundTask(taskName, options) {
43
43
  if (!config) {
44
44
  return BackgroundTask__namespace.BackgroundTaskResult.Success;
45
45
  }
46
- const indexerProvider = new chunkK2YTDYQF_cjs.ExpoIndexerProvider(config.arkServerUrl);
47
- const arkProvider = new chunkK2YTDYQF_cjs.ExpoArkProvider(config.arkServerUrl);
48
- const deps = chunkQCD3SJOL_cjs.createTaskDependencies({
46
+ const indexerProvider = new chunk3P7SXAAC_cjs.ExpoIndexerProvider(config.arkServerUrl);
47
+ const arkProvider = new chunk3P7SXAAC_cjs.ExpoArkProvider(config.arkServerUrl);
48
+ const deps = chunkHFSC7T5I_cjs.createTaskDependencies({
49
49
  walletRepository,
50
50
  contractRepository,
51
51
  indexerProvider,
52
52
  arkProvider
53
53
  });
54
- await chunkQCD3SJOL_cjs.runTasks(taskQueue, processors, deps);
54
+ await chunkHFSC7T5I_cjs.runTasks(taskQueue, processors, deps);
55
55
  const results = await taskQueue.getResults();
56
56
  if (results.length > 0) {
57
57
  await taskQueue.acknowledgeResults(results.map((r) => r.id));
58
58
  }
59
- const existing = await taskQueue.getTasks(chunkQCD3SJOL_cjs.CONTRACT_POLL_TASK_TYPE);
59
+ const existing = await taskQueue.getTasks(chunkHFSC7T5I_cjs.CONTRACT_POLL_TASK_TYPE);
60
60
  if (existing.length === 0) {
61
61
  const task = {
62
- id: chunkB2YMUJD5_cjs.getRandomId(),
63
- type: chunkQCD3SJOL_cjs.CONTRACT_POLL_TASK_TYPE,
62
+ id: chunk4BT6HBZQ_cjs.getRandomId(),
63
+ type: chunkHFSC7T5I_cjs.CONTRACT_POLL_TASK_TYPE,
64
64
  data: {},
65
65
  createdAt: Date.now()
66
66
  };
@@ -1,10 +1,10 @@
1
- import { W as WalletRepository, C as ContractRepository } from '../../index-BfvbSL0W.cjs';
2
- import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-CFWscYpG.cjs';
3
- import { T as TaskProcessor } from '../../taskRunner-BO8a-SQh.cjs';
4
- import '@scure/btc-signer/utils.js';
5
- import '@scure/btc-signer/psbt.js';
1
+ import { W as WalletRepository, C as ContractRepository } from '../../ark-CgZYyMpf.cjs';
2
+ import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-B099Jii3.cjs';
3
+ import { T as TaskProcessor } from '../../taskRunner-D4IF7tc8.cjs';
6
4
  import '@scure/btc-signer';
7
5
  import '@scure/btc-signer/transaction.js';
6
+ import '@scure/btc-signer/utils.js';
7
+ import '@scure/btc-signer/psbt.js';
8
8
 
9
9
  /**
10
10
  * Wallet parameters persisted by @see ExpoWallet.setup and read
@@ -1,10 +1,10 @@
1
- import { W as WalletRepository, C as ContractRepository } from '../../index-BfvbSL0W.js';
2
- import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-DrFapzPg.js';
3
- import { T as TaskProcessor } from '../../taskRunner-CXAcjtdU.js';
4
- import '@scure/btc-signer/utils.js';
5
- import '@scure/btc-signer/psbt.js';
1
+ import { W as WalletRepository, C as ContractRepository } from '../../ark-CgZYyMpf.js';
2
+ import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-BeQji1Ee.js';
3
+ import { T as TaskProcessor } from '../../taskRunner-DzEg63qV.js';
6
4
  import '@scure/btc-signer';
7
5
  import '@scure/btc-signer/transaction.js';
6
+ import '@scure/btc-signer/utils.js';
7
+ import '@scure/btc-signer/psbt.js';
8
8
 
9
9
  /**
10
10
  * Wallet parameters persisted by @see ExpoWallet.setup and read
@@ -1,9 +1,9 @@
1
- import { ExpoIndexerProvider, ExpoArkProvider } from '../../chunk-Y5VSJURH.js';
2
- import { contractPollProcessor, createTaskDependencies, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-HPUKFTZV.js';
3
- import { getRandomId } from '../../chunk-U5ZRDVVB.js';
4
- import '../../chunk-5JQ5EOYE.js';
5
- import '../../chunk-N2VM6V6K.js';
6
- import '../../chunk-HTCIPDVW.js';
1
+ import { ExpoIndexerProvider, ExpoArkProvider } from '../../chunk-FSSINCR6.js';
2
+ import { contractPollProcessor, createTaskDependencies, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-BDTASM5W.js';
3
+ import { getRandomId } from '../../chunk-BIN2DVKS.js';
4
+ import '../../chunk-PHSUZSRH.js';
5
+ import '../../chunk-CR5YHHEM.js';
6
+ import '../../chunk-CG7S6CDR.js';
7
7
  import * as TaskManager from 'expo-task-manager';
8
8
  import * as BackgroundTask from 'expo-background-task';
9
9
 
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkQCD3SJOL_cjs = require('../../chunk-QCD3SJOL.cjs');
4
- var chunkB2YMUJD5_cjs = require('../../chunk-B2YMUJD5.cjs');
5
- require('../../chunk-FEBAG2K2.cjs');
6
- require('../../chunk-CFOIHLON.cjs');
7
- var chunkVVFCCNU2_cjs = require('../../chunk-VVFCCNU2.cjs');
3
+ var chunkHFSC7T5I_cjs = require('../../chunk-HFSC7T5I.cjs');
4
+ var chunk4BT6HBZQ_cjs = require('../../chunk-4BT6HBZQ.cjs');
5
+ require('../../chunk-6BJJ47JM.cjs');
6
+ require('../../chunk-YFQOJTG3.cjs');
7
+ var chunkFGKBQH5S_cjs = require('../../chunk-FGKBQH5S.cjs');
8
8
  var base = require('@scure/base');
9
9
 
10
10
  function warnOnRemovedBackgroundFields(bg) {
@@ -56,20 +56,20 @@ var ExpoWallet = class _ExpoWallet {
56
56
  * by the consumer.
57
57
  */
58
58
  static async setup(config) {
59
- chunkVVFCCNU2_cjs.assertTimerMs("foregroundIntervalMs", config.background.foregroundIntervalMs);
59
+ chunkFGKBQH5S_cjs.assertTimerMs("foregroundIntervalMs", config.background.foregroundIntervalMs);
60
60
  warnOnRemovedBackgroundFields(config.background);
61
- const wallet = await chunkB2YMUJD5_cjs.Wallet.create(config);
62
- const processors = config.background.processors ?? [chunkQCD3SJOL_cjs.contractPollProcessor];
61
+ const wallet = await chunk4BT6HBZQ_cjs.Wallet.create(config);
62
+ const processors = config.background.processors ?? [chunkHFSC7T5I_cjs.contractPollProcessor];
63
63
  const deps = {
64
64
  walletRepository: wallet.walletRepository,
65
65
  contractRepository: wallet.contractRepository,
66
66
  indexerProvider: wallet.indexerProvider,
67
67
  arkProvider: wallet.arkProvider,
68
- extendVtxo: (vtxo, contract) => chunkB2YMUJD5_cjs.extendVirtualCoinForContract(vtxo, contract)
68
+ extendVtxo: (vtxo, contract) => chunk4BT6HBZQ_cjs.extendVirtualCoinForContract(vtxo, contract)
69
69
  };
70
70
  const { taskQueue } = config.background;
71
71
  if ("persistConfig" in taskQueue) {
72
- const arkServerUrl = chunkB2YMUJD5_cjs.extractArkProviderUrl(wallet.arkProvider);
72
+ const arkServerUrl = chunk4BT6HBZQ_cjs.extractArkProviderUrl(wallet.arkProvider);
73
73
  if (typeof arkServerUrl === "string" && arkServerUrl.length > 0) {
74
74
  const timelock = wallet.offchainTapscript.options.csvTimelock;
75
75
  const bgConfig = {
@@ -100,7 +100,7 @@ var ExpoWallet = class _ExpoWallet {
100
100
  }
101
101
  async runForegroundPoll() {
102
102
  if (this.cleared) return;
103
- await chunkQCD3SJOL_cjs.runTasks(this.taskQueue, this.processors, this.deps);
103
+ await chunkHFSC7T5I_cjs.runTasks(this.taskQueue, this.processors, this.deps);
104
104
  const results = await this.taskQueue.getResults();
105
105
  if (results.length > 0) {
106
106
  await this.taskQueue.acknowledgeResults(results.map((r) => r.id));
@@ -109,18 +109,18 @@ var ExpoWallet = class _ExpoWallet {
109
109
  await this.seedContractPollTask();
110
110
  }
111
111
  async seedContractPollTask() {
112
- const existing = await this.taskQueue.getTasks(chunkQCD3SJOL_cjs.CONTRACT_POLL_TASK_TYPE);
112
+ const existing = await this.taskQueue.getTasks(chunkHFSC7T5I_cjs.CONTRACT_POLL_TASK_TYPE);
113
113
  if (existing.length > 0) return;
114
114
  const task = {
115
- id: chunkB2YMUJD5_cjs.getRandomId(),
116
- type: chunkQCD3SJOL_cjs.CONTRACT_POLL_TASK_TYPE,
115
+ id: chunk4BT6HBZQ_cjs.getRandomId(),
116
+ type: chunkHFSC7T5I_cjs.CONTRACT_POLL_TASK_TYPE,
117
117
  data: {},
118
118
  createdAt: Date.now()
119
119
  };
120
120
  await this.taskQueue.addTask(task);
121
121
  }
122
122
  async removeContractPollTasks() {
123
- const tasks = await this.taskQueue.getTasks(chunkQCD3SJOL_cjs.CONTRACT_POLL_TASK_TYPE);
123
+ const tasks = await this.taskQueue.getTasks(chunkHFSC7T5I_cjs.CONTRACT_POLL_TASK_TYPE);
124
124
  for (const task of tasks) {
125
125
  await this.taskQueue.removeTask(task.id);
126
126
  }
@@ -1,9 +1,9 @@
1
- import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../wallet-s90p-vIk.cjs';
2
- import { I as IWallet, a as Identity, b as WalletConfig, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, d as ArkadeBroadcaster, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, E as ExtendedCoin, h as ArkTransaction, i as ActivityRegistry, j as Activity, k as IContractManager, l as GetNewAddressesOptions, m as NewAddress, n as IDelegateManager, S as SettleParams, o as SettlementEvent, p as SendParams, R as Recipient, q as IAssetManager } from '../../index-BfvbSL0W.cjs';
3
- import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-BO8a-SQh.cjs';
1
+ import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../walletRepository-BA5C6Slk.cjs';
2
+ import { I as IWallet, a as Identity, b as WalletConfig, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, d as ArkadeBroadcaster, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, E as ExtendedCoin, h as ArkTransaction, i as ActivityRegistry, j as Activity, k as IContractManager, l as GetNewAddressesOptions, m as NewAddress, n as IDelegateManager, S as SettleParams, o as SettlementEvent, p as SendParams, R as Recipient, q as IAssetManager } from '../../ark-CgZYyMpf.cjs';
3
+ import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-D4IF7tc8.cjs';
4
4
  import '@scure/btc-signer/psbt.js';
5
5
  import '@scure/btc-signer/utils.js';
6
- import '../../delegate-r3jh7UcH.cjs';
6
+ import '../../delegate-wuf6DBpr.cjs';
7
7
  import '@scure/btc-signer';
8
8
  import '@scure/btc-signer/transaction.js';
9
9
 
@@ -1,9 +1,9 @@
1
- import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../wallet-CFIfUlQP.js';
2
- import { I as IWallet, a as Identity, b as WalletConfig, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, d as ArkadeBroadcaster, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, E as ExtendedCoin, h as ArkTransaction, i as ActivityRegistry, j as Activity, k as IContractManager, l as GetNewAddressesOptions, m as NewAddress, n as IDelegateManager, S as SettleParams, o as SettlementEvent, p as SendParams, R as Recipient, q as IAssetManager } from '../../index-BfvbSL0W.js';
3
- import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-CXAcjtdU.js';
1
+ import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../walletRepository-BE2yiIHF.js';
2
+ import { I as IWallet, a as Identity, b as WalletConfig, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, d as ArkadeBroadcaster, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, E as ExtendedCoin, h as ArkTransaction, i as ActivityRegistry, j as Activity, k as IContractManager, l as GetNewAddressesOptions, m as NewAddress, n as IDelegateManager, S as SettleParams, o as SettlementEvent, p as SendParams, R as Recipient, q as IAssetManager } from '../../ark-CgZYyMpf.js';
3
+ import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-DzEg63qV.js';
4
4
  import '@scure/btc-signer/psbt.js';
5
5
  import '@scure/btc-signer/utils.js';
6
- import '../../delegate-Cz8FnLqi.js';
6
+ import '../../delegate-B8KSoeVz.js';
7
7
  import '@scure/btc-signer';
8
8
  import '@scure/btc-signer/transaction.js';
9
9
 
@@ -1,8 +1,8 @@
1
- import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-HPUKFTZV.js';
2
- import { Wallet, extractArkProviderUrl, getRandomId, extendVirtualCoinForContract } from '../../chunk-U5ZRDVVB.js';
3
- import '../../chunk-5JQ5EOYE.js';
4
- import '../../chunk-N2VM6V6K.js';
5
- import { assertTimerMs } from '../../chunk-HTCIPDVW.js';
1
+ import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-BDTASM5W.js';
2
+ import { Wallet, extractArkProviderUrl, getRandomId, extendVirtualCoinForContract } from '../../chunk-BIN2DVKS.js';
3
+ import '../../chunk-PHSUZSRH.js';
4
+ import '../../chunk-CR5YHHEM.js';
5
+ import { assertTimerMs } from '../../chunk-CG7S6CDR.js';
6
6
  import { hex } from '@scure/base';
7
7
 
8
8
  function warnOnRemovedBackgroundFields(bg) {
@@ -1,34 +1,7 @@
1
- import { W as WalletRepository, P as PageRequest, O as Outpoint, D as PageResult, B as ExtendedVirtualCoin, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, E as ExtendedCoin, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, h as ArkTransaction, Q as WalletState, a2 as DescriptorProvider, a3 as DescriptorSigningRequest, a4 as Transaction, l as GetNewAddressesOptions, m as NewAddress, a as Identity, w as RelativeTimelock, a5 as Network, a6 as CSVMultisigTapscript, a7 as BatchStartedEvent, a8 as TreeSigningStartedEvent, a9 as TxTree, aa as TreeNoncesEvent, ab as BatchFinalizationEvent, ac as BatchFinalizedEvent, ad as BatchFailedEvent, ae as TreeTxEvent, af as TreeSignatureEvent, o as SettlementEvent, b as WalletConfig, C as ContractRepository, k as IContractManager, ag as IReadonlyWallet, ah as ReadonlyIdentity, ai as OnchainProvider, u as ArkProvider, v as IndexerProvider, aj as DelegateProvider, ak as ReadonlyWalletConfig, X as IntentRepository, _ as VirtualTxRepository, al as ExitCaptureMode, am as ExitDataSource, i as ActivityRegistry, an as IReadonlyAssetManager, ao as ContractSyncState, ap as RecipientArkadeAddressContext, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, aq as NetworkName, ar as ArkAddress, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, as as ContractWithVtxos, at as selectPendingRecoveryOutpoints, j as Activity, au as Coin, av as ContractManager, aw as ContractManagerConfig, I as IWallet, ax as SettlementConfig, d as ArkadeBroadcaster, q as IAssetManager, ay as VtxoManager, n as IDelegateManager, S as SettleParams, R as Recipient, az as SignerSession, aA as SignedIntent, aB as Intent, p as SendParams, aC as TimeHeight } from './index-BfvbSL0W.js';
1
+ import { a2 as DescriptorProvider, W as WalletRepository, a3 as DescriptorSigningRequest, a4 as Transaction, l as GetNewAddressesOptions, m as NewAddress, a as Identity, w as RelativeTimelock, a5 as Network, a6 as CSVMultisigTapscript, a7 as BatchStartedEvent, a8 as TreeSigningStartedEvent, a9 as TxTree, aa as TreeNoncesEvent, ab as BatchFinalizationEvent, ac as BatchFinalizedEvent, ad as BatchFailedEvent, ae as TreeTxEvent, af as TreeSignatureEvent, o as SettlementEvent, b as WalletConfig, C as ContractRepository, k as IContractManager, ag as IReadonlyWallet, ah as ReadonlyIdentity, ai as OnchainProvider, u as ArkProvider, v as IndexerProvider, aj as DelegateProvider, ak as ReadonlyWalletConfig, X as IntentRepository, _ as VirtualTxRepository, al as ExitCaptureMode, am as ExitDataSource, i as ActivityRegistry, an as IReadonlyAssetManager, ao as ContractSyncState, ap as RecipientArkadeAddressContext, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, aq as NetworkName, ar as ArkAddress, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, as as ContractWithVtxos, at as selectPendingRecoveryOutpoints, h as ArkTransaction, j as Activity, E as ExtendedCoin, au as Coin, B as ExtendedVirtualCoin, av as ContractManager, aw as ContractManagerConfig, I as IWallet, O as Outpoint, ax as SettlementConfig, d as ArkadeBroadcaster, q as IAssetManager, ay as VtxoManager, n as IDelegateManager, S as SettleParams, R as Recipient, az as SignerSession, aA as SignedIntent, aB as Intent, p as SendParams, aC as TimeHeight, P as PageRequest, D as PageResult, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, Q as WalletState } from './ark-CgZYyMpf.cjs';
2
2
  import { TransactionOutput } from '@scure/btc-signer/psbt.js';
3
3
  import { Bytes } from '@scure/btc-signer/utils.js';
4
- import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-Cz8FnLqi.js';
5
-
6
- /**
7
- * IndexedDB-based implementation of WalletRepository.
8
- */
9
- declare class IndexedDBWalletRepository implements WalletRepository {
10
- readonly version: 2;
11
- private readonly connection;
12
- constructor(dbName?: string);
13
- clear(): Promise<void>;
14
- [Symbol.asyncDispose](): Promise<void>;
15
- getVtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedVirtualCoin, Outpoint>>;
16
- saveVtxos(address: string, vtxos: ExtendedVirtualCoin[]): Promise<void>;
17
- deleteVtxos(address: string): Promise<void>;
18
- getVtxosForScriptPage(script: string, page: PageRequest<ScriptVtxoCursor>, options?: ScriptVtxoPageOptions): Promise<PageResult<StoredVtxo, ScriptVtxoCursor>>;
19
- saveVtxosForScript(key: VtxoRepositoryKey, vtxos: ExtendedVirtualCoin[]): Promise<void>;
20
- deleteVtxosForScript(script: string): Promise<void>;
21
- getUtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedCoin, Outpoint>>;
22
- private pageByAddress;
23
- saveUtxos(addressOrBatch: string | ReadonlyMap<string, ExtendedCoin[]>, utxos?: ExtendedCoin[]): Promise<void>;
24
- deleteUtxos(address: string): Promise<void>;
25
- getTransactionHistoryPage(filter: TransactionHistoryPageFilter, page: PageRequest<TransactionHistoryPageCursor>): Promise<PageResult<ArkTransaction, TransactionHistoryPageCursor>>;
26
- saveTransactions(address: string, txs: ArkTransaction[]): Promise<void>;
27
- deleteTransactions(address: string): Promise<void>;
28
- getWalletState(): Promise<WalletState | null>;
29
- saveWalletState(state: WalletState): Promise<void>;
30
- private getDB;
31
- }
4
+ import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-wuf6DBpr.cjs';
32
5
 
33
6
  /**
34
7
  * A {@link DescriptorProvider} decorator that adds a **keyring**: raw
@@ -1931,4 +1904,31 @@ interface WaitForIncomingFundsOptions {
1931
1904
  */
1932
1905
  declare function waitForIncomingFunds(wallet: Wallet, options?: WaitForIncomingFundsOptions): Promise<IncomingFunds>;
1933
1906
 
1907
+ /**
1908
+ * IndexedDB-based implementation of WalletRepository.
1909
+ */
1910
+ declare class IndexedDBWalletRepository implements WalletRepository {
1911
+ readonly version: 2;
1912
+ private readonly connection;
1913
+ constructor(dbName?: string);
1914
+ clear(): Promise<void>;
1915
+ [Symbol.asyncDispose](): Promise<void>;
1916
+ getVtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedVirtualCoin, Outpoint>>;
1917
+ saveVtxos(address: string, vtxos: ExtendedVirtualCoin[]): Promise<void>;
1918
+ deleteVtxos(address: string): Promise<void>;
1919
+ getVtxosForScriptPage(script: string, page: PageRequest<ScriptVtxoCursor>, options?: ScriptVtxoPageOptions): Promise<PageResult<StoredVtxo, ScriptVtxoCursor>>;
1920
+ saveVtxosForScript(key: VtxoRepositoryKey, vtxos: ExtendedVirtualCoin[]): Promise<void>;
1921
+ deleteVtxosForScript(script: string): Promise<void>;
1922
+ getUtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedCoin, Outpoint>>;
1923
+ private pageByAddress;
1924
+ saveUtxos(addressOrBatch: string | ReadonlyMap<string, ExtendedCoin[]>, utxos?: ExtendedCoin[]): Promise<void>;
1925
+ deleteUtxos(address: string): Promise<void>;
1926
+ getTransactionHistoryPage(filter: TransactionHistoryPageFilter, page: PageRequest<TransactionHistoryPageCursor>): Promise<PageResult<ArkTransaction, TransactionHistoryPageCursor>>;
1927
+ saveTransactions(address: string, txs: ArkTransaction[]): Promise<void>;
1928
+ deleteTransactions(address: string): Promise<void>;
1929
+ getWalletState(): Promise<WalletState | null>;
1930
+ saveWalletState(state: WalletState): Promise<void>;
1931
+ private getDB;
1932
+ }
1933
+
1934
1934
  export { selectVirtualCoins as $, type AddressAllocationCapable as A, type BatchExpiryPolicy as B, type CheckpointExitDelayPolicy as C, DEFAULT_MIN_BATCH_EXPIRY_SECONDS as D, WalletCannotAllocateAddressError as E, ForeignDescriptorError as F, assertValidBatchExpiry as G, type HDWalletCapable as H, type IncomingFunds as I, assertValidServerUnrollScript as J, KeyringDescriptorProvider as K, defaultBatchExpiryPolicy as L, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD as M, defaultCheckpointExitDelayPolicy as N, isAddressAllocationCapable as O, type ProviderConnectionState as P, isArkError as Q, ReadonlyWallet as R, SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as S, isHDAllocationCapable as T, isHDWalletCapable as U, type VtxoReservation as V, Wallet as W, maybeArkError as X, resolveBatchExpiryPolicy as Y, resolveCheckpointExitDelayPolicy as Z, resolveDescriptorSigner as _, type HDAllocationCapable as a, signingDescriptorIndex as a0, strictSigningDescriptorIndex as a1, waitForIncomingFunds as a2, type ReceiveRotatorFactory as b, type ReceiveRotatorBootOpts as c, type ReceiveRotatorBoot as d, Batch as e, AbortError as f, ArkError as g, ArkErrorName as h, type ArkadeCashClaimResult as i, ArkadeCashCreateError as j, ArkadeCashOperatorMismatchError as k, type ArkadeCashUnclaimedReason as l, type ArkadeCashUnclaimedVtxo as m, type ArkadeCashVtxoRef as n, type BoardingUtxoGroup as o, DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as p, IndexedDBWalletRepository as q, MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as r, type ProviderKind as s, ProviderUnavailableError as t, REGTEST_MIN_BATCH_EXPIRY_SECONDS as u, REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as v, type ServerInfoSource as w, ServerResponseMismatchError as x, VtxoReservedError as y, type WaitForIncomingFundsOptions as z };
@@ -1,34 +1,7 @@
1
- import { W as WalletRepository, P as PageRequest, O as Outpoint, D as PageResult, B as ExtendedVirtualCoin, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, E as ExtendedCoin, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, h as ArkTransaction, Q as WalletState, a2 as DescriptorProvider, a3 as DescriptorSigningRequest, a4 as Transaction, l as GetNewAddressesOptions, m as NewAddress, a as Identity, w as RelativeTimelock, a5 as Network, a6 as CSVMultisigTapscript, a7 as BatchStartedEvent, a8 as TreeSigningStartedEvent, a9 as TxTree, aa as TreeNoncesEvent, ab as BatchFinalizationEvent, ac as BatchFinalizedEvent, ad as BatchFailedEvent, ae as TreeTxEvent, af as TreeSignatureEvent, o as SettlementEvent, b as WalletConfig, C as ContractRepository, k as IContractManager, ag as IReadonlyWallet, ah as ReadonlyIdentity, ai as OnchainProvider, u as ArkProvider, v as IndexerProvider, aj as DelegateProvider, ak as ReadonlyWalletConfig, X as IntentRepository, _ as VirtualTxRepository, al as ExitCaptureMode, am as ExitDataSource, i as ActivityRegistry, an as IReadonlyAssetManager, ao as ContractSyncState, ap as RecipientArkadeAddressContext, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, aq as NetworkName, ar as ArkAddress, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, as as ContractWithVtxos, at as selectPendingRecoveryOutpoints, j as Activity, au as Coin, av as ContractManager, aw as ContractManagerConfig, I as IWallet, ax as SettlementConfig, d as ArkadeBroadcaster, q as IAssetManager, ay as VtxoManager, n as IDelegateManager, S as SettleParams, R as Recipient, az as SignerSession, aA as SignedIntent, aB as Intent, p as SendParams, aC as TimeHeight } from './index-BfvbSL0W.cjs';
1
+ import { a2 as DescriptorProvider, W as WalletRepository, a3 as DescriptorSigningRequest, a4 as Transaction, l as GetNewAddressesOptions, m as NewAddress, a as Identity, w as RelativeTimelock, a5 as Network, a6 as CSVMultisigTapscript, a7 as BatchStartedEvent, a8 as TreeSigningStartedEvent, a9 as TxTree, aa as TreeNoncesEvent, ab as BatchFinalizationEvent, ac as BatchFinalizedEvent, ad as BatchFailedEvent, ae as TreeTxEvent, af as TreeSignatureEvent, o as SettlementEvent, b as WalletConfig, C as ContractRepository, k as IContractManager, ag as IReadonlyWallet, ah as ReadonlyIdentity, ai as OnchainProvider, u as ArkProvider, v as IndexerProvider, aj as DelegateProvider, ak as ReadonlyWalletConfig, X as IntentRepository, _ as VirtualTxRepository, al as ExitCaptureMode, am as ExitDataSource, i as ActivityRegistry, an as IReadonlyAssetManager, ao as ContractSyncState, ap as RecipientArkadeAddressContext, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, aq as NetworkName, ar as ArkAddress, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, as as ContractWithVtxos, at as selectPendingRecoveryOutpoints, h as ArkTransaction, j as Activity, E as ExtendedCoin, au as Coin, B as ExtendedVirtualCoin, av as ContractManager, aw as ContractManagerConfig, I as IWallet, O as Outpoint, ax as SettlementConfig, d as ArkadeBroadcaster, q as IAssetManager, ay as VtxoManager, n as IDelegateManager, S as SettleParams, R as Recipient, az as SignerSession, aA as SignedIntent, aB as Intent, p as SendParams, aC as TimeHeight, P as PageRequest, D as PageResult, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, Q as WalletState } from './ark-CgZYyMpf.js';
2
2
  import { TransactionOutput } from '@scure/btc-signer/psbt.js';
3
3
  import { Bytes } from '@scure/btc-signer/utils.js';
4
- import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-r3jh7UcH.cjs';
5
-
6
- /**
7
- * IndexedDB-based implementation of WalletRepository.
8
- */
9
- declare class IndexedDBWalletRepository implements WalletRepository {
10
- readonly version: 2;
11
- private readonly connection;
12
- constructor(dbName?: string);
13
- clear(): Promise<void>;
14
- [Symbol.asyncDispose](): Promise<void>;
15
- getVtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedVirtualCoin, Outpoint>>;
16
- saveVtxos(address: string, vtxos: ExtendedVirtualCoin[]): Promise<void>;
17
- deleteVtxos(address: string): Promise<void>;
18
- getVtxosForScriptPage(script: string, page: PageRequest<ScriptVtxoCursor>, options?: ScriptVtxoPageOptions): Promise<PageResult<StoredVtxo, ScriptVtxoCursor>>;
19
- saveVtxosForScript(key: VtxoRepositoryKey, vtxos: ExtendedVirtualCoin[]): Promise<void>;
20
- deleteVtxosForScript(script: string): Promise<void>;
21
- getUtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedCoin, Outpoint>>;
22
- private pageByAddress;
23
- saveUtxos(addressOrBatch: string | ReadonlyMap<string, ExtendedCoin[]>, utxos?: ExtendedCoin[]): Promise<void>;
24
- deleteUtxos(address: string): Promise<void>;
25
- getTransactionHistoryPage(filter: TransactionHistoryPageFilter, page: PageRequest<TransactionHistoryPageCursor>): Promise<PageResult<ArkTransaction, TransactionHistoryPageCursor>>;
26
- saveTransactions(address: string, txs: ArkTransaction[]): Promise<void>;
27
- deleteTransactions(address: string): Promise<void>;
28
- getWalletState(): Promise<WalletState | null>;
29
- saveWalletState(state: WalletState): Promise<void>;
30
- private getDB;
31
- }
4
+ import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-B8KSoeVz.js';
32
5
 
33
6
  /**
34
7
  * A {@link DescriptorProvider} decorator that adds a **keyring**: raw
@@ -1931,4 +1904,31 @@ interface WaitForIncomingFundsOptions {
1931
1904
  */
1932
1905
  declare function waitForIncomingFunds(wallet: Wallet, options?: WaitForIncomingFundsOptions): Promise<IncomingFunds>;
1933
1906
 
1907
+ /**
1908
+ * IndexedDB-based implementation of WalletRepository.
1909
+ */
1910
+ declare class IndexedDBWalletRepository implements WalletRepository {
1911
+ readonly version: 2;
1912
+ private readonly connection;
1913
+ constructor(dbName?: string);
1914
+ clear(): Promise<void>;
1915
+ [Symbol.asyncDispose](): Promise<void>;
1916
+ getVtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedVirtualCoin, Outpoint>>;
1917
+ saveVtxos(address: string, vtxos: ExtendedVirtualCoin[]): Promise<void>;
1918
+ deleteVtxos(address: string): Promise<void>;
1919
+ getVtxosForScriptPage(script: string, page: PageRequest<ScriptVtxoCursor>, options?: ScriptVtxoPageOptions): Promise<PageResult<StoredVtxo, ScriptVtxoCursor>>;
1920
+ saveVtxosForScript(key: VtxoRepositoryKey, vtxos: ExtendedVirtualCoin[]): Promise<void>;
1921
+ deleteVtxosForScript(script: string): Promise<void>;
1922
+ getUtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedCoin, Outpoint>>;
1923
+ private pageByAddress;
1924
+ saveUtxos(addressOrBatch: string | ReadonlyMap<string, ExtendedCoin[]>, utxos?: ExtendedCoin[]): Promise<void>;
1925
+ deleteUtxos(address: string): Promise<void>;
1926
+ getTransactionHistoryPage(filter: TransactionHistoryPageFilter, page: PageRequest<TransactionHistoryPageCursor>): Promise<PageResult<ArkTransaction, TransactionHistoryPageCursor>>;
1927
+ saveTransactions(address: string, txs: ArkTransaction[]): Promise<void>;
1928
+ deleteTransactions(address: string): Promise<void>;
1929
+ getWalletState(): Promise<WalletState | null>;
1930
+ saveWalletState(state: WalletState): Promise<void>;
1931
+ private getDB;
1932
+ }
1933
+
1934
1934
  export { selectVirtualCoins as $, type AddressAllocationCapable as A, type BatchExpiryPolicy as B, type CheckpointExitDelayPolicy as C, DEFAULT_MIN_BATCH_EXPIRY_SECONDS as D, WalletCannotAllocateAddressError as E, ForeignDescriptorError as F, assertValidBatchExpiry as G, type HDWalletCapable as H, type IncomingFunds as I, assertValidServerUnrollScript as J, KeyringDescriptorProvider as K, defaultBatchExpiryPolicy as L, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD as M, defaultCheckpointExitDelayPolicy as N, isAddressAllocationCapable as O, type ProviderConnectionState as P, isArkError as Q, ReadonlyWallet as R, SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as S, isHDAllocationCapable as T, isHDWalletCapable as U, type VtxoReservation as V, Wallet as W, maybeArkError as X, resolveBatchExpiryPolicy as Y, resolveCheckpointExitDelayPolicy as Z, resolveDescriptorSigner as _, type HDAllocationCapable as a, signingDescriptorIndex as a0, strictSigningDescriptorIndex as a1, waitForIncomingFunds as a2, type ReceiveRotatorFactory as b, type ReceiveRotatorBootOpts as c, type ReceiveRotatorBoot as d, Batch as e, AbortError as f, ArkError as g, ArkErrorName as h, type ArkadeCashClaimResult as i, ArkadeCashCreateError as j, ArkadeCashOperatorMismatchError as k, type ArkadeCashUnclaimedReason as l, type ArkadeCashUnclaimedVtxo as m, type ArkadeCashVtxoRef as n, type BoardingUtxoGroup as o, DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as p, IndexedDBWalletRepository as q, MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as r, type ProviderKind as s, ProviderUnavailableError as t, REGTEST_MIN_BATCH_EXPIRY_SECONDS as u, REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as v, type ServerInfoSource as w, ServerResponseMismatchError as x, VtxoReservedError as y, type WaitForIncomingFundsOptions as z };
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkQCD3SJOL_cjs = require('../../chunk-QCD3SJOL.cjs');
4
- require('../../chunk-B2YMUJD5.cjs');
5
- require('../../chunk-FEBAG2K2.cjs');
6
- require('../../chunk-CFOIHLON.cjs');
7
- require('../../chunk-VVFCCNU2.cjs');
3
+ var chunkHFSC7T5I_cjs = require('../../chunk-HFSC7T5I.cjs');
4
+ require('../../chunk-4BT6HBZQ.cjs');
5
+ require('../../chunk-6BJJ47JM.cjs');
6
+ require('../../chunk-YFQOJTG3.cjs');
7
+ require('../../chunk-FGKBQH5S.cjs');
8
8
 
9
9
  // src/worker/expo/taskQueue.ts
10
10
  var InMemoryTaskQueue = class {
@@ -120,19 +120,19 @@ var AsyncStorageTaskQueue = class {
120
120
 
121
121
  Object.defineProperty(exports, "CONTRACT_POLL_TASK_TYPE", {
122
122
  enumerable: true,
123
- get: function () { return chunkQCD3SJOL_cjs.CONTRACT_POLL_TASK_TYPE; }
123
+ get: function () { return chunkHFSC7T5I_cjs.CONTRACT_POLL_TASK_TYPE; }
124
124
  });
125
125
  Object.defineProperty(exports, "contractPollProcessor", {
126
126
  enumerable: true,
127
- get: function () { return chunkQCD3SJOL_cjs.contractPollProcessor; }
127
+ get: function () { return chunkHFSC7T5I_cjs.contractPollProcessor; }
128
128
  });
129
129
  Object.defineProperty(exports, "createTaskDependencies", {
130
130
  enumerable: true,
131
- get: function () { return chunkQCD3SJOL_cjs.createTaskDependencies; }
131
+ get: function () { return chunkHFSC7T5I_cjs.createTaskDependencies; }
132
132
  });
133
133
  Object.defineProperty(exports, "runTasks", {
134
134
  enumerable: true,
135
- get: function () { return chunkQCD3SJOL_cjs.runTasks; }
135
+ get: function () { return chunkHFSC7T5I_cjs.runTasks; }
136
136
  });
137
137
  exports.AsyncStorageTaskQueue = AsyncStorageTaskQueue;
138
138
  exports.InMemoryTaskQueue = InMemoryTaskQueue;
@@ -1,11 +1,11 @@
1
- import { T as TaskProcessor } from '../../taskRunner-BO8a-SQh.cjs';
2
- export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, b as TaskDependencies, c as TaskItem, a as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-BO8a-SQh.cjs';
3
- export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-CFWscYpG.cjs';
4
- import '../../index-BfvbSL0W.cjs';
5
- import '@scure/btc-signer/utils.js';
6
- import '@scure/btc-signer/psbt.js';
1
+ import { T as TaskProcessor } from '../../taskRunner-D4IF7tc8.cjs';
2
+ export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, b as TaskDependencies, c as TaskItem, a as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-D4IF7tc8.cjs';
3
+ export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-B099Jii3.cjs';
4
+ import '../../ark-CgZYyMpf.cjs';
7
5
  import '@scure/btc-signer';
8
6
  import '@scure/btc-signer/transaction.js';
7
+ import '@scure/btc-signer/utils.js';
8
+ import '@scure/btc-signer/psbt.js';
9
9
 
10
10
  declare const CONTRACT_POLL_TASK_TYPE = "contract-poll";
11
11
  /**
@@ -1,11 +1,11 @@
1
- import { T as TaskProcessor } from '../../taskRunner-CXAcjtdU.js';
2
- export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, b as TaskDependencies, c as TaskItem, a as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-CXAcjtdU.js';
3
- export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-DrFapzPg.js';
4
- import '../../index-BfvbSL0W.js';
5
- import '@scure/btc-signer/utils.js';
6
- import '@scure/btc-signer/psbt.js';
1
+ import { T as TaskProcessor } from '../../taskRunner-DzEg63qV.js';
2
+ export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, b as TaskDependencies, c as TaskItem, a as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-DzEg63qV.js';
3
+ export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-BeQji1Ee.js';
4
+ import '../../ark-CgZYyMpf.js';
7
5
  import '@scure/btc-signer';
8
6
  import '@scure/btc-signer/transaction.js';
7
+ import '@scure/btc-signer/utils.js';
8
+ import '@scure/btc-signer/psbt.js';
9
9
 
10
10
  declare const CONTRACT_POLL_TASK_TYPE = "contract-poll";
11
11
  /**
@@ -1,8 +1,8 @@
1
- export { CONTRACT_POLL_TASK_TYPE, contractPollProcessor, createTaskDependencies, runTasks } from '../../chunk-HPUKFTZV.js';
2
- import '../../chunk-U5ZRDVVB.js';
3
- import '../../chunk-5JQ5EOYE.js';
4
- import '../../chunk-N2VM6V6K.js';
5
- import '../../chunk-HTCIPDVW.js';
1
+ export { CONTRACT_POLL_TASK_TYPE, contractPollProcessor, createTaskDependencies, runTasks } from '../../chunk-BDTASM5W.js';
2
+ import '../../chunk-BIN2DVKS.js';
3
+ import '../../chunk-PHSUZSRH.js';
4
+ import '../../chunk-CR5YHHEM.js';
5
+ import '../../chunk-CG7S6CDR.js';
6
6
 
7
7
  // src/worker/expo/taskQueue.ts
8
8
  var InMemoryTaskQueue = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkade-os/sdk",
3
- "version": "0.5.0-rc.26",
3
+ "version": "0.5.0-rc.28",
4
4
  "description": "TypeScript SDK for building Bitcoin wallets using the Arkade protocol",
5
5
  "repository": {
6
6
  "type": "git",