@arkade-os/sdk 0.4.55 → 0.4.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/adapters/expo.cjs +5 -5
  2. package/dist/adapters/expo.d.cts +2 -2
  3. package/dist/adapters/expo.d.ts +2 -2
  4. package/dist/adapters/expo.js +3 -3
  5. package/dist/adapters/indexedDB.cjs +5 -5
  6. package/dist/adapters/indexedDB.js +4 -4
  7. package/dist/{ark-Do9Lqfsp.d.cts → ark-Cgsd9tMd.d.cts} +6 -2
  8. package/dist/{ark-Do9Lqfsp.d.ts → ark-Cgsd9tMd.d.ts} +6 -2
  9. package/dist/{asyncStorageTaskQueue-C3DYxvAT.d.cts → asyncStorageTaskQueue-C0ZsDE60.d.cts} +1 -1
  10. package/dist/{asyncStorageTaskQueue-DOnBOEDn.d.ts → asyncStorageTaskQueue-CXz4PRBW.d.ts} +1 -1
  11. package/dist/{chunk-G7DOBFQN.cjs → chunk-24YNIQSW.cjs} +15 -15
  12. package/dist/{chunk-G7DOBFQN.cjs.map → chunk-24YNIQSW.cjs.map} +1 -1
  13. package/dist/{chunk-V2TOHHPW.cjs → chunk-37XKN5DZ.cjs} +40 -40
  14. package/dist/{chunk-V2TOHHPW.cjs.map → chunk-37XKN5DZ.cjs.map} +1 -1
  15. package/dist/{chunk-LAONNMM5.js → chunk-5IMBONCK.js} +4 -4
  16. package/dist/{chunk-LAONNMM5.js.map → chunk-5IMBONCK.js.map} +1 -1
  17. package/dist/{chunk-OWCPXRGP.cjs → chunk-CDWLZQQW.cjs} +3 -3
  18. package/dist/{chunk-OWCPXRGP.cjs.map → chunk-CDWLZQQW.cjs.map} +1 -1
  19. package/dist/{chunk-ZPL34T2Q.cjs → chunk-ENRRZFZ4.cjs} +431 -378
  20. package/dist/chunk-ENRRZFZ4.cjs.map +1 -0
  21. package/dist/{chunk-JCJ5WFS3.js → chunk-IFGN2GB2.js} +3 -3
  22. package/dist/{chunk-JCJ5WFS3.js.map → chunk-IFGN2GB2.js.map} +1 -1
  23. package/dist/{chunk-C6UYPHTQ.cjs → chunk-IMVKQQHU.cjs} +9 -9
  24. package/dist/{chunk-C6UYPHTQ.cjs.map → chunk-IMVKQQHU.cjs.map} +1 -1
  25. package/dist/{chunk-CSS74VCN.cjs → chunk-MXPBHDOI.cjs} +17 -17
  26. package/dist/{chunk-CSS74VCN.cjs.map → chunk-MXPBHDOI.cjs.map} +1 -1
  27. package/dist/{chunk-ENWR2F2P.js → chunk-NN7BNNF5.js} +3 -3
  28. package/dist/{chunk-ENWR2F2P.js.map → chunk-NN7BNNF5.js.map} +1 -1
  29. package/dist/{chunk-QMPNPZ2T.js → chunk-OOPDT2WV.js} +3 -3
  30. package/dist/{chunk-QMPNPZ2T.js.map → chunk-OOPDT2WV.js.map} +1 -1
  31. package/dist/{chunk-QO3IKBYL.js → chunk-T22257HW.js} +62 -11
  32. package/dist/chunk-T22257HW.js.map +1 -0
  33. package/dist/{chunk-SG4X7SEC.js → chunk-VNDVUM2W.js} +4 -4
  34. package/dist/{chunk-SG4X7SEC.js.map → chunk-VNDVUM2W.js.map} +1 -1
  35. package/dist/contracts/handlers/index.cjs +8 -8
  36. package/dist/contracts/handlers/index.d.cts +3 -3
  37. package/dist/contracts/handlers/index.d.ts +3 -3
  38. package/dist/contracts/handlers/index.js +2 -2
  39. package/dist/{delegate-DmhFrtdq.d.ts → delegate-CZPXtd2F.d.ts} +1 -1
  40. package/dist/{delegate-C0iIBxen.d.cts → delegate-xXT8O-Kn.d.cts} +1 -1
  41. package/dist/{index-BNt4wcSh.d.ts → index-BBJ466mM.d.ts} +2 -2
  42. package/dist/{index-BnLM1XxA.d.cts → index-BYG2eKOA.d.cts} +2 -2
  43. package/dist/index.cjs +219 -211
  44. package/dist/index.d.cts +40 -11
  45. package/dist/index.d.ts +40 -11
  46. package/dist/index.js +4 -4
  47. package/dist/repositories/realm/index.cjs +19 -19
  48. package/dist/repositories/realm/index.d.cts +2 -2
  49. package/dist/repositories/realm/index.d.ts +2 -2
  50. package/dist/repositories/realm/index.js +5 -5
  51. package/dist/repositories/sqlite/index.cjs +18 -18
  52. package/dist/repositories/sqlite/index.d.cts +2 -2
  53. package/dist/repositories/sqlite/index.d.ts +2 -2
  54. package/dist/repositories/sqlite/index.js +5 -5
  55. package/dist/{taskRunner-RwUvgQ5M.d.cts → taskRunner-BG1PRFps.d.cts} +1 -1
  56. package/dist/{taskRunner-Bgs-0I3x.d.ts → taskRunner-C46NnRsY.d.ts} +1 -1
  57. package/dist/wallet/expo/background.cjs +14 -14
  58. package/dist/wallet/expo/background.d.cts +3 -3
  59. package/dist/wallet/expo/background.d.ts +3 -3
  60. package/dist/wallet/expo/background.js +6 -6
  61. package/dist/wallet/expo/index.cjs +14 -14
  62. package/dist/wallet/expo/index.d.cts +4 -4
  63. package/dist/wallet/expo/index.d.ts +4 -4
  64. package/dist/wallet/expo/index.js +5 -5
  65. package/dist/{wallet-Ck7BH8zR.d.cts → wallet-1yWg75gN.d.cts} +20 -3
  66. package/dist/{wallet-5Aou-V5n.d.ts → wallet-DuCm55EC.d.ts} +20 -3
  67. package/dist/worker/expo/index.cjs +9 -9
  68. package/dist/worker/expo/index.d.cts +4 -4
  69. package/dist/worker/expo/index.d.ts +4 -4
  70. package/dist/worker/expo/index.js +5 -5
  71. package/package.json +1 -1
  72. package/dist/chunk-QO3IKBYL.js.map +0 -1
  73. package/dist/chunk-ZPL34T2Q.cjs.map +0 -1
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var chunkCSS74VCN_cjs = require('../chunk-CSS74VCN.cjs');
4
- require('../chunk-G7DOBFQN.cjs');
5
- require('../chunk-OWCPXRGP.cjs');
3
+ var chunkMXPBHDOI_cjs = require('../chunk-MXPBHDOI.cjs');
4
+ require('../chunk-24YNIQSW.cjs');
5
+ require('../chunk-CDWLZQQW.cjs');
6
6
  require('../chunk-5BLDMQED.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "ExpoArkProvider", {
11
11
  enumerable: true,
12
- get: function () { return chunkCSS74VCN_cjs.ExpoArkProvider; }
12
+ get: function () { return chunkMXPBHDOI_cjs.ExpoArkProvider; }
13
13
  });
