@arkade-os/sdk 0.4.78 → 0.4.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +1 -1
  2. package/dist/adapters/expo.cjs +5 -5
  3. package/dist/adapters/expo.d.cts +3 -3
  4. package/dist/adapters/expo.d.ts +3 -3
  5. package/dist/adapters/expo.js +3 -3
  6. package/dist/{asyncStorageTaskQueue-YW2t31_o.d.ts → asyncStorageTaskQueue-C5yQLJhm.d.ts} +1 -1
  7. package/dist/{asyncStorageTaskQueue-DiXxP-nQ.d.cts → asyncStorageTaskQueue-Shsih-1l.d.cts} +1 -1
  8. package/dist/{chunk-ZOCJ7E6M.js → chunk-4MXW2NDN.js} +10 -515
  9. package/dist/chunk-4MXW2NDN.js.map +1 -0
  10. package/dist/{chunk-KEEZSFLI.cjs → chunk-54FXLZ3T.cjs} +10 -10
  11. package/dist/{chunk-KEEZSFLI.cjs.map → chunk-54FXLZ3T.cjs.map} +1 -1
  12. package/dist/{chunk-PWIESIO6.cjs → chunk-DAYCCIRO.cjs} +372 -198
  13. package/dist/chunk-DAYCCIRO.cjs.map +1 -0
  14. package/dist/{chunk-Y7BVR6SQ.cjs → chunk-FUW3OM5X.cjs} +76 -561
  15. package/dist/chunk-FUW3OM5X.cjs.map +1 -0
  16. package/dist/{chunk-VJ7M6WKB.cjs → chunk-HAM3SHBV.cjs} +587 -532
  17. package/dist/chunk-HAM3SHBV.cjs.map +1 -0
  18. package/dist/{chunk-7KIGEOYT.js → chunk-JCPVP7TJ.js} +373 -201
  19. package/dist/chunk-JCPVP7TJ.js.map +1 -0
  20. package/dist/{chunk-DFWLP3MD.cjs → chunk-LASRYLMQ.cjs} +17 -17
  21. package/dist/{chunk-DFWLP3MD.cjs.map → chunk-LASRYLMQ.cjs.map} +1 -1
  22. package/dist/{chunk-CTFYT24G.js → chunk-QDXOTONI.js} +3 -3
  23. package/dist/{chunk-CTFYT24G.js.map → chunk-QDXOTONI.js.map} +1 -1
  24. package/dist/{chunk-IAM5IEVT.cjs → chunk-SJPPBR2V.cjs} +17 -17
  25. package/dist/{chunk-IAM5IEVT.cjs.map → chunk-SJPPBR2V.cjs.map} +1 -1
  26. package/dist/{chunk-P766MOPU.js → chunk-SK4OZRMB.js} +4 -4
  27. package/dist/{chunk-P766MOPU.js.map → chunk-SK4OZRMB.js.map} +1 -1
  28. package/dist/{chunk-OUHUC26M.js → chunk-VAFNWP3I.js} +4 -4
  29. package/dist/{chunk-OUHUC26M.js.map → chunk-VAFNWP3I.js.map} +1 -1
  30. package/dist/{chunk-LKAASQTL.js → chunk-YPQ37P3H.js} +128 -73
  31. package/dist/chunk-YPQ37P3H.js.map +1 -0
  32. package/dist/contracts/handlers/index.cjs +9 -9
  33. package/dist/contracts/handlers/index.d.cts +4 -4
  34. package/dist/contracts/handlers/index.d.ts +4 -4
  35. package/dist/contracts/handlers/index.js +2 -2
  36. package/dist/{delegate-DaNNUI_B.d.cts → delegate-B4bKASut.d.cts} +1 -1
  37. package/dist/{delegate-b2Wiymoj.d.ts → delegate-C9lpdrb0.d.ts} +1 -1
  38. package/dist/{hdWalletCapable-B2XVTOvu.d.ts → hdWalletCapable-CUJDKRKO.d.cts} +2 -3
  39. package/dist/{hdWalletCapable-D6PqWpuW.d.cts → hdWalletCapable-DJClhYMC.d.ts} +2 -3
  40. package/dist/{index-CAS4GyN-.d.ts → index-Ctul0N3Y.d.cts} +27 -6
  41. package/dist/{index-CAS4GyN-.d.cts → index-Ctul0N3Y.d.ts} +27 -6
  42. package/dist/{index-CYsKAXog.d.ts → index-D0qe2qVY.d.ts} +2 -2
  43. package/dist/{index-BlB97fYl.d.cts → index-YBFmScVS.d.cts} +2 -2
  44. package/dist/index.cjs +304 -304
  45. package/dist/index.d.cts +123 -123
  46. package/dist/index.d.ts +123 -123
  47. package/dist/index.js +4 -4
  48. package/dist/repositories/realm/index.cjs +20 -20
  49. package/dist/repositories/realm/index.d.cts +3 -3
  50. package/dist/repositories/realm/index.d.ts +3 -3
  51. package/dist/repositories/realm/index.js +5 -5
  52. package/dist/repositories/sqlite/index.cjs +19 -19
  53. package/dist/repositories/sqlite/index.d.cts +3 -3
  54. package/dist/repositories/sqlite/index.d.ts +3 -3
  55. package/dist/repositories/sqlite/index.js +5 -5
  56. package/dist/{taskRunner-BJj7xe35.d.ts → taskRunner-C08egG5a.d.ts} +1 -1
  57. package/dist/{taskRunner-HS2d2oda.d.cts → taskRunner-DB17db5n.d.cts} +1 -1
  58. package/dist/wallet/expo/background.cjs +14 -14
  59. package/dist/wallet/expo/background.d.cts +4 -4
  60. package/dist/wallet/expo/background.d.ts +4 -4
  61. package/dist/wallet/expo/background.js +6 -6
  62. package/dist/wallet/expo/index.cjs +14 -14
  63. package/dist/wallet/expo/index.d.cts +5 -5
  64. package/dist/wallet/expo/index.d.ts +5 -5
  65. package/dist/wallet/expo/index.js +5 -5
  66. package/dist/worker/expo/index.cjs +9 -9
  67. package/dist/worker/expo/index.d.cts +5 -5
  68. package/dist/worker/expo/index.d.ts +5 -5
  69. package/dist/worker/expo/index.js +5 -5
  70. package/package.json +6 -5
  71. package/dist/chunk-7KIGEOYT.js.map +0 -1
  72. package/dist/chunk-LKAASQTL.js.map +0 -1
  73. package/dist/chunk-PWIESIO6.cjs.map +0 -1
  74. package/dist/chunk-VJ7M6WKB.cjs.map +0 -1
  75. package/dist/chunk-Y7BVR6SQ.cjs.map +0 -1
  76. package/dist/chunk-ZOCJ7E6M.js.map +0 -1
@@ -1,38 +1,38 @@
1
1
  'use strict';
2
2
 
3
- var chunkY7BVR6SQ_cjs = require('../../chunk-Y7BVR6SQ.cjs');
4
- require('../../chunk-PWIESIO6.cjs');
3
+ var chunkFUW3OM5X_cjs = require('../../chunk-FUW3OM5X.cjs');
4
+ require('../../chunk-DAYCCIRO.cjs');
5
5
  require('../../chunk-5BLDMQED.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "ArkadeContractHandler", {
10
10
  enumerable: true,
11
- get: function () { return chunkY7BVR6SQ_cjs.ArkadeContractHandler; }
11
+ get: function () { return chunkFUW3OM5X_cjs.ArkadeContractHandler; }
12
12
  });
