@arkade-os/sdk 0.4.35 → 0.4.37

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 (47) hide show
  1. package/dist/adapters/expo.cjs +4 -4
  2. package/dist/adapters/expo.js +2 -2
  3. package/dist/adapters/indexedDB.cjs +3 -3
  4. package/dist/adapters/indexedDB.js +2 -2
  5. package/dist/{asyncStorageTaskQueue-CpC027t_.d.cts → asyncStorageTaskQueue-BhBGByYL.d.cts} +2 -2
  6. package/dist/{asyncStorageTaskQueue-GT8fmPUG.d.ts → asyncStorageTaskQueue-Da-ZSm36.d.ts} +2 -2
  7. package/dist/{chunk-OURFR4UR.js → chunk-HRD64JRO.js} +3 -3
  8. package/dist/{chunk-OURFR4UR.js.map → chunk-HRD64JRO.js.map} +1 -1
  9. package/dist/{chunk-NOR7XOKN.js → chunk-IW3PO5S5.js} +6 -7
  10. package/dist/chunk-IW3PO5S5.js.map +1 -0
  11. package/dist/{chunk-H2LX2KKY.cjs → chunk-MIYDTURH.cjs} +81 -82
  12. package/dist/chunk-MIYDTURH.cjs.map +1 -0
  13. package/dist/{chunk-X2EQLK4O.cjs → chunk-SPRQOO5F.cjs} +21 -21
  14. package/dist/{chunk-X2EQLK4O.cjs.map → chunk-SPRQOO5F.cjs.map} +1 -1
  15. package/dist/{chunk-3JR77WQ4.js → chunk-T5KOXHPT.js} +21 -21
  16. package/dist/{chunk-3JR77WQ4.js.map → chunk-T5KOXHPT.js.map} +1 -1
  17. package/dist/{chunk-XQS2HW4Q.js → chunk-VE5PDCGK.js} +3 -3
  18. package/dist/{chunk-XQS2HW4Q.js.map → chunk-VE5PDCGK.js.map} +1 -1
  19. package/dist/{chunk-VYS3KGRI.cjs → chunk-XTA64TQF.cjs} +11 -11
  20. package/dist/{chunk-VYS3KGRI.cjs.map → chunk-XTA64TQF.cjs.map} +1 -1
  21. package/dist/{chunk-FM7T7JVL.cjs → chunk-YFEN24OW.cjs} +7 -7
  22. package/dist/{chunk-FM7T7JVL.cjs.map → chunk-YFEN24OW.cjs.map} +1 -1
  23. package/dist/index.cjs +119 -111
  24. package/dist/index.d.cts +17 -4
  25. package/dist/index.d.ts +17 -4
  26. package/dist/index.js +2 -2
  27. package/dist/repositories/realm/index.cjs +11 -11
  28. package/dist/repositories/realm/index.js +2 -2
  29. package/dist/repositories/sqlite/index.cjs +11 -11
  30. package/dist/repositories/sqlite/index.js +2 -2
  31. package/dist/{taskRunner-DCyp6Gea.d.cts → taskRunner-D7ytRcrz.d.cts} +1 -1
  32. package/dist/{taskRunner-DnxtObeq.d.ts → taskRunner-Dh1DKYD4.d.ts} +1 -1
  33. package/dist/wallet/expo/background.cjs +12 -12
  34. package/dist/wallet/expo/background.d.cts +2 -2
  35. package/dist/wallet/expo/background.d.ts +2 -2
  36. package/dist/wallet/expo/background.js +4 -4
  37. package/dist/wallet/expo/index.cjs +11 -11
  38. package/dist/wallet/expo/index.d.cts +1 -1
  39. package/dist/wallet/expo/index.d.ts +1 -1
  40. package/dist/wallet/expo/index.js +3 -3
  41. package/dist/worker/expo/index.cjs +7 -7
  42. package/dist/worker/expo/index.d.cts +3 -3
  43. package/dist/worker/expo/index.d.ts +3 -3
  44. package/dist/worker/expo/index.js +3 -3
  45. package/package.json +1 -1
  46. package/dist/chunk-H2LX2KKY.cjs.map +0 -1
  47. package/dist/chunk-NOR7XOKN.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -717,9 +717,12 @@ declare class Estimator {
717
717
  }
718
718
 
719
719
  /**
720
- * Thrown when a rotated contract (default, delegate, or boarding) is missing
721
- * the metadata.signingDescriptor required to route it to a descriptor-aware
722
- * signer.
720
+ * Thrown when a descriptor-capable contract (default, delegate, or boarding)
721
+ * cannot be routed to any signer: its owner key (`params.pubKey`) is not this
722
+ * wallet's baseline signing key, and the record carries no
723
+ * `metadata.signingDescriptor` to send it to a descriptor-aware signer.
724
+ *
725
+ * Note that this can arise also when a contract belongs to a different identity (storage reuse).
723
726
  */