14
14
  Object.defineProperty(exports, "ExpoIndexerProvider", {
15
15
  enumerable: true,
16
- get: function () { return chunkCSS74VCN_cjs.ExpoIndexerProvider; }
16
+ get: function () { return chunkMXPBHDOI_cjs.ExpoIndexerProvider; }
17
17
  });
18
18
  //# sourceMappingURL=expo.cjs.map
19
19
  //# sourceMappingURL=expo.cjs.map
@@ -1,5 +1,5 @@
1
- import { k as RestArkProvider, i as SettlementEvent, T as TxNotification, l as RestIndexerProvider, m as SubscriptionResponse } from '../ark-Do9Lqfsp.cjs';
2
- export { n as ArkProvider, o as IndexerProvider } from '../ark-Do9Lqfsp.cjs';
1
+ import { k as RestArkProvider, i as SettlementEvent, T as TxNotification, l as RestIndexerProvider, m as SubscriptionResponse } from '../ark-Cgsd9tMd.cjs';
2
+ export { n as ArkProvider, o as IndexerProvider } from '../ark-Cgsd9tMd.cjs';
3
3
  import '@scure/btc-signer/transaction.js';
4
4
  import '@scure/btc-signer/utils.js';
5
5
  import '@scure/btc-signer/psbt.js';
@@ -1,5 +1,5 @@
1
- import { k as RestArkProvider, i as SettlementEvent, T as TxNotification, l as RestIndexerProvider, m as SubscriptionResponse } from '../ark-Do9Lqfsp.js';
2
- export { n as ArkProvider, o as IndexerProvider } from '../ark-Do9Lqfsp.js';
1
+ import { k as RestArkProvider, i as SettlementEvent, T as TxNotification, l as RestIndexerProvider, m as SubscriptionResponse } from '../ark-Cgsd9tMd.js';
2
+ export { n as ArkProvider, o as IndexerProvider } from '../ark-Cgsd9tMd.js';
3
3
  import '@scure/btc-signer/transaction.js';
4
4
  import '@scure/btc-signer/utils.js';
5
5
  import '@scure/btc-signer/psbt.js';
@@ -1,6 +1,6 @@
1
- export { ExpoArkProvider, ExpoIndexerProvider } from '../chunk-SG4X7SEC.js';
2
- import '../chunk-ENWR2F2P.js';
3
- import '../chunk-JCJ5WFS3.js';
1
+ export { ExpoArkProvider, ExpoIndexerProvider } from '../chunk-VNDVUM2W.js';
2
+ import '../chunk-NN7BNNF5.js';
3
+ import '../chunk-IFGN2GB2.js';
4
4
  import '../chunk-NSBPE2FW.js';
5
5
  //# sourceMappingURL=expo.js.map
6
6
  //# sourceMappingURL=expo.js.map
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkZPL34T2Q_cjs = require('../chunk-ZPL34T2Q.cjs');
4
- require('../chunk-G7DOBFQN.cjs');
5
- require('../chunk-V2TOHHPW.cjs');
6
- require('../chunk-OWCPXRGP.cjs');
3
+ var chunkENRRZFZ4_cjs = require('../chunk-ENRRZFZ4.cjs');
4
+ require('../chunk-24YNIQSW.cjs');
5
+ require('../chunk-37XKN5DZ.cjs');
6
+ require('../chunk-CDWLZQQW.cjs');
7
7
  require('../chunk-5BLDMQED.cjs');
8
8
 
9
9
  // src/storage/indexedDB.ts
