@arkade-os/sdk 0.4.60 → 0.4.62

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 +5 -5
  2. package/dist/adapters/expo.d.cts +4 -4
  3. package/dist/adapters/expo.d.ts +4 -4
  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/{asyncStorageTaskQueue-CqijAAPG.d.cts → asyncStorageTaskQueue-B53mOTCw.d.cts} +2 -2
  8. package/dist/{asyncStorageTaskQueue-Vsp6uk8e.d.ts → asyncStorageTaskQueue-Df-CTfTE.d.ts} +2 -2
  9. package/dist/{chunk-Y54MUBT7.js → chunk-2IZW6AEK.js} +879 -146
  10. package/dist/chunk-2IZW6AEK.js.map +1 -0
  11. package/dist/{chunk-MZNLCMUP.cjs → chunk-G53HASDV.cjs} +113 -79
  12. package/dist/chunk-G53HASDV.cjs.map +1 -0
  13. package/dist/{chunk-3Q7BBUWO.js → chunk-H2ZAJOQA.js} +4 -4
  14. package/dist/{chunk-3Q7BBUWO.js.map → chunk-H2ZAJOQA.js.map} +1 -1
  15. package/dist/{chunk-PRFL62ID.cjs → chunk-I6EDUE75.cjs} +17 -17
  16. package/dist/{chunk-PRFL62ID.cjs.map → chunk-I6EDUE75.cjs.map} +1 -1
  17. package/dist/{chunk-B66RYHTB.js → chunk-I7RLG6VX.js} +4 -4
  18. package/dist/{chunk-B66RYHTB.js.map → chunk-I7RLG6VX.js.map} +1 -1
  19. package/dist/{chunk-2DINXHGQ.js → chunk-L7S5KC5B.js} +66 -35
  20. package/dist/chunk-L7S5KC5B.js.map +1 -0
  21. package/dist/{chunk-4A4GRSTB.cjs → chunk-OH2XLTXE.cjs} +3 -3
  22. package/dist/{chunk-4A4GRSTB.cjs.map → chunk-OH2XLTXE.cjs.map} +1 -1
  23. package/dist/{chunk-2XLNQHG4.cjs → chunk-PWWA4DBL.cjs} +10 -10
  24. package/dist/{chunk-2XLNQHG4.cjs.map → chunk-PWWA4DBL.cjs.map} +1 -1
  25. package/dist/{chunk-H7JCHFM6.cjs → chunk-QRSR4HV4.cjs} +17 -17
  26. package/dist/{chunk-H7JCHFM6.cjs.map → chunk-QRSR4HV4.cjs.map} +1 -1
  27. package/dist/{chunk-FSKANUV4.js → chunk-RMBI6P4N.js} +3 -3
  28. package/dist/{chunk-FSKANUV4.js.map → chunk-RMBI6P4N.js.map} +1 -1
  29. package/dist/{chunk-JBULXTCC.js → chunk-URT2RVGB.js} +3 -3
  30. package/dist/{chunk-JBULXTCC.js.map → chunk-URT2RVGB.js.map} +1 -1
  31. package/dist/{chunk-KNS5MTTI.cjs → chunk-Z2OZMKFV.cjs} +1272 -523
  32. package/dist/chunk-Z2OZMKFV.cjs.map +1 -0
  33. package/dist/contracts/handlers/index.cjs +9 -9
  34. package/dist/contracts/handlers/index.d.cts +5 -5
  35. package/dist/contracts/handlers/index.d.ts +5 -5
  36. package/dist/contracts/handlers/index.js +2 -2
  37. package/dist/{delegate-DNEuM_nK.d.cts → delegate-BjYJJsml.d.ts} +1 -1
  38. package/dist/{delegate-DidNTsKm.d.ts → delegate-CC1gcvuC.d.cts} +1 -1
  39. package/dist/{index-BP8-zniX.d.cts → index-C888wFEV.d.ts} +102 -102
  40. package/dist/{ark-D2_yNhfz.d.cts → index-CwBr7qzV.d.cts} +3941 -3812
  41. package/dist/{ark-D2_yNhfz.d.ts → index-CwBr7qzV.d.ts} +3941 -3812
  42. package/dist/{index-DzQbNQUG.d.ts → index-Cz5_WaQP.d.cts} +102 -102
  43. package/dist/index.cjs +328 -248
  44. package/dist/index.d.cts +340 -52
  45. package/dist/index.d.ts +340 -52
  46. package/dist/index.js +4 -4
  47. package/dist/repositories/realm/index.cjs +19 -19
  48. package/dist/repositories/realm/index.d.cts +4 -4
  49. package/dist/repositories/realm/index.d.ts +4 -4
  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 +4 -4
  53. package/dist/repositories/sqlite/index.d.ts +4 -4
  54. package/dist/repositories/sqlite/index.js +5 -5
  55. package/dist/{taskRunner-9gnlYEpb.d.ts → taskRunner-BMUndClz.d.cts} +2 -2
  56. package/dist/{taskRunner-BEQNFEa4.d.cts → taskRunner-DZWUsSzA.d.ts} +2 -2
  57. package/dist/wallet/expo/background.cjs +14 -14
  58. package/dist/wallet/expo/background.d.cts +5 -5
  59. package/dist/wallet/expo/background.d.ts +5 -5
  60. package/dist/wallet/expo/background.js +6 -6
  61. package/dist/wallet/expo/index.cjs +36 -16
  62. package/dist/wallet/expo/index.cjs.map +1 -1
  63. package/dist/wallet/expo/index.d.cts +13 -6
  64. package/dist/wallet/expo/index.d.ts +13 -6
  65. package/dist/wallet/expo/index.js +27 -7
  66. package/dist/wallet/expo/index.js.map +1 -1
  67. package/dist/{wallet-ipUA1XCp.d.cts → wallet-Dpjx6CJ7.d.ts} +91 -17
  68. package/dist/{wallet-C_MYHyOj.d.ts → wallet-H3f14est.d.cts} +91 -17
  69. package/dist/worker/expo/index.cjs +9 -9
  70. package/dist/worker/expo/index.d.cts +6 -6
  71. package/dist/worker/expo/index.d.ts +6 -6
  72. package/dist/worker/expo/index.js +5 -5
  73. package/package.json +1 -1
  74. package/dist/chunk-2DINXHGQ.js.map +0 -1
  75. package/dist/chunk-KNS5MTTI.cjs.map +0 -1
  76. package/dist/chunk-MZNLCMUP.cjs.map +0 -1
  77. package/dist/chunk-Y54MUBT7.js.map +0 -1