13
13
  Object.defineProperty(exports, "BoardingContractHandler", {
14
14
  enumerable: true,
15
- get: function () { return chunkY7BVR6SQ_cjs.BoardingContractHandler; }
15
+ get: function () { return chunkFUW3OM5X_cjs.BoardingContractHandler; }
16
16
  });
17
17
  Object.defineProperty(exports, "DefaultContractHandler", {
18
18
  enumerable: true,
19
- get: function () { return chunkY7BVR6SQ_cjs.DefaultContractHandler; }
19
+ get: function () { return chunkFUW3OM5X_cjs.DefaultContractHandler; }
20
20
  });
21
21
  Object.defineProperty(exports, "DelegateContractHandler", {
22
22
  enumerable: true,
23
- get: function () { return chunkY7BVR6SQ_cjs.DelegateContractHandler; }
23
+ get: function () { return chunkFUW3OM5X_cjs.DelegateContractHandler; }
24
24
  });
25
25
  Object.defineProperty(exports, "VHTLCContractHandler", {
26
26
  enumerable: true,
27
- get: function () { return chunkY7BVR6SQ_cjs.VHTLCContractHandler; }
27
+ get: function () { return chunkFUW3OM5X_cjs.VHTLCContractHandler; }
28
28
  });
29
29
  Object.defineProperty(exports, "VHTLCV2ContractHandler", {
30
30
  enumerable: true,
31
- get: function () { return chunkY7BVR6SQ_cjs.VHTLCV2ContractHandler; }
31
+ get: function () { return chunkFUW3OM5X_cjs.VHTLCV2ContractHandler; }
32
32
  });
33
33
  Object.defineProperty(exports, "contractHandlers", {
34
34
  enumerable: true,
35
- get: function () { return chunkY7BVR6SQ_cjs.contractHandlers; }
35
+ get: function () { return chunkFUW3OM5X_cjs.contractHandlers; }
36
36
  });
37
37
  //# sourceMappingURL=index.cjs.map
38
38
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
- export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from '../../index-BlB97fYl.cjs';
2
- import '../../index-CAS4GyN-.cjs';
1
+ export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from '../../index-YBFmScVS.cjs';
2
+ import '../../index-Ctul0N3Y.cjs';
3
3
  import '@scure/btc-signer/utils.js';
4
- import '@scure/btc-signer/transaction.js';
5
4
  import '@scure/btc-signer';
5
+ import '@scure/btc-signer/transaction.js';
6
6
  import '@scure/btc-signer/psbt.js';
7
- import '../../delegate-DaNNUI_B.cjs';
7
+ import '../../delegate-B4bKASut.cjs';
@@ -1,7 +1,7 @@
1
- export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from '../../index-CYsKAXog.js';
2
- import '../../index-CAS4GyN-.js';
1
+ export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from '../../index-D0qe2qVY.js';
2
+ import '../../index-Ctul0N3Y.js';
3
3
  import '@scure/btc-signer/utils.js';
4
- import '@scure/btc-signer/transaction.js';
5
4
  import '@scure/btc-signer';
5
+ import '@scure/btc-signer/transaction.js';
6
6
  import '@scure/btc-signer/psbt.js';
7
- import '../../delegate-b2Wiymoj.js';
7
+ import '../../delegate-C9lpdrb0.js';
@@ -1,5 +1,5 @@
1
- export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DelegateContractHandler, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers } from '../../chunk-ZOCJ7E6M.js';
2
- import '../../chunk-7KIGEOYT.js';
1
+ export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DelegateContractHandler, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers } from '../../chunk-4MXW2NDN.js';
2
+ import '../../chunk-JCPVP7TJ.js';
3
3
  import '../../chunk-NSBPE2FW.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { Bytes } from '@scure/btc-signer/utils.js';
2
- import { t as RelativeTimelock, V as VtxoScript, u as TapLeafScript } from './index-CAS4GyN-.cjs';
2
+ import { t as RelativeTimelock, V as VtxoScript, u as TapLeafScript } from './index-Ctul0N3Y.cjs';
3
3
 
4
4
  /**
5
5
  * DefaultVtxo is the default implementation of a VtxoScript.
@@ -1,5 +1,5 @@
1
1
  import { Bytes } from '@scure/btc-signer/utils.js';
2
- import { t as RelativeTimelock, V as VtxoScript, u as TapLeafScript } from './index-CAS4GyN-.js';
2
+ import { t as RelativeTimelock, V as VtxoScript, u as TapLeafScript } from './index-Ctul0N3Y.js';
3
3
 
4
4
  /**
5
5
  * DefaultVtxo is the default implementation of a VtxoScript.
@@ -1,8 +1,7 @@
1
- import { t as RelativeTimelock, P as Network, Q as CSVMultisigTapscript, U as BatchStartedEvent, X as TreeSigningStartedEvent, Y as TxTree, Z as TreeNoncesEvent, _ as BatchFinalizationEvent, $ as BatchFinalizedEvent, a0 as BatchFailedEvent, a1 as TreeTxEvent, a2 as TreeSignatureEvent, l as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, a3 as DescriptorProvider, g as IContractManager, a4 as IReadonlyWallet, a5 as ReadonlyIdentity, a6 as OnchainProvider, s as IndexerProvider, a7 as DelegateProvider, a8 as ReadonlyWalletConfig, D as IntentRepository, J as VirtualTxRepository, a9 as ExitCaptureMode, aa as ExitDataSource, e as ActivityRegistry, ab as IReadonlyAssetManager, ac as ContractSyncState, ad as RecipientAddressContext, r as ArkProvider, ae as NetworkName, af as ArkInfo, ag as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, d as GetSpendableVtxosFilter, ah as ContractWithVtxos, ai as selectPendingRecoveryOutpoints, A as ArkTransaction, f as Activity, E as ExtendedCoin, aj as Coin, x as ExtendedVirtualCoin, ak as ContractManager, al as ContractManagerConfig, I as IWallet, a as Identity, h as GetNewAddressesOptions, i as NewAddress, am as SettlementConfig, n as IAssetManager, an as VtxoManager, j as IDelegateManager, S as SendBitcoinParams, k as SettleParams, R as Recipient, ao as SignerSession, ap as SignedIntent, aq as Intent, m as SendParams, ar as TimeHeight } from './index-CAS4GyN-.js';
2
- import { Transaction } from '@scure/btc-signer';
1
+ import { t as RelativeTimelock, P as Network, Q as CSVMultisigTapscript, U as BatchStartedEvent, X as TreeSigningStartedEvent, Y as TxTree, Z as TreeNoncesEvent, _ as BatchFinalizationEvent, $ as BatchFinalizedEvent, a0 as BatchFailedEvent, a1 as TreeTxEvent, a2 as TreeSignatureEvent, l as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, a3 as DescriptorProvider, g as IContractManager, a4 as IReadonlyWallet, a5 as ReadonlyIdentity, a6 as OnchainProvider, s as IndexerProvider, a7 as DelegateProvider, a8 as ReadonlyWalletConfig, D as IntentRepository, J as VirtualTxRepository, a9 as ExitCaptureMode, aa as ExitDataSource, e as ActivityRegistry, ab as IReadonlyAssetManager, ac as ContractSyncState, ad as RecipientAddressContext, r as ArkProvider, ae as NetworkName, af as ArkInfo, ag as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, d as GetSpendableVtxosFilter, ah as ContractWithVtxos, ai as selectPendingRecoveryOutpoints, A as ArkTransaction, f as Activity, E as ExtendedCoin, aj as Coin, x as ExtendedVirtualCoin, ak as ContractManager, al as ContractManagerConfig, I as IWallet, a as Identity, h as GetNewAddressesOptions, i as NewAddress, am as SettlementConfig, n as IAssetManager, an as VtxoManager, j as IDelegateManager, S as SendBitcoinParams, k as SettleParams, R as Recipient, ao as SignerSession, ap as Transaction, aq as SignedIntent, ar as Intent, m as SendParams, as as TimeHeight } from './index-Ctul0N3Y.cjs';
3
2
  import { TransactionOutput } from '@scure/btc-signer/psbt.js';
4
3
  import { Bytes } from '@scure/btc-signer/utils.js';
5
- import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-b2Wiymoj.js';
4
+ import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-B4bKASut.cjs';
6
5
 
7
6
  /** Wall-clock floor for `batchExpiry` outside regtest. */
