@arkade-os/sdk 0.4.45 → 0.4.46

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 (87) 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-C-PjOngm.d.cts → ark-C9ognsOV.d.cts} +6 -2
  8. package/dist/{ark-C-PjOngm.d.ts → ark-C9ognsOV.d.ts} +6 -2
  9. package/dist/{asyncStorageTaskQueue-CHpI3moJ.d.ts → asyncStorageTaskQueue-BAKZ5cS5.d.ts} +1 -1
  10. package/dist/{asyncStorageTaskQueue-BmBPvTyh.d.cts → asyncStorageTaskQueue-CmBYVlxw.d.cts} +1 -1
  11. package/dist/{chunk-32YKLQPS.cjs → chunk-4KXOCVXP.cjs} +32 -29
  12. package/dist/chunk-4KXOCVXP.cjs.map +1 -0
  13. package/dist/{chunk-OFQGANH2.cjs → chunk-6TQJOD72.cjs} +7 -7
  14. package/dist/{chunk-OFQGANH2.cjs.map → chunk-6TQJOD72.cjs.map} +1 -1
  15. package/dist/{chunk-UHOHLN3C.cjs → chunk-7IYIFMF4.cjs} +63 -14
  16. package/dist/chunk-7IYIFMF4.cjs.map +1 -0
  17. package/dist/{chunk-YBQV7XBC.js → chunk-CWJ7ZCP7.js} +57 -10
  18. package/dist/chunk-CWJ7ZCP7.js.map +1 -0
  19. package/dist/{chunk-SRCWBFSZ.cjs → chunk-D46YDM36.cjs} +282 -212
  20. package/dist/chunk-D46YDM36.cjs.map +1 -0
  21. package/dist/{chunk-BE5MUB7T.js → chunk-FWG4TSPN.js} +7 -2
  22. package/dist/chunk-FWG4TSPN.js.map +1 -0
  23. package/dist/{chunk-BOA4SHCD.js → chunk-JTCQ6QXQ.js} +4 -4
  24. package/dist/{chunk-BOA4SHCD.js.map → chunk-JTCQ6QXQ.js.map} +1 -1
  25. package/dist/{chunk-HXDZ2QTW.cjs → chunk-MQB5H4X5.cjs} +7 -2
  26. package/dist/chunk-MQB5H4X5.cjs.map +1 -0
  27. package/dist/{chunk-TGRJ5WAX.js → chunk-P6VBP3CT.js} +80 -10
  28. package/dist/chunk-P6VBP3CT.js.map +1 -0
  29. package/dist/{chunk-YNEDJTX2.js → chunk-QKC2T54O.js} +6 -3
  30. package/dist/chunk-QKC2T54O.js.map +1 -0
  31. package/dist/{chunk-QZ6HZZZK.js → chunk-R2SVAM5Q.js} +3 -3
  32. package/dist/{chunk-QZ6HZZZK.js.map → chunk-R2SVAM5Q.js.map} +1 -1
  33. package/dist/{chunk-HZ7VIN7P.cjs → chunk-SOXGAA52.cjs} +14 -14
  34. package/dist/{chunk-HZ7VIN7P.cjs.map → chunk-SOXGAA52.cjs.map} +1 -1
  35. package/dist/contracts/handlers/index.cjs +7 -7
  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-DOEobYwH.d.cts → delegate-DVEgyRwI.d.cts} +1 -1
  40. package/dist/{delegate-BKNqva1j.d.ts → delegate-aOd5qINr.d.ts} +1 -1
  41. package/dist/{index-Cm2fGeox.d.ts → index-CPzL4tqg.d.ts} +2 -2
  42. package/dist/{index-BlW4I30l.d.cts → index-D8vmtWWO.d.cts} +2 -2
  43. package/dist/index.cjs +167 -159
  44. package/dist/index.d.cts +6 -6
  45. package/dist/index.d.ts +6 -6
  46. package/dist/index.js +4 -4
  47. package/dist/repositories/realm/index.cjs +23 -19
  48. package/dist/repositories/realm/index.cjs.map +1 -1
  49. package/dist/repositories/realm/index.d.cts +2 -2
  50. package/dist/repositories/realm/index.d.ts +2 -2
  51. package/dist/repositories/realm/index.js +9 -5
  52. package/dist/repositories/realm/index.js.map +1 -1
  53. package/dist/repositories/sqlite/index.cjs +22 -18
  54. package/dist/repositories/sqlite/index.cjs.map +1 -1
  55. package/dist/repositories/sqlite/index.d.cts +2 -2
  56. package/dist/repositories/sqlite/index.d.ts +2 -2
  57. package/dist/repositories/sqlite/index.js +9 -5
  58. package/dist/repositories/sqlite/index.js.map +1 -1
  59. package/dist/{taskRunner-BngWSFMi.d.ts → taskRunner-B48-V-Pb.d.ts} +1 -1
  60. package/dist/{taskRunner-DOiyRuJa.d.cts → taskRunner-nNecmQ2C.d.cts} +1 -1
  61. package/dist/wallet/expo/background.cjs +14 -14
  62. package/dist/wallet/expo/background.d.cts +3 -3
  63. package/dist/wallet/expo/background.d.ts +3 -3
  64. package/dist/wallet/expo/background.js +6 -6
  65. package/dist/wallet/expo/index.cjs +18 -14
  66. package/dist/wallet/expo/index.cjs.map +1 -1
  67. package/dist/wallet/expo/index.d.cts +4 -4
  68. package/dist/wallet/expo/index.d.ts +4 -4
  69. package/dist/wallet/expo/index.js +9 -5
  70. package/dist/wallet/expo/index.js.map +1 -1
  71. package/dist/{wallet-DBjumS42.d.cts → wallet-BUg3D4WJ.d.cts} +37 -3
  72. package/dist/{wallet-B3awP1Nj.d.ts → wallet-DM0oShTu.d.ts} +37 -3
  73. package/dist/worker/expo/index.cjs +10 -9
  74. package/dist/worker/expo/index.cjs.map +1 -1
  75. package/dist/worker/expo/index.d.cts +4 -4
  76. package/dist/worker/expo/index.d.ts +4 -4
  77. package/dist/worker/expo/index.js +6 -5
  78. package/dist/worker/expo/index.js.map +1 -1
  79. package/package.json +2 -2
  80. package/dist/chunk-32YKLQPS.cjs.map +0 -1
  81. package/dist/chunk-BE5MUB7T.js.map +0 -1
  82. package/dist/chunk-HXDZ2QTW.cjs.map +0 -1
  83. package/dist/chunk-SRCWBFSZ.cjs.map +0 -1
  84. package/dist/chunk-TGRJ5WAX.js.map +0 -1
  85. package/dist/chunk-UHOHLN3C.cjs.map +0 -1
  86. package/dist/chunk-YBQV7XBC.js.map +0 -1
  87. package/dist/chunk-YNEDJTX2.js.map +0 -1
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var chunkHZ7VIN7P_cjs = require('../chunk-HZ7VIN7P.cjs');
4
- require('../chunk-UHOHLN3C.cjs');
5
- require('../chunk-HXDZ2QTW.cjs');
3
+ var chunkSOXGAA52_cjs = require('../chunk-SOXGAA52.cjs');
4
+ require('../chunk-7IYIFMF4.cjs');
5
+ require('../chunk-MQB5H4X5.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 chunkHZ7VIN7P_cjs.ExpoArkProvider; }
12
+ get: function () { return chunkSOXGAA52_cjs.ExpoArkProvider; }
13
13
  });