@@ -1,8 +1,8 @@
1
- import { a as Identity, p as RelativeTimelock, J as Network, K as CSVMultisigTapscript, L as BatchStartedEvent, M as TreeSigningStartedEvent, P as TxTree, Q as TreeNoncesEvent, U as BatchFinalizationEvent, X as BatchFinalizedEvent, Y as BatchFailedEvent, Z as TreeTxEvent, _ as TreeSignatureEvent, i as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, $ as DescriptorProvider, f as IContractManager, a0 as IReadonlyWallet, a1 as ReadonlyIdentity, a2 as OnchainProvider, o as IndexerProvider, a3 as DelegateProvider, a4 as ReadonlyWalletConfig, x as IntentRepository, B as VirtualTxRepository, a5 as ExitCaptureMode, a6 as ExitDataSource, d as ActivityRegistry, a7 as IReadonlyAssetManager, a8 as ContractSyncState, a9 as RecipientAddressContext, n as ArkProvider, aa as NetworkName, ab as ArkInfo, ac as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, ad as ContractWithVtxos, ae as selectPendingRecoveryOutpoints, A as ArkTransaction, e as Activity, E as ExtendedCoin, af as Coin, t as ExtendedVirtualCoin, ag as ContractManager, ah as ContractManagerConfig, I as IWallet, ai as SettlementConfig, j as IAssetManager, aj as VtxoManager, g as IDelegateManager, S as SendBitcoinParams, h as SettleParams, R as Recipient, ak as SignerSession, al as SignedIntent, am as Intent, an as TimeHeight } from './ark-D2_yNhfz.js';
1
+ import { a as Identity, K as DescriptorProvider, q as RelativeTimelock, L as Network, M as CSVMultisigTapscript, P as BatchStartedEvent, Q as TreeSigningStartedEvent, U as TxTree, X as TreeNoncesEvent, Y as BatchFinalizationEvent, Z as BatchFinalizedEvent, _ as BatchFailedEvent, $ as TreeTxEvent, a0 as TreeSignatureEvent, i as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, f as IContractManager, a1 as IReadonlyWallet, a2 as ReadonlyIdentity, a3 as OnchainProvider, p as IndexerProvider, a4 as DelegateProvider, a5 as ReadonlyWalletConfig, y as IntentRepository, D as VirtualTxRepository, a6 as ExitCaptureMode, a7 as ExitDataSource, d as ActivityRegistry, a8 as IReadonlyAssetManager, a9 as ContractSyncState, aa as RecipientAddressContext, o as ArkProvider, ab as NetworkName, ac as ArkInfo, ad as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, ae as ContractWithVtxos, af as selectPendingRecoveryOutpoints, A as ArkTransaction, e as Activity, E as ExtendedCoin, ag as Coin, u as ExtendedVirtualCoin, ah as ContractManager, ai as ContractManagerConfig, I as IWallet, aj as SettlementConfig, k as IAssetManager, ak as VtxoManager, g as IDelegateManager, S as SendBitcoinParams, h as SettleParams, R as Recipient, al as SignerSession, am as SignedIntent, an as Intent, j as SendParams, ao as TimeHeight } from './index-CwBr7qzV.cjs';
2
2
  import { Transaction } from '@scure/btc-signer';