8
7
  declare const DEFAULT_MIN_BATCH_EXPIRY_SECONDS = 86400n;
@@ -1,8 +1,7 @@
1
- import { t as RelativeTimelock, P as Network, Q as CSVMultisigTapscript, U as BatchStartedEvent, X as TreeSigningStartedEvent, Y as TxTree, Z as TreeNoncesEvent, _ as BatchFinalizationEvent, $ as BatchFinalizedEvent, a0 as BatchFailedEvent, a1 as TreeTxEvent, a2 as TreeSignatureEvent, l as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, a3 as DescriptorProvider, g as IContractManager, a4 as IReadonlyWallet, a5 as ReadonlyIdentity, a6 as OnchainProvider, s as IndexerProvider, a7 as DelegateProvider, a8 as ReadonlyWalletConfig, D as IntentRepository, J as VirtualTxRepository, a9 as ExitCaptureMode, aa as ExitDataSource, e as ActivityRegistry, ab as IReadonlyAssetManager, ac as ContractSyncState, ad as RecipientAddressContext, r as ArkProvider, ae as NetworkName, af as ArkInfo, ag as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, d as GetSpendableVtxosFilter, ah as ContractWithVtxos, ai as selectPendingRecoveryOutpoints, A as ArkTransaction, f as Activity, E as ExtendedCoin, aj as Coin, x as ExtendedVirtualCoin, ak as ContractManager, al as ContractManagerConfig, I as IWallet, a as Identity, h as GetNewAddressesOptions, i as NewAddress, am as SettlementConfig, n as IAssetManager, an as VtxoManager, j as IDelegateManager, S as SendBitcoinParams, k as SettleParams, R as Recipient, ao as SignerSession, ap as SignedIntent, aq as Intent, m as SendParams, ar as TimeHeight } from './index-CAS4GyN-.cjs';
2
- import { Transaction } from '@scure/btc-signer';
1
+ import { t as RelativeTimelock, P as Network, Q as CSVMultisigTapscript, U as BatchStartedEvent, X as TreeSigningStartedEvent, Y as TxTree, Z as TreeNoncesEvent, _ as BatchFinalizationEvent, $ as BatchFinalizedEvent, a0 as BatchFailedEvent, a1 as TreeTxEvent, a2 as TreeSignatureEvent, l as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, a3 as DescriptorProvider, g as IContractManager, a4 as IReadonlyWallet, a5 as ReadonlyIdentity, a6 as OnchainProvider, s as IndexerProvider, a7 as DelegateProvider, a8 as ReadonlyWalletConfig, D as IntentRepository, J as VirtualTxRepository, a9 as ExitCaptureMode, aa as ExitDataSource, e as ActivityRegistry, ab as IReadonlyAssetManager, ac as ContractSyncState, ad as RecipientAddressContext, r as ArkProvider, ae as NetworkName, af as ArkInfo, ag as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, d as GetSpendableVtxosFilter, ah as ContractWithVtxos, ai as selectPendingRecoveryOutpoints, A as ArkTransaction, f as Activity, E as ExtendedCoin, aj as Coin, x as ExtendedVirtualCoin, ak as ContractManager, al as ContractManagerConfig, I as IWallet, a as Identity, h as GetNewAddressesOptions, i as NewAddress, am as SettlementConfig, n as IAssetManager, an as VtxoManager, j as IDelegateManager, S as SendBitcoinParams, k as SettleParams, R as Recipient, ao as SignerSession, ap as Transaction, aq as SignedIntent, ar as Intent, m as SendParams, as as TimeHeight } from './index-Ctul0N3Y.js';
3
2
  import { TransactionOutput } from '@scure/btc-signer/psbt.js';
4
3
  import { Bytes } from '@scure/btc-signer/utils.js';
5
- import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-DaNNUI_B.cjs';
4
+ import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-C9lpdrb0.js';
6
5
 
7
6
  /** Wall-clock floor for `batchExpiry` outside regtest. */
8
7
  declare const DEFAULT_MIN_BATCH_EXPIRY_SECONDS = 86400n;
@@ -1,6 +1,6 @@
1
1
  import { Bytes } from '@scure/btc-signer/utils.js';
2
- import { TxOpts, Transaction as Transaction$2 } from '@scure/btc-signer/transaction.js';
3
2
  import { Transaction as Transaction$1, NETWORK } from '@scure/btc-signer';
3
+ import { TxOpts } from '@scure/btc-signer/transaction.js';
4
4
  import { TransactionInput, TransactionOutput, PSBTOutput } from '@scure/btc-signer/psbt.js';
5
5
 
6
6
  /**
@@ -10,6 +10,11 @@ import { TransactionInput, TransactionOutput, PSBTOutput } from '@scure/btc-sign
10
10
  declare class Transaction extends Transaction$1 {
11
11
  static ARK_TX_OPTS: TxOpts;
12
12
  constructor(opts?: TxOpts);
13
+ /**
14
+ * Decode a PSBT. PSBTs carrying a legacy `PSBT_OUT_TAP_TREE` (see
15
+ * {@link repairLegacyOutputTapTrees}) are repaired and decoded again
16
+ * instead of being rejected.
17
+ */
13
18
  static fromPSBT(psbt_: Bytes, opts?: TxOpts): Transaction;
14
19
  static fromRaw(raw: Bytes, opts?: TxOpts): Transaction;
15
20
  }