724
727
  declare class MissingSigningDescriptorError extends Error {
725
728
  readonly contractScript: string;
@@ -3502,6 +3505,16 @@ declare function timelockToSequence(timelock: RelativeTimelock): number;
3502
3505
  */
3503
3506
  declare function sequenceToTimelock(sequence: number): RelativeTimelock;
3504
3507
 
3508
+ declare const buildVersion = "0.9.9";
3509
+ /**
3510
+ * The SDK's own version string, sent to arkd as `X-SDK-VERSION` so the operator
3511
+ * can distinguish client builds. Formatted `ts-sdk/{version}` to namespace it by
3512
+ * client. The version is sourced from package.json so it stays in sync with every
3513
+ * release bump — unlike {@link buildVersion}, which tracks arkd's compatibility
3514
+ * guard rather than this package's version.
3515
+ */
3516
+ declare const sdkVersion: string;
3517
+
3505
3518
  /**
3506
3519
  * Opens an IndexedDB database and increments the reference count.
3507
3520
  * Handles global object detection and callbacks.
@@ -3600,4 +3613,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
3600
3613
  burn(params: BurnParams): Promise<string>;
3601
3614
  }
3602
3615
 
3603
- export { type AnchorBumper, ArkError, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, AssetDetails, AssetManager, BIP322, BurnParams, CSVMultisigTapscript, ChainTx, Coin, ConditionWitness, Contract, ContractEvent, ContractRepository, ContractRepositoryImpl, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DelegateInfo, DelegateNotConfiguredError, DelegatorNotConfiguredError, type DescriptorOptions, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, EncodedVtxoScript, Estimator, ExplorerTransaction, ExtendedCoin, ExtendedVirtualCoin, FeeAmount, FeeInfo, FeeOutput, GetVtxosFilter, HDDescriptorProvider, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBWalletRepository, IndexerProvider, IntentFeeConfig, IssuanceParams, IssuanceResult, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, MessageBus, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, type MigrationStatus, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, OffchainInput, type OffchainTx, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, P2A, type ParsedArkContract, PathContext, PathSelection, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignerSession, SignerStatus, SingleKey, Status, StorageConfig, TapLeafScript, Transaction, TxTree, TxWeightEstimator, Unroll, type VSize, VirtualCoin, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletMessageHandler, WalletNotInitializedError, WalletRepository, WalletRepositoryImpl, WsElectrumChainSource, assembleBtcdTaprootTree, index as asset, buildForfeitTx, buildOffchainTx, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, decodeArkContract, encodeArkContract, getArkPsbtFields, getMigrationStatus, getRandomId, hasBoardingTxExpired, isArkContract, isCltvSatisfied, isCsvSpendable, isValidArkAddress, maybeArkError, migrateWalletRepository, openDatabase, requiresMigration, rollbackMigration, sequenceToTimelock, setArkPsbtField, setupServiceWorker, timelockToSequence, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures };
3616
+ export { type AnchorBumper, ArkError, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, AssetDetails, AssetManager, BIP322, BurnParams, CSVMultisigTapscript, ChainTx, Coin, ConditionWitness, Contract, ContractEvent, ContractRepository, ContractRepositoryImpl, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DelegateInfo, DelegateNotConfiguredError, DelegatorNotConfiguredError, type DescriptorOptions, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, EncodedVtxoScript, Estimator, ExplorerTransaction, ExtendedCoin, ExtendedVirtualCoin, FeeAmount, FeeInfo, FeeOutput, GetVtxosFilter, HDDescriptorProvider, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBWalletRepository, IndexerProvider, IntentFeeConfig, IssuanceParams, IssuanceResult, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, MessageBus, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, type MigrationStatus, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, OffchainInput, type OffchainTx, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, P2A, type ParsedArkContract, PathContext, PathSelection, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignerSession, SignerStatus, SingleKey, Status, StorageConfig, TapLeafScript, Transaction, TxTree, TxWeightEstimator, Unroll, type VSize, VirtualCoin, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletMessageHandler, WalletNotInitializedError, WalletRepository, WalletRepositoryImpl, WsElectrumChainSource, assembleBtcdTaprootTree, index as asset, buildForfeitTx, buildOffchainTx, buildVersion, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, decodeArkContract, encodeArkContract, getArkPsbtFields, getMigrationStatus, getRandomId, hasBoardingTxExpired, isArkContract, isCltvSatisfied, isCsvSpendable, isValidArkAddress, maybeArkError, migrateWalletRepository, openDatabase, requiresMigration, rollbackMigration, sdkVersion, sequenceToTimelock, setArkPsbtField, setupServiceWorker, timelockToSequence, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { ArkNote, AssetManager, BIP322, Batch, ContractManager, ContractRepositoryImpl, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DelegateManagerImpl, DelegateNotConfiguredError, DelegatorManagerImpl, DelegatorNotConfiguredError, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EsploraProvider, Estimator, HDDescriptorProvider, InMemoryContractRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBWalletRepository, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, MessageBus, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainWallet, P2A, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestDelegatorProvider, SeedIdentity, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, TxTree, TxType, TxWeightEstimator, Unroll, VtxoManager, Wallet, WalletMessageHandler, WalletNotInitializedError, WalletRepositoryImpl, WsElectrumChainSource, buildForfeitTx, buildOffchainTx, classifyAgainstSignerSet, classifyContractSigner, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, decodeArkContract, encodeArkContract, getMigrationStatus, getRandomId, hasBoardingTxExpired, isArkContract, isBatchSignable, isCooperativelyMigratable, isDiscoverable, isExpired, isRecoverable, isSpendable, isSubdust, isValidArkAddress, isVtxoExpiringSoon, migrateWalletRepository, openDatabase, requiresMigration, rollbackMigration, setupServiceWorker, signerSetFromInfo, toXOnlySignerHex, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds } from './chunk-NOR7XOKN.js';
2
- export { ArkError, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ChainTxType, ConditionWitness, CosignerPublicKey, DigestMismatchError, IndexerTxType, Intent, RestArkProvider, RestIndexerProvider, SettlementEventType, Transaction, VtxoTaprootTree, VtxoTreeExpiry, asset_exports as asset, getArkPsbtFields, maybeArkError, setArkPsbtField } from './chunk-3JR77WQ4.js';
1
+ export { ArkNote, AssetManager, BIP322, Batch, ContractManager, ContractRepositoryImpl, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DelegateManagerImpl, DelegateNotConfiguredError, DelegatorManagerImpl, DelegatorNotConfiguredError, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EsploraProvider, Estimator, HDDescriptorProvider, InMemoryContractRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBWalletRepository, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, MessageBus, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainWallet, P2A, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestDelegatorProvider, SeedIdentity, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, TxTree, TxType, TxWeightEstimator, Unroll, VtxoManager, Wallet, WalletMessageHandler, WalletNotInitializedError, WalletRepositoryImpl, WsElectrumChainSource, buildForfeitTx, buildOffchainTx, classifyAgainstSignerSet, classifyContractSigner, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, decodeArkContract, encodeArkContract, getMigrationStatus, getRandomId, hasBoardingTxExpired, isArkContract, isBatchSignable, isCooperativelyMigratable, isDiscoverable, isExpired, isRecoverable, isSpendable, isSubdust, isValidArkAddress, isVtxoExpiringSoon, migrateWalletRepository, openDatabase, requiresMigration, rollbackMigration, setupServiceWorker, signerSetFromInfo, toXOnlySignerHex, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds } from './chunk-IW3PO5S5.js';
2
+ export { ArkError, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ChainTxType, ConditionWitness, CosignerPublicKey, DigestMismatchError, IndexerTxType, Intent, RestArkProvider, RestIndexerProvider, SettlementEventType, Transaction, VtxoTaprootTree, VtxoTreeExpiry, asset_exports as asset, buildVersion, getArkPsbtFields, maybeArkError, sdkVersion, setArkPsbtField } from './chunk-T5KOXHPT.js';
3
3
  export { BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, VHTLC, VHTLCContractHandler, contractHandlers, isCltvSatisfied, isCsvSpendable } from './chunk-CUSABEUQ.js';
4
4
  export { ArkAddress, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, MultisigTapscript, TapTreeCoder, VtxoScript, assembleBtcdTaprootTree, decodeTapscript, getSequence, networks, sequenceToTimelock, timelockToSequence } from './chunk-OUVTG72A.js';
5
5
  import './chunk-NSBPE2FW.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkH2LX2KKY_cjs = require('../../chunk-H2LX2KKY.cjs');
4
- require('../../chunk-X2EQLK4O.cjs');
3
+ var chunkMIYDTURH_cjs = require('../../chunk-MIYDTURH.cjs');
4
+ require('../../chunk-SPRQOO5F.cjs');
5
5
  require('../../chunk-GUTKJMSF.cjs');
6
6
  require('../../chunk-CMPJR3HS.cjs');
7
7
  require('../../chunk-5BLDMQED.cjs');
@@ -37,7 +37,7 @@ var RealmWalletRepository = class {
37
37
  await this.ensureInit();
38
38
  this.realm.write(() => {
39
39
  for (const vtxo of vtxos) {
40
- const s = chunkH2LX2KKY_cjs.serializeVtxo(vtxo);
40
+ const s = chunkMIYDTURH_cjs.serializeVtxo(vtxo);
41
41
  this.realm.create(
42
42
  "ArkVtxo",
43
43
  {
@@ -85,7 +85,7 @@ var RealmWalletRepository = class {
85
85
  throw new Error("RealmWalletRepository requires an address");
86
86
  }
87
87
  for (const vtxo of vtxos) {
88
- if (!chunkH2LX2KKY_cjs.isVtxoForScript(vtxo, key.script)) {
88
+ if (!chunkMIYDTURH_cjs.isVtxoForScript(vtxo, key.script)) {
89
89
  throw new Error(
90
90
  `VTXO ${vtxo.txid}:${vtxo.vout} script mismatch: expected ${key.script}, got ${vtxo.script}`
91
91
  );
@@ -110,7 +110,7 @@ var RealmWalletRepository = class {
110
110
  await this.ensureInit();
111
111
  this.realm.write(() => {
112
112
  for (const utxo of utxos) {
113
- const s = chunkH2LX2KKY_cjs.serializeUtxo(utxo);
113
+ const s = chunkMIYDTURH_cjs.serializeUtxo(utxo);
114
114
  this.realm.create(
115
115
  "ArkUtxo",
116
116
  {
@@ -163,7 +163,7 @@ var RealmWalletRepository = class {
163
163
  amount: tx.amount,
164
164
  settled: tx.settled,
165
165
  createdAt: tx.createdAt,
166
- assetsJson: tx.assets ? JSON.stringify(chunkH2LX2KKY_cjs.serializeAssets(tx.assets)) : null
166
+ assetsJson: tx.assets ? JSON.stringify(chunkMIYDTURH_cjs.serializeAssets(tx.assets)) : null
167
167
  },
168
168
  "modified"
169
169
  );
@@ -233,9 +233,9 @@ function vtxoObjectToDomain(obj) {
233
233
  // Post-migration every row has `script`, but the backfill is
234
234
  // idempotent: derive from `address` if the legacy column is still
235
235
  // null (e.g. the migration hasn't run yet on this handle).
236
- script: obj.script ?? chunkH2LX2KKY_cjs.scriptFromArkAddress(obj.address)
236
+ script: obj.script ?? chunkMIYDTURH_cjs.scriptFromArkAddress(obj.address)
237
237
  };
238
- return chunkH2LX2KKY_cjs.deserializeVtxo(serialized);
238
+ return chunkMIYDTURH_cjs.deserializeVtxo(serialized);
239
239
  }
240
240
  function utxoObjectToDomain(obj) {
241
241
  const serialized = {
@@ -254,7 +254,7 @@ function utxoObjectToDomain(obj) {
254
254
  status: JSON.parse(obj.statusJson),
255
255
  extraWitness: obj.extraWitnessJson ? JSON.parse(obj.extraWitnessJson) : void 0
256
256
  };
257
- return chunkH2LX2KKY_cjs.deserializeUtxo(serialized);
257
+ return chunkMIYDTURH_cjs.deserializeUtxo(serialized);
258
258
  }
259
259
  function txObjectToDomain(obj) {
260
260
  const tx = {
@@ -269,7 +269,7 @@ function txObjectToDomain(obj) {
269
269
  createdAt: obj.createdAt
270
270
  };
271
271
  if (obj.assetsJson) {
272
- tx.assets = chunkH2LX2KKY_cjs.deserializeAssets(JSON.parse(obj.assetsJson));
272
+ tx.assets = chunkMIYDTURH_cjs.deserializeAssets(JSON.parse(obj.assetsJson));
273
273
  }
274
274
  return tx;
275
275
  }
@@ -499,7 +499,7 @@ function runArkRealmMigrations(_oldRealm, newRealm) {
499
499
  for (let i = 0; i < newVtxos.length; i++) {
500
500
  const newVtxo = newVtxos[i];
501
501
  if (!newVtxo.script) {
502
- newVtxo.script = chunkH2LX2KKY_cjs.scriptFromArkAddress(newVtxo.address);
502
+ newVtxo.script = chunkMIYDTURH_cjs.scriptFromArkAddress(newVtxo.address);
503
503
  }
504
504
  }
505
505
  }
@@ -1,5 +1,5 @@
1
- import { serializeVtxo, isVtxoForScript, serializeUtxo, serializeAssets, scriptFromArkAddress, deserializeVtxo, deserializeUtxo, deserializeAssets } from '../../chunk-NOR7XOKN.js';
2
- import '../../chunk-3JR77WQ4.js';
1
+ import { serializeVtxo, isVtxoForScript, serializeUtxo, serializeAssets, scriptFromArkAddress, deserializeVtxo, deserializeUtxo, deserializeAssets } from '../../chunk-IW3PO5S5.js';
2
+ import '../../chunk-T5KOXHPT.js';
3
3
  import '../../chunk-CUSABEUQ.js';
4
4
  import '../../chunk-OUVTG72A.js';
5
5
  import '../../chunk-NSBPE2FW.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkH2LX2KKY_cjs = require('../../chunk-H2LX2KKY.cjs');
4
- require('../../chunk-X2EQLK4O.cjs');
3
+ var chunkMIYDTURH_cjs = require('../../chunk-MIYDTURH.cjs');
4
+ require('../../chunk-SPRQOO5F.cjs');
5
5
  require('../../chunk-GUTKJMSF.cjs');
6
6
  require('../../chunk-CMPJR3HS.cjs');
7
7
  require('../../chunk-5BLDMQED.cjs');
@@ -126,7 +126,7 @@ var SQLiteWalletRepository = class {
126
126
  for (const row of nullRows) {
127
127
  await this.db.run(
128
128
  `UPDATE ${this.tables.vtxos} SET script = ? WHERE txid = ? AND vout = ?`,
129
- [chunkH2LX2KKY_cjs.scriptFromArkAddress(row.address), row.txid, row.vout]
129
+ [chunkMIYDTURH_cjs.scriptFromArkAddress(row.address), row.txid, row.vout]
130
130
  );
131
131
  }
132
132
  const tempName = `${this.tables.vtxos}__migrate_tmp`;
@@ -204,7 +204,7 @@ var SQLiteWalletRepository = class {
204
204
  async saveVtxos(address, vtxos) {
205
205
  await this.ensureInit();
206
206
  for (const vtxo of vtxos) {
207
- const s = chunkH2LX2KKY_cjs.serializeVtxo(vtxo);
207
+ const s = chunkMIYDTURH_cjs.serializeVtxo(vtxo);
208
208
  await this.db.run(
209
209
  `INSERT OR REPLACE INTO ${this.tables.vtxos}
210
210
  (txid, vout, value, address,
@@ -259,7 +259,7 @@ var SQLiteWalletRepository = class {
259
259
  throw new Error("SQLiteWalletRepository requires an address");
260
260
  }
261
261
  for (const vtxo of vtxos) {
262
- if (!chunkH2LX2KKY_cjs.isVtxoForScript(vtxo, key.script)) {
262
+ if (!chunkMIYDTURH_cjs.isVtxoForScript(vtxo, key.script)) {
263
263
  throw new Error(
264
264
  `VTXO ${vtxo.txid}:${vtxo.vout} script mismatch: expected ${key.script}, got ${vtxo.script}`
265
265
  );
@@ -283,7 +283,7 @@ var SQLiteWalletRepository = class {
283
283
  async saveUtxos(address, utxos) {
284
284
  await this.ensureInit();
285
285
  for (const utxo of utxos) {
286
- const s = chunkH2LX2KKY_cjs.serializeUtxo(utxo);
286
+ const s = chunkMIYDTURH_cjs.serializeUtxo(utxo);
287
287
  await this.db.run(
288
288
  `INSERT OR REPLACE INTO ${this.tables.utxos}
289
289
  (txid, vout, value, address,
@@ -339,7 +339,7 @@ var SQLiteWalletRepository = class {
339
339
  tx.amount,
340
340
  tx.settled ? 1 : 0,
341
341
  tx.createdAt,
342
- tx.assets ? JSON.stringify(chunkH2LX2KKY_cjs.serializeAssets(tx.assets)) : null
342
+ tx.assets ? JSON.stringify(chunkMIYDTURH_cjs.serializeAssets(tx.assets)) : null
343
343
  ]
344
344
  );
345
345
  }
@@ -413,9 +413,9 @@ function vtxoRowToDomain(row) {
413
413
  // Post-migration every row has `script`, but the backfill is
414
414
  // idempotent: derive from `address` if the legacy column is still
415
415
  // null (e.g. the migration hasn't run yet on this handle).
416
- script: row.script ?? chunkH2LX2KKY_cjs.scriptFromArkAddress(row.address)
416
+ script: row.script ?? chunkMIYDTURH_cjs.scriptFromArkAddress(row.address)
417
417
  };
418
- return chunkH2LX2KKY_cjs.deserializeVtxo(serialized);
418
+ return chunkMIYDTURH_cjs.deserializeVtxo(serialized);
419
419
  }
420
420
  function utxoRowToDomain(row) {
421
421
  const serialized = {
@@ -434,7 +434,7 @@ function utxoRowToDomain(row) {
434
434
  status: JSON.parse(row.status_json),
435
435
  extraWitness: row.extra_witness_json ? JSON.parse(row.extra_witness_json) : void 0
436
436
  };
437
- return chunkH2LX2KKY_cjs.deserializeUtxo(serialized);
437
+ return chunkMIYDTURH_cjs.deserializeUtxo(serialized);
438
438
  }
439
439
  function txRowToDomain(row) {
440
440
  const tx = {
@@ -449,7 +449,7 @@ function txRowToDomain(row) {
449
449
  createdAt: row.created_at
450
450
  };
451
451
  if (row.assets_json) {
452
- tx.assets = chunkH2LX2KKY_cjs.deserializeAssets(JSON.parse(row.assets_json));
452
+ tx.assets = chunkMIYDTURH_cjs.deserializeAssets(JSON.parse(row.assets_json));
453
453
  }
454
454
  return tx;
455
455
  }
@@ -1,5 +1,5 @@
1
- import { scriptFromArkAddress, serializeVtxo, isVtxoForScript, serializeUtxo, serializeAssets, deserializeVtxo, deserializeUtxo, deserializeAssets } from '../../chunk-NOR7XOKN.js';
2
- import '../../chunk-3JR77WQ4.js';
1
+ import { scriptFromArkAddress, serializeVtxo, isVtxoForScript, serializeUtxo, serializeAssets, deserializeVtxo, deserializeUtxo, deserializeAssets } from '../../chunk-IW3PO5S5.js';
2
+ import '../../chunk-T5KOXHPT.js';
3
3
  import '../../chunk-CUSABEUQ.js';
4
4
  import '../../chunk-OUVTG72A.js';
5
5
  import '../../chunk-NSBPE2FW.js';
@@ -111,4 +111,4 @@ interface CreateTaskDependenciesOptions {
111
111
  */
112
112
  declare function createTaskDependencies(options: CreateTaskDependenciesOptions): TaskDependencies;
113
113
 
114
- export { type CreateTaskDependenciesOptions as C, InMemoryTaskQueue as I, type TaskProcessor as T, type TaskDependencies as a, type TaskItem as b, type TaskQueue as c, type TaskResult as d, createTaskDependencies as e, runTasks as r };
114
+ export { type CreateTaskDependenciesOptions as C, InMemoryTaskQueue as I, type TaskProcessor as T, type TaskQueue as a, type TaskDependencies as b, type TaskItem as c, type TaskResult as d, createTaskDependencies as e, runTasks as r };
@@ -111,4 +111,4 @@ interface CreateTaskDependenciesOptions {
111
111
  */
112
112
  declare function createTaskDependencies(options: CreateTaskDependenciesOptions): TaskDependencies;
113
113
 
114
- export { type CreateTaskDependenciesOptions as C, InMemoryTaskQueue as I, type TaskProcessor as T, type TaskDependencies as a, type TaskItem as b, type TaskQueue as c, type TaskResult as d, createTaskDependencies as e, runTasks as r };
114
+ export { type CreateTaskDependenciesOptions as C, InMemoryTaskQueue as I, type TaskProcessor as T, type TaskQueue as a, type TaskDependencies as b, type TaskItem as c, type TaskResult as d, createTaskDependencies as e, runTasks as r };
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkFM7T7JVL_cjs = require('../../chunk-FM7T7JVL.cjs');
4
- var chunkVYS3KGRI_cjs = require('../../chunk-VYS3KGRI.cjs');
5
- var chunkH2LX2KKY_cjs = require('../../chunk-H2LX2KKY.cjs');
6
- require('../../chunk-X2EQLK4O.cjs');
3
+ var chunkYFEN24OW_cjs = require('../../chunk-YFEN24OW.cjs');
4
+ var chunkXTA64TQF_cjs = require('../../chunk-XTA64TQF.cjs');
5
+ var chunkMIYDTURH_cjs = require('../../chunk-MIYDTURH.cjs');
6
+ require('../../chunk-SPRQOO5F.cjs');
7
7
  require('../../chunk-GUTKJMSF.cjs');
8
8
  require('../../chunk-CMPJR3HS.cjs');
9
9
  require('../../chunk-5BLDMQED.cjs');
@@ -36,7 +36,7 @@ function defineExpoBackgroundTask(taskName, options) {
36
36
  taskQueue,
37
37
  walletRepository,
38
38
  contractRepository,
39
- processors = [chunkFM7T7JVL_cjs.contractPollProcessor]
39
+ processors = [chunkYFEN24OW_cjs.contractPollProcessor]
40
40
  } = options;
41
41
  TaskManager__namespace.defineTask(taskName, async () => {
42
42
  try {
@@ -44,24 +44,24 @@ function defineExpoBackgroundTask(taskName, options) {
44
44
  if (!config) {
45
45
  return BackgroundTask__namespace.BackgroundTaskResult.Success;
46
46
  }
47
- const indexerProvider = new chunkVYS3KGRI_cjs.ExpoIndexerProvider(config.arkServerUrl);
48
- const arkProvider = new chunkVYS3KGRI_cjs.ExpoArkProvider(config.arkServerUrl);
49
- const deps = chunkFM7T7JVL_cjs.createTaskDependencies({
47
+ const indexerProvider = new chunkXTA64TQF_cjs.ExpoIndexerProvider(config.arkServerUrl);
48
+ const arkProvider = new chunkXTA64TQF_cjs.ExpoArkProvider(config.arkServerUrl);
49
+ const deps = chunkYFEN24OW_cjs.createTaskDependencies({
50
50
  walletRepository,
51
51
  contractRepository,
52
52
  indexerProvider,
53
53
  arkProvider
54
54
  });
55
- await chunkFM7T7JVL_cjs.runTasks(taskQueue, processors, deps);
55
+ await chunkYFEN24OW_cjs.runTasks(taskQueue, processors, deps);
56
56
  const results = await taskQueue.getResults();
57
57
  if (results.length > 0) {
58
58
  await taskQueue.acknowledgeResults(results.map((r) => r.id));
59
59
  }
60
- const existing = await taskQueue.getTasks(chunkFM7T7JVL_cjs.CONTRACT_POLL_TASK_TYPE);
60
+ const existing = await taskQueue.getTasks(chunkYFEN24OW_cjs.CONTRACT_POLL_TASK_TYPE);
61
61
  if (existing.length === 0) {
62
62
  const task = {
63
- id: chunkH2LX2KKY_cjs.getRandomId(),
64
- type: chunkFM7T7JVL_cjs.CONTRACT_POLL_TASK_TYPE,
63
+ id: chunkMIYDTURH_cjs.getRandomId(),
64
+ type: chunkYFEN24OW_cjs.CONTRACT_POLL_TASK_TYPE,
65
65
  data: {},
66
66
  createdAt: Date.now()
67
67
  };
@@ -1,6 +1,6 @@
1
1
  import { W as WalletRepository, C as ContractRepository } from '../../ark-D6sau_6-.cjs';
2
- import { a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-CpC027t_.cjs';
3
- import { T as TaskProcessor } from '../../taskRunner-DCyp6Gea.cjs';
2
+ import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-BhBGByYL.cjs';
3
+ import { T as TaskProcessor } from '../../taskRunner-D7ytRcrz.cjs';
4
4
  import '@scure/btc-signer/transaction.js';
5
5
  import '@scure/btc-signer/utils.js';
6
6
  import '@scure/btc-signer/psbt.js';
@@ -1,6 +1,6 @@
1
1
  import { W as WalletRepository, C as ContractRepository } from '../../ark-D6sau_6-.js';
2
- import { a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-GT8fmPUG.js';
3
- import { T as TaskProcessor } from '../../taskRunner-DnxtObeq.js';
2
+ import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-Da-ZSm36.js';
3
+ import { T as TaskProcessor } from '../../taskRunner-Dh1DKYD4.js';
4
4
  import '@scure/btc-signer/transaction.js';
5
5
  import '@scure/btc-signer/utils.js';
6
6
  import '@scure/btc-signer/psbt.js';
@@ -1,7 +1,7 @@
1
- import { contractPollProcessor, createTaskDependencies, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-OURFR4UR.js';
2
- import { ExpoIndexerProvider, ExpoArkProvider } from '../../chunk-XQS2HW4Q.js';
3
- import { getRandomId } from '../../chunk-NOR7XOKN.js';
4
- import '../../chunk-3JR77WQ4.js';
1
+ import { contractPollProcessor, createTaskDependencies, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-HRD64JRO.js';
2
+ import { ExpoIndexerProvider, ExpoArkProvider } from '../../chunk-VE5PDCGK.js';
3
+ import { getRandomId } from '../../chunk-IW3PO5S5.js';
4
+ import '../../chunk-T5KOXHPT.js';
5
5
  import '../../chunk-CUSABEUQ.js';
6
6
  import '../../chunk-OUVTG72A.js';
7
7
  import '../../chunk-NSBPE2FW.js';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkFM7T7JVL_cjs = require('../../chunk-FM7T7JVL.cjs');
4
- var chunkH2LX2KKY_cjs = require('../../chunk-H2LX2KKY.cjs');
5
- var chunkX2EQLK4O_cjs = require('../../chunk-X2EQLK4O.cjs');
3
+ var chunkYFEN24OW_cjs = require('../../chunk-YFEN24OW.cjs');
4
+ var chunkMIYDTURH_cjs = require('../../chunk-MIYDTURH.cjs');
5
+ var chunkSPRQOO5F_cjs = require('../../chunk-SPRQOO5F.cjs');
6
6
  require('../../chunk-GUTKJMSF.cjs');
7
7
  require('../../chunk-CMPJR3HS.cjs');
8
8
  require('../../chunk-5BLDMQED.cjs');
@@ -52,18 +52,18 @@ var ExpoWallet = class _ExpoWallet {
52
52
  */
53
53
  static async setup(config) {
54
54
  warnOnRemovedBackgroundFields(config.background);
55
- const wallet = await chunkH2LX2KKY_cjs.Wallet.create(config);
56
- const processors = config.background.processors ?? [chunkFM7T7JVL_cjs.contractPollProcessor];
55
+ const wallet = await chunkMIYDTURH_cjs.Wallet.create(config);
56
+ const processors = config.background.processors ?? [chunkYFEN24OW_cjs.contractPollProcessor];
57
57
  const deps = {
58
58
  walletRepository: wallet.walletRepository,
59
59
  contractRepository: wallet.contractRepository,
60
60
  indexerProvider: wallet.indexerProvider,
61
61
  arkProvider: wallet.arkProvider,
62
- extendVtxo: (vtxo, contract) => chunkH2LX2KKY_cjs.extendVirtualCoinForContract(vtxo, contract)
62
+ extendVtxo: (vtxo, contract) => chunkMIYDTURH_cjs.extendVirtualCoinForContract(vtxo, contract)
63
63
  };
64
64
  const { taskQueue } = config.background;
65
65
  if ("persistConfig" in taskQueue) {
66
- const arkServerUrl = config.arkServerUrl || (wallet.arkProvider instanceof chunkX2EQLK4O_cjs.RestArkProvider ? wallet.arkProvider.serverUrl : void 0);
66
+ const arkServerUrl = config.arkServerUrl || (wallet.arkProvider instanceof chunkSPRQOO5F_cjs.RestArkProvider ? wallet.arkProvider.serverUrl : void 0);
67
67
  if (arkServerUrl) {
68
68
  const timelock = wallet.offchainTapscript.options.csvTimelock;
69
69
  const bgConfig = {
@@ -93,7 +93,7 @@ var ExpoWallet = class _ExpoWallet {
93
93
  }, intervalMs);
94
94
  }
95
95
  async runForegroundPoll() {
96
- await chunkFM7T7JVL_cjs.runTasks(this.taskQueue, this.processors, this.deps);
96
+ await chunkYFEN24OW_cjs.runTasks(this.taskQueue, this.processors, this.deps);
97
97
  const results = await this.taskQueue.getResults();
98
98
  if (results.length > 0) {
99
99
  await this.taskQueue.acknowledgeResults(results.map((r) => r.id));
@@ -101,11 +101,11 @@ var ExpoWallet = class _ExpoWallet {
101
101
  await this.seedContractPollTask();
102
102
  }
103
103
  async seedContractPollTask() {
104
- const existing = await this.taskQueue.getTasks(chunkFM7T7JVL_cjs.CONTRACT_POLL_TASK_TYPE);
104
+ const existing = await this.taskQueue.getTasks(chunkYFEN24OW_cjs.CONTRACT_POLL_TASK_TYPE);
105
105
  if (existing.length > 0) return;
106
106
  const task = {
107
- id: chunkH2LX2KKY_cjs.getRandomId(),
108
- type: chunkFM7T7JVL_cjs.CONTRACT_POLL_TASK_TYPE,
107
+ id: chunkMIYDTURH_cjs.getRandomId(),
108
+ type: chunkYFEN24OW_cjs.CONTRACT_POLL_TASK_TYPE,
109
109
  data: {},
110
110
  createdAt: Date.now()
111
111
  };
@@ -1,6 +1,6 @@
1
1
  import { W as Wallet } from '../../wallet-BWHbd5b1.cjs';
2
2
  import { I as IWallet, a as Identity, b as WalletConfig, c as WalletBalance, G as GetVtxosFilter, E as ExtendedVirtualCoin, d as ExtendedCoin, A as ArkTransaction, e as IContractManager, f as IDelegateManager, S as SendBitcoinParams, g as SettleParams, h as SettlementEvent, R as Recipient, i as IAssetManager } from '../../ark-D6sau_6-.cjs';
3
- import { c as TaskQueue, T as TaskProcessor } from '../../taskRunner-DCyp6Gea.cjs';
3
+ import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-D7ytRcrz.cjs';
4
4
  import '@scure/btc-signer';
5
5
  import '@scure/btc-signer/utils.js';
6
6
  import '@scure/btc-signer/psbt.js';
@@ -1,6 +1,6 @@
1
1
  import { W as Wallet } from '../../wallet-Bth5uucA.js';
2
2
  import { I as IWallet, a as Identity, b as WalletConfig, c as WalletBalance, G as GetVtxosFilter, E as ExtendedVirtualCoin, d as ExtendedCoin, A as ArkTransaction, e as IContractManager, f as IDelegateManager, S as SendBitcoinParams, g as SettleParams, h as SettlementEvent, R as Recipient, i as IAssetManager } from '../../ark-D6sau_6-.js';
3
- import { c as TaskQueue, T as TaskProcessor } from '../../taskRunner-DnxtObeq.js';
3
+ import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-Dh1DKYD4.js';
4
4
  import '@scure/btc-signer';
5
5
  import '@scure/btc-signer/utils.js';
6
6
  import '@scure/btc-signer/psbt.js';
@@ -1,6 +1,6 @@
1
- import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-OURFR4UR.js';
2
- import { Wallet, getRandomId, extendVirtualCoinForContract } from '../../chunk-NOR7XOKN.js';
3
- import { RestArkProvider } from '../../chunk-3JR77WQ4.js';
1
+ import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-HRD64JRO.js';
2
+ import { Wallet, getRandomId, extendVirtualCoinForContract } from '../../chunk-IW3PO5S5.js';
3
+ import { RestArkProvider } from '../../chunk-T5KOXHPT.js';
4
4
  import '../../chunk-CUSABEUQ.js';
5
5
  import '../../chunk-OUVTG72A.js';
6
6
  import '../../chunk-NSBPE2FW.js';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkFM7T7JVL_cjs = require('../../chunk-FM7T7JVL.cjs');
4
- require('../../chunk-H2LX2KKY.cjs');
5
- require('../../chunk-X2EQLK4O.cjs');
3
+ var chunkYFEN24OW_cjs = require('../../chunk-YFEN24OW.cjs');
4
+ require('../../chunk-MIYDTURH.cjs');
5
+ require('../../chunk-SPRQOO5F.cjs');
6
6
  require('../../chunk-GUTKJMSF.cjs');
7
7
  require('../../chunk-CMPJR3HS.cjs');
8
8
  require('../../chunk-5BLDMQED.cjs');
@@ -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 chunkFM7T7JVL_cjs.CONTRACT_POLL_TASK_TYPE; }
123
+ get: function () { return chunkYFEN24OW_cjs.CONTRACT_POLL_TASK_TYPE; }
124
124
  });
125
125
  Object.defineProperty(exports, "contractPollProcessor", {
126
126
  enumerable: true,
127
- get: function () { return chunkFM7T7JVL_cjs.contractPollProcessor; }
127
+ get: function () { return chunkYFEN24OW_cjs.contractPollProcessor; }
128
128
  });
129
129
  Object.defineProperty(exports, "createTaskDependencies", {
130
130
  enumerable: true,
131
- get: function () { return chunkFM7T7JVL_cjs.createTaskDependencies; }
131
+ get: function () { return chunkYFEN24OW_cjs.createTaskDependencies; }
132
132
  });
133
133
  Object.defineProperty(exports, "runTasks", {
134
134
  enumerable: true,
135
- get: function () { return chunkFM7T7JVL_cjs.runTasks; }
135
+ get: function () { return chunkYFEN24OW_cjs.runTasks; }
136
136
  });
137
137
  exports.AsyncStorageTaskQueue = AsyncStorageTaskQueue;
138
138
  exports.InMemoryTaskQueue = InMemoryTaskQueue;
@@ -1,6 +1,6 @@
1
- import { T as TaskProcessor } from '../../taskRunner-DCyp6Gea.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-DCyp6Gea.cjs';
3
- export { A as AsyncStorageLike, a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-CpC027t_.cjs';
1
+ import { T as TaskProcessor } from '../../taskRunner-D7ytRcrz.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-D7ytRcrz.cjs';
3
+ export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-BhBGByYL.cjs';
4
4
  import '../../ark-D6sau_6-.cjs';
5
5
  import '@scure/btc-signer/transaction.js';
6
6
  import '@scure/btc-signer/utils.js';
@@ -1,6 +1,6 @@
1
- import { T as TaskProcessor } from '../../taskRunner-DnxtObeq.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-DnxtObeq.js';
3
- export { A as AsyncStorageLike, a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-GT8fmPUG.js';
1
+ import { T as TaskProcessor } from '../../taskRunner-Dh1DKYD4.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-Dh1DKYD4.js';
3
+ export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-Da-ZSm36.js';
4
4
  import '../../ark-D6sau_6-.js';
5
5
  import '@scure/btc-signer/transaction.js';
6
6
  import '@scure/btc-signer/utils.js';
@@ -1,6 +1,6 @@
1
- export { CONTRACT_POLL_TASK_TYPE, contractPollProcessor, createTaskDependencies, runTasks } from '../../chunk-OURFR4UR.js';
2
- import '../../chunk-NOR7XOKN.js';
3
- import '../../chunk-3JR77WQ4.js';
1
+ export { CONTRACT_POLL_TASK_TYPE, contractPollProcessor, createTaskDependencies, runTasks } from '../../chunk-HRD64JRO.js';
2
+ import '../../chunk-IW3PO5S5.js';
3
+ import '../../chunk-T5KOXHPT.js';
4
4
  import '../../chunk-CUSABEUQ.js';
5
5
  import '../../chunk-OUVTG72A.js';
6
6
  import '../../chunk-NSBPE2FW.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkade-os/sdk",
3
- "version": "0.4.35",
3
+ "version": "0.4.37",
4
4
  "description": "TypeScript SDK for building Bitcoin wallets using the Arkade protocol",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",