3
3
  import { TransactionOutput } from '@scure/btc-signer/psbt.js';
4
4
  import { Bytes } from '@scure/btc-signer/utils.js';
5
- import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-DidNTsKm.js';
5
+ import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-CC1gcvuC.cjs';
6
6
 
7
7
  /**
8
8
  * Capability a wallet exposes so descriptor-blind consumers — Boltz swaps and
@@ -34,11 +34,47 @@ interface HDWalletCapable {
34
34
  }): Promise<string[]>;
35
35
  /**
36
36
  * An {@link Identity} whose keys and signatures are those of `descriptor`.
37
- * Returns the wallet identity itself when the wallet has no descriptor
38
- * signer.
37
+ * Returns the wallet identity itself when `descriptor` is the identity's
38
+ * own key (a static wallet's descriptor, or an HD wallet's baseline key).
39
+ *
40
+ * Throws {@link ForeignDescriptorError} for a descriptor this wallet
41
+ * cannot sign for. Never silently substitutes another key: an identity
42
+ * handed out for a foreign descriptor signs happily with the wrong key,
43
+ * and that surfaces only as a rejected transaction or a dead script —
44
+ * far from the call that caused it.
45
+ *
46
+ * The returned identity must actually sign — `sign`, `signMessage` and
47
+ * `signerSession`, not just `xOnlyPublicKey`. A watch-only identity
48
+ * carrying the right key is not a signer, and `contractSigner` refuses it
49
+ * as `WalletCannotSignError`: returning one here would otherwise pass
50
+ * every check and throw at push time, after the contract is funded.
39
51
  */
40
52
  signerForDescriptor(descriptor: string): Promise<Identity>;
41
53
  }