14
14
  Object.defineProperty(exports, "ExpoIndexerProvider", {
15
15
  enumerable: true,
16
- get: function () { return chunkHZ7VIN7P_cjs.ExpoIndexerProvider; }
16
+ get: function () { return chunkSOXGAA52_cjs.ExpoIndexerProvider; }
17
17
  });
18
18
  //# sourceMappingURL=expo.cjs.map
19
19
  //# sourceMappingURL=expo.cjs.map
@@ -1,5 +1,5 @@
1
- import { l as RestArkProvider, j as SettlementEvent, T as TxNotification, m as RestIndexerProvider, n as SubscriptionResponse } from '../ark-C-PjOngm.cjs';
2
- export { o as ArkProvider, p as IndexerProvider } from '../ark-C-PjOngm.cjs';
1
+ import { l as RestArkProvider, j as SettlementEvent, T as TxNotification, m as RestIndexerProvider, n as SubscriptionResponse } from '../ark-C9ognsOV.cjs';
2
+ export { o as ArkProvider, p as IndexerProvider } from '../ark-C9ognsOV.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 { l as RestArkProvider, j as SettlementEvent, T as TxNotification, m as RestIndexerProvider, n as SubscriptionResponse } from '../ark-C-PjOngm.js';
2
- export { o as ArkProvider, p as IndexerProvider } from '../ark-C-PjOngm.js';
1
+ import { l as RestArkProvider, j as SettlementEvent, T as TxNotification, m as RestIndexerProvider, n as SubscriptionResponse } from '../ark-C9ognsOV.js';
2
+ export { o as ArkProvider, p as IndexerProvider } from '../ark-C9ognsOV.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-BOA4SHCD.js';
2
- import '../chunk-YBQV7XBC.js';
3
- import '../chunk-BE5MUB7T.js';
1
+ export { ExpoArkProvider, ExpoIndexerProvider } from '../chunk-JTCQ6QXQ.js';
2
+ import '../chunk-CWJ7ZCP7.js';
3
+ import '../chunk-FWG4TSPN.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 chunkSRCWBFSZ_cjs = require('../chunk-SRCWBFSZ.cjs');
4
- require('../chunk-UHOHLN3C.cjs');
5
- require('../chunk-32YKLQPS.cjs');
6
- require('../chunk-HXDZ2QTW.cjs');
3
+ var chunkD46YDM36_cjs = require('../chunk-D46YDM36.cjs');
4
+ require('../chunk-7IYIFMF4.cjs');
5
+ require('../chunk-4KXOCVXP.cjs');
6
+ require('../chunk-MQB5H4X5.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 = chunkSRCWBFSZ_cjs.DB_VERSION) {
14
+ constructor(dbName, version = chunkD46YDM36_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-TGRJ5WAX.js';
2
- import '../chunk-YBQV7XBC.js';
3
- import '../chunk-YNEDJTX2.js';
4
- import '../chunk-BE5MUB7T.js';
1
+ import { DB_VERSION } from '../chunk-P6VBP3CT.js';
2
+ import '../chunk-CWJ7ZCP7.js';
3
+ import '../chunk-QKC2T54O.js';
4
+ import '../chunk-FWG4TSPN.js';
5
5
  import '../chunk-NSBPE2FW.js';
6
6
 
7
7
  // src/storage/indexedDB.ts
@@ -3875,7 +3875,9 @@ declare function isExpired(vtxo: VirtualCoin): boolean;
3875
3875
  *
3876
3876
  * @see isRecoverable
3877
3877
  */
3878
- declare function isSubdust(vtxo: VirtualCoin, dust: bigint): boolean;
3878
+ declare function isSubdust(vtxo: {
3879
+ value: number;
3880
+ } | bigint, dust: bigint): boolean;
3879
3881
  /**
3880
3882
  * Filtering options for `IWallet.getVtxos`.
3881
3883
  *
@@ -4153,6 +4155,8 @@ type GetVtxosOptions = PaginationOptions & {
4153
4155
  recoverableOnly?: boolean;
4154
4156
  /** Only return pending/preconfirmed virtual outputs. */
4155
4157
  pendingOnly?: boolean;
4158
+ /** Only return renewable virtual outputs (the union of the spendable and recoverable sets). */
4159
+ renewableOnly?: boolean;
4156
4160
  /** Only return virtual outputs created after this timestamp. */
4157
4161
  after?: number;
4158
4162
  /** Only return virtual outputs created before this timestamp. */
@@ -4782,4 +4786,4 @@ declare namespace ProtoTypes {
4782
4786
  export { };
4783
4787
  }
4784
4788
 
4785
- export { type ArkInfo as $, type ArkTransaction as A, type BatchStartedEvent as B, type ContractRepository as C, type TreeTxEvent as D, type ExtendedVirtualCoin as E, type TreeSignatureEvent as F, type GetVtxosFilter as G, type DescriptorProvider as H, type IWallet as I, type IReadonlyWallet as J, type ReadonlyIdentity as K, type DelegateProvider as L, type ReadonlyWalletConfig as M, type Network as N, type OnchainProvider as O, type IntentRepository as P, type VirtualTxRepository as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotification as T, type ExitCaptureMode as U, VtxoScript as V, type WalletRepository as W, type ExitDataSource as X, type IReadonlyAssetManager as Y, type ContractSyncState as Z, type NetworkName as _, type Identity as a, ConditionCSVMultisigTapscript as a$, ArkAddress as a0, type Coin as a1, ContractManager as a2, CSVMultisigTapscript as a3, type SettlementConfig as a4, VtxoManager as a5, type SignerSession as a6, type SignedIntent as a7, Intent as a8, type VtxoRepositoryKey as a9, type PathSelection as aA, type ContractEvent as aB, type AssetDetails as aC, type IssuanceResult as aD, type DelegateInfo as aE, type MigrationGlobalSkipReason as aF, type MigrationLegSkipReason as aG, type SignerStatus as aH, type StorageConfig as aI, type IVtxoManager as aJ, type ExplorerTransaction as aK, type EncodedVtxoScript as aL, type Status as aM, type ChainTx as aN, type PathContext as aO, type ActivityIntent as aP, type ActivityResolver as aQ, type ArkIntentState as aR, type ArkTapscript as aS, type Asset as aT, type AssetMetadata as aU, type BaseWalletConfig as aV, type BatchInfo as aW, type BatchSignableIdentity as aX, CLTVMultisigTapscript as aY, ChainTxType as aZ, type CommitmentTx as a_, type WalletState as aa, type ContractFilter as ab, type ArkIntent as ac, type IntentFilter as ad, type Outpoint as ae, type VirtualTx as af, type VtxoBranch as ag, ChainedTxType as ah, type DescriptorSigningRequest as ai, Transaction as aj, type IntentFeeConfig as ak, type OffchainInput as al, FeeAmount as am, type OnchainInput as an, type FeeOutput as ao, type ContractWatcherConfig as ap, type FeeInfo as aq, type CreateContractParams as ar, type GetContractsFilter as as, type GetSpendablePathsOptions as at, type GetAllSpendingPathsOptions as au, type IssuanceParams as av, type ReissuanceParams as aw, type BurnParams as ax, type RenewVtxosOptions as ay, type ContractWithVtxos as az, type WalletConfig as b, type WalletMode as b$, ConditionMultisigTapscript as b0, type ContractBalance as b1, type ContractEventCallback as b2, type ContractHandler as b3, type ContractManagerConfig as b4, type ContractState as b5, type ContractVtxo as b6, ContractWatcher as b7, DelegateManagerImpl as b8, type DelegateOptions as b9, PartialSig as bA, type ProviderClass as bB, RestDelegateProvider as bC, RestDelegatorProvider as bD, type ScanContractsOptions as bE, type ScanResult as bF, type ScheduledSession as bG, SettlementEventType as bH, type SignRequest as bI, type SignerClassification as bJ, type SignerSet as bK, type SubscriptionEvent as bL, type SubscriptionHeartbeat as bM, type TapLeaves as bN, TapTreeCoder as bO, TapscriptType as bP, type TreeNonces as bQ, type TreePartialSigs as bR, type Tx as bS, type TxHistoryRecord as bT, type TxKey as bU, type TxTreeNode as bV, TxType as bW, type VirtualStatus as bX, type Vtxo as bY, type VtxoChain as bZ, type VtxoType as b_, DelegatorManagerImpl as ba, type DelegatorProvider as bb, type DeprecatedSignerMigrationReport as bc, type DeprecatedSignerReport as bd, DigestMismatchError as be, type Discoverable as bf, type DiscoveredContract as bg, type DiscoveryDeps as bh, ESPLORA_URL as bi, EsploraProvider as bj, type ExitChainResolver as bk, type ExtendedContractVtxo as bl, type GroupMembership as bm, type HandlerError as bn, type IDelegatorManager as bo, INTENT_TERMINAL_STATES as bp, IndexerTxType as bq, type KnownMetadata as br, type MigrateDeprecatedSignerOptions as bs, type MigrationLegReport as bt, type MigrationVtxoRef as bu, MultisigTapscript as bv, type Nonces as bw, type Output as bx, type PageResponse as by, type PaginationOptions as bz, type WalletBalance as c, boardingResolver as c0, classifyAgainstSignerSet as c1, classifyContractSigner as c2, createDefaultActivityRegistry as c3, createExitChainResolver as c4, decodeTapscript as c5, getNetwork as c6, getSequence as c7, isBatchSignable as c8, isCooperativelyMigratable as c9, isDiscoverable as ca, isExpired as cb, isRecoverable as cc, isSpendable as cd, isSubdust as ce, isTerminalIntentState as cf, isVtxoExpiringSoon as cg, networks as ch, signerSetFromInfo as ci, toXOnlySignerHex as cj, type ExtendedCoin as d, ActivityRegistry as e, type Activity as f, type IContractManager as g, type IDelegateManager as h, type SettleParams as i, type SettlementEvent as j, type IAssetManager as k, RestArkProvider as l, RestIndexerProvider as m, type SubscriptionResponse as n, type ArkProvider as o, type IndexerProvider as p, type RelativeTimelock as q, type TapLeafScript as r, type VirtualCoin as s, type Contract as t, type TreeSigningStartedEvent as u, TxTree as v, type TreeNoncesEvent as w, type BatchFinalizationEvent as x, type BatchFinalizedEvent as y, type BatchFailedEvent as z };
4789
+ export { type Network as $, type ArkTransaction as A, type VirtualTxRepository as B, type ContractRepository as C, type VirtualTx as D, type ExtendedVirtualCoin 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 BatchFinalizationEvent as N, type Outpoint as O, type BatchFinalizedEvent as P, type BatchFailedEvent as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotification as T, type TreeTxEvent as U, VtxoScript as V, type WalletRepository as W, type TreeSignatureEvent as X, type DescriptorProvider as Y, type IReadonlyWallet as Z, type ReadonlyIdentity as _, type Identity as a, ConditionCSVMultisigTapscript as a$, type OnchainProvider as a0, type DelegateProvider as a1, type ReadonlyWalletConfig as a2, type ExitCaptureMode as a3, type ExitDataSource as a4, type IReadonlyAssetManager as a5, type ContractSyncState as a6, type NetworkName as a7, type ArkInfo as a8, ArkAddress as a9, type PathSelection as aA, type ContractEvent as aB, type AssetDetails as aC, type IssuanceResult as aD, type DelegateInfo as aE, type MigrationGlobalSkipReason as aF, type MigrationLegSkipReason as aG, type SignerStatus as aH, type StorageConfig as aI, type IVtxoManager as aJ, type ExplorerTransaction as aK, type EncodedVtxoScript as aL, type Status as aM, type ChainTx as aN, type PathContext as aO, type ActivityIntent as aP, type ActivityResolver as aQ, type ArkIntentState as aR, type ArkTapscript as aS, type Asset as aT, type AssetMetadata as aU, type BaseWalletConfig as aV, type BatchInfo as aW, type BatchSignableIdentity as aX, CLTVMultisigTapscript as aY, ChainTxType as aZ, type CommitmentTx as a_, type Coin as aa, ContractManager as ab, CSVMultisigTapscript as ac, type SettlementConfig as ad, VtxoManager as ae, type SignerSession as af, type SignedIntent as ag, Intent as ah, type DescriptorSigningRequest as ai, Transaction as aj, type IntentFeeConfig as ak, type OffchainInput as al, FeeAmount as am, type OnchainInput as an, type FeeOutput as ao, type ContractWatcherConfig as ap, type FeeInfo as aq, type CreateContractParams as ar, type GetContractsFilter as as, type GetSpendablePathsOptions as at, type GetAllSpendingPathsOptions as au, type IssuanceParams as av, type ReissuanceParams as aw, type BurnParams as ax, type RenewVtxosOptions as ay, type ContractWithVtxos as az, type WalletConfig as b, type WalletMode as b$, ConditionMultisigTapscript as b0, type ContractBalance as b1, type ContractEventCallback as b2, type ContractHandler as b3, type ContractManagerConfig as b4, type ContractState as b5, type ContractVtxo as b6, ContractWatcher as b7, DelegateManagerImpl as b8, type DelegateOptions as b9, PartialSig as bA, type ProviderClass as bB, RestDelegateProvider as bC, RestDelegatorProvider as bD, type ScanContractsOptions as bE, type ScanResult as bF, type ScheduledSession as bG, SettlementEventType as bH, type SignRequest as bI, type SignerClassification as bJ, type SignerSet as bK, type SubscriptionEvent as bL, type SubscriptionHeartbeat as bM, type TapLeaves as bN, TapTreeCoder as bO, TapscriptType as bP, type TreeNonces as bQ, type TreePartialSigs as bR, type Tx as bS, type TxHistoryRecord as bT, type TxKey as bU, type TxTreeNode as bV, TxType as bW, type VirtualStatus as bX, type Vtxo as bY, type VtxoChain as bZ, type VtxoType as b_, DelegatorManagerImpl as ba, type DelegatorProvider as bb, type DeprecatedSignerMigrationReport as bc, type DeprecatedSignerReport as bd, DigestMismatchError as be, type Discoverable as bf, type DiscoveredContract as bg, type DiscoveryDeps as bh, ESPLORA_URL as bi, EsploraProvider as bj, type ExitChainResolver as bk, type ExtendedContractVtxo as bl, type GroupMembership as bm, type HandlerError as bn, type IDelegatorManager as bo, INTENT_TERMINAL_STATES as bp, IndexerTxType as bq, type KnownMetadata as br, type MigrateDeprecatedSignerOptions as bs, type MigrationLegReport as bt, type MigrationVtxoRef as bu, MultisigTapscript as bv, type Nonces as bw, type Output as bx, type PageResponse as by, type PaginationOptions as bz, type WalletBalance as c, boardingResolver as c0, classifyAgainstSignerSet as c1, classifyContractSigner as c2, createDefaultActivityRegistry as c3, createExitChainResolver as c4, decodeTapscript as c5, getNetwork as c6, getSequence as c7, isBatchSignable as c8, isCooperativelyMigratable as c9, isDiscoverable as ca, isExpired as cb, isRecoverable as cc, isSpendable as cd, isSubdust as ce, isTerminalIntentState as cf, isVtxoExpiringSoon as cg, networks as ch, signerSetFromInfo as ci, toXOnlySignerHex as cj, type ExtendedCoin as d, ActivityRegistry as e, type Activity as f, type IContractManager as g, type IDelegateManager as h, type SettleParams as i, type SettlementEvent as j, type IAssetManager as k, RestArkProvider as l, RestIndexerProvider as m, type SubscriptionResponse as n, type ArkProvider as o, type IndexerProvider as p, type RelativeTimelock as q, type TapLeafScript as r, type VirtualCoin as s, type Contract 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 };
@@ -3875,7 +3875,9 @@ declare function isExpired(vtxo: VirtualCoin): boolean;
3875
3875
  *
3876
3876
  * @see isRecoverable
3877
3877
  */
3878
- declare function isSubdust(vtxo: VirtualCoin, dust: bigint): boolean;
3878
+ declare function isSubdust(vtxo: {
3879
+ value: number;
3880
+ } | bigint, dust: bigint): boolean;
3879
3881
  /**
3880
3882
  * Filtering options for `IWallet.getVtxos`.
3881
3883
  *
@@ -4153,6 +4155,8 @@ type GetVtxosOptions = PaginationOptions & {
4153
4155
  recoverableOnly?: boolean;
4154
4156
  /** Only return pending/preconfirmed virtual outputs. */
4155
4157
  pendingOnly?: boolean;
4158
+ /** Only return renewable virtual outputs (the union of the spendable and recoverable sets). */
4159
+ renewableOnly?: boolean;
4156
4160
  /** Only return virtual outputs created after this timestamp. */
4157
4161
  after?: number;
4158
4162
  /** Only return virtual outputs created before this timestamp. */
@@ -4782,4 +4786,4 @@ declare namespace ProtoTypes {
4782
4786
  export { };
4783
4787
  }
4784
4788
 
4785
- export { type ArkInfo as $, type ArkTransaction as A, type BatchStartedEvent as B, type ContractRepository as C, type TreeTxEvent as D, type ExtendedVirtualCoin as E, type TreeSignatureEvent as F, type GetVtxosFilter as G, type DescriptorProvider as H, type IWallet as I, type IReadonlyWallet as J, type ReadonlyIdentity as K, type DelegateProvider as L, type ReadonlyWalletConfig as M, type Network as N, type OnchainProvider as O, type IntentRepository as P, type VirtualTxRepository as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotification as T, type ExitCaptureMode as U, VtxoScript as V, type WalletRepository as W, type ExitDataSource as X, type IReadonlyAssetManager as Y, type ContractSyncState as Z, type NetworkName as _, type Identity as a, ConditionCSVMultisigTapscript as a$, ArkAddress as a0, type Coin as a1, ContractManager as a2, CSVMultisigTapscript as a3, type SettlementConfig as a4, VtxoManager as a5, type SignerSession as a6, type SignedIntent as a7, Intent as a8, type VtxoRepositoryKey as a9, type PathSelection as aA, type ContractEvent as aB, type AssetDetails as aC, type IssuanceResult as aD, type DelegateInfo as aE, type MigrationGlobalSkipReason as aF, type MigrationLegSkipReason as aG, type SignerStatus as aH, type StorageConfig as aI, type IVtxoManager as aJ, type ExplorerTransaction as aK, type EncodedVtxoScript as aL, type Status as aM, type ChainTx as aN, type PathContext as aO, type ActivityIntent as aP, type ActivityResolver as aQ, type ArkIntentState as aR, type ArkTapscript as aS, type Asset as aT, type AssetMetadata as aU, type BaseWalletConfig as aV, type BatchInfo as aW, type BatchSignableIdentity as aX, CLTVMultisigTapscript as aY, ChainTxType as aZ, type CommitmentTx as a_, type WalletState as aa, type ContractFilter as ab, type ArkIntent as ac, type IntentFilter as ad, type Outpoint as ae, type VirtualTx as af, type VtxoBranch as ag, ChainedTxType as ah, type DescriptorSigningRequest as ai, Transaction as aj, type IntentFeeConfig as ak, type OffchainInput as al, FeeAmount as am, type OnchainInput as an, type FeeOutput as ao, type ContractWatcherConfig as ap, type FeeInfo as aq, type CreateContractParams as ar, type GetContractsFilter as as, type GetSpendablePathsOptions as at, type GetAllSpendingPathsOptions as au, type IssuanceParams as av, type ReissuanceParams as aw, type BurnParams as ax, type RenewVtxosOptions as ay, type ContractWithVtxos as az, type WalletConfig as b, type WalletMode as b$, ConditionMultisigTapscript as b0, type ContractBalance as b1, type ContractEventCallback as b2, type ContractHandler as b3, type ContractManagerConfig as b4, type ContractState as b5, type ContractVtxo as b6, ContractWatcher as b7, DelegateManagerImpl as b8, type DelegateOptions as b9, PartialSig as bA, type ProviderClass as bB, RestDelegateProvider as bC, RestDelegatorProvider as bD, type ScanContractsOptions as bE, type ScanResult as bF, type ScheduledSession as bG, SettlementEventType as bH, type SignRequest as bI, type SignerClassification as bJ, type SignerSet as bK, type SubscriptionEvent as bL, type SubscriptionHeartbeat as bM, type TapLeaves as bN, TapTreeCoder as bO, TapscriptType as bP, type TreeNonces as bQ, type TreePartialSigs as bR, type Tx as bS, type TxHistoryRecord as bT, type TxKey as bU, type TxTreeNode as bV, TxType as bW, type VirtualStatus as bX, type Vtxo as bY, type VtxoChain as bZ, type VtxoType as b_, DelegatorManagerImpl as ba, type DelegatorProvider as bb, type DeprecatedSignerMigrationReport as bc, type DeprecatedSignerReport as bd, DigestMismatchError as be, type Discoverable as bf, type DiscoveredContract as bg, type DiscoveryDeps as bh, ESPLORA_URL as bi, EsploraProvider as bj, type ExitChainResolver as bk, type ExtendedContractVtxo as bl, type GroupMembership as bm, type HandlerError as bn, type IDelegatorManager as bo, INTENT_TERMINAL_STATES as bp, IndexerTxType as bq, type KnownMetadata as br, type MigrateDeprecatedSignerOptions as bs, type MigrationLegReport as bt, type MigrationVtxoRef as bu, MultisigTapscript as bv, type Nonces as bw, type Output as bx, type PageResponse as by, type PaginationOptions as bz, type WalletBalance as c, boardingResolver as c0, classifyAgainstSignerSet as c1, classifyContractSigner as c2, createDefaultActivityRegistry as c3, createExitChainResolver as c4, decodeTapscript as c5, getNetwork as c6, getSequence as c7, isBatchSignable as c8, isCooperativelyMigratable as c9, isDiscoverable as ca, isExpired as cb, isRecoverable as cc, isSpendable as cd, isSubdust as ce, isTerminalIntentState as cf, isVtxoExpiringSoon as cg, networks as ch, signerSetFromInfo as ci, toXOnlySignerHex as cj, type ExtendedCoin as d, ActivityRegistry as e, type Activity as f, type IContractManager as g, type IDelegateManager as h, type SettleParams as i, type SettlementEvent as j, type IAssetManager as k, RestArkProvider as l, RestIndexerProvider as m, type SubscriptionResponse as n, type ArkProvider as o, type IndexerProvider as p, type RelativeTimelock as q, type TapLeafScript as r, type VirtualCoin as s, type Contract as t, type TreeSigningStartedEvent as u, TxTree as v, type TreeNoncesEvent as w, type BatchFinalizationEvent as x, type BatchFinalizedEvent as y, type BatchFailedEvent as z };
4789
+ export { type Network as $, type ArkTransaction as A, type VirtualTxRepository as B, type ContractRepository as C, type VirtualTx as D, type ExtendedVirtualCoin 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 BatchFinalizationEvent as N, type Outpoint as O, type BatchFinalizedEvent as P, type BatchFailedEvent as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotification as T, type TreeTxEvent as U, VtxoScript as V, type WalletRepository as W, type TreeSignatureEvent as X, type DescriptorProvider as Y, type IReadonlyWallet as Z, type ReadonlyIdentity as _, type Identity as a, ConditionCSVMultisigTapscript as a$, type OnchainProvider as a0, type DelegateProvider as a1, type ReadonlyWalletConfig as a2, type ExitCaptureMode as a3, type ExitDataSource as a4, type IReadonlyAssetManager as a5, type ContractSyncState as a6, type NetworkName as a7, type ArkInfo as a8, ArkAddress as a9, type PathSelection as aA, type ContractEvent as aB, type AssetDetails as aC, type IssuanceResult as aD, type DelegateInfo as aE, type MigrationGlobalSkipReason as aF, type MigrationLegSkipReason as aG, type SignerStatus as aH, type StorageConfig as aI, type IVtxoManager as aJ, type ExplorerTransaction as aK, type EncodedVtxoScript as aL, type Status as aM, type ChainTx as aN, type PathContext as aO, type ActivityIntent as aP, type ActivityResolver as aQ, type ArkIntentState as aR, type ArkTapscript as aS, type Asset as aT, type AssetMetadata as aU, type BaseWalletConfig as aV, type BatchInfo as aW, type BatchSignableIdentity as aX, CLTVMultisigTapscript as aY, ChainTxType as aZ, type CommitmentTx as a_, type Coin as aa, ContractManager as ab, CSVMultisigTapscript as ac, type SettlementConfig as ad, VtxoManager as ae, type SignerSession as af, type SignedIntent as ag, Intent as ah, type DescriptorSigningRequest as ai, Transaction as aj, type IntentFeeConfig as ak, type OffchainInput as al, FeeAmount as am, type OnchainInput as an, type FeeOutput as ao, type ContractWatcherConfig as ap, type FeeInfo as aq, type CreateContractParams as ar, type GetContractsFilter as as, type GetSpendablePathsOptions as at, type GetAllSpendingPathsOptions as au, type IssuanceParams as av, type ReissuanceParams as aw, type BurnParams as ax, type RenewVtxosOptions as ay, type ContractWithVtxos as az, type WalletConfig as b, type WalletMode as b$, ConditionMultisigTapscript as b0, type ContractBalance as b1, type ContractEventCallback as b2, type ContractHandler as b3, type ContractManagerConfig as b4, type ContractState as b5, type ContractVtxo as b6, ContractWatcher as b7, DelegateManagerImpl as b8, type DelegateOptions as b9, PartialSig as bA, type ProviderClass as bB, RestDelegateProvider as bC, RestDelegatorProvider as bD, type ScanContractsOptions as bE, type ScanResult as bF, type ScheduledSession as bG, SettlementEventType as bH, type SignRequest as bI, type SignerClassification as bJ, type SignerSet as bK, type SubscriptionEvent as bL, type SubscriptionHeartbeat as bM, type TapLeaves as bN, TapTreeCoder as bO, TapscriptType as bP, type TreeNonces as bQ, type TreePartialSigs as bR, type Tx as bS, type TxHistoryRecord as bT, type TxKey as bU, type TxTreeNode as bV, TxType as bW, type VirtualStatus as bX, type Vtxo as bY, type VtxoChain as bZ, type VtxoType as b_, DelegatorManagerImpl as ba, type DelegatorProvider as bb, type DeprecatedSignerMigrationReport as bc, type DeprecatedSignerReport as bd, DigestMismatchError as be, type Discoverable as bf, type DiscoveredContract as bg, type DiscoveryDeps as bh, ESPLORA_URL as bi, EsploraProvider as bj, type ExitChainResolver as bk, type ExtendedContractVtxo as bl, type GroupMembership as bm, type HandlerError as bn, type IDelegatorManager as bo, INTENT_TERMINAL_STATES as bp, IndexerTxType as bq, type KnownMetadata as br, type MigrateDeprecatedSignerOptions as bs, type MigrationLegReport as bt, type MigrationVtxoRef as bu, MultisigTapscript as bv, type Nonces as bw, type Output as bx, type PageResponse as by, type PaginationOptions as bz, type WalletBalance as c, boardingResolver as c0, classifyAgainstSignerSet as c1, classifyContractSigner as c2, createDefaultActivityRegistry as c3, createExitChainResolver as c4, decodeTapscript as c5, getNetwork as c6, getSequence as c7, isBatchSignable as c8, isCooperativelyMigratable as c9, isDiscoverable as ca, isExpired as cb, isRecoverable as cc, isSpendable as cd, isSubdust as ce, isTerminalIntentState as cf, isVtxoExpiringSoon as cg, networks as ch, signerSetFromInfo as ci, toXOnlySignerHex as cj, type ExtendedCoin as d, ActivityRegistry as e, type Activity as f, type IContractManager as g, type IDelegateManager as h, type SettleParams as i, type SettlementEvent as j, type IAssetManager as k, RestArkProvider as l, RestIndexerProvider as m, type SubscriptionResponse as n, type ArkProvider as o, type IndexerProvider as p, type RelativeTimelock as q, type TapLeafScript as r, type VirtualCoin as s, type Contract 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-BngWSFMi.js';
1
+ import { a as TaskQueue, c as TaskItem, d as TaskResult } from './taskRunner-B48-V-Pb.js';
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-DOiyRuJa.cjs';
1
+ import { a as TaskQueue, c as TaskItem, d as TaskResult } from './taskRunner-nNecmQ2C.cjs';
2
2
 
3
3
  /**
4
4
  * Minimal async key-value storage interface.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkHXDZ2QTW_cjs = require('./chunk-HXDZ2QTW.cjs');
3
+ var chunkMQB5H4X5_cjs = require('./chunk-MQB5H4X5.cjs');
4
4
  var base = require('@scure/base');
5
5
  var descriptorsScure = require('@bitcoinerlab/descriptors-scure');
6
6
  var btcSigner = require('@scure/btc-signer');
@@ -73,14 +73,14 @@ var ContractHandlerRegistry = class {
73
73
  var contractHandlers = new ContractHandlerRegistry();
74
74
  exports.DefaultVtxo = void 0;
75
75
  ((DefaultVtxo2) => {
76
- class Script2 extends chunkHXDZ2QTW_cjs.VtxoScript {
76
+ class Script2 extends chunkMQB5H4X5_cjs.VtxoScript {
77
77
  /** Create the default virtual output script with one forfeit path and one exit path. */
78
78
  constructor(options) {
79
79
  const { pubKey, serverPubKey, csvTimelock } = options;
80
- const forfeitScript = chunkHXDZ2QTW_cjs.MultisigTapscript.encode({
80
+ const forfeitScript = chunkMQB5H4X5_cjs.MultisigTapscript.encode({
81
81
  pubkeys: [pubKey, serverPubKey]
82
82
  }).script;
83
- const exitScript = chunkHXDZ2QTW_cjs.CSVMultisigTapscript.encode({
83
+ const exitScript = chunkMQB5H4X5_cjs.CSVMultisigTapscript.encode({
84
84
  timelock: csvTimelock,
85
85
  pubkeys: [pubKey]
86
86
  }).script;
@@ -89,6 +89,7 @@ exports.DefaultVtxo = void 0;
89
89
  this.forfeitScript = base.hex.encode(forfeitScript);
90
90
  this.exitScript = base.hex.encode(exitScript);
91
91
  }
92
+ options;
92
93
  static DEFAULT_TIMELOCK = {
93
94
  value: 144n,
94
95
  type: "blocks"
@@ -248,7 +249,7 @@ function isCltvSatisfied(context, locktime) {
248
249
  function isCsvSpendable(context, sequence) {
249
250
  if (sequence === void 0) return true;
250
251
  if (!context.vtxo) return false;
251
- const timelock = chunkHXDZ2QTW_cjs.sequenceToTimelock(sequence);
252
+ const timelock = chunkMQB5H4X5_cjs.sequenceToTimelock(sequence);
252
253
  if (timelock.type === "blocks") {
253
254
  if (context.blockHeight === void 0 || context.vtxo.status.block_height === void 0) {
254
255
  return false;
@@ -300,11 +301,11 @@ var DefaultContractHandler = {
300
301
  return {
301
302
  pubKey: base.hex.encode(params.pubKey),
302
303
  serverPubKey: base.hex.encode(params.serverPubKey),
303
- csvTimelock: chunkHXDZ2QTW_cjs.timelockToSequence(params.csvTimelock).toString()
304
+ csvTimelock: chunkMQB5H4X5_cjs.timelockToSequence(params.csvTimelock).toString()
304
305
  };
305
306
  },
306
307
  deserializeParams(params) {
307
- const csvTimelock = params.csvTimelock !== void 0 && params.csvTimelock !== "" ? chunkHXDZ2QTW_cjs.sequenceToTimelock(Number(params.csvTimelock)) : exports.DefaultVtxo.Script.DEFAULT_TIMELOCK;
308
+ const csvTimelock = params.csvTimelock !== void 0 && params.csvTimelock !== "" ? chunkMQB5H4X5_cjs.sequenceToTimelock(Number(params.csvTimelock)) : exports.DefaultVtxo.Script.DEFAULT_TIMELOCK;
308
309
  return {
309
310
  pubKey: extractPubKeyBytes(params.pubKey),
310
311
  serverPubKey: extractPubKeyBytes(params.serverPubKey),
@@ -381,7 +382,7 @@ var DefaultContractHandler = {
381
382
  params: {
382
383
  pubKey: base.hex.encode(pubKey),
383
384
  serverPubKey: base.hex.encode(c.serverPubKey),
384
- csvTimelock: chunkHXDZ2QTW_cjs.timelockToSequence(c.csvTimelock).toString()
385
+ csvTimelock: chunkMQB5H4X5_cjs.timelockToSequence(c.csvTimelock).toString()
385
386
  },
386
387
  script: c.scriptHex,
387
388
  address: c.script.address(deps.network.hrp, c.serverPubKey).encode(),
@@ -398,12 +399,12 @@ var DefaultContractHandler = {
398
399
  };
399
400
  exports.DelegateVtxo = void 0;
400
401
  ((DelegateVtxo2) => {
401
- class Script2 extends chunkHXDZ2QTW_cjs.VtxoScript {
402
+ class Script2 extends chunkMQB5H4X5_cjs.VtxoScript {
402
403
  /** Create a delegated virtual output script with forfeit, exit, and delegate paths. */
403
404
  constructor(options) {
404
405
  const defaultVtxo = new exports.DefaultVtxo.Script(options);
405
406
  const { delegatePubKey, pubKey, serverPubKey } = options;
406
- const delegateScript = chunkHXDZ2QTW_cjs.MultisigTapscript.encode({
407
+ const delegateScript = chunkMQB5H4X5_cjs.MultisigTapscript.encode({
407
408
  pubkeys: [pubKey, delegatePubKey, serverPubKey]
408
409
  }).script;
409
410
  super([...defaultVtxo.scripts, delegateScript]);
@@ -411,6 +412,7 @@ exports.DelegateVtxo = void 0;
411
412
  this.defaultVtxo = defaultVtxo;
412
413
  this.delegateScript = base.hex.encode(delegateScript);
413
414
  }
415
+ options;
414
416
  defaultVtxo;
415
417
  delegateScript;
416
418
  /** Return the forfeit tapleaf script. */
@@ -441,11 +443,11 @@ var DelegateContractHandler = {
441
443
  pubKey: base.hex.encode(params.pubKey),
442
444
  serverPubKey: base.hex.encode(params.serverPubKey),
443
445
  delegatePubKey: base.hex.encode(params.delegatePubKey),
444
- csvTimelock: chunkHXDZ2QTW_cjs.timelockToSequence(params.csvTimelock).toString()
446
+ csvTimelock: chunkMQB5H4X5_cjs.timelockToSequence(params.csvTimelock).toString()
445
447
  };
446
448
  },
447
449
  deserializeParams(params) {
448
- const csvTimelock = chunkHXDZ2QTW_cjs.sequenceToTimelock(Number(params.csvTimelock));
450
+ const csvTimelock = chunkMQB5H4X5_cjs.sequenceToTimelock(Number(params.csvTimelock));
449
451
  return {
450
452
  pubKey: base.hex.decode(params.pubKey),
451
453
  serverPubKey: base.hex.decode(params.serverPubKey),
@@ -529,7 +531,7 @@ var DelegateContractHandler = {
529
531
  pubKey: base.hex.encode(pubKey),
530
532
  serverPubKey: base.hex.encode(c.serverPubKey),
531
533
  delegatePubKey: base.hex.encode(deps.delegatePubKey),
532
- csvTimelock: chunkHXDZ2QTW_cjs.timelockToSequence(c.csvTimelock).toString()
534
+ csvTimelock: chunkMQB5H4X5_cjs.timelockToSequence(c.csvTimelock).toString()
533
535
  },
534
536
  script: c.scriptHex,
535
537
  address: c.script.address(deps.network.hrp, c.serverPubKey).encode(),
@@ -546,7 +548,7 @@ var DelegateContractHandler = {
546
548
  };
547
549
  exports.VHTLC = void 0;
548
550
  ((VHTLC2) => {
549
- class Script2 extends chunkHXDZ2QTW_cjs.VtxoScript {
551
+ class Script2 extends chunkMQB5H4X5_cjs.VtxoScript {
550
552
  /** Create a VHTLC script from the supplied participant keys, hash, and timelocks. */
551
553
  constructor(options) {
552
554
  validateOptions(options);
@@ -561,27 +563,27 @@ exports.VHTLC = void 0;
561
563
  unilateralRefundWithoutReceiverDelay
562
564
  } = options;
563
565
  const conditionScript = preimageConditionScript(preimageHash);
564
- const claimScript = chunkHXDZ2QTW_cjs.ConditionMultisigTapscript.encode({
566
+ const claimScript = chunkMQB5H4X5_cjs.ConditionMultisigTapscript.encode({
565
567
  conditionScript,
566
568
  pubkeys: [receiver, server]
567
569
  }).script;
568
- const refundScript = chunkHXDZ2QTW_cjs.MultisigTapscript.encode({
570
+ const refundScript = chunkMQB5H4X5_cjs.MultisigTapscript.encode({
569
571
  pubkeys: [sender, receiver, server]
570
572
  }).script;
571
- const refundWithoutReceiverScript = chunkHXDZ2QTW_cjs.CLTVMultisigTapscript.encode({
573
+ const refundWithoutReceiverScript = chunkMQB5H4X5_cjs.CLTVMultisigTapscript.encode({
572
574
  absoluteTimelock: refundLocktime,
573
575
  pubkeys: [sender, server]
574
576
  }).script;
575
- const unilateralClaimScript = chunkHXDZ2QTW_cjs.ConditionCSVMultisigTapscript.encode({
577
+ const unilateralClaimScript = chunkMQB5H4X5_cjs.ConditionCSVMultisigTapscript.encode({
576
578
  conditionScript,
577
579
  timelock: unilateralClaimDelay,
578
580
  pubkeys: [receiver]
579
581
  }).script;
580
- const unilateralRefundScript = chunkHXDZ2QTW_cjs.CSVMultisigTapscript.encode({
582
+ const unilateralRefundScript = chunkMQB5H4X5_cjs.CSVMultisigTapscript.encode({
581
583
  timelock: unilateralRefundDelay,
582
584
  pubkeys: [sender, receiver]
583
585
  }).script;
584
- const unilateralRefundWithoutReceiverScript = chunkHXDZ2QTW_cjs.CSVMultisigTapscript.encode({
586
+ const unilateralRefundWithoutReceiverScript = chunkMQB5H4X5_cjs.CSVMultisigTapscript.encode({
585
587
  timelock: unilateralRefundWithoutReceiverDelay,
586
588
  pubkeys: [sender]
587
589
  }).script;
@@ -603,6 +605,7 @@ exports.VHTLC = void 0;
603
605
  unilateralRefundWithoutReceiverScript
604
606
  );
605
607
  }
608
+ options;
606
609
  claimScript;
607
610
  refundScript;
608
611
  refundWithoutReceiverScript;
@@ -708,9 +711,9 @@ var VHTLCContractHandler = {
708
711
  server: base.hex.encode(params.server),
709
712
  hash: base.hex.encode(params.preimageHash),
710
713
  refundLocktime: params.refundLocktime.toString(),
711
- claimDelay: chunkHXDZ2QTW_cjs.timelockToSequence(params.unilateralClaimDelay).toString(),
712
- refundDelay: chunkHXDZ2QTW_cjs.timelockToSequence(params.unilateralRefundDelay).toString(),
713
- refundNoReceiverDelay: chunkHXDZ2QTW_cjs.timelockToSequence(
714
+ claimDelay: chunkMQB5H4X5_cjs.timelockToSequence(params.unilateralClaimDelay).toString(),
715
+ refundDelay: chunkMQB5H4X5_cjs.timelockToSequence(params.unilateralRefundDelay).toString(),
716
+ refundNoReceiverDelay: chunkMQB5H4X5_cjs.timelockToSequence(
714
717
  params.unilateralRefundWithoutReceiverDelay
715
718
  ).toString()
716
719
  };
@@ -722,9 +725,9 @@ var VHTLCContractHandler = {
722
725
  server: base.hex.decode(params.server),
723
726
  preimageHash: base.hex.decode(params.hash),
724
727
  refundLocktime: BigInt(params.refundLocktime),
725
- unilateralClaimDelay: chunkHXDZ2QTW_cjs.sequenceToTimelock(Number(params.claimDelay)),
726
- unilateralRefundDelay: chunkHXDZ2QTW_cjs.sequenceToTimelock(Number(params.refundDelay)),
727
- unilateralRefundWithoutReceiverDelay: chunkHXDZ2QTW_cjs.sequenceToTimelock(
728
+ unilateralClaimDelay: chunkMQB5H4X5_cjs.sequenceToTimelock(Number(params.claimDelay)),
729
+ unilateralRefundDelay: chunkMQB5H4X5_cjs.sequenceToTimelock(Number(params.refundDelay)),
730
+ unilateralRefundWithoutReceiverDelay: chunkMQB5H4X5_cjs.sequenceToTimelock(
728
731
  Number(params.refundNoReceiverDelay)
729
732
  )
730
733
  };
@@ -917,7 +920,7 @@ var BoardingContractHandler = {
917
920
  const coins = await deps.onchainProvider.getCoins(onchainAddress);
918
921
  if (coins.length === 0) return [];
919
922
  const scriptHex = base.hex.encode(script.pkScript);
920
- const boardingSeq = chunkHXDZ2QTW_cjs.timelockToSequence(deps.boardingTimelock);
923
+ const boardingSeq = chunkMQB5H4X5_cjs.timelockToSequence(deps.boardingTimelock);
921
924
  return [
922
925
  {
923
926
  type: "boarding",
@@ -966,5 +969,5 @@ exports.descriptorIsOurs = descriptorIsOurs;
966
969
  exports.isCltvSatisfied = isCltvSatisfied;
967
970
  exports.isCsvSpendable = isCsvSpendable;
968
971
  exports.isMainnetDescriptor = isMainnetDescriptor;
969
- //# sourceMappingURL=chunk-32YKLQPS.cjs.map
970
- //# sourceMappingURL=chunk-32YKLQPS.cjs.map
972
+ //# sourceMappingURL=chunk-4KXOCVXP.cjs.map
973
+ //# sourceMappingURL=chunk-4KXOCVXP.cjs.map