@@ -61,16 +66,16 @@ type TxTreeNode = {
61
66
  * It is used to represent batch tree created during settlement session
62
67
  */
63
68
  declare class TxTree {
64
- readonly root: Transaction$2;
69
+ readonly root: Transaction;
65
70
  readonly children: Map<number, TxTree>;
66
- constructor(root: Transaction$2, children?: Map<number, TxTree>);
71
+ constructor(root: Transaction, children?: Map<number, TxTree>);
67
72
  static create(chunks: TxTreeNode[]): TxTree;
68
73
  nbOfNodes(): number;
69
74
  validate(): void;
70
- leaves(): Transaction$2[];
75
+ leaves(): Transaction[];
71
76
  get txid(): string;
72
77
  find(txid: string): TxTree | null;
73
- update(txid: string, fn: (tx: Transaction$2) => void): void;
78
+ update(txid: string, fn: (tx: Transaction) => void): void;
74
79
  iterator(): Generator<TxTree, void, unknown>;
75
80
  }
76
81
 
@@ -1520,9 +1525,25 @@ declare class VtxoScript {
1520
1525
  /**
1521
1526
  * Decode a virtual output script from an encoded TapTree.
1522
1527
  *
1528
+ * Leaves are normally read in construction order and their depths
1529
+ * ignored: that covers the {@link encode} form (every depth 1) and the
1530
+ * placeholder depths other writers use, such as arkd's. The exception is
1531
+ * the BIP-371 form {@link toBIP371TapTree} writes, whose leaves are in the
1532
+ * tree's DFS order: for some leaf counts (6, 7, 10, ...) that differs from
1533
+ * construction order. A tree whose depths are exactly the shape
1534
+ * `assembleBtcdTaprootTree` builds is that form, so its leaves are mapped
1535
+ * back to construction order first. No construction-order writer produces
1536
+ * that depth sequence when the two orders differ, so this never reorders
1537
+ * a tree that decoded correctly before.
1538
+ *
1539
+ * Every leaf must carry the base tapscript version: the tree is rebuilt
1540
+ * with {@link TAP_LEAF_VERSION} leaves, so any other version would
1541
+ * silently derive a different taproot key.
1542
+ *
1523
1543
  * @param tapTree - Encoded TapTree bytes
1524
1544
  * @returns Decoded virtual output script
1525
1545
  * @throws Error if the TapTree cannot be decoded into a valid script set
1546
+ * or a leaf carries a version other than {@link TAP_LEAF_VERSION}
1526
1547
  * @see encode
1527
1548
  */
1528
1549
  static decode(tapTree: Bytes): VtxoScript;
@@ -6417,4 +6438,4 @@ interface IReadonlyWallet {
6417
6438
  clear(): Promise<void>;
6418
6439
  }
6419
6440
 
6420
- export { type BatchFinalizedEvent as $, type ArkTransaction as A, type ContractFilter as B, type ContractRepository as C, type IntentRepository as D, type ExtendedCoin as E, type ArkIntent as F, type GetVtxosFilter as G, type IntentFilter as H, type IWallet as I, type VirtualTxRepository as J, type VirtualTx as K, type VtxoBranch as L, ChainedTxType as M, type NormalizedExtendedVirtualCoin as N, type Outpoint as O, type Network as P, CSVMultisigTapscript as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotificationEvent as T, type BatchStartedEvent as U, VtxoScript as V, type WalletRepository as W, type TreeSigningStartedEvent as X, TxTree as Y, type TreeNoncesEvent as Z, type BatchFinalizationEvent as _, type Identity as a, type ChainTx as a$, type BatchFailedEvent as a0, type TreeTxEvent as a1, type TreeSignatureEvent as a2, type DescriptorProvider as a3, type IReadonlyWallet as a4, type ReadonlyIdentity as a5, type OnchainProvider as a6, type DelegateProvider as a7, type ReadonlyWalletConfig as a8, type ExitCaptureMode as a9, type Asset as aA, type FeeInfo as aB, type CreateContractParams as aC, type GetContractsFilter as aD, type GetSpendablePathsOptions as aE, type GetAllSpendingPathsOptions as aF, type IssuanceParams as aG, type ReissuanceParams as aH, type BurnParams as aI, type RenewVtxosOptions as aJ, type WatchedScript as aK, type PathSelection as aL, type ContractEvent as aM, type AssetDetails as aN, type IssuanceResult as aO, type DelegateInfo as aP, type MigrationGlobalSkipReason as aQ, type MigrationLegSkipReason as aR, type SignerStatus as aS, type StorageConfig as aT, type IVtxoManager as aU, type ExplorerTransaction as aV, type TreeNonces as aW, type TreePartialSigs as aX, type PendingTx as aY, type EncodedVtxoScript as aZ, type Status as a_, type ExitDataSource as aa, type IReadonlyAssetManager as ab, type ContractSyncState as ac, type RecipientAddressContext as ad, type NetworkName as ae, type ArkInfo as af, ArkAddress as ag, type ContractWithVtxos as ah, selectPendingRecoveryOutpoints as ai, type Coin as aj, ContractManager as ak, type ContractManagerConfig as al, type SettlementConfig as am, VtxoManager as an, type SignerSession as ao, type SignedIntent as ap, Intent as aq, type TimeHeight as ar, type DescriptorSigningRequest as as, Transaction as at, type IntentFeeConfig as au, type OffchainInput as av, FeeAmount as aw, type OnchainInput as ax, type FeeOutput as ay, type ContractWatcherConfig as az, type WalletConfig as b, REGTEST_EMULATOR_PUBKEY as b$, type PathContext as b0, type ActivityIntent as b1, type ActivityResolver as b2, type ArkIntentState as b3, type ArkTapscript as b4, type AssetMetadata as b5, BITCOIN_EMULATOR_PUBKEY as b6, type BaseWalletConfig as b7, type BatchInfo as b8, type BatchSignableIdentity as b9, type EventSourceCapable as bA, type EventSourceFactory as bB, type EventSourceLike as bC, EventSourceUnavailableError as bD, type ExitChainResolver as bE, type ExtendedContractVtxo as bF, type GroupMembership as bG, type HandlerError as bH, type IDelegatorManager as bI, INTENT_TERMINAL_STATES as bJ, IndexerTxType as bK, type IntentCoin as bL, type KnownMetadata as bM, MUTINYNET_EMULATOR_PUBKEY as bN, type MigrateDeprecatedSignerOptions as bO, type MigrationLegReport as bP, type MigrationVtxoRef as bQ, MultisigTapscript as bR, type NewAddressType as bS, type Nonces as bT, type Output as bU, type PageResponse as bV, type PaginationOptions as bW, PartialSig as bX, type PrevTxSource as bY, PrevTxUnavailableError as bZ, type ProviderClass as b_, CLTVMultisigTapscript as ba, type CandidateDeps as bb, ChainTxType as bc, type CommitmentTx as bd, ConditionCSVMultisigTapscript as be, ConditionMultisigTapscript as bf, type ContractBalance as bg, type ContractEventCallback as bh, type ContractHandler as bi, type ContractState as bj, type ContractVtxo as bk, type ContractVtxoEvent as bl, ContractWatcher as bm, DEFAULT_VTXO_PAGE_SIZE as bn, DelegateManagerImpl as bo, type DelegateOptions as bp, DelegatorManagerImpl as bq, type DelegatorProvider as br, type DeprecatedSignerMigrationReport as bs, type DeprecatedSignerReport as bt, DigestMismatchError as bu, type Discoverable as bv, type DiscoveredContract as bw, type DiscoveryDeps as bx, ESPLORA_URL as by, EsploraProvider as bz, type WalletBalance as c, isVirtualCoin as c$, type RawTxSource as c0, RestDelegateProvider as c1, RestDelegatorProvider as c2, type ScanContractsOptions as c3, type ScanResult as c4, type ScheduledSession as c5, SettlementEventType as c6, type SignRequest as c7, type SignerClassification as c8, type SignerSet as c9, canSweepOnchain as cA, classifyAgainstSignerSet as cB, classifyContractSigner as cC, collabExitResolver as cD, configureEventSource as cE, createDefaultActivityRegistry as cF, createExitChainResolver as cG, decodeTapscript as cH, defaultEmulatorPubkey as cI, getConfiguredEventSource as cJ, getNetwork as cK, getRandomId as cL, getSequence as cM, hasCandidates as cN, hasTerminalSpend as cO, isBatchSignable as cP, isContractVtxoEvent as cQ, isCooperativelyMigratable as cR, isDiscoverable as cS, isEventSourceUnavailableError as cT, isExpired as cU, isPastExpiry as cV, isRecoverable as cW, isSigningIdentity as cX, isSpendable as cY, isSubdust as cZ, isTerminalIntentState as c_, type SubscriptionEvent as ca, type SubscriptionHeartbeat as cb, type SweepTxNotification as cc, type TapLeaves as cd, TapTreeCoder as ce, TapscriptType as cf, type Tx as cg, type TxHistoryRecord as ch, type TxKey as ci, type TxNotification as cj, type TxTag as ck, type TxTreeNode as cl, TxType as cm, type VirtualStatus as cn, type Vtxo as co, type VtxoChain as cp, type VtxoType as cq, type WalletMode as cr, type WithPrevTx as cs, assertAllowedSighashTypes as ct, assetMintResolver as cu, attachPrevArkTxs as cv, attachPrevoutTxs as cw, boardingResolver as cx, canRecoverOnchain as cy, canSpendOffchain as cz, type GetSpendableVtxosFilter as d, isVtxoExpiringSoon as d0, isVtxoSpent as d1, networks as d2, resolveEmulatorPubkey as d3, resolveEventSource as d4, resolvePrevTxs as d5, scriptFromTapLeafScript as d6, signerSetFromInfo as d7, toXOnlySignerHex as d8, withPrevTxs as d9, type TapscriptDeriving as da, ActivityRegistry as e, type Activity as f, type IContractManager as g, type GetNewAddressesOptions as h, type NewAddress as i, type IDelegateManager as j, type SettleParams as k, type SettlementEvent as l, type SendParams as m, type IAssetManager as n, RestArkProvider as o, RestIndexerProvider as p, type SubscriptionResponse as q, type ArkProvider as r, type IndexerProvider as s, type RelativeTimelock as t, type TapLeafScript as u, type VirtualCoin as v, type Contract as w, type ExtendedVirtualCoin as x, type VtxoRepositoryKey as y, type WalletState as z };
6441
+ export { type BatchFinalizedEvent as $, type ArkTransaction as A, type ContractFilter as B, type ContractRepository as C, type IntentRepository as D, type ExtendedCoin as E, type ArkIntent as F, type GetVtxosFilter as G, type IntentFilter as H, type IWallet as I, type VirtualTxRepository as J, type VirtualTx as K, type VtxoBranch as L, ChainedTxType as M, type NormalizedExtendedVirtualCoin as N, type Outpoint as O, type Network as P, CSVMultisigTapscript as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotificationEvent as T, type BatchStartedEvent as U, VtxoScript as V, type WalletRepository as W, type TreeSigningStartedEvent as X, TxTree as Y, type TreeNoncesEvent as Z, type BatchFinalizationEvent as _, type Identity as a, type ChainTx as a$, type BatchFailedEvent as a0, type TreeTxEvent as a1, type TreeSignatureEvent as a2, type DescriptorProvider as a3, type IReadonlyWallet as a4, type ReadonlyIdentity as a5, type OnchainProvider as a6, type DelegateProvider as a7, type ReadonlyWalletConfig as a8, type ExitCaptureMode as a9, type Asset as aA, type FeeInfo as aB, type CreateContractParams as aC, type GetContractsFilter as aD, type GetSpendablePathsOptions as aE, type GetAllSpendingPathsOptions as aF, type IssuanceParams as aG, type ReissuanceParams as aH, type BurnParams as aI, type RenewVtxosOptions as aJ, type WatchedScript as aK, type PathSelection as aL, type ContractEvent as aM, type AssetDetails as aN, type IssuanceResult as aO, type DelegateInfo as aP, type MigrationGlobalSkipReason as aQ, type MigrationLegSkipReason as aR, type SignerStatus as aS, type StorageConfig as aT, type IVtxoManager as aU, type ExplorerTransaction as aV, type TreeNonces as aW, type TreePartialSigs as aX, type PendingTx as aY, type EncodedVtxoScript as aZ, type Status as a_, type ExitDataSource as aa, type IReadonlyAssetManager as ab, type ContractSyncState as ac, type RecipientAddressContext as ad, type NetworkName as ae, type ArkInfo as af, ArkAddress as ag, type ContractWithVtxos as ah, selectPendingRecoveryOutpoints as ai, type Coin as aj, ContractManager as ak, type ContractManagerConfig as al, type SettlementConfig as am, VtxoManager as an, type SignerSession as ao, Transaction as ap, type SignedIntent as aq, Intent as ar, type TimeHeight as as, type DescriptorSigningRequest as at, type IntentFeeConfig as au, type OffchainInput as av, FeeAmount as aw, type OnchainInput as ax, type FeeOutput as ay, type ContractWatcherConfig as az, type WalletConfig as b, REGTEST_EMULATOR_PUBKEY as b$, type PathContext as b0, type ActivityIntent as b1, type ActivityResolver as b2, type ArkIntentState as b3, type ArkTapscript as b4, type AssetMetadata as b5, BITCOIN_EMULATOR_PUBKEY as b6, type BaseWalletConfig as b7, type BatchInfo as b8, type BatchSignableIdentity as b9, type EventSourceCapable as bA, type EventSourceFactory as bB, type EventSourceLike as bC, EventSourceUnavailableError as bD, type ExitChainResolver as bE, type ExtendedContractVtxo as bF, type GroupMembership as bG, type HandlerError as bH, type IDelegatorManager as bI, INTENT_TERMINAL_STATES as bJ, IndexerTxType as bK, type IntentCoin as bL, type KnownMetadata as bM, MUTINYNET_EMULATOR_PUBKEY as bN, type MigrateDeprecatedSignerOptions as bO, type MigrationLegReport as bP, type MigrationVtxoRef as bQ, MultisigTapscript as bR, type NewAddressType as bS, type Nonces as bT, type Output as bU, type PageResponse as bV, type PaginationOptions as bW, PartialSig as bX, type PrevTxSource as bY, PrevTxUnavailableError as bZ, type ProviderClass as b_, CLTVMultisigTapscript as ba, type CandidateDeps as bb, ChainTxType as bc, type CommitmentTx as bd, ConditionCSVMultisigTapscript as be, ConditionMultisigTapscript as bf, type ContractBalance as bg, type ContractEventCallback as bh, type ContractHandler as bi, type ContractState as bj, type ContractVtxo as bk, type ContractVtxoEvent as bl, ContractWatcher as bm, DEFAULT_VTXO_PAGE_SIZE as bn, DelegateManagerImpl as bo, type DelegateOptions as bp, DelegatorManagerImpl as bq, type DelegatorProvider as br, type DeprecatedSignerMigrationReport as bs, type DeprecatedSignerReport as bt, DigestMismatchError as bu, type Discoverable as bv, type DiscoveredContract as bw, type DiscoveryDeps as bx, ESPLORA_URL as by, EsploraProvider as bz, type WalletBalance as c, isVirtualCoin as c$, type RawTxSource as c0, RestDelegateProvider as c1, RestDelegatorProvider as c2, type ScanContractsOptions as c3, type ScanResult as c4, type ScheduledSession as c5, SettlementEventType as c6, type SignRequest as c7, type SignerClassification as c8, type SignerSet as c9, canSweepOnchain as cA, classifyAgainstSignerSet as cB, classifyContractSigner as cC, collabExitResolver as cD, configureEventSource as cE, createDefaultActivityRegistry as cF, createExitChainResolver as cG, decodeTapscript as cH, defaultEmulatorPubkey as cI, getConfiguredEventSource as cJ, getNetwork as cK, getRandomId as cL, getSequence as cM, hasCandidates as cN, hasTerminalSpend as cO, isBatchSignable as cP, isContractVtxoEvent as cQ, isCooperativelyMigratable as cR, isDiscoverable as cS, isEventSourceUnavailableError as cT, isExpired as cU, isPastExpiry as cV, isRecoverable as cW, isSigningIdentity as cX, isSpendable as cY, isSubdust as cZ, isTerminalIntentState as c_, type SubscriptionEvent as ca, type SubscriptionHeartbeat as cb, type SweepTxNotification as cc, type TapLeaves as cd, TapTreeCoder as ce, TapscriptType as cf, type Tx as cg, type TxHistoryRecord as ch, type TxKey as ci, type TxNotification as cj, type TxTag as ck, type TxTreeNode as cl, TxType as cm, type VirtualStatus as cn, type Vtxo as co, type VtxoChain as cp, type VtxoType as cq, type WalletMode as cr, type WithPrevTx as cs, assertAllowedSighashTypes as ct, assetMintResolver as cu, attachPrevArkTxs as cv, attachPrevoutTxs as cw, boardingResolver as cx, canRecoverOnchain as cy, canSpendOffchain as cz, type GetSpendableVtxosFilter as d, isVtxoExpiringSoon as d0, isVtxoSpent as d1, networks as d2, resolveEmulatorPubkey as d3, resolveEventSource as d4, resolvePrevTxs as d5, scriptFromTapLeafScript as d6, signerSetFromInfo as d7, toXOnlySignerHex as d8, withPrevTxs as d9, type TapscriptDeriving as da, ActivityRegistry as e, type Activity as f, type IContractManager as g, type GetNewAddressesOptions as h, type NewAddress as i, type IDelegateManager as j, type SettleParams as k, type SettlementEvent as l, type SendParams as m, type IAssetManager as n, RestArkProvider as o, RestIndexerProvider as p, type SubscriptionResponse as q, type ArkProvider as r, type IndexerProvider as s, type RelativeTimelock as t, type TapLeafScript as u, type VirtualCoin as v, type Contract as w, type ExtendedVirtualCoin as x, type VtxoRepositoryKey as y, type WalletState as z };
@@ -1,6 +1,6 @@
1
1
  import { Bytes } from '@scure/btc-signer/utils.js';
2
- import { TxOpts, Transaction as Transaction$2 } from '@scure/btc-signer/transaction.js';
3
2
  import { Transaction as Transaction$1, NETWORK } from '@scure/btc-signer';
3
+ import { TxOpts } from '@scure/btc-signer/transaction.js';
4
4
  import { TransactionInput, TransactionOutput, PSBTOutput } from '@scure/btc-signer/psbt.js';
5
5
 
6
6
  /**
@@ -10,6 +10,11 @@ import { TransactionInput, TransactionOutput, PSBTOutput } from '@scure/btc-sign
10
10
  declare class Transaction extends Transaction$1 {
11
11
  static ARK_TX_OPTS: TxOpts;
12
12
  constructor(opts?: TxOpts);
13
+ /**
14
+ * Decode a PSBT. PSBTs carrying a legacy `PSBT_OUT_TAP_TREE` (see
15
+ * {@link repairLegacyOutputTapTrees}) are repaired and decoded again
16
+ * instead of being rejected.
17
+ */
13
18
  static fromPSBT(psbt_: Bytes, opts?: TxOpts): Transaction;
14
19
  static fromRaw(raw: Bytes, opts?: TxOpts): Transaction;
15
20
  }
@@ -61,16 +66,16 @@ type TxTreeNode = {
61
66
  * It is used to represent batch tree created during settlement session
62
67
  */
63
68
  declare class TxTree {
64
- readonly root: Transaction$2;
69
+ readonly root: Transaction;
65
70
  readonly children: Map<number, TxTree>;
66
- constructor(root: Transaction$2, children?: Map<number, TxTree>);
71
+ constructor(root: Transaction, children?: Map<number, TxTree>);
67
72
  static create(chunks: TxTreeNode[]): TxTree;
68
73
  nbOfNodes(): number;
69
74
  validate(): void;
70
- leaves(): Transaction$2[];
75
+ leaves(): Transaction[];
71
76
  get txid(): string;
72
77
  find(txid: string): TxTree | null;
73
- update(txid: string, fn: (tx: Transaction$2) => void): void;
78
+ update(txid: string, fn: (tx: Transaction) => void): void;
74
79
  iterator(): Generator<TxTree, void, unknown>;
75
80
  }
76
81
 
@@ -1520,9 +1525,25 @@ declare class VtxoScript {
1520
1525
  /**
1521
1526
  * Decode a virtual output script from an encoded TapTree.
1522
1527
  *
1528
+ * Leaves are normally read in construction order and their depths
1529
+ * ignored: that covers the {@link encode} form (every depth 1) and the
1530
+ * placeholder depths other writers use, such as arkd's. The exception is
1531
+ * the BIP-371 form {@link toBIP371TapTree} writes, whose leaves are in the
1532
+ * tree's DFS order: for some leaf counts (6, 7, 10, ...) that differs from
1533
+ * construction order. A tree whose depths are exactly the shape
1534
+ * `assembleBtcdTaprootTree` builds is that form, so its leaves are mapped
1535
+ * back to construction order first. No construction-order writer produces
1536
+ * that depth sequence when the two orders differ, so this never reorders
1537
+ * a tree that decoded correctly before.
1538
+ *
1539
+ * Every leaf must carry the base tapscript version: the tree is rebuilt
1540
+ * with {@link TAP_LEAF_VERSION} leaves, so any other version would
1541
+ * silently derive a different taproot key.
1542
+ *
1523
1543
  * @param tapTree - Encoded TapTree bytes
1524
1544
  * @returns Decoded virtual output script
1525
1545
  * @throws Error if the TapTree cannot be decoded into a valid script set
1546
+ * or a leaf carries a version other than {@link TAP_LEAF_VERSION}
1526
1547
  * @see encode
1527
1548
  */
1528
1549
  static decode(tapTree: Bytes): VtxoScript;
@@ -6417,4 +6438,4 @@ interface IReadonlyWallet {
6417
6438
  clear(): Promise<void>;
6418
6439
  }
6419
6440
 
6420
- export { type BatchFinalizedEvent as $, type ArkTransaction as A, type ContractFilter as B, type ContractRepository as C, type IntentRepository as D, type ExtendedCoin as E, type ArkIntent as F, type GetVtxosFilter as G, type IntentFilter as H, type IWallet as I, type VirtualTxRepository as J, type VirtualTx as K, type VtxoBranch as L, ChainedTxType as M, type NormalizedExtendedVirtualCoin as N, type Outpoint as O, type Network as P, CSVMultisigTapscript as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotificationEvent as T, type BatchStartedEvent as U, VtxoScript as V, type WalletRepository as W, type TreeSigningStartedEvent as X, TxTree as Y, type TreeNoncesEvent as Z, type BatchFinalizationEvent as _, type Identity as a, type ChainTx as a$, type BatchFailedEvent as a0, type TreeTxEvent as a1, type TreeSignatureEvent as a2, type DescriptorProvider as a3, type IReadonlyWallet as a4, type ReadonlyIdentity as a5, type OnchainProvider as a6, type DelegateProvider as a7, type ReadonlyWalletConfig as a8, type ExitCaptureMode as a9, type Asset as aA, type FeeInfo as aB, type CreateContractParams as aC, type GetContractsFilter as aD, type GetSpendablePathsOptions as aE, type GetAllSpendingPathsOptions as aF, type IssuanceParams as aG, type ReissuanceParams as aH, type BurnParams as aI, type RenewVtxosOptions as aJ, type WatchedScript as aK, type PathSelection as aL, type ContractEvent as aM, type AssetDetails as aN, type IssuanceResult as aO, type DelegateInfo as aP, type MigrationGlobalSkipReason as aQ, type MigrationLegSkipReason as aR, type SignerStatus as aS, type StorageConfig as aT, type IVtxoManager as aU, type ExplorerTransaction as aV, type TreeNonces as aW, type TreePartialSigs as aX, type PendingTx as aY, type EncodedVtxoScript as aZ, type Status as a_, type ExitDataSource as aa, type IReadonlyAssetManager as ab, type ContractSyncState as ac, type RecipientAddressContext as ad, type NetworkName as ae, type ArkInfo as af, ArkAddress as ag, type ContractWithVtxos as ah, selectPendingRecoveryOutpoints as ai, type Coin as aj, ContractManager as ak, type ContractManagerConfig as al, type SettlementConfig as am, VtxoManager as an, type SignerSession as ao, type SignedIntent as ap, Intent as aq, type TimeHeight as ar, type DescriptorSigningRequest as as, Transaction as at, type IntentFeeConfig as au, type OffchainInput as av, FeeAmount as aw, type OnchainInput as ax, type FeeOutput as ay, type ContractWatcherConfig as az, type WalletConfig as b, REGTEST_EMULATOR_PUBKEY as b$, type PathContext as b0, type ActivityIntent as b1, type ActivityResolver as b2, type ArkIntentState as b3, type ArkTapscript as b4, type AssetMetadata as b5, BITCOIN_EMULATOR_PUBKEY as b6, type BaseWalletConfig as b7, type BatchInfo as b8, type BatchSignableIdentity as b9, type EventSourceCapable as bA, type EventSourceFactory as bB, type EventSourceLike as bC, EventSourceUnavailableError as bD, type ExitChainResolver as bE, type ExtendedContractVtxo as bF, type GroupMembership as bG, type HandlerError as bH, type IDelegatorManager as bI, INTENT_TERMINAL_STATES as bJ, IndexerTxType as bK, type IntentCoin as bL, type KnownMetadata as bM, MUTINYNET_EMULATOR_PUBKEY as bN, type MigrateDeprecatedSignerOptions as bO, type MigrationLegReport as bP, type MigrationVtxoRef as bQ, MultisigTapscript as bR, type NewAddressType as bS, type Nonces as bT, type Output as bU, type PageResponse as bV, type PaginationOptions as bW, PartialSig as bX, type PrevTxSource as bY, PrevTxUnavailableError as bZ, type ProviderClass as b_, CLTVMultisigTapscript as ba, type CandidateDeps as bb, ChainTxType as bc, type CommitmentTx as bd, ConditionCSVMultisigTapscript as be, ConditionMultisigTapscript as bf, type ContractBalance as bg, type ContractEventCallback as bh, type ContractHandler as bi, type ContractState as bj, type ContractVtxo as bk, type ContractVtxoEvent as bl, ContractWatcher as bm, DEFAULT_VTXO_PAGE_SIZE as bn, DelegateManagerImpl as bo, type DelegateOptions as bp, DelegatorManagerImpl as bq, type DelegatorProvider as br, type DeprecatedSignerMigrationReport as bs, type DeprecatedSignerReport as bt, DigestMismatchError as bu, type Discoverable as bv, type DiscoveredContract as bw, type DiscoveryDeps as bx, ESPLORA_URL as by, EsploraProvider as bz, type WalletBalance as c, isVirtualCoin as c$, type RawTxSource as c0, RestDelegateProvider as c1, RestDelegatorProvider as c2, type ScanContractsOptions as c3, type ScanResult as c4, type ScheduledSession as c5, SettlementEventType as c6, type SignRequest as c7, type SignerClassification as c8, type SignerSet as c9, canSweepOnchain as cA, classifyAgainstSignerSet as cB, classifyContractSigner as cC, collabExitResolver as cD, configureEventSource as cE, createDefaultActivityRegistry as cF, createExitChainResolver as cG, decodeTapscript as cH, defaultEmulatorPubkey as cI, getConfiguredEventSource as cJ, getNetwork as cK, getRandomId as cL, getSequence as cM, hasCandidates as cN, hasTerminalSpend as cO, isBatchSignable as cP, isContractVtxoEvent as cQ, isCooperativelyMigratable as cR, isDiscoverable as cS, isEventSourceUnavailableError as cT, isExpired as cU, isPastExpiry as cV, isRecoverable as cW, isSigningIdentity as cX, isSpendable as cY, isSubdust as cZ, isTerminalIntentState as c_, type SubscriptionEvent as ca, type SubscriptionHeartbeat as cb, type SweepTxNotification as cc, type TapLeaves as cd, TapTreeCoder as ce, TapscriptType as cf, type Tx as cg, type TxHistoryRecord as ch, type TxKey as ci, type TxNotification as cj, type TxTag as ck, type TxTreeNode as cl, TxType as cm, type VirtualStatus as cn, type Vtxo as co, type VtxoChain as cp, type VtxoType as cq, type WalletMode as cr, type WithPrevTx as cs, assertAllowedSighashTypes as ct, assetMintResolver as cu, attachPrevArkTxs as cv, attachPrevoutTxs as cw, boardingResolver as cx, canRecoverOnchain as cy, canSpendOffchain as cz, type GetSpendableVtxosFilter as d, isVtxoExpiringSoon as d0, isVtxoSpent as d1, networks as d2, resolveEmulatorPubkey as d3, resolveEventSource as d4, resolvePrevTxs as d5, scriptFromTapLeafScript as d6, signerSetFromInfo as d7, toXOnlySignerHex as d8, withPrevTxs as d9, type TapscriptDeriving as da, ActivityRegistry as e, type Activity as f, type IContractManager as g, type GetNewAddressesOptions as h, type NewAddress as i, type IDelegateManager as j, type SettleParams as k, type SettlementEvent as l, type SendParams as m, type IAssetManager as n, RestArkProvider as o, RestIndexerProvider as p, type SubscriptionResponse as q, type ArkProvider as r, type IndexerProvider as s, type RelativeTimelock as t, type TapLeafScript as u, type VirtualCoin as v, type Contract as w, type ExtendedVirtualCoin as x, type VtxoRepositoryKey as y, type WalletState as z };
6441
+ export { type BatchFinalizedEvent as $, type ArkTransaction as A, type ContractFilter as B, type ContractRepository as C, type IntentRepository as D, type ExtendedCoin as E, type ArkIntent as F, type GetVtxosFilter as G, type IntentFilter as H, type IWallet as I, type VirtualTxRepository as J, type VirtualTx as K, type VtxoBranch as L, ChainedTxType as M, type NormalizedExtendedVirtualCoin as N, type Outpoint as O, type Network as P, CSVMultisigTapscript as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotificationEvent as T, type BatchStartedEvent as U, VtxoScript as V, type WalletRepository as W, type TreeSigningStartedEvent as X, TxTree as Y, type TreeNoncesEvent as Z, type BatchFinalizationEvent as _, type Identity as a, type ChainTx as a$, type BatchFailedEvent as a0, type TreeTxEvent as a1, type TreeSignatureEvent as a2, type DescriptorProvider as a3, type IReadonlyWallet as a4, type ReadonlyIdentity as a5, type OnchainProvider as a6, type DelegateProvider as a7, type ReadonlyWalletConfig as a8, type ExitCaptureMode as a9, type Asset as aA, type FeeInfo as aB, type CreateContractParams as aC, type GetContractsFilter as aD, type GetSpendablePathsOptions as aE, type GetAllSpendingPathsOptions as aF, type IssuanceParams as aG, type ReissuanceParams as aH, type BurnParams as aI, type RenewVtxosOptions as aJ, type WatchedScript as aK, type PathSelection as aL, type ContractEvent as aM, type AssetDetails as aN, type IssuanceResult as aO, type DelegateInfo as aP, type MigrationGlobalSkipReason as aQ, type MigrationLegSkipReason as aR, type SignerStatus as aS, type StorageConfig as aT, type IVtxoManager as aU, type ExplorerTransaction as aV, type TreeNonces as aW, type TreePartialSigs as aX, type PendingTx as aY, type EncodedVtxoScript as aZ, type Status as a_, type ExitDataSource as aa, type IReadonlyAssetManager as ab, type ContractSyncState as ac, type RecipientAddressContext as ad, type NetworkName as ae, type ArkInfo as af, ArkAddress as ag, type ContractWithVtxos as ah, selectPendingRecoveryOutpoints as ai, type Coin as aj, ContractManager as ak, type ContractManagerConfig as al, type SettlementConfig as am, VtxoManager as an, type SignerSession as ao, Transaction as ap, type SignedIntent as aq, Intent as ar, type TimeHeight as as, type DescriptorSigningRequest as at, type IntentFeeConfig as au, type OffchainInput as av, FeeAmount as aw, type OnchainInput as ax, type FeeOutput as ay, type ContractWatcherConfig as az, type WalletConfig as b, REGTEST_EMULATOR_PUBKEY as b$, type PathContext as b0, type ActivityIntent as b1, type ActivityResolver as b2, type ArkIntentState as b3, type ArkTapscript as b4, type AssetMetadata as b5, BITCOIN_EMULATOR_PUBKEY as b6, type BaseWalletConfig as b7, type BatchInfo as b8, type BatchSignableIdentity as b9, type EventSourceCapable as bA, type EventSourceFactory as bB, type EventSourceLike as bC, EventSourceUnavailableError as bD, type ExitChainResolver as bE, type ExtendedContractVtxo as bF, type GroupMembership as bG, type HandlerError as bH, type IDelegatorManager as bI, INTENT_TERMINAL_STATES as bJ, IndexerTxType as bK, type IntentCoin as bL, type KnownMetadata as bM, MUTINYNET_EMULATOR_PUBKEY as bN, type MigrateDeprecatedSignerOptions as bO, type MigrationLegReport as bP, type MigrationVtxoRef as bQ, MultisigTapscript as bR, type NewAddressType as bS, type Nonces as bT, type Output as bU, type PageResponse as bV, type PaginationOptions as bW, PartialSig as bX, type PrevTxSource as bY, PrevTxUnavailableError as bZ, type ProviderClass as b_, CLTVMultisigTapscript as ba, type CandidateDeps as bb, ChainTxType as bc, type CommitmentTx as bd, ConditionCSVMultisigTapscript as be, ConditionMultisigTapscript as bf, type ContractBalance as bg, type ContractEventCallback as bh, type ContractHandler as bi, type ContractState as bj, type ContractVtxo as bk, type ContractVtxoEvent as bl, ContractWatcher as bm, DEFAULT_VTXO_PAGE_SIZE as bn, DelegateManagerImpl as bo, type DelegateOptions as bp, DelegatorManagerImpl as bq, type DelegatorProvider as br, type DeprecatedSignerMigrationReport as bs, type DeprecatedSignerReport as bt, DigestMismatchError as bu, type Discoverable as bv, type DiscoveredContract as bw, type DiscoveryDeps as bx, ESPLORA_URL as by, EsploraProvider as bz, type WalletBalance as c, isVirtualCoin as c$, type RawTxSource as c0, RestDelegateProvider as c1, RestDelegatorProvider as c2, type ScanContractsOptions as c3, type ScanResult as c4, type ScheduledSession as c5, SettlementEventType as c6, type SignRequest as c7, type SignerClassification as c8, type SignerSet as c9, canSweepOnchain as cA, classifyAgainstSignerSet as cB, classifyContractSigner as cC, collabExitResolver as cD, configureEventSource as cE, createDefaultActivityRegistry as cF, createExitChainResolver as cG, decodeTapscript as cH, defaultEmulatorPubkey as cI, getConfiguredEventSource as cJ, getNetwork as cK, getRandomId as cL, getSequence as cM, hasCandidates as cN, hasTerminalSpend as cO, isBatchSignable as cP, isContractVtxoEvent as cQ, isCooperativelyMigratable as cR, isDiscoverable as cS, isEventSourceUnavailableError as cT, isExpired as cU, isPastExpiry as cV, isRecoverable as cW, isSigningIdentity as cX, isSpendable as cY, isSubdust as cZ, isTerminalIntentState as c_, type SubscriptionEvent as ca, type SubscriptionHeartbeat as cb, type SweepTxNotification as cc, type TapLeaves as cd, TapTreeCoder as ce, TapscriptType as cf, type Tx as cg, type TxHistoryRecord as ch, type TxKey as ci, type TxNotification as cj, type TxTag as ck, type TxTreeNode as cl, TxType as cm, type VirtualStatus as cn, type Vtxo as co, type VtxoChain as cp, type VtxoType as cq, type WalletMode as cr, type WithPrevTx as cs, assertAllowedSighashTypes as ct, assetMintResolver as cu, attachPrevArkTxs as cv, attachPrevoutTxs as cw, boardingResolver as cx, canRecoverOnchain as cy, canSpendOffchain as cz, type GetSpendableVtxosFilter as d, isVtxoExpiringSoon as d0, isVtxoSpent as d1, networks as d2, resolveEmulatorPubkey as d3, resolveEventSource as d4, resolvePrevTxs as d5, scriptFromTapLeafScript as d6, signerSetFromInfo as d7, toXOnlySignerHex as d8, withPrevTxs as d9, type TapscriptDeriving as da, ActivityRegistry as e, type Activity as f, type IContractManager as g, type GetNewAddressesOptions as h, type NewAddress as i, type IDelegateManager as j, type SettleParams as k, type SettlementEvent as l, type SendParams as m, type IAssetManager as n, RestArkProvider as o, RestIndexerProvider as p, type SubscriptionResponse as q, type ArkProvider as r, type IndexerProvider as s, type RelativeTimelock as t, type TapLeafScript as u, type VirtualCoin as v, type Contract as w, type ExtendedVirtualCoin as x, type VtxoRepositoryKey as y, type WalletState as z };
@@ -1,5 +1,5 @@
1
- import { bi as ContractHandler, t as RelativeTimelock, bv as Discoverable, V as VtxoScript, u as TapLeafScript, da as TapscriptDeriving } from './index-CAS4GyN-.js';
2
- import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-b2Wiymoj.js';
1
+ import { bi as ContractHandler, t as RelativeTimelock, bv as Discoverable, V as VtxoScript, u as TapLeafScript, da as TapscriptDeriving } from './index-Ctul0N3Y.js';
2
+ import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-C9lpdrb0.js';
3
3
  import { Bytes } from '@scure/btc-signer/utils.js';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { bi as ContractHandler, t as RelativeTimelock, bv as Discoverable, V as VtxoScript, u as TapLeafScript, da as TapscriptDeriving } from './index-CAS4GyN-.cjs';
2
- import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-DaNNUI_B.cjs';
1
+ import { bi as ContractHandler, t as RelativeTimelock, bv as Discoverable, V as VtxoScript, u as TapLeafScript, da as TapscriptDeriving } from './index-Ctul0N3Y.cjs';
2
+ import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-B4bKASut.cjs';
3
3
  import { Bytes } from '@scure/btc-signer/utils.js';
4
4
 
5
5
  /**