54
+ /**
55
+ * Thrown by {@link HDWalletCapable.signerForDescriptor} when the wallet holds
56
+ * no key for the requested descriptor — it belongs to another seed, or to an
57
+ * identity this wallet does not carry. A typed refusal so callers can tell
58
+ * "not my key" from transient signing failures.
59
+ */
60
+ declare class ForeignDescriptorError extends Error {
61
+ readonly descriptor: string;
62
+ readonly name = "ForeignDescriptorError";
63
+ constructor(descriptor: string, options?: {
64
+ cause?: unknown;
65
+ });
66
+ }
67
+ /** Anything that can derive and sign for a descriptor it claims. */
68
+ type DescriptorOwner = Pick<DescriptorProvider, "isOurs" | "signWithDescriptor" | "signMessageWithDescriptor">;
69
+ /**
70
+ * The identity that signs `descriptor`, or {@link ForeignDescriptorError}.
71
+ *
72
+ * Shared by every {@link HDWalletCapable.signerForDescriptor} implementation
73
+ * so they cannot drift: the page-side and worker-side wallets answering
74
+ * differently for one descriptor is a signer that passes a public-key check
75
+ * and then throws on every signature — after the artifact is funded.
76
+ */
77
+ declare function resolveDescriptorSigner(descriptor: string, identity: Identity, provider?: DescriptorOwner): Promise<Identity>;
42
78
  /** Structural type guard for {@link HDWalletCapable}. */
43
79
  declare function isHDWalletCapable(value: unknown): value is HDWalletCapable;
44
80
  /**
@@ -54,21 +90,35 @@ declare function isHDWalletCapable(value: unknown): value is HDWalletCapable;
54
90
  */
55
91
  interface HDAllocationCapable {
56
92
  /**
57
- * Allocate the next descriptor, advancing the watermark. `undefined` for
58
- * static / `auto` wallets, which cannot allocate.
93
+ * The signing descriptor a new artifact (a swap, an invoice, a contract)
94
+ * should bind to. **The wallet decides what that means**: an HD wallet
95
+ * allocates a fresh index, advancing the watermark; a static wallet
96
+ * answers with its one `tr(pubkey)` descriptor every time. Consumers must
97
+ * not probe the wallet's shape or mint key material of their own — they
98
+ * ask, and use what comes back with
99
+ * {@link HDWalletCapable.signerForDescriptor}.
100
+ *
101
+ * `undefined` only for implementations that genuinely cannot answer;
102
+ * `Wallet` always answers. Callers that must work against such wallets
103
+ * fall back to the identity key — never to a random one.
59
104
  *
60
105
  * Distinct from {@link HDWalletCapable.getCurrentSigningDescriptor}, which
61
- * peeks: two artifacts bound to a peek share a key.
106
+ * peeks: on an HD wallet, two artifacts bound to a peek share a key.
107
+ * Whether the returned descriptor is unique per call is a property of the
108
+ * wallet, not of this method — anything deriving per-artifact secrets
109
+ * from the descriptor must check the descriptor's shape, not the wallet's.
62
110
  */
63
111
  getNextSigningDescriptor(): Promise<string | undefined>;
64
112
  /**
65
113
  * Move the allocation watermark to `descriptor`'s index so later
66
114
  * allocations cannot reissue it. Monotonic — a lower index is a no-op.
115
+ * On a static wallet there is no watermark: the wallet's own descriptor
116
+ * is accepted as a no-op.
67
117
  *
68
- * Throws on a descriptor this wallet cannot derive, or one with no
69
- * parseable trailing child index: silently mapping those to index 0 would
70
- * move the watermark nowhere and let a restored artifact's index be handed
71
- * out again.
118
+ * Throws on a descriptor this wallet cannot derive, or an HD descriptor
119
+ * with no parseable trailing child index: silently mapping those to index
120
+ * 0 would move the watermark nowhere and let a restored artifact's index
121
+ * be handed out again.
72
122
  */
73
123
  advanceSigningDescriptorWatermark(descriptor: string): Promise<void>;
74
124
  }
@@ -1449,11 +1499,19 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable
1449
1499
  */
1450
1500
  getCurrentSigningDescriptor(): Promise<string | undefined>;