@@ -11,7 +11,7 @@ var IndexedDBStorageAdapter = class {
11
11
  dbName;
12
12
  version;
13
13
  db = null;
14
- constructor(dbName, version = chunkZPL34T2Q_cjs.DB_VERSION) {
14
+ constructor(dbName, version = chunkENRRZFZ4_cjs.DB_VERSION) {
15
15
  this.dbName = dbName;
16
16
  this.version = version;
17
17
  }
@@ -1,7 +1,7 @@
1
- import { DB_VERSION } from '../chunk-QO3IKBYL.js';
2
- import '../chunk-ENWR2F2P.js';
3
- import '../chunk-QMPNPZ2T.js';
4
- import '../chunk-JCJ5WFS3.js';
1
+ import { DB_VERSION } from '../chunk-T22257HW.js';
2
+ import '../chunk-NN7BNNF5.js';
3
+ import '../chunk-OOPDT2WV.js';
4
+ import '../chunk-IFGN2GB2.js';
5
5
  import '../chunk-NSBPE2FW.js';
6
6
 
7
7
  // src/storage/indexedDB.ts
@@ -860,8 +860,12 @@ interface SignerSet {
860
860
  * Deprecated signers keyed by x-only hex, mapped to their cutoff. The cutoff
861
861
  * is always a bigint (arkd advertises it non-nullable); `0n` means "no cutoff
862
862
  * advertised" (→ `DUE_NOW`).
863
+ *
864
+ * Read-only: the wallet hands out its live `_deprecatedSigners` here rather
865
+ * than a copy, and that map drives coin selection and the pendingRecovery
866
+ * balance bucket. A holder must not write through it.
863
867
  */
864
- deprecated: Map<string, bigint>;
868
+ deprecated: ReadonlyMap<string, bigint>;
865
869
  }
866
870
  /**
867
871
  * Normalize a server signer pubkey hex to the x-only (32-byte) form contract
@@ -5200,4 +5204,4 @@ declare namespace ProtoTypes {
5200
5204
  export { };
5201
5205
  }
5202
5206
 
5203
- export { type ReadonlyIdentity as $, type ArkTransaction as A, type VirtualTxRepository as B, type ContractRepository as C, type VirtualTx as D, type ExtendedCoin as E, type VtxoBranch as F, type GetVtxosFilter as G, ChainedTxType as H, type IWallet as I, type BatchStartedEvent as J, type TreeSigningStartedEvent as K, TxTree as L, type TreeNoncesEvent as M, type NormalizedExtendedVirtualCoin as N, type Outpoint as O, type BatchFinalizationEvent as P, type BatchFinalizedEvent as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotification as T, type BatchFailedEvent as U, VtxoScript as V, type WalletRepository as W, type TreeTxEvent as X, type TreeSignatureEvent as Y, type DescriptorProvider as Z, type IReadonlyWallet as _, type Identity as a, CLTVMultisigTapscript as a$, type Network as a0, type OnchainProvider as a1, type DelegateProvider as a2, type ReadonlyWalletConfig as a3, type ExitCaptureMode as a4, type ExitDataSource as a5, type IReadonlyAssetManager as a6, type ContractSyncState as a7, type NetworkName as a8, type ArkInfo as a9, type ReissuanceParams as aA, type BurnParams as aB, type RenewVtxosOptions as aC, type ContractWithVtxos as aD, type PathSelection as aE, type ContractEvent as aF, type AssetDetails as aG, type IssuanceResult as aH, type DelegateInfo as aI, type MigrationGlobalSkipReason as aJ, type MigrationLegSkipReason as aK, type SignerStatus as aL, type StorageConfig as aM, type IVtxoManager as aN, type ExplorerTransaction as aO, type EncodedVtxoScript as aP, type Status as aQ, type ChainTx as aR, type PathContext as aS, type ActivityIntent as aT, type ActivityResolver as aU, type ArkIntentState as aV, type ArkTapscript as aW, type AssetMetadata as aX, type BaseWalletConfig as aY, type BatchInfo as aZ, type BatchSignableIdentity as a_, ArkAddress as aa, type Coin as ab, ContractManager as ac, type ContractManagerConfig as ad, CSVMultisigTapscript as ae, type SettlementConfig as af, VtxoManager as ag, type SignerSession as ah, type SignedIntent as ai, Intent as aj, type TimeHeight as ak, type DescriptorSigningRequest as al, Transaction as am, type IntentFeeConfig as an, type OffchainInput as ao, FeeAmount as ap, type OnchainInput as aq, type FeeOutput as ar, type ContractWatcherConfig as as, type Asset as at, type FeeInfo as au, type CreateContractParams as av, type GetContractsFilter as aw, type GetSpendablePathsOptions as ax, type GetAllSpendingPathsOptions as ay, type IssuanceParams as az, type WalletConfig as b, type VirtualStatus as b$, type CandidateDeps as b0, ChainTxType as b1, type CommitmentTx as b2, ConditionCSVMultisigTapscript as b3, ConditionMultisigTapscript as b4, type ContractBalance as b5, type ContractEventCallback as b6, type ContractHandler as b7, type ContractState as b8, type ContractVtxo as b9, type Output as bA, type PageResponse as bB, type PaginationOptions as bC, PartialSig as bD, type ProviderClass as bE, RestDelegateProvider as bF, RestDelegatorProvider as bG, type ScanContractsOptions as bH, type ScanResult as bI, type ScheduledSession as bJ, SettlementEventType as bK, type SignRequest as bL, type SignerClassification as bM, type SignerSet as bN, type SubscriptionEvent as bO, type SubscriptionHeartbeat as bP, type TapLeaves as bQ, TapTreeCoder as bR, TapscriptType as bS, type TreeNonces as bT, type TreePartialSigs as bU, type Tx as bV, type TxHistoryRecord as bW, type TxKey as bX, type TxTag as bY, type TxTreeNode as bZ, TxType as b_, ContractWatcher as ba, DelegateManagerImpl as bb, type DelegateOptions as bc, DelegatorManagerImpl as bd, type DelegatorProvider as be, type DeprecatedSignerMigrationReport as bf, type DeprecatedSignerReport as bg, DigestMismatchError as bh, type Discoverable as bi, type DiscoveredContract as bj, type DiscoveryDeps as bk, ESPLORA_URL as bl, EsploraProvider as bm, type ExitChainResolver as bn, type ExtendedContractVtxo as bo, type GroupMembership as bp, type HandlerError as bq, type IDelegatorManager as br, INTENT_TERMINAL_STATES as bs, IndexerTxType as bt, type KnownMetadata as bu, type MigrateDeprecatedSignerOptions as bv, type MigrationLegReport as bw, type MigrationVtxoRef as bx, MultisigTapscript as by, type Nonces as bz, type WalletBalance as c, type Vtxo as c0, type VtxoChain as c1, type VtxoType as c2, type WalletMode as c3, assetMintResolver as c4, boardingResolver as c5, canRecoverOnchain as c6, canSpendOffchain as c7, classifyAgainstSignerSet as c8, classifyContractSigner as c9, collabExitResolver as ca, createDefaultActivityRegistry as cb, createExitChainResolver as cc, decodeTapscript as cd, getNetwork as ce, getSequence as cf, hasCandidates as cg, hasTerminalSpend as ch, isBatchSignable as ci, isCooperativelyMigratable as cj, isDiscoverable as ck, isExpired as cl, isPastExpiry as cm, isRecoverable as cn, isSpendable as co, isSubdust as cp, isTerminalIntentState as cq, isVirtualCoin as cr, isVtxoExpiringSoon as cs, networks as ct, scriptFromTapLeafScript as cu, signerSetFromInfo as cv, toXOnlySignerHex as cw, type TapscriptDeriving as cx, ActivityRegistry as d, type Activity as e, type IContractManager as f, type IDelegateManager as g, type SettleParams as h, type SettlementEvent as i, type IAssetManager as j, RestArkProvider as k, RestIndexerProvider as l, type SubscriptionResponse as m, type ArkProvider as n, type IndexerProvider as o, type RelativeTimelock as p, type TapLeafScript as q, type VirtualCoin as r, type Contract as s, type ExtendedVirtualCoin as t, type VtxoRepositoryKey as u, type WalletState as v, type ContractFilter as w, type IntentRepository as x, type ArkIntent as y, type IntentFilter as z };
5207
+ export { type IReadonlyWallet as $, type ArkTransaction as A, type VirtualTxRepository as B, type ContractRepository as C, type VirtualTx as D, type ExtendedCoin as E, type VtxoBranch as F, type GetVtxosFilter as G, ChainedTxType as H, type IWallet as I, type SignerSet as J, type BatchStartedEvent as K, type TreeSigningStartedEvent as L, TxTree as M, type NormalizedExtendedVirtualCoin as N, type Outpoint as O, type TreeNoncesEvent as P, type BatchFinalizationEvent as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotification as T, type BatchFinalizedEvent as U, VtxoScript as V, type WalletRepository as W, type BatchFailedEvent as X, type TreeTxEvent as Y, type TreeSignatureEvent as Z, type DescriptorProvider as _, type Identity as a, type BatchSignableIdentity as a$, type ReadonlyIdentity as a0, type Network as a1, type OnchainProvider as a2, type DelegateProvider as a3, type ReadonlyWalletConfig as a4, type ExitCaptureMode as a5, type ExitDataSource as a6, type IReadonlyAssetManager as a7, type ContractSyncState as a8, type NetworkName as a9, type IssuanceParams as aA, type ReissuanceParams as aB, type BurnParams as aC, type RenewVtxosOptions as aD, type ContractWithVtxos as aE, type PathSelection as aF, type ContractEvent as aG, type AssetDetails as aH, type IssuanceResult as aI, type DelegateInfo as aJ, type MigrationGlobalSkipReason as aK, type MigrationLegSkipReason as aL, type SignerStatus as aM, type StorageConfig as aN, type IVtxoManager as aO, type ExplorerTransaction as aP, type EncodedVtxoScript as aQ, type Status as aR, type ChainTx as aS, type PathContext as aT, type ActivityIntent as aU, type ActivityResolver as aV, type ArkIntentState as aW, type ArkTapscript as aX, type AssetMetadata as aY, type BaseWalletConfig as aZ, type BatchInfo as a_, type ArkInfo as aa, ArkAddress as ab, type Coin as ac, ContractManager as ad, type ContractManagerConfig as ae, CSVMultisigTapscript as af, type SettlementConfig as ag, VtxoManager as ah, type SignerSession as ai, type SignedIntent as aj, Intent as ak, type TimeHeight as al, type DescriptorSigningRequest as am, Transaction as an, type IntentFeeConfig as ao, type OffchainInput as ap, FeeAmount as aq, type OnchainInput as ar, type FeeOutput as as, type ContractWatcherConfig as at, type Asset as au, type FeeInfo as av, type CreateContractParams as aw, type GetContractsFilter as ax, type GetSpendablePathsOptions as ay, type GetAllSpendingPathsOptions as az, type WalletConfig as b, type VirtualStatus as b$, CLTVMultisigTapscript as b0, type CandidateDeps as b1, ChainTxType as b2, type CommitmentTx as b3, ConditionCSVMultisigTapscript as b4, ConditionMultisigTapscript as b5, type ContractBalance as b6, type ContractEventCallback as b7, type ContractHandler as b8, type ContractState as b9, type Nonces as bA, type Output as bB, type PageResponse as bC, type PaginationOptions as bD, PartialSig as bE, type ProviderClass as bF, RestDelegateProvider as bG, RestDelegatorProvider as bH, type ScanContractsOptions as bI, type ScanResult as bJ, type ScheduledSession as bK, SettlementEventType as bL, type SignRequest as bM, type SignerClassification as bN, type SubscriptionEvent as bO, type SubscriptionHeartbeat as bP, type TapLeaves as bQ, TapTreeCoder as bR, TapscriptType as bS, type TreeNonces as bT, type TreePartialSigs as bU, type Tx as bV, type TxHistoryRecord as bW, type TxKey as bX, type TxTag as bY, type TxTreeNode as bZ, TxType as b_, type ContractVtxo as ba, ContractWatcher as bb, DelegateManagerImpl as bc, type DelegateOptions as bd, DelegatorManagerImpl as be, type DelegatorProvider as bf, type DeprecatedSignerMigrationReport as bg, type DeprecatedSignerReport as bh, DigestMismatchError as bi, type Discoverable as bj, type DiscoveredContract as bk, type DiscoveryDeps as bl, ESPLORA_URL as bm, EsploraProvider as bn, type ExitChainResolver as bo, type ExtendedContractVtxo as bp, type GroupMembership as bq, type HandlerError as br, type IDelegatorManager as bs, INTENT_TERMINAL_STATES as bt, IndexerTxType as bu, type KnownMetadata as bv, type MigrateDeprecatedSignerOptions as bw, type MigrationLegReport as bx, type MigrationVtxoRef as by, MultisigTapscript as bz, type WalletBalance as c, type Vtxo as c0, type VtxoChain as c1, type VtxoType as c2, type WalletMode as c3, assetMintResolver as c4, boardingResolver as c5, canRecoverOnchain as c6, canSpendOffchain as c7, classifyAgainstSignerSet as c8, classifyContractSigner as c9, collabExitResolver as ca, createDefaultActivityRegistry as cb, createExitChainResolver as cc, decodeTapscript as cd, getNetwork as ce, getSequence as cf, hasCandidates as cg, hasTerminalSpend as ch, isBatchSignable as ci, isCooperativelyMigratable as cj, isDiscoverable as ck, isExpired as cl, isPastExpiry as cm, isRecoverable as cn, isSpendable as co, isSubdust as cp, isTerminalIntentState as cq, isVirtualCoin as cr, isVtxoExpiringSoon as cs, networks as ct, scriptFromTapLeafScript as cu, signerSetFromInfo as cv, toXOnlySignerHex as cw, type TapscriptDeriving as cx, ActivityRegistry as d, type Activity as e, type IContractManager as f, type IDelegateManager as g, type SettleParams as h, type SettlementEvent as i, type IAssetManager as j, RestArkProvider as k, RestIndexerProvider as l, type SubscriptionResponse as m, type ArkProvider as n, type IndexerProvider as o, type RelativeTimelock as p, type TapLeafScript as q, type VirtualCoin as r, type Contract as s, type ExtendedVirtualCoin as t, type VtxoRepositoryKey as u, type WalletState as v, type ContractFilter as w, type IntentRepository as x, type ArkIntent as y, type IntentFilter as z };
@@ -860,8 +860,12 @@ interface SignerSet {
860
860
  * Deprecated signers keyed by x-only hex, mapped to their cutoff. The cutoff
861
861
  * is always a bigint (arkd advertises it non-nullable); `0n` means "no cutoff
862
862
  * advertised" (→ `DUE_NOW`).
863
+ *
864
+ * Read-only: the wallet hands out its live `_deprecatedSigners` here rather
865
+ * than a copy, and that map drives coin selection and the pendingRecovery
866
+ * balance bucket. A holder must not write through it.
863
867
  */
864
- deprecated: Map<string, bigint>;
868
+ deprecated: ReadonlyMap<string, bigint>;
865
869
  }
866
870
  /**
867
871
  * Normalize a server signer pubkey hex to the x-only (32-byte) form contract
@@ -5200,4 +5204,4 @@ declare namespace ProtoTypes {
5200
5204
  export { };
5201
5205
  }
5202
5206
 
5203
- export { type ReadonlyIdentity as $, type ArkTransaction as A, type VirtualTxRepository as B, type ContractRepository as C, type VirtualTx as D, type ExtendedCoin as E, type VtxoBranch as F, type GetVtxosFilter as G, ChainedTxType as H, type IWallet as I, type BatchStartedEvent as J, type TreeSigningStartedEvent as K, TxTree as L, type TreeNoncesEvent as M, type NormalizedExtendedVirtualCoin as N, type Outpoint as O, type BatchFinalizationEvent as P, type BatchFinalizedEvent as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotification as T, type BatchFailedEvent as U, VtxoScript as V, type WalletRepository as W, type TreeTxEvent as X, type TreeSignatureEvent as Y, type DescriptorProvider as Z, type IReadonlyWallet as _, type Identity as a, CLTVMultisigTapscript as a$, type Network as a0, type OnchainProvider as a1, type DelegateProvider as a2, type ReadonlyWalletConfig as a3, type ExitCaptureMode as a4, type ExitDataSource as a5, type IReadonlyAssetManager as a6, type ContractSyncState as a7, type NetworkName as a8, type ArkInfo as a9, type ReissuanceParams as aA, type BurnParams as aB, type RenewVtxosOptions as aC, type ContractWithVtxos as aD, type PathSelection as aE, type ContractEvent as aF, type AssetDetails as aG, type IssuanceResult as aH, type DelegateInfo as aI, type MigrationGlobalSkipReason as aJ, type MigrationLegSkipReason as aK, type SignerStatus as aL, type StorageConfig as aM, type IVtxoManager as aN, type ExplorerTransaction as aO, type EncodedVtxoScript as aP, type Status as aQ, type ChainTx as aR, type PathContext as aS, type ActivityIntent as aT, type ActivityResolver as aU, type ArkIntentState as aV, type ArkTapscript as aW, type AssetMetadata as aX, type BaseWalletConfig as aY, type BatchInfo as aZ, type BatchSignableIdentity as a_, ArkAddress as aa, type Coin as ab, ContractManager as ac, type ContractManagerConfig as ad, CSVMultisigTapscript as ae, type SettlementConfig as af, VtxoManager as ag, type SignerSession as ah, type SignedIntent as ai, Intent as aj, type TimeHeight as ak, type DescriptorSigningRequest as al, Transaction as am, type IntentFeeConfig as an, type OffchainInput as ao, FeeAmount as ap, type OnchainInput as aq, type FeeOutput as ar, type ContractWatcherConfig as as, type Asset as at, type FeeInfo as au, type CreateContractParams as av, type GetContractsFilter as aw, type GetSpendablePathsOptions as ax, type GetAllSpendingPathsOptions as ay, type IssuanceParams as az, type WalletConfig as b, type VirtualStatus as b$, type CandidateDeps as b0, ChainTxType as b1, type CommitmentTx as b2, ConditionCSVMultisigTapscript as b3, ConditionMultisigTapscript as b4, type ContractBalance as b5, type ContractEventCallback as b6, type ContractHandler as b7, type ContractState as b8, type ContractVtxo as b9, type Output as bA, type PageResponse as bB, type PaginationOptions as bC, PartialSig as bD, type ProviderClass as bE, RestDelegateProvider as bF, RestDelegatorProvider as bG, type ScanContractsOptions as bH, type ScanResult as bI, type ScheduledSession as bJ, SettlementEventType as bK, type SignRequest as bL, type SignerClassification as bM, type SignerSet as bN, type SubscriptionEvent as bO, type SubscriptionHeartbeat as bP, type TapLeaves as bQ, TapTreeCoder as bR, TapscriptType as bS, type TreeNonces as bT, type TreePartialSigs as bU, type Tx as bV, type TxHistoryRecord as bW, type TxKey as bX, type TxTag as bY, type TxTreeNode as bZ, TxType as b_, ContractWatcher as ba, DelegateManagerImpl as bb, type DelegateOptions as bc, DelegatorManagerImpl as bd, type DelegatorProvider as be, type DeprecatedSignerMigrationReport as bf, type DeprecatedSignerReport as bg, DigestMismatchError as bh, type Discoverable as bi, type DiscoveredContract as bj, type DiscoveryDeps as bk, ESPLORA_URL as bl, EsploraProvider as bm, type ExitChainResolver as bn, type ExtendedContractVtxo as bo, type GroupMembership as bp, type HandlerError as bq, type IDelegatorManager as br, INTENT_TERMINAL_STATES as bs, IndexerTxType as bt, type KnownMetadata as bu, type MigrateDeprecatedSignerOptions as bv, type MigrationLegReport as bw, type MigrationVtxoRef as bx, MultisigTapscript as by, type Nonces as bz, type WalletBalance as c, type Vtxo as c0, type VtxoChain as c1, type VtxoType as c2, type WalletMode as c3, assetMintResolver as c4, boardingResolver as c5, canRecoverOnchain as c6, canSpendOffchain as c7, classifyAgainstSignerSet as c8, classifyContractSigner as c9, collabExitResolver as ca, createDefaultActivityRegistry as cb, createExitChainResolver as cc, decodeTapscript as cd, getNetwork as ce, getSequence as cf, hasCandidates as cg, hasTerminalSpend as ch, isBatchSignable as ci, isCooperativelyMigratable as cj, isDiscoverable as ck, isExpired as cl, isPastExpiry as cm, isRecoverable as cn, isSpendable as co, isSubdust as cp, isTerminalIntentState as cq, isVirtualCoin as cr, isVtxoExpiringSoon as cs, networks as ct, scriptFromTapLeafScript as cu, signerSetFromInfo as cv, toXOnlySignerHex as cw, type TapscriptDeriving as cx, ActivityRegistry as d, type Activity as e, type IContractManager as f, type IDelegateManager as g, type SettleParams as h, type SettlementEvent as i, type IAssetManager as j, RestArkProvider as k, RestIndexerProvider as l, type SubscriptionResponse as m, type ArkProvider as n, type IndexerProvider as o, type RelativeTimelock as p, type TapLeafScript as q, type VirtualCoin as r, type Contract as s, type ExtendedVirtualCoin as t, type VtxoRepositoryKey as u, type WalletState as v, type ContractFilter as w, type IntentRepository as x, type ArkIntent as y, type IntentFilter as z };
5207
+ export { type IReadonlyWallet as $, type ArkTransaction as A, type VirtualTxRepository as B, type ContractRepository as C, type VirtualTx as D, type ExtendedCoin as E, type VtxoBranch as F, type GetVtxosFilter as G, ChainedTxType as H, type IWallet as I, type SignerSet as J, type BatchStartedEvent as K, type TreeSigningStartedEvent as L, TxTree as M, type NormalizedExtendedVirtualCoin as N, type Outpoint as O, type TreeNoncesEvent as P, type BatchFinalizationEvent as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotification as T, type BatchFinalizedEvent as U, VtxoScript as V, type WalletRepository as W, type BatchFailedEvent as X, type TreeTxEvent as Y, type TreeSignatureEvent as Z, type DescriptorProvider as _, type Identity as a, type BatchSignableIdentity as a$, type ReadonlyIdentity as a0, type Network as a1, type OnchainProvider as a2, type DelegateProvider as a3, type ReadonlyWalletConfig as a4, type ExitCaptureMode as a5, type ExitDataSource as a6, type IReadonlyAssetManager as a7, type ContractSyncState as a8, type NetworkName as a9, type IssuanceParams as aA, type ReissuanceParams as aB, type BurnParams as aC, type RenewVtxosOptions as aD, type ContractWithVtxos as aE, type PathSelection as aF, type ContractEvent as aG, type AssetDetails as aH, type IssuanceResult as aI, type DelegateInfo as aJ, type MigrationGlobalSkipReason as aK, type MigrationLegSkipReason as aL, type SignerStatus as aM, type StorageConfig as aN, type IVtxoManager as aO, type ExplorerTransaction as aP, type EncodedVtxoScript as aQ, type Status as aR, type ChainTx as aS, type PathContext as aT, type ActivityIntent as aU, type ActivityResolver as aV, type ArkIntentState as aW, type ArkTapscript as aX, type AssetMetadata as aY, type BaseWalletConfig as aZ, type BatchInfo as a_, type ArkInfo as aa, ArkAddress as ab, type Coin as ac, ContractManager as ad, type ContractManagerConfig as ae, CSVMultisigTapscript as af, type SettlementConfig as ag, VtxoManager as ah, type SignerSession as ai, type SignedIntent as aj, Intent as ak, type TimeHeight as al, type DescriptorSigningRequest as am, Transaction as an, type IntentFeeConfig as ao, type OffchainInput as ap, FeeAmount as aq, type OnchainInput as ar, type FeeOutput as as, type ContractWatcherConfig as at, type Asset as au, type FeeInfo as av, type CreateContractParams as aw, type GetContractsFilter as ax, type GetSpendablePathsOptions as ay, type GetAllSpendingPathsOptions as az, type WalletConfig as b, type VirtualStatus as b$, CLTVMultisigTapscript as b0, type CandidateDeps as b1, ChainTxType as b2, type CommitmentTx as b3, ConditionCSVMultisigTapscript as b4, ConditionMultisigTapscript as b5, type ContractBalance as b6, type ContractEventCallback as b7, type ContractHandler as b8, type ContractState as b9, type Nonces as bA, type Output as bB, type PageResponse as bC, type PaginationOptions as bD, PartialSig as bE, type ProviderClass as bF, RestDelegateProvider as bG, RestDelegatorProvider as bH, type ScanContractsOptions as bI, type ScanResult as bJ, type ScheduledSession as bK, SettlementEventType as bL, type SignRequest as bM, type SignerClassification as bN, type SubscriptionEvent as bO, type SubscriptionHeartbeat as bP, type TapLeaves as bQ, TapTreeCoder as bR, TapscriptType as bS, type TreeNonces as bT, type TreePartialSigs as bU, type Tx as bV, type TxHistoryRecord as bW, type TxKey as bX, type TxTag as bY, type TxTreeNode as bZ, TxType as b_, type ContractVtxo as ba, ContractWatcher as bb, DelegateManagerImpl as bc, type DelegateOptions as bd, DelegatorManagerImpl as be, type DelegatorProvider as bf, type DeprecatedSignerMigrationReport as bg, type DeprecatedSignerReport as bh, DigestMismatchError as bi, type Discoverable as bj, type DiscoveredContract as bk, type DiscoveryDeps as bl, ESPLORA_URL as bm, EsploraProvider as bn, type ExitChainResolver as bo, type ExtendedContractVtxo as bp, type GroupMembership as bq, type HandlerError as br, type IDelegatorManager as bs, INTENT_TERMINAL_STATES as bt, IndexerTxType as bu, type KnownMetadata as bv, type MigrateDeprecatedSignerOptions as bw, type MigrationLegReport as bx, type MigrationVtxoRef as by, MultisigTapscript as bz, type WalletBalance as c, type Vtxo as c0, type VtxoChain as c1, type VtxoType as c2, type WalletMode as c3, assetMintResolver as c4, boardingResolver as c5, canRecoverOnchain as c6, canSpendOffchain as c7, classifyAgainstSignerSet as c8, classifyContractSigner as c9, collabExitResolver as ca, createDefaultActivityRegistry as cb, createExitChainResolver as cc, decodeTapscript as cd, getNetwork as ce, getSequence as cf, hasCandidates as cg, hasTerminalSpend as ch, isBatchSignable as ci, isCooperativelyMigratable as cj, isDiscoverable as ck, isExpired as cl, isPastExpiry as cm, isRecoverable as cn, isSpendable as co, isSubdust as cp, isTerminalIntentState as cq, isVirtualCoin as cr, isVtxoExpiringSoon as cs, networks as ct, scriptFromTapLeafScript as cu, signerSetFromInfo as cv, toXOnlySignerHex as cw, type TapscriptDeriving as cx, ActivityRegistry as d, type Activity as e, type IContractManager as f, type IDelegateManager as g, type SettleParams as h, type SettlementEvent as i, type IAssetManager as j, RestArkProvider as k, RestIndexerProvider as l, type SubscriptionResponse as m, type ArkProvider as n, type IndexerProvider as o, type RelativeTimelock as p, type TapLeafScript as q, type VirtualCoin as r, type Contract as s, type ExtendedVirtualCoin as t, type VtxoRepositoryKey as u, type WalletState as v, type ContractFilter as w, type IntentRepository as x, type ArkIntent as y, type IntentFilter as z };
@@ -1,4 +1,4 @@
1
- import { a as TaskQueue, c as TaskItem, d as TaskResult } from './taskRunner-RwUvgQ5M.cjs';
1
+ import { a as TaskQueue, c as TaskItem, d as TaskResult } from './taskRunner-BG1PRFps.cjs';
2
2
 
3
3
  /**
4
4
  * Minimal async key-value storage interface.
@@ -1,4 +1,4 @@
1
- import { a as TaskQueue, c as TaskItem, d as TaskResult } from './taskRunner-Bgs-0I3x.js';
1
+ import { a as TaskQueue, c as TaskItem, d as TaskResult } from './taskRunner-C46NnRsY.js';
2
2
 
3
3
  /**
4
4
  * Minimal async key-value storage interface.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkOWCPXRGP_cjs = require('./chunk-OWCPXRGP.cjs');
3
+ var chunkCDWLZQQW_cjs = require('./chunk-CDWLZQQW.cjs');
4
4
  var chunk5BLDMQED_cjs = require('./chunk-5BLDMQED.cjs');
5
5
  var base = require('@scure/base');
6
6
  var secp256k1_js = require('@noble/curves/secp256k1.js');
@@ -1282,10 +1282,10 @@ async function indexerFetch(input, init) {
1282
1282
  const lastAttempt = attempt >= maxAttempts;
1283
1283
  let res;
1284
1284
  try {
1285
- res = await chunkOWCPXRGP_cjs.rateGate.runHttp(input, () => chunkOWCPXRGP_cjs.baseFetch(input, init));
1285
+ res = await chunkCDWLZQQW_cjs.rateGate.runHttp(input, () => chunkCDWLZQQW_cjs.baseFetch(input, init));
1286
1286
  } catch (err) {
1287
- const mapped = chunkOWCPXRGP_cjs.toProviderUnavailable(err, "indexer");
1288
- if (lastAttempt || !(mapped instanceof chunkOWCPXRGP_cjs.ProviderUnavailableError)) throw mapped;
1287
+ const mapped = chunkCDWLZQQW_cjs.toProviderUnavailable(err, "indexer");
1288
+ if (lastAttempt || !(mapped instanceof chunkCDWLZQQW_cjs.ProviderUnavailableError)) throw mapped;
1289
1289
  await sleep(retryDelayMs(attempt));
1290
1290
  continue;
1291
1291
  }
@@ -1297,7 +1297,7 @@ async function indexerFetch(input, init) {
1297
1297
  body = void 0;
1298
1298
  }
1299
1299
  try {
1300
- chunkOWCPXRGP_cjs.throwIfHttpUnavailable(res, "indexer", body);
1300
+ chunkCDWLZQQW_cjs.throwIfHttpUnavailable(res, "indexer", body);
1301
1301
  } catch (err) {
1302
1302
  if (lastAttempt) throw err;
1303
1303
  await sleep(retryDelayMs(attempt));
@@ -1325,7 +1325,7 @@ var ChainTxType = /* @__PURE__ */ ((ChainTxType2) => {
1325
1325
  return ChainTxType2;
1326
1326
  })(ChainTxType || {});
1327
1327
  var RestIndexerProvider = class {
1328
- constructor(serverUrl = chunkOWCPXRGP_cjs.DEFAULT_ARKADE_SERVER_URL) {
1328
+ constructor(serverUrl = chunkCDWLZQQW_cjs.DEFAULT_ARKADE_SERVER_URL) {
1329
1329
  this.serverUrl = serverUrl;
1330
1330
  }
1331
1331
  serverUrl;
@@ -1457,7 +1457,7 @@ var RestIndexerProvider = class {
1457
1457
  try {
1458
1458
  while (!abortSignal?.aborted) {
1459
1459
  try {
1460
- const currentIterator = chunkOWCPXRGP_cjs.eventSourceIterator(new EventSource(url));
1460
+ const currentIterator = chunkCDWLZQQW_cjs.eventSourceIterator(new EventSource(url));
1461
1461
  iterator = currentIterator;
1462
1462
  for await (const event of currentIterator) {
1463
1463
  if (abortSignal?.aborted) break;
@@ -1467,9 +1467,9 @@ var RestIndexerProvider = class {
1467
1467
  yield {
1468
1468
  txid: data.event.txid,
1469
1469
  scripts: data.event.scripts || [],
1470
- newVtxos: (data.event.newVtxos || []).map(chunkOWCPXRGP_cjs.convertVtxo),
1471
- spentVtxos: (data.event.spentVtxos || []).map(chunkOWCPXRGP_cjs.convertVtxo),
1472
- sweptVtxos: (data.event.sweptVtxos || []).map(chunkOWCPXRGP_cjs.convertVtxo),
1470
+ newVtxos: (data.event.newVtxos || []).map(chunkCDWLZQQW_cjs.convertVtxo),
1471
+ spentVtxos: (data.event.spentVtxos || []).map(chunkCDWLZQQW_cjs.convertVtxo),
1472
+ sweptVtxos: (data.event.sweptVtxos || []).map(chunkCDWLZQQW_cjs.convertVtxo),
1473
1473
  tx: data.event.tx,
1474
1474
  checkpointTxs: data.event.checkpointTxs
1475
1475
  };
@@ -1483,11 +1483,11 @@ var RestIndexerProvider = class {
1483
1483
  if (abortSignal?.aborted || error instanceof Error && error.name === "AbortError") {
1484
1484
  break;
1485
1485
  }
1486
- if (chunkOWCPXRGP_cjs.isFetchTimeoutError(error)) {
1486
+ if (chunkCDWLZQQW_cjs.isFetchTimeoutError(error)) {
1487
1487
  console.debug("Timeout error ignored");
1488
1488
  continue;
1489
1489
  }
1490
- if (chunkOWCPXRGP_cjs.isEventSourceError(error)) {
1490
+ if (chunkCDWLZQQW_cjs.isEventSourceError(error)) {
1491
1491
  throw error;
1492
1492
  }
1493
1493
  console.error("Subscription error:", error);
@@ -1615,7 +1615,7 @@ var RestIndexerProvider = class {
1615
1615
  throw new Error("Invalid vtxos data received");
1616
1616
  }
1617
1617
  return {
1618
- vtxos: data.vtxos.map(chunkOWCPXRGP_cjs.convertVtxo),
1618
+ vtxos: data.vtxos.map(chunkCDWLZQQW_cjs.convertVtxo),
1619
1619
  page: data.page
1620
1620
  };
1621
1621
  }
@@ -1797,5 +1797,5 @@ exports.Metadata = Metadata;
1797
1797
  exports.Packet = Packet;
1798
1798
  exports.RestIndexerProvider = RestIndexerProvider;
1799
1799
  exports.asset_exports = asset_exports;
1800
- //# sourceMappingURL=chunk-G7DOBFQN.cjs.map
1801
- //# sourceMappingURL=chunk-G7DOBFQN.cjs.map
1800
+ //# sourceMappingURL=chunk-24YNIQSW.cjs.map
1801
+ //# sourceMappingURL=chunk-24YNIQSW.cjs.map