1451
1501
  /**
1452
- * @see HDWalletCapable.getNextSigningDescriptor
1502
+ * @see HDAllocationCapable.getNextSigningDescriptor
1503
+ *
1504
+ * Every `Wallet` answers — this is where the wallet's key-provisioning
1505
+ * policy lives, so consumers never have to branch on wallet shape:
1506
+ * - HD: allocate a fresh index through the contract manager (which owns
1507
+ * cross-context serialization and the look-ahead band).
1508
+ * - custom provider: whatever the provider allocates.
1509
+ * - static / `auto`: the identity key as a bare `tr(pubkey)` descriptor —
1510
+ * the same answer every call, because that IS the static policy.
1453
1511
  */
1454
1512
  getNextSigningDescriptor(): Promise<string | undefined>;
1455
1513
  /**
1456
- * @see HDWalletCapable.advanceSigningDescriptorWatermark
1514
+ * @see HDAllocationCapable.advanceSigningDescriptorWatermark
1457
1515
  */
1458
1516
  advanceSigningDescriptorWatermark(descriptor: string): Promise<void>;
1459
1517
  /**
@@ -1469,6 +1527,13 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable
1469
1527
  }): Promise<string[]>;
1470
1528
  /**
1471
1529
  * @see HDWalletCapable.signerForDescriptor
1530
+ *
1531
+ * Fail-loud contract: the returned identity is always the descriptor's
1532
+ * own key. A descriptor this wallet cannot sign for throws
1533
+ * {@link ForeignDescriptorError} instead of silently substituting the
1534
+ * baseline identity — that identity would sign happily with the wrong
1535
+ * key, and the failure would only surface as a rejected transaction or a
1536
+ * dead script, far from the call that caused it.
1472
1537
  */
1473
1538
  signerForDescriptor(descriptor: string): Promise<Identity>;
1474
1539
  /**
@@ -1771,10 +1836,13 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable
1771
1836
  /** Sum the outputs of an ark tx PSBT that pay the given scriptPubKey. */
1772
1837
  private arkTxAmountPaidTo;
1773
1838
  /**
1774
- * Send BTC and/or assets to one or more recipients.
1839
+ * Send BTC and/or assets to one or more recipients, passed either as
1840
+ * variadic `Recipient`s or as a single `SendParams` object — the latter
1841
+ * also carries the virtual outputs to spend.
1775
1842
  *
1776
- * @param args - Recipients with their addresses, BTC amounts, and assets
1843
+ * @param args - Recipients, or a `SendParams` object
1777
1844
  * @returns Promise resolving to the Arkade transaction ID
1845
+ * @see SendParams
1778
1846
  *
1779
1847
  * @example
1780
1848
  * ```typescript
@@ -1783,9 +1851,15 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable
1783
1851
  * amount: 1000, // (optional, default to dust) btc amount to send to the output
1784
1852
  * assets: [{ assetId: 'abc123...', amount: 50n }] // (optional) list of assets to send
1785
1853
  * });
1854
+ *
1855
+ * // choosing the inputs as well as the outputs
1856
+ * const txid = await wallet.send({
1857
+ * recipients: [{ address: 'ark1q...', amount: 1000 }],
1858
+ * selectedVtxos: mine, // spent as given, nothing added
1859
+ * });
1786
1860
  * ```
1787
1861
  */
1788
- send(...args: [Recipient, ...Recipient[]]): Promise<string>;
1862
+ send(...args: [SendParams] | [Recipient, ...Recipient[]]): Promise<string>;
1789
1863
  private _sendImpl;
1790
1864
  /**
1791
1865
  * Shared tail of every Ark-transaction spend path (`send`, selected-VTXO
@@ -1845,4 +1919,4 @@ declare function selectVirtualCoins(coins: ExtendedVirtualCoin[], targetAmount:
1845
1919
  */
1846
1920
  declare function waitForIncomingFunds(wallet: Wallet): Promise<IncomingFunds>;
1847
1921
 
1848
- export { ArkError as A, type BatchExpiryPolicy as B, type CheckpointExitDelayPolicy as C, DEFAULT_MIN_BATCH_EXPIRY_SECONDS as D, maybeArkError as E, resolveBatchExpiryPolicy as F, resolveCheckpointExitDelayPolicy as G, type HDWalletCapable as H, type IncomingFunds as I, selectVirtualCoins as J, signingDescriptorIndex as K, strictSigningDescriptorIndex as L, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD as M, waitForIncomingFunds as N, type ProviderConnectionState as P, ReadonlyWallet as R, SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as S, Wallet as W, type ReceiveRotatorFactory as a, type ReceiveRotatorBootOpts as b, type ReceiveRotatorBoot as c, type HDAllocationCapable as d, Batch as e, ArkErrorName as f, type ArkadeCashClaimResult as g, ArkadeCashCreateError as h, type ArkadeCashUnclaimedReason as i, type ArkadeCashUnclaimedVtxo as j, type BoardingUtxoGroup as k, DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as l, MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as m, type ProviderKind as n, ProviderUnavailableError as o, REGTEST_MIN_BATCH_EXPIRY_SECONDS as p, REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as q, type ServerInfoSource as r, ServerResponseMismatchError as s, assertValidBatchExpiry as t, assertValidServerUnrollScript as u, defaultBatchExpiryPolicy as v, defaultCheckpointExitDelayPolicy as w, isArkError as x, isHDAllocationCapable as y, isHDWalletCapable as z };
1922
+ export { ArkError as A, type BatchExpiryPolicy as B, type CheckpointExitDelayPolicy as C, DEFAULT_MIN_BATCH_EXPIRY_SECONDS as D, maybeArkError as E, ForeignDescriptorError as F, resolveBatchExpiryPolicy as G, type HDWalletCapable as H, type IncomingFunds as I, resolveCheckpointExitDelayPolicy as J, resolveDescriptorSigner as K, selectVirtualCoins as L, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD as M, signingDescriptorIndex as N, strictSigningDescriptorIndex as O, type ProviderConnectionState as P, waitForIncomingFunds as Q, ReadonlyWallet as R, SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as S, Wallet as W, type HDAllocationCapable as a, type ReceiveRotatorFactory as b, type ReceiveRotatorBootOpts as c, type ReceiveRotatorBoot as d, Batch as e, ArkErrorName as f, type ArkadeCashClaimResult as g, ArkadeCashCreateError as h, type ArkadeCashUnclaimedReason as i, type ArkadeCashUnclaimedVtxo as j, type BoardingUtxoGroup as k, DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as l, MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as m, type ProviderKind as n, ProviderUnavailableError as o, REGTEST_MIN_BATCH_EXPIRY_SECONDS as p, REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as q, type ServerInfoSource as r, ServerResponseMismatchError as s, assertValidBatchExpiry as t, assertValidServerUnrollScript as u, defaultBatchExpiryPolicy as v, defaultCheckpointExitDelayPolicy as w, isArkError as x, isHDAllocationCapable as y, isHDWalletCapable as z };
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunk2XLNQHG4_cjs = require('../../chunk-2XLNQHG4.cjs');
4
- require('../../chunk-KNS5MTTI.cjs');
5
- require('../../chunk-PRFL62ID.cjs');
6
- require('../../chunk-MZNLCMUP.cjs');
7
- require('../../chunk-4A4GRSTB.cjs');
3
+ var chunkPWWA4DBL_cjs = require('../../chunk-PWWA4DBL.cjs');
4
+ require('../../chunk-Z2OZMKFV.cjs');
5
+ require('../../chunk-I6EDUE75.cjs');
6
+ require('../../chunk-G53HASDV.cjs');
7
+ require('../../chunk-OH2XLTXE.cjs');
8
8
  require('../../chunk-5BLDMQED.cjs');
9
9
 
10
10
  // src/worker/expo/taskQueue.ts
@@ -121,19 +121,19 @@ var AsyncStorageTaskQueue = class {
121
121
 
122
122
  Object.defineProperty(exports, "CONTRACT_POLL_TASK_TYPE", {
123
123
  enumerable: true,
124
- get: function () { return chunk2XLNQHG4_cjs.CONTRACT_POLL_TASK_TYPE; }
124
+ get: function () { return chunkPWWA4DBL_cjs.CONTRACT_POLL_TASK_TYPE; }
125
125
  });
126
126
  Object.defineProperty(exports, "contractPollProcessor", {
127
127
  enumerable: true,
128
- get: function () { return chunk2XLNQHG4_cjs.contractPollProcessor; }
128
+ get: function () { return chunkPWWA4DBL_cjs.contractPollProcessor; }
129
129
  });
130
130
  Object.defineProperty(exports, "createTaskDependencies", {
131
131
  enumerable: true,
132
- get: function () { return chunk2XLNQHG4_cjs.createTaskDependencies; }
132
+ get: function () { return chunkPWWA4DBL_cjs.createTaskDependencies; }
133
133
  });
134
134
  Object.defineProperty(exports, "runTasks", {
135
135
  enumerable: true,
136
- get: function () { return chunk2XLNQHG4_cjs.runTasks; }
136
+ get: function () { return chunkPWWA4DBL_cjs.runTasks; }
137
137
  });
138
138
  exports.AsyncStorageTaskQueue = AsyncStorageTaskQueue;
139
139
  exports.InMemoryTaskQueue = InMemoryTaskQueue;
@@ -1,11 +1,11 @@
1
- import { T as TaskProcessor } from '../../taskRunner-BEQNFEa4.cjs';
2
- export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, a as TaskDependencies, b as TaskItem, c as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-BEQNFEa4.cjs';
3
- export { A as AsyncStorageLike, a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-CqijAAPG.cjs';
4
- import '../../ark-D2_yNhfz.cjs';
5
- import '@scure/btc-signer/transaction.js';
1
+ import { T as TaskProcessor } from '../../taskRunner-BMUndClz.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-BMUndClz.cjs';
3
+ export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-B53mOTCw.cjs';
4
+ import '../../index-CwBr7qzV.cjs';
6
5
  import '@scure/btc-signer/utils.js';
7
- import '@scure/btc-signer/psbt.js';
6
+ import '@scure/btc-signer/transaction.js';
8
7
  import '@scure/btc-signer';
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-9gnlYEpb.js';
2
- export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, a as TaskDependencies, b as TaskItem, c as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-9gnlYEpb.js';
3
- export { A as AsyncStorageLike, a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-Vsp6uk8e.js';
4
- import '../../ark-D2_yNhfz.js';
5
- import '@scure/btc-signer/transaction.js';
1
+ import { T as TaskProcessor } from '../../taskRunner-DZWUsSzA.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-DZWUsSzA.js';
3
+ export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-Df-CTfTE.js';
4
+ import '../../index-CwBr7qzV.js';
6
5
  import '@scure/btc-signer/utils.js';
7
- import '@scure/btc-signer/psbt.js';
6
+ import '@scure/btc-signer/transaction.js';
8
7
  import '@scure/btc-signer';
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-B66RYHTB.js';
2
- import '../../chunk-Y54MUBT7.js';
3
- import '../../chunk-FSKANUV4.js';
4
- import '../../chunk-2DINXHGQ.js';
5
- import '../../chunk-JBULXTCC.js';
1
+ export { CONTRACT_POLL_TASK_TYPE, contractPollProcessor, createTaskDependencies, runTasks } from '../../chunk-I7RLG6VX.js';
2
+ import '../../chunk-2IZW6AEK.js';
3
+ import '../../chunk-RMBI6P4N.js';
4
+ import '../../chunk-L7S5KC5B.js';
5
+ import '../../chunk-URT2RVGB.js';
6
6
  import '../../chunk-NSBPE2FW.js';
7
7
 
8
8
  // src/worker/expo/taskQueue.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkade-os/sdk",
3
- "version": "0.4.60",
3
+ "version": "0.4.62",
4
4
  "description": "TypeScript SDK for building Bitcoin wallets using the Arkade protocol",
5
5
  "repository": {
6
6
  "type": "git",