@arkade-os/sdk 0.5.13 → 0.5.14

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 (74) hide show
  1. package/README.md +6 -0
  2. package/dist/adapters/expo.cjs +6 -6
  3. package/dist/adapters/expo.d.cts +2 -2
  4. package/dist/adapters/expo.d.ts +2 -2
  5. package/dist/adapters/expo.js +3 -3
  6. package/dist/{asyncStorageTaskQueue-Y4BlVm41.d.cts → asyncStorageTaskQueue-DzO5SBcm.d.cts} +2 -2
  7. package/dist/{asyncStorageTaskQueue-Dhbe00Ya.d.ts → asyncStorageTaskQueue-p7zeFhA3.d.ts} +2 -2
  8. package/dist/{chunk-QSERJPTT.js → chunk-4HZQSKWG.js} +3 -3
  9. package/dist/{chunk-QSERJPTT.js.map → chunk-4HZQSKWG.js.map} +1 -1
  10. package/dist/{chunk-HS7TKVOZ.cjs → chunk-6J4GABF7.cjs} +8 -4
  11. package/dist/chunk-6J4GABF7.cjs.map +1 -0
  12. package/dist/{chunk-BA36SQY2.js → chunk-72EC3ASW.js} +3 -3
  13. package/dist/{chunk-BA36SQY2.js.map → chunk-72EC3ASW.js.map} +1 -1
  14. package/dist/{chunk-WFJPLXOE.cjs → chunk-7LPT6AYH.cjs} +18 -18
  15. package/dist/{chunk-WFJPLXOE.cjs.map → chunk-7LPT6AYH.cjs.map} +1 -1
  16. package/dist/{chunk-BP4NA7HK.js → chunk-AZHBGWVC.js} +4 -4
  17. package/dist/{chunk-BP4NA7HK.js.map → chunk-AZHBGWVC.js.map} +1 -1
  18. package/dist/{chunk-6XVTGWQK.cjs → chunk-EVVLVFY7.cjs} +17 -17
  19. package/dist/{chunk-6XVTGWQK.cjs.map → chunk-EVVLVFY7.cjs.map} +1 -1
  20. package/dist/{chunk-Y3AWLHQP.js → chunk-HWWSLCQN.js} +394 -58
  21. package/dist/chunk-HWWSLCQN.js.map +1 -0
  22. package/dist/{chunk-LHLRG2BE.js → chunk-J2JZZTOE.js} +8 -5
  23. package/dist/chunk-J2JZZTOE.js.map +1 -0
  24. package/dist/{chunk-D4QH6L54.js → chunk-LCGRZ24T.js} +4 -4
  25. package/dist/{chunk-D4QH6L54.js.map → chunk-LCGRZ24T.js.map} +1 -1
  26. package/dist/{chunk-6WPP4UGN.cjs → chunk-LQH7DACV.cjs} +871 -535
  27. package/dist/chunk-LQH7DACV.cjs.map +1 -0
  28. package/dist/{chunk-TYSUFG2K.cjs → chunk-MEIE2AEU.cjs} +11 -11
  29. package/dist/{chunk-TYSUFG2K.cjs.map → chunk-MEIE2AEU.cjs.map} +1 -1
  30. package/dist/{chunk-TD4PKK2I.cjs → chunk-XZHTYYW5.cjs} +8 -8
  31. package/dist/{chunk-TD4PKK2I.cjs.map → chunk-XZHTYYW5.cjs.map} +1 -1
  32. package/dist/compiler.d.cts +1 -1
  33. package/dist/compiler.d.ts +1 -1
  34. package/dist/contracts/handlers/index.cjs +10 -10
  35. package/dist/contracts/handlers/index.d.cts +3 -3
  36. package/dist/contracts/handlers/index.d.ts +3 -3
  37. package/dist/contracts/handlers/index.js +2 -2
  38. package/dist/{index-BapVvuoI.d.ts → index-CaOBA9Ev.d.ts} +2 -2
  39. package/dist/{index-BQwrHcOh.d.cts → index-Cy57QdcL.d.cts} +67 -2
  40. package/dist/{index-DuXylQrN.d.ts → index-Db5qzYRi.d.ts} +67 -2
  41. package/dist/{index-BaTItxPx.d.cts → index-Lq_u0hqj.d.cts} +2 -2
  42. package/dist/index.cjs +325 -325
  43. package/dist/index.d.cts +126 -57
  44. package/dist/index.d.ts +126 -57
  45. package/dist/index.js +4 -4
  46. package/dist/{program-DPzf5qsk.d.cts → program-ZWUAWy_9.d.cts} +1 -1
  47. package/dist/{program-38A2Twvj.d.ts → program-zdDO4cMt.d.ts} +1 -1
  48. package/dist/repositories/realm/index.cjs +37 -37
  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 +5 -5
  52. package/dist/repositories/sqlite/index.cjs +35 -35
  53. package/dist/repositories/sqlite/index.d.cts +2 -2
  54. package/dist/repositories/sqlite/index.d.ts +2 -2
  55. package/dist/repositories/sqlite/index.js +5 -5
  56. package/dist/{taskRunner-D2itCXf6.d.cts → taskRunner-DhZ-KQBW.d.cts} +2 -2
  57. package/dist/{taskRunner-BxOmg-O6.d.ts → taskRunner-amPuilMW.d.ts} +2 -2
  58. package/dist/wallet/expo/background.cjs +14 -14
  59. package/dist/wallet/expo/background.d.cts +3 -3
  60. package/dist/wallet/expo/background.d.ts +3 -3
  61. package/dist/wallet/expo/background.js +6 -6
  62. package/dist/wallet/expo/index.cjs +15 -15
  63. package/dist/wallet/expo/index.d.cts +2 -2
  64. package/dist/wallet/expo/index.d.ts +2 -2
  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 +4 -4
  68. package/dist/worker/expo/index.d.ts +4 -4
  69. package/dist/worker/expo/index.js +5 -5
  70. package/package.json +1 -1
  71. package/dist/chunk-6WPP4UGN.cjs.map +0 -1
  72. package/dist/chunk-HS7TKVOZ.cjs.map +0 -1
  73. package/dist/chunk-LHLRG2BE.js.map +0 -1
  74. package/dist/chunk-Y3AWLHQP.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { Diagnostic, CompileOptions as CompileOptions$1, CompilerArtifact, DebugInfo, CompileInput } from '@arkade-os/compiler';
2
2
  export { CompileInput, CompilerArtifact, DebugInfo, Diagnostic } from '@arkade-os/compiler';
3
- import { P as Program } from './program-DPzf5qsk.cjs';
3
+ import { P as Program } from './program-ZWUAWy_9.cjs';
4
4
  import './base-C-Y5t_0F.cjs';
5
5
  import '@scure/btc-signer';
6
6
  import '@scure/btc-signer/psbt.js';
@@ -1,6 +1,6 @@
1
1
  import { Diagnostic, CompileOptions as CompileOptions$1, CompilerArtifact, DebugInfo, CompileInput } from '@arkade-os/compiler';
2
2
  export { CompileInput, CompilerArtifact, DebugInfo, Diagnostic } from '@arkade-os/compiler';
3
- import { P as Program } from './program-38A2Twvj.js';
3
+ import { P as Program } from './program-zdDO4cMt.js';
4
4
  import './base-C-Y5t_0F.js';
5
5
  import '@scure/btc-signer';
6
6
  import '@scure/btc-signer/psbt.js';
@@ -1,43 +1,43 @@
1
1
  'use strict';
2
2
 
3
- var chunkTD4PKK2I_cjs = require('../../chunk-TD4PKK2I.cjs');
3
+ var chunkXZHTYYW5_cjs = require('../../chunk-XZHTYYW5.cjs');
4
4
  require('../../chunk-ACIQZLWL.cjs');
5
- require('../../chunk-HS7TKVOZ.cjs');
5
+ require('../../chunk-6J4GABF7.cjs');
6
6
  require('../../chunk-6TBTL42M.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "ArkadeContractHandler", {
11
11
  enumerable: true,
12
- get: function () { return chunkTD4PKK2I_cjs.ArkadeContractHandler; }
12
+ get: function () { return chunkXZHTYYW5_cjs.ArkadeContractHandler; }
13
13
  });
14
14
  Object.defineProperty(exports, "BoardingContractHandler", {
15
15
  enumerable: true,
16
- get: function () { return chunkTD4PKK2I_cjs.BoardingContractHandler; }
16
+ get: function () { return chunkXZHTYYW5_cjs.BoardingContractHandler; }
17
17
  });
18
18
  Object.defineProperty(exports, "DefaultContractHandler", {
19
19
  enumerable: true,
20
- get: function () { return chunkTD4PKK2I_cjs.DefaultContractHandler; }
20
+ get: function () { return chunkXZHTYYW5_cjs.DefaultContractHandler; }
21
21
  });
22
22
  Object.defineProperty(exports, "DelegateContractHandler", {
23
23
  enumerable: true,
24
- get: function () { return chunkTD4PKK2I_cjs.DelegateContractHandler; }
24
+ get: function () { return chunkXZHTYYW5_cjs.DelegateContractHandler; }
25
25
  });
26
26
  Object.defineProperty(exports, "ExecutorContractHandler", {
27
27
  enumerable: true,
28
- get: function () { return chunkTD4PKK2I_cjs.ExecutorContractHandler; }
28
+ get: function () { return chunkXZHTYYW5_cjs.ExecutorContractHandler; }
29
29
  });
30
30
  Object.defineProperty(exports, "VHTLCContractHandler", {
31
31
  enumerable: true,
32
- get: function () { return chunkTD4PKK2I_cjs.VHTLCContractHandler; }
32
+ get: function () { return chunkXZHTYYW5_cjs.VHTLCContractHandler; }
33
33
  });
34
34
  Object.defineProperty(exports, "VHTLCV2ContractHandler", {
35
35
  enumerable: true,
36
- get: function () { return chunkTD4PKK2I_cjs.VHTLCV2ContractHandler; }
36
+ get: function () { return chunkXZHTYYW5_cjs.VHTLCV2ContractHandler; }
37
37
  });
38
38
  Object.defineProperty(exports, "contractHandlers", {
39
39
  enumerable: true,
40
- get: function () { return chunkTD4PKK2I_cjs.contractHandlers; }
40
+ get: function () { return chunkXZHTYYW5_cjs.contractHandlers; }
41
41
  });
42
42
  //# sourceMappingURL=index.cjs.map
43
43
  //# sourceMappingURL=index.cjs.map
@@ -1,8 +1,8 @@
1
- export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from '../../index-BaTItxPx.cjs';
2
- export { cq as ExecutorContractHandler, cs as ExecutorContractParams } from '../../index-BQwrHcOh.cjs';
1
+ export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from '../../index-Lq_u0hqj.cjs';
2
+ export { cr as ExecutorContractHandler, ct as ExecutorContractParams } from '../../index-Cy57QdcL.cjs';
3
3
  import '../../base-C-Y5t_0F.cjs';
4
4
  import '@scure/btc-signer';
5
5
  import '@scure/btc-signer/psbt.js';
6
6
  import '@scure/btc-signer/utils.js';
7
- import '../../program-DPzf5qsk.cjs';
7
+ import '../../program-ZWUAWy_9.cjs';
8
8
  import '@scure/btc-signer/transaction.js';
@@ -1,8 +1,8 @@
1
- export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from '../../index-BapVvuoI.js';
2
- export { cq as ExecutorContractHandler, cs as ExecutorContractParams } from '../../index-DuXylQrN.js';
1
+ export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from '../../index-CaOBA9Ev.js';
2
+ export { cr as ExecutorContractHandler, ct as ExecutorContractParams } from '../../index-Db5qzYRi.js';
3
3
  import '../../base-C-Y5t_0F.js';
4
4
  import '@scure/btc-signer';
5
5
  import '@scure/btc-signer/psbt.js';
6
6
  import '@scure/btc-signer/utils.js';
7
- import '../../program-38A2Twvj.js';
7
+ import '../../program-zdDO4cMt.js';
8
8
  import '@scure/btc-signer/transaction.js';
@@ -1,6 +1,6 @@
1
- export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DelegateContractHandler, ExecutorContractHandler, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers } from '../../chunk-QSERJPTT.js';
1
+ export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DelegateContractHandler, ExecutorContractHandler, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers } from '../../chunk-4HZQSKWG.js';
2
2
  import '../../chunk-X57WKONW.js';
3
- import '../../chunk-LHLRG2BE.js';
3
+ import '../../chunk-J2JZZTOE.js';
4
4
  import '../../chunk-GB67AGXG.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
- import { bR as ContractHandler, c4 as DefaultVtxo, cg as Discoverable, c8 as DelegateVtxo, fg as TapscriptDeriving } from './index-DuXylQrN.js';
1
+ import { bR as ContractHandler, c4 as DefaultVtxo, cg as Discoverable, c8 as DelegateVtxo, fj as TapscriptDeriving } from './index-Db5qzYRi.js';
2
2
  import { R as RelativeTimelock, V as VtxoScript, T as TapLeafScript } from './base-C-Y5t_0F.js';
3
3
  import { Bytes } from '@scure/btc-signer/utils.js';
4
- import { g as ArkadeContractParams, a as ArkadeProgramScript } from './program-38A2Twvj.js';
4
+ import { g as ArkadeContractParams, a as ArkadeProgramScript } from './program-zdDO4cMt.js';
5
5
 
6
6
  /**
7
7
  * Registry for contract handlers.
@@ -2834,10 +2834,12 @@ interface StoredVtxoReservation {
2834
2834
  }
2835
2835
  /** Single-writer holds; only the owning application can establish when release is safe. */
2836
2836
  interface VtxoReservationRepository {
2837
- readonly version: 1;
2837
+ readonly version: 2;
2838
2838
  getReservations(): Promise<StoredVtxoReservation[]>;
2839
2839
  saveReservation(reservation: StoredVtxoReservation): Promise<void>;
2840
2840
  deleteReservation(id: string): Promise<void>;
2841
+ /** Compare and delete atomically; resolve true only after the matching delete commits. */
2842
+ deleteReservationIfMatches(id: string, expected: readonly Outpoint[]): Promise<boolean>;
2841
2843
  }
2842
2844
 
2843
2845
  /**
@@ -3503,11 +3505,31 @@ declare class RestDelegateProvider implements DelegateProvider {
3503
3505
  interface ExecutorInfo extends ExecutorContractKeys {
3504
3506
  version: string;
3505
3507
  network: string;
3508
+ /** Seals template secrets for this Executor; absent when it has no encryption key. */
3509
+ encryptionPubkey?: string;
3506
3510
  }
3507
3511
  interface ExecutorTemplate {
3508
3512
  id: string;
3509
3513
  status: string;
3510
3514
  }
3515
+ interface ExecutorTemplateParam {
3516
+ name: string;
3517
+ type: string;
3518
+ }
3519
+ /** A template with its document, as `getTemplate` and `registerTemplate` return it. */
3520
+ interface ExecutorTemplateDetails extends ExecutorTemplate {
3521
+ document: string;
3522
+ artifactIds: string[];
3523
+ params: ExecutorTemplateParam[];
3524
+ /** proof, virtual or onchain. */
3525
+ type: string;
3526
+ createdAt?: number;
3527
+ }
3528
+ interface ExecutorArtifact {
3529
+ id: string;
3530
+ document: string;
3531
+ createdAt?: number;
3532
+ }
3511
3533
  interface ExecutorDelegationInput {
3512
3534
  name: string;
3513
3535
  onchain: boolean;
@@ -3555,6 +3577,23 @@ interface ExecutorProvider {
3555
3577
  getDelegation(address: string, options?: {
3556
3578
  signal?: AbortSignal;
3557
3579
  }): Promise<ExecutorDelegationDetails>;
3580
+ /**
3581
+ * `document` is the JSON text, or an object to send as its JSON. Executor v0.0.5 takes uploads
3582
+ * on its admin port; its public port answers 403 unless run with `EXECUTOR_PUBLIC_REGISTRY=true`.
3583
+ */
3584
+ registerArtifact?(document: string | object, options?: {
3585
+ signal?: AbortSignal;
3586
+ }): Promise<ExecutorArtifact>;
3587
+ getArtifact?(id: string, options?: {
3588
+ signal?: AbortSignal;
3589
+ }): Promise<ExecutorArtifact>;
3590
+ /** Needs the template's artifacts registered first; `document` and 403 as in `registerArtifact`. */
3591
+ registerTemplate?(document: string | object, options?: {
3592
+ signal?: AbortSignal;
3593
+ }): Promise<ExecutorTemplateDetails>;
3594
+ getTemplate?(id: string, options?: {
3595
+ signal?: AbortSignal;
3596
+ }): Promise<ExecutorTemplateDetails>;
3558
3597
  }
3559
3598
  /** REST provider for the Executor, the service that renews and boards a wallet's coins. */
3560
3599
  declare class RestExecutorProvider implements ExecutorProvider {
@@ -3570,6 +3609,20 @@ declare class RestExecutorProvider implements ExecutorProvider {
3570
3609
  getDelegation(address: string, options?: {
3571
3610
  signal?: AbortSignal;
3572
3611
  }): Promise<ExecutorDelegationDetails>;
3612
+ registerArtifact(document: string | object, options?: {
3613
+ signal?: AbortSignal;
3614
+ }): Promise<ExecutorArtifact>;
3615
+ getArtifact(id: string, options?: {
3616
+ signal?: AbortSignal;
3617
+ }): Promise<ExecutorArtifact>;
3618
+ registerTemplate(document: string | object, options?: {
3619
+ signal?: AbortSignal;
3620
+ }): Promise<ExecutorTemplateDetails>;
3621
+ getTemplate(id: string, options?: {
3622
+ signal?: AbortSignal;
3623
+ }): Promise<ExecutorTemplateDetails>;
3624
+ private postJson;
3625
+ private getJson;
3573
3626
  }
3574
3627
 
3575
3628
  interface IDelegateManager {
@@ -5049,6 +5102,7 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable,
5049
5102
  private persistentReservedOutpoints;
5050
5103
  private reservationWrites;
5051
5104
  private reservationQueue;
5105
+ private requireReservationRepository;
5052
5106
  private withReservationWrite;
5053
5107
  isVtxoReserved(outpoint: Outpoint): boolean;
5054
5108
  /** Restored before automatic spending. Reusing an owner id must name the same inputs. */
@@ -5093,6 +5147,9 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable,
5093
5147
  readonly settlementConfig: SettlementConfig | false;
5094
5148
  private _concurrentSpending;
5095
5149
  private _submitsAwaitingFinalize;
5150
+ private pendingTxRecoveryDeferred;
5151
+ /** @internal */
5152
+ get hasDeferredPendingTxRecovery(): boolean;
5096
5153
  /** @see WalletConfig.concurrentSpending */
5097
5154
  get concurrentSpending(): boolean;
5098
5155
  /** Public here; `ReadonlyWallet` keeps it protected so a readonly view can't submit. */
@@ -5102,6 +5159,7 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable,
5102
5159
  * {@link ReadonlyWallet}: a readonly wallet or `toReadonly()` view must not be able to submit.
5103
5160
  */
5104
5161
  getArkadeBroadcaster(): Promise<ArkadeBroadcaster>;
5162
+ private assertNoDeferredPendingTxRecovery;
5105
5163
  protected constructor(identity: Identity, network: Network, onchainProvider: OnchainProvider, arkProvider: OperatorProvider, indexerProvider: IndexerProvider, arkServerPublicKey: Bytes, offchainTapscript: DefaultVtxo.Script | DelegateVtxo.Script, boardingTapscript: DefaultVtxo.Script, serverUnrollScript: CSVMultisigTapscript.Type, forfeitOutputScript: Bytes, forfeitPubkey: Bytes, dustAmount: bigint, walletRepository: WalletRepository, contractRepository: ContractRepository, delegateProvider?: DelegateProvider, watcherConfig?: WalletConfig["watcherConfig"], settlementConfig?: WalletConfig["settlementConfig"], walletContractTimelocks?: RelativeTimelock[], receiveRotator?: WalletReceiveRotator, descriptorProvider?: DescriptorProvider, keyring?: KeyringDescriptorProvider, lookAheadWindow?: number,
5106
5164
  /** Overrides for the `batchExpiry` bounds; defaults derive from `network`. */
5107
5165
  batchExpiryPolicy?: Partial<BatchExpiryPolicy> | undefined,
@@ -5225,6 +5283,11 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable,
5225
5283
  finalized: string[];
5226
5284
  pending: string[];
5227
5285
  }>;
5286
+ /** @internal */
5287
+ deferPendingTxRecovery(): Promise<boolean>;
5288
+ /** @internal */
5289
+ resumeDeferredPendingTxs(isCurrent: () => boolean): Promise<void>;
5290
+ private finalizePendingTxsImpl;
5228
5291
  /**
5229
5292
  * Operator unroll scripts a pending checkpoint may have been built under: configured, current,
5230
5293
  * and one per deprecated signer — else a pre-rotation tx would stay pending forever.
@@ -8071,6 +8134,8 @@ interface IReadonlyWallet {
8071
8134
  assetManager: IReadonlyAssetManager;
8072
8135
  /** Wipe all locally persisted wallet data (VTXOs, UTXOs, history, sync cursor, contracts). */
8073
8136
  clear(): Promise<void>;
8137
+ /** Release wallet-owned background resources without wiping persisted data. */
8138
+ dispose?(): Promise<void>;
8074
8139
  }
8075
8140
 
8076
8141
  interface TransactionHistoryPageFilter {
@@ -8388,4 +8453,4 @@ declare function isBatchSignable(identity: Identity): identity is BatchSignableI
8388
8453
  */
8389
8454
  declare function isSigningIdentity(value: unknown): value is Identity;
8390
8455
 
8391
- export { type WalletState as $, type AddressAllocationCapable as A, type OperatorProvider as B, type ContractRepository as C, type Contract as D, type ExtendedCoin as E, type ExtendedVirtualCoin as F, type GetOperatorInfoOptions as G, type HDWalletCapable as H, type IWallet as I, type PageRequest as J, type Outpoint as K, type PageResult as L, type ScriptVtxoCursor as M, type NormalizedExtendedVirtualCoin as N, type OperatorInfo as O, type ProviderConnectionState as P, type ScriptVtxoPageOptions as Q, type Recipient as R, type SettleParams as S, type TxNotificationEvent as T, type StoredVtxo as U, type VirtualCoin as V, type WalletRepository as W, type VtxoRepositoryKey as X, type TransactionHistoryPageFilter as Y, type TransactionHistoryPageCursor as Z, type AtomicWalletState as _, type HDAllocationCapable as a, type Network as a$, type ContractFilter as a0, type BatchRegistrationRepository as a1, type BatchRegistration as a2, type BatchRegistrationPageFilter as a3, type VirtualTxRepository as a4, type VirtualTx as a5, type VtxoBranch as a6, ChainedTxType as a7, type DescriptorProvider as a8, Transaction as a9, type NormalizedVtxoPage as aA, type ContractSyncState as aB, type ContractWithVtxos as aC, type WatchedScript as aD, type PathSelection as aE, type ContractEvent as aF, type AssetDetails as aG, type IssuanceResult as aH, type DelegateInfo as aI, type MigrationGlobalSkipReason as aJ, type MigrationLegSkipReason as aK, type SignerStatus as aL, type NetworkName as aM, ReadonlyWallet as aN, type SettlementConfig as aO, type ContractWatcherConfig as aP, type Asset as aQ, type FeeInfo as aR, type ReceiveRotatorFactory as aS, type ReceiveRotatorBootOpts as aT, type ReceiveRotatorBoot as aU, type IReadonlyWallet as aV, type IReadonlyAssetManager as aW, type StorageConfig as aX, type VtxoReservation as aY, type IExecutorManager as aZ, type IVtxoManager as a_, type SignerSession as aa, type ReadonlyIdentity as ab, type DescriptorSigningRequest as ac, type IntentFeeConfig as ad, type OffchainInput as ae, FeeAmount as af, type OnchainInput as ag, type FeeOutput as ah, type VtxoReservationRepository as ai, type StoredVtxoReservation as aj, type ArkadeCashTx as ak, type ArkadeInfo as al, type OnchainProvider as am, type ArkadeCashRecord as an, type ArkadeCashClaimResult as ao, type GetVtxosOptions as ap, type PaginationOptions as aq, type CreateContractParams as ar, type GetContractsFilter as as, type GetSpendablePathsOptions as at, type GetAllSpendingPathsOptions as au, type InputExpiryFloor as av, type IssuanceParams as aw, type ReissuanceParams as ax, type BurnParams as ay, type RenewVtxosOptions as az, type Identity as b, DEFAULT_VTXO_PAGE_SIZE as b$, type Coin as b0, type SendBitcoinParams as b1, type ExplorerTransaction as b2, type SignedProof as b3, Proof as b4, type TreeNonces as b5, type TreePartialSigs as b6, type PendingTx as b7, type EmulatorProvider as b8, type Status as b9, BITCOIN_EMULATOR_PUBKEY as bA, type BaseWalletConfig as bB, type BatchFailedEvent as bC, type BatchFinalizationEvent as bD, type BatchFinalizedEvent as bE, type BatchInfo as bF, type BatchRegistrationFilter as bG, type BatchRegistrationState as bH, type BatchSignableIdentity as bI, type BatchStartedEvent as bJ, type BoardingUtxoGroup as bK, type CandidateDeps as bL, ChainTxType as bM, type CommitmentTx as bN, type ConnectorTreeNode as bO, type ContractBalance as bP, type ContractEventCallback as bQ, type ContractHandler as bR, ContractManager as bS, type ContractManagerConfig as bT, type ContractScope as bU, type ContractState as bV, type ContractVtxo as bW, ContractWatcher as bX, type ContractWatcherEventCallback as bY, DEFAULT_ARKADE_EMULATOR_URL as bZ, DEFAULT_MIN_BATCH_EXPIRY_SECONDS as b_, type BatchExpiryPolicy as ba, Batch as bb, type ChainTx as bc, TxTree as bd, type ArkadeService as be, type ContractVtxoEvent as bf, type ExtendedContractVtxo as bg, type ResolvedArkadeService as bh, resolveArkadeService as bi, type PathContext as bj, AbortError as bk, type ActivityIntent as bl, type ActivityResolver as bm, ArkError as bn, ArkErrorName as bo, type ArkIntent as bp, type ArkIntentState as bq, ArkadeCash as br, type ArkadeCashAction as bs, ArkadeCashCreateError as bt, ArkadeCashOperatorMismatchError as bu, type ArkadeCashUnclaimedReason as bv, type ArkadeCashUnclaimedVtxo as bw, type ArkadeCashVtxoRef as bx, type AssetMetadata as by, BATCH_REGISTRATION_TERMINAL_STATES as bz, Wallet as c, MUTINYNET_EMULATOR_PUBKEY as c$, DELEGATION_EXPIRES_KEY as c0, DELEGATION_LOCAL_STATUS as c1, DELEGATION_REGISTERED_KEY as c2, DELEGATION_STATUS_KEY as c3, DefaultVtxo as c4, DelegateManagerImpl as c5, type DelegateOptions as c6, type DelegateProvider as c7, DelegateVtxo as c8, type DelegatedOutput as c9, type ExecutorTemplate as cA, type ExecutorWatchMetadata as cB, type ExecutorWatchRegistration as cC, type ExitCaptureMode as cD, type ExitChainResolver as cE, type ExitDataSource as cF, ForeignDescriptorError as cG, type GetArkadeInfoOptions as cH, type GetUtxosOptions as cI, type GroupMembership as cJ, type HandlerError as cK, HttpResponseError as cL, INTENT_TERMINAL_STATES as cM, type IncomingFunds as cN, IndexedDBWalletRepository as cO, IndexerTxType as cP, type IndexerUtxo as cQ, IndexerUtxosUnsupportedError as cR, Intent as cS, type IntentCoin as cT, type IntentFilter as cU, type IntentPageFilter as cV, type IntentRepository as cW, KeyringDescriptorProvider as cX, type KnownMetadata as cY, MAX_PAGE_SIZE as cZ, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD as c_, type DelegatedWallet as ca, type DelegationOptions as cb, type DelegationParams as cc, type DeprecatedSignerMigrationReport as cd, type DeprecatedSignerReport as ce, DigestMismatchError as cf, type Discoverable as cg, type DiscoveredContract as ch, type DiscoveryDeps as ci, ESPLORA_URL as cj, type EmulatorInfo as ck, EsploraProvider as cl, type EventSourceCapable as cm, type EventSourceFactory as cn, type EventSourceLike as co, EventSourceUnavailableError as cp, ExecutorContractHandler as cq, type ExecutorContractKeys as cr, type ExecutorContractParams as cs, type ExecutorDefault as ct, type ExecutorDelegation as cu, type ExecutorDelegationDetails as cv, type ExecutorInfo as cw, ExecutorManagerImpl as cx, type ExecutorProvider as cy, ExecutorRequestError as cz, type WalletConfig as d, VtxoReservedError as d$, type MigrateDeprecatedSignerOptions as d0, type MigrationLegReport as d1, type MigrationVtxoRef as d2, type NewAddressType as d3, type Nonces as d4, type NotifiesIncomingFunds as d5, OnchainCosignAmbiguousError as d6, OnchainCosignRejectedError as d7, OnchainCosignUnsupportedError as d8, type Output as d9, ServerResponseMismatchError as dA, SettlementEventType as dB, type SignRequest as dC, type SignedIntent as dD, type SignerClassification as dE, type SignerSet as dF, SingleKey as dG, type SubscriptionFilter as dH, type SubscriptionResponse as dI, type SweepTxNotification as dJ, type TapLeaves as dK, type TimeHeight as dL, type TreeNoncesEvent as dM, type TreeSignatureEvent as dN, TreeSignerSession as dO, type TreeSigningStartedEvent as dP, type TreeTxEvent as dQ, type Tx as dR, type TxHistoryRecord as dS, type TxKey as dT, type TxNotification as dU, type TxTag as dV, type TxTreeNode as dW, TxType as dX, type Vtxo as dY, type VtxoChain as dZ, VtxoManager as d_, type PageResponse as da, PartialSig as db, type PrevTxSource as dc, PrevTxUnavailableError as dd, type ProofInput as de, type ProviderClass as df, type ProviderKind as dg, ProviderUnavailableError as dh, REGTEST_EMULATOR_PUBKEY as di, REGTEST_MIN_BATCH_EXPIRY_SECONDS as dj, type RawTxSource as dk, ReadonlySingleKey as dl, type ReadonlyWalletConfig as dm, type RecipientArkadeAddressContext as dn, type RegistrationOptions as dp, type RenewalSplit as dq, type RenewalSplitContext as dr, RestArkProvider as ds, RestDelegateProvider as dt, RestEmulatorProvider as du, RestExecutorProvider as dv, type ScanContractsOptions as dw, type ScanResult as dx, type ScheduledSession as dy, type ServerInfoSource as dz, type ArkadeReader as e, networkFromOperatorInfo as e$, type VtxoType as e0, type WaitForIncomingFundsOptions as e1, WalletCannotAllocateAddressError as e2, type WalletMode as e3, type WithPrevTx as e4, addArkadeCashRecord as e5, arkadeCashId as e6, arkadeCashResolver as e7, assertAllowedSighashTypes as e8, assertPageRequest as e9, getAllNormalizedVtxos as eA, getConfiguredEventSource as eB, getNetwork as eC, getNormalizedVtxos as eD, getRandomId as eE, hasCandidates as eF, isAddressAllocationCapable as eG, isArkError as eH, isBatchSignable as eI, isContractVtxoEvent as eJ, isCooperativelyMigratable as eK, isDiscoverable as eL, isEventSourceUnavailableError as eM, isHDAllocationCapable as eN, isHDWalletCapable as eO, isPastExpiry as eP, isSigningIdentity as eQ, isSubdust as eR, isTerminalBatchRegistrationState as eS, isTerminalIntentState as eT, isVirtualCoin as eU, isVtxoExpiringSoon as eV, isVtxoSpent as eW, iteratePages as eX, maybeArkError as eY, mergeArkadeCashRecord as eZ, networkFromArkadeInfo as e_, assertRecipientArkadeAddress as ea, assertValidBatchExpiry as eb, assetMintResolver as ec, attachPrevArkTxs as ed, attachPrevoutTxs as ee, boardingResolver as ef, canRecoverOnchain as eg, canSpendOffchain as eh, canSweepOnchain as ei, classifyAgainstSignerSet as ej, classifyContractSigner as ek, collabExitResolver as el, collectBatchRegistrations as em, collectContracts as en, collectIntents as eo, collectPages as ep, collectScriptVtxos as eq, collectTransactionHistory as er, collectUtxos as es, collectVtxos as et, configureEventSource as eu, createArkadeCashTracker as ev, createDefaultActivityRegistry as ew, createExitChainResolver as ex, defaultBatchExpiryPolicy as ey, defaultEmulatorPubkey as ez, type ArkadeBroadcaster as f, networks as f0, pageResult as f1, resolveBatchExpiryPolicy as f2, resolveDescriptorSigner as f3, resolveEmulatorPubkey as f4, resolveEventSource as f5, resolvePrevTxs as f6, selectVirtualCoins as f7, signerSetFromInfo as f8, signingDescriptorIndex as f9, strictSigningDescriptorIndex as fa, toOffchainInputFeeParams as fb, toXOnlySignerHex as fc, waitForIncomingFunds as fd, watchExecutorContracts as fe, withPrevTxs as ff, type TapscriptDeriving as fg, type WalletBalance as g, type GetVtxosFilter as h, type GetSpendableVtxosFilter as i, type ArkTransaction as j, ActivityRegistry as k, type Activity as l, type IContractManager as m, type GetNewAddressesOptions as n, type NewAddress as o, type IDelegateManager as p, type SettlementEvent as q, type SendParams as r, type SendOnchainParams as s, type IAssetManager as t, RestOperatorProvider as u, RestIndexerProvider as v, type SubscriptionEvent as w, type SubscriptionHeartbeat as x, type ArkProvider as y, type IndexerProvider as z };
8456
+ export { type WalletState as $, type AddressAllocationCapable as A, type OperatorProvider as B, type ContractRepository as C, type Contract as D, type ExtendedCoin as E, type ExtendedVirtualCoin as F, type GetOperatorInfoOptions as G, type HDWalletCapable as H, type IWallet as I, type PageRequest as J, type Outpoint as K, type PageResult as L, type ScriptVtxoCursor as M, type NormalizedExtendedVirtualCoin as N, type OperatorInfo as O, type ProviderConnectionState as P, type ScriptVtxoPageOptions as Q, type Recipient as R, type SettleParams as S, type TxNotificationEvent as T, type StoredVtxo as U, type VirtualCoin as V, type WalletRepository as W, type VtxoRepositoryKey as X, type TransactionHistoryPageFilter as Y, type TransactionHistoryPageCursor as Z, type AtomicWalletState as _, type HDAllocationCapable as a, type Network as a$, type ContractFilter as a0, type BatchRegistrationRepository as a1, type BatchRegistration as a2, type BatchRegistrationPageFilter as a3, type VirtualTxRepository as a4, type VirtualTx as a5, type VtxoBranch as a6, ChainedTxType as a7, type DescriptorProvider as a8, Transaction as a9, type NormalizedVtxoPage as aA, type ContractSyncState as aB, type ContractWithVtxos as aC, type WatchedScript as aD, type PathSelection as aE, type ContractEvent as aF, type AssetDetails as aG, type IssuanceResult as aH, type DelegateInfo as aI, type MigrationGlobalSkipReason as aJ, type MigrationLegSkipReason as aK, type SignerStatus as aL, type NetworkName as aM, ReadonlyWallet as aN, type SettlementConfig as aO, type ContractWatcherConfig as aP, type Asset as aQ, type FeeInfo as aR, type ReceiveRotatorFactory as aS, type ReceiveRotatorBootOpts as aT, type ReceiveRotatorBoot as aU, type IReadonlyWallet as aV, type IReadonlyAssetManager as aW, type StorageConfig as aX, type VtxoReservation as aY, type IExecutorManager as aZ, type IVtxoManager as a_, type SignerSession as aa, type ReadonlyIdentity as ab, type DescriptorSigningRequest as ac, type IntentFeeConfig as ad, type OffchainInput as ae, FeeAmount as af, type OnchainInput as ag, type FeeOutput as ah, type VtxoReservationRepository as ai, type StoredVtxoReservation as aj, type ArkadeCashTx as ak, type ArkadeInfo as al, type OnchainProvider as am, type ArkadeCashRecord as an, type ArkadeCashClaimResult as ao, type GetVtxosOptions as ap, type PaginationOptions as aq, type CreateContractParams as ar, type GetContractsFilter as as, type GetSpendablePathsOptions as at, type GetAllSpendingPathsOptions as au, type InputExpiryFloor as av, type IssuanceParams as aw, type ReissuanceParams as ax, type BurnParams as ay, type RenewVtxosOptions as az, type Identity as b, DEFAULT_VTXO_PAGE_SIZE as b$, type Coin as b0, type SendBitcoinParams as b1, type ExplorerTransaction as b2, type SignedProof as b3, Proof as b4, type TreeNonces as b5, type TreePartialSigs as b6, type PendingTx as b7, type EmulatorProvider as b8, type Status as b9, BITCOIN_EMULATOR_PUBKEY as bA, type BaseWalletConfig as bB, type BatchFailedEvent as bC, type BatchFinalizationEvent as bD, type BatchFinalizedEvent as bE, type BatchInfo as bF, type BatchRegistrationFilter as bG, type BatchRegistrationState as bH, type BatchSignableIdentity as bI, type BatchStartedEvent as bJ, type BoardingUtxoGroup as bK, type CandidateDeps as bL, ChainTxType as bM, type CommitmentTx as bN, type ConnectorTreeNode as bO, type ContractBalance as bP, type ContractEventCallback as bQ, type ContractHandler as bR, ContractManager as bS, type ContractManagerConfig as bT, type ContractScope as bU, type ContractState as bV, type ContractVtxo as bW, ContractWatcher as bX, type ContractWatcherEventCallback as bY, DEFAULT_ARKADE_EMULATOR_URL as bZ, DEFAULT_MIN_BATCH_EXPIRY_SECONDS as b_, type BatchExpiryPolicy as ba, Batch as bb, type ChainTx as bc, TxTree as bd, type ArkadeService as be, type ContractVtxoEvent as bf, type ExtendedContractVtxo as bg, type ResolvedArkadeService as bh, resolveArkadeService as bi, type PathContext as bj, AbortError as bk, type ActivityIntent as bl, type ActivityResolver as bm, ArkError as bn, ArkErrorName as bo, type ArkIntent as bp, type ArkIntentState as bq, ArkadeCash as br, type ArkadeCashAction as bs, ArkadeCashCreateError as bt, ArkadeCashOperatorMismatchError as bu, type ArkadeCashUnclaimedReason as bv, type ArkadeCashUnclaimedVtxo as bw, type ArkadeCashVtxoRef as bx, type AssetMetadata as by, BATCH_REGISTRATION_TERMINAL_STATES as bz, Wallet as c, type KnownMetadata as c$, DELEGATION_EXPIRES_KEY as c0, DELEGATION_LOCAL_STATUS as c1, DELEGATION_REGISTERED_KEY as c2, DELEGATION_STATUS_KEY as c3, DefaultVtxo as c4, DelegateManagerImpl as c5, type DelegateOptions as c6, type DelegateProvider as c7, DelegateVtxo as c8, type DelegatedOutput as c9, ExecutorRequestError as cA, type ExecutorTemplate as cB, type ExecutorTemplateDetails as cC, type ExecutorTemplateParam as cD, type ExecutorWatchMetadata as cE, type ExecutorWatchRegistration as cF, type ExitCaptureMode as cG, type ExitChainResolver as cH, type ExitDataSource as cI, ForeignDescriptorError as cJ, type GetArkadeInfoOptions as cK, type GetUtxosOptions as cL, type GroupMembership as cM, type HandlerError as cN, HttpResponseError as cO, INTENT_TERMINAL_STATES as cP, type IncomingFunds as cQ, IndexedDBWalletRepository as cR, IndexerTxType as cS, type IndexerUtxo as cT, IndexerUtxosUnsupportedError as cU, Intent as cV, type IntentCoin as cW, type IntentFilter as cX, type IntentPageFilter as cY, type IntentRepository as cZ, KeyringDescriptorProvider as c_, type DelegatedWallet as ca, type DelegationOptions as cb, type DelegationParams as cc, type DeprecatedSignerMigrationReport as cd, type DeprecatedSignerReport as ce, DigestMismatchError as cf, type Discoverable as cg, type DiscoveredContract as ch, type DiscoveryDeps as ci, ESPLORA_URL as cj, type EmulatorInfo as ck, EsploraProvider as cl, type EventSourceCapable as cm, type EventSourceFactory as cn, type EventSourceLike as co, EventSourceUnavailableError as cp, type ExecutorArtifact as cq, ExecutorContractHandler as cr, type ExecutorContractKeys as cs, type ExecutorContractParams as ct, type ExecutorDefault as cu, type ExecutorDelegation as cv, type ExecutorDelegationDetails as cw, type ExecutorInfo as cx, ExecutorManagerImpl as cy, type ExecutorProvider as cz, type WalletConfig as d, type Vtxo as d$, MAX_PAGE_SIZE as d0, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD as d1, MUTINYNET_EMULATOR_PUBKEY as d2, type MigrateDeprecatedSignerOptions as d3, type MigrationLegReport as d4, type MigrationVtxoRef as d5, type NewAddressType as d6, type Nonces as d7, type NotifiesIncomingFunds as d8, OnchainCosignAmbiguousError as d9, type ScanResult as dA, type ScheduledSession as dB, type ServerInfoSource as dC, ServerResponseMismatchError as dD, SettlementEventType as dE, type SignRequest as dF, type SignedIntent as dG, type SignerClassification as dH, type SignerSet as dI, SingleKey as dJ, type SubscriptionFilter as dK, type SubscriptionResponse as dL, type SweepTxNotification as dM, type TapLeaves as dN, type TimeHeight as dO, type TreeNoncesEvent as dP, type TreeSignatureEvent as dQ, TreeSignerSession as dR, type TreeSigningStartedEvent as dS, type TreeTxEvent as dT, type Tx as dU, type TxHistoryRecord as dV, type TxKey as dW, type TxNotification as dX, type TxTag as dY, type TxTreeNode as dZ, TxType as d_, OnchainCosignRejectedError as da, OnchainCosignUnsupportedError as db, type Output as dc, type PageResponse as dd, PartialSig as de, type PrevTxSource as df, PrevTxUnavailableError as dg, type ProofInput as dh, type ProviderClass as di, type ProviderKind as dj, ProviderUnavailableError as dk, REGTEST_EMULATOR_PUBKEY as dl, REGTEST_MIN_BATCH_EXPIRY_SECONDS as dm, type RawTxSource as dn, ReadonlySingleKey as dp, type ReadonlyWalletConfig as dq, type RecipientArkadeAddressContext as dr, type RegistrationOptions as ds, type RenewalSplit as dt, type RenewalSplitContext as du, RestArkProvider as dv, RestDelegateProvider as dw, RestEmulatorProvider as dx, RestExecutorProvider as dy, type ScanContractsOptions as dz, type ArkadeReader as e, maybeArkError as e$, type VtxoChain as e0, VtxoManager as e1, VtxoReservedError as e2, type VtxoType as e3, type WaitForIncomingFundsOptions as e4, WalletCannotAllocateAddressError as e5, type WalletMode as e6, type WithPrevTx as e7, addArkadeCashRecord as e8, arkadeCashId as e9, createExitChainResolver as eA, defaultBatchExpiryPolicy as eB, defaultEmulatorPubkey as eC, getAllNormalizedVtxos as eD, getConfiguredEventSource as eE, getNetwork as eF, getNormalizedVtxos as eG, getRandomId as eH, hasCandidates as eI, isAddressAllocationCapable as eJ, isArkError as eK, isBatchSignable as eL, isContractVtxoEvent as eM, isCooperativelyMigratable as eN, isDiscoverable as eO, isEventSourceUnavailableError as eP, isHDAllocationCapable as eQ, isHDWalletCapable as eR, isPastExpiry as eS, isSigningIdentity as eT, isSubdust as eU, isTerminalBatchRegistrationState as eV, isTerminalIntentState as eW, isVirtualCoin as eX, isVtxoExpiringSoon as eY, isVtxoSpent as eZ, iteratePages as e_, arkadeCashResolver as ea, assertAllowedSighashTypes as eb, assertPageRequest as ec, assertRecipientArkadeAddress as ed, assertValidBatchExpiry as ee, assetMintResolver as ef, attachPrevArkTxs as eg, attachPrevoutTxs as eh, boardingResolver as ei, canRecoverOnchain as ej, canSpendOffchain as ek, canSweepOnchain as el, classifyAgainstSignerSet as em, classifyContractSigner as en, collabExitResolver as eo, collectBatchRegistrations as ep, collectContracts as eq, collectIntents as er, collectPages as es, collectScriptVtxos as et, collectTransactionHistory as eu, collectUtxos as ev, collectVtxos as ew, configureEventSource as ex, createArkadeCashTracker as ey, createDefaultActivityRegistry as ez, type ArkadeBroadcaster as f, mergeArkadeCashRecord as f0, networkFromArkadeInfo as f1, networkFromOperatorInfo as f2, networks as f3, pageResult as f4, resolveBatchExpiryPolicy as f5, resolveDescriptorSigner as f6, resolveEmulatorPubkey as f7, resolveEventSource as f8, resolvePrevTxs as f9, selectVirtualCoins as fa, signerSetFromInfo as fb, signingDescriptorIndex as fc, strictSigningDescriptorIndex as fd, toOffchainInputFeeParams as fe, toXOnlySignerHex as ff, waitForIncomingFunds as fg, watchExecutorContracts as fh, withPrevTxs as fi, type TapscriptDeriving as fj, type WalletBalance as g, type GetVtxosFilter as h, type GetSpendableVtxosFilter as i, type ArkTransaction as j, ActivityRegistry as k, type Activity as l, type IContractManager as m, type GetNewAddressesOptions as n, type NewAddress as o, type IDelegateManager as p, type SettlementEvent as q, type SendParams as r, type SendOnchainParams as s, type IAssetManager as t, RestOperatorProvider as u, RestIndexerProvider as v, type SubscriptionEvent as w, type SubscriptionHeartbeat as x, type ArkProvider as y, type IndexerProvider as z };
@@ -2834,10 +2834,12 @@ interface StoredVtxoReservation {
2834
2834
  }
2835
2835
  /** Single-writer holds; only the owning application can establish when release is safe. */
2836
2836
  interface VtxoReservationRepository {
2837
- readonly version: 1;
2837
+ readonly version: 2;
2838
2838
  getReservations(): Promise<StoredVtxoReservation[]>;
2839
2839
  saveReservation(reservation: StoredVtxoReservation): Promise<void>;
2840
2840
  deleteReservation(id: string): Promise<void>;
2841
+ /** Compare and delete atomically; resolve true only after the matching delete commits. */
2842
+ deleteReservationIfMatches(id: string, expected: readonly Outpoint[]): Promise<boolean>;
2841
2843
  }
2842
2844
 
2843
2845
  /**
@@ -3503,11 +3505,31 @@ declare class RestDelegateProvider implements DelegateProvider {
3503
3505
  interface ExecutorInfo extends ExecutorContractKeys {
3504
3506
  version: string;
3505
3507
  network: string;
3508
+ /** Seals template secrets for this Executor; absent when it has no encryption key. */
3509
+ encryptionPubkey?: string;
3506
3510
  }
3507
3511
  interface ExecutorTemplate {
3508
3512
  id: string;
3509
3513
  status: string;
3510
3514
  }
3515
+ interface ExecutorTemplateParam {
3516
+ name: string;
3517
+ type: string;
3518
+ }
3519
+ /** A template with its document, as `getTemplate` and `registerTemplate` return it. */
3520
+ interface ExecutorTemplateDetails extends ExecutorTemplate {
3521
+ document: string;
3522
+ artifactIds: string[];
3523
+ params: ExecutorTemplateParam[];
3524
+ /** proof, virtual or onchain. */
3525
+ type: string;
3526
+ createdAt?: number;
3527
+ }
3528
+ interface ExecutorArtifact {
3529
+ id: string;
3530
+ document: string;
3531
+ createdAt?: number;
3532
+ }
3511
3533
  interface ExecutorDelegationInput {
3512
3534
  name: string;
3513
3535
  onchain: boolean;
@@ -3555,6 +3577,23 @@ interface ExecutorProvider {
3555
3577
  getDelegation(address: string, options?: {
3556
3578
  signal?: AbortSignal;
3557
3579
  }): Promise<ExecutorDelegationDetails>;
3580
+ /**
3581
+ * `document` is the JSON text, or an object to send as its JSON. Executor v0.0.5 takes uploads
3582
+ * on its admin port; its public port answers 403 unless run with `EXECUTOR_PUBLIC_REGISTRY=true`.
3583
+ */
3584
+ registerArtifact?(document: string | object, options?: {
3585
+ signal?: AbortSignal;
3586
+ }): Promise<ExecutorArtifact>;
3587
+ getArtifact?(id: string, options?: {
3588
+ signal?: AbortSignal;
3589
+ }): Promise<ExecutorArtifact>;
3590
+ /** Needs the template's artifacts registered first; `document` and 403 as in `registerArtifact`. */
3591
+ registerTemplate?(document: string | object, options?: {
3592
+ signal?: AbortSignal;
3593
+ }): Promise<ExecutorTemplateDetails>;
3594
+ getTemplate?(id: string, options?: {
3595
+ signal?: AbortSignal;
3596
+ }): Promise<ExecutorTemplateDetails>;
3558
3597
  }
3559
3598
  /** REST provider for the Executor, the service that renews and boards a wallet's coins. */
3560
3599
  declare class RestExecutorProvider implements ExecutorProvider {
@@ -3570,6 +3609,20 @@ declare class RestExecutorProvider implements ExecutorProvider {
3570
3609
  getDelegation(address: string, options?: {
3571
3610
  signal?: AbortSignal;
3572
3611
  }): Promise<ExecutorDelegationDetails>;
3612
+ registerArtifact(document: string | object, options?: {
3613
+ signal?: AbortSignal;
3614
+ }): Promise<ExecutorArtifact>;
3615
+ getArtifact(id: string, options?: {
3616
+ signal?: AbortSignal;
3617
+ }): Promise<ExecutorArtifact>;
3618
+ registerTemplate(document: string | object, options?: {
3619
+ signal?: AbortSignal;
3620
+ }): Promise<ExecutorTemplateDetails>;
3621
+ getTemplate(id: string, options?: {
3622
+ signal?: AbortSignal;
3623
+ }): Promise<ExecutorTemplateDetails>;
3624
+ private postJson;
3625
+ private getJson;
3573
3626
  }
3574
3627
 
3575
3628
  interface IDelegateManager {
@@ -5049,6 +5102,7 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable,
5049
5102
  private persistentReservedOutpoints;
5050
5103
  private reservationWrites;
5051
5104
  private reservationQueue;
5105
+ private requireReservationRepository;
5052
5106
  private withReservationWrite;
5053
5107
  isVtxoReserved(outpoint: Outpoint): boolean;
5054
5108
  /** Restored before automatic spending. Reusing an owner id must name the same inputs. */
@@ -5093,6 +5147,9 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable,
5093
5147
  readonly settlementConfig: SettlementConfig | false;
5094
5148
  private _concurrentSpending;
5095
5149
  private _submitsAwaitingFinalize;
5150
+ private pendingTxRecoveryDeferred;
5151
+ /** @internal */
5152
+ get hasDeferredPendingTxRecovery(): boolean;
5096
5153
  /** @see WalletConfig.concurrentSpending */
5097
5154
  get concurrentSpending(): boolean;
5098
5155
  /** Public here; `ReadonlyWallet` keeps it protected so a readonly view can't submit. */
@@ -5102,6 +5159,7 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable,
5102
5159
  * {@link ReadonlyWallet}: a readonly wallet or `toReadonly()` view must not be able to submit.
5103
5160
  */
5104
5161
  getArkadeBroadcaster(): Promise<ArkadeBroadcaster>;
5162
+ private assertNoDeferredPendingTxRecovery;
5105
5163
  protected constructor(identity: Identity, network: Network, onchainProvider: OnchainProvider, arkProvider: OperatorProvider, indexerProvider: IndexerProvider, arkServerPublicKey: Bytes, offchainTapscript: DefaultVtxo.Script | DelegateVtxo.Script, boardingTapscript: DefaultVtxo.Script, serverUnrollScript: CSVMultisigTapscript.Type, forfeitOutputScript: Bytes, forfeitPubkey: Bytes, dustAmount: bigint, walletRepository: WalletRepository, contractRepository: ContractRepository, delegateProvider?: DelegateProvider, watcherConfig?: WalletConfig["watcherConfig"], settlementConfig?: WalletConfig["settlementConfig"], walletContractTimelocks?: RelativeTimelock[], receiveRotator?: WalletReceiveRotator, descriptorProvider?: DescriptorProvider, keyring?: KeyringDescriptorProvider, lookAheadWindow?: number,
5106
5164
  /** Overrides for the `batchExpiry` bounds; defaults derive from `network`. */
5107
5165
  batchExpiryPolicy?: Partial<BatchExpiryPolicy> | undefined,
@@ -5225,6 +5283,11 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable,
5225
5283
  finalized: string[];
5226
5284
  pending: string[];
5227
5285
  }>;
5286
+ /** @internal */
5287
+ deferPendingTxRecovery(): Promise<boolean>;
5288
+ /** @internal */
5289
+ resumeDeferredPendingTxs(isCurrent: () => boolean): Promise<void>;
5290
+ private finalizePendingTxsImpl;
5228
5291
  /**
5229
5292
  * Operator unroll scripts a pending checkpoint may have been built under: configured, current,
5230
5293
  * and one per deprecated signer — else a pre-rotation tx would stay pending forever.
@@ -8071,6 +8134,8 @@ interface IReadonlyWallet {
8071
8134
  assetManager: IReadonlyAssetManager;
8072
8135
  /** Wipe all locally persisted wallet data (VTXOs, UTXOs, history, sync cursor, contracts). */
8073
8136
  clear(): Promise<void>;
8137
+ /** Release wallet-owned background resources without wiping persisted data. */
8138
+ dispose?(): Promise<void>;
8074
8139
  }
8075
8140
 
8076
8141
  interface TransactionHistoryPageFilter {
@@ -8388,4 +8453,4 @@ declare function isBatchSignable(identity: Identity): identity is BatchSignableI
8388
8453
  */
8389
8454
  declare function isSigningIdentity(value: unknown): value is Identity;
8390
8455
 
8391
- export { type WalletState as $, type AddressAllocationCapable as A, type OperatorProvider as B, type ContractRepository as C, type Contract as D, type ExtendedCoin as E, type ExtendedVirtualCoin as F, type GetOperatorInfoOptions as G, type HDWalletCapable as H, type IWallet as I, type PageRequest as J, type Outpoint as K, type PageResult as L, type ScriptVtxoCursor as M, type NormalizedExtendedVirtualCoin as N, type OperatorInfo as O, type ProviderConnectionState as P, type ScriptVtxoPageOptions as Q, type Recipient as R, type SettleParams as S, type TxNotificationEvent as T, type StoredVtxo as U, type VirtualCoin as V, type WalletRepository as W, type VtxoRepositoryKey as X, type TransactionHistoryPageFilter as Y, type TransactionHistoryPageCursor as Z, type AtomicWalletState as _, type HDAllocationCapable as a, type Network as a$, type ContractFilter as a0, type BatchRegistrationRepository as a1, type BatchRegistration as a2, type BatchRegistrationPageFilter as a3, type VirtualTxRepository as a4, type VirtualTx as a5, type VtxoBranch as a6, ChainedTxType as a7, type DescriptorProvider as a8, Transaction as a9, type NormalizedVtxoPage as aA, type ContractSyncState as aB, type ContractWithVtxos as aC, type WatchedScript as aD, type PathSelection as aE, type ContractEvent as aF, type AssetDetails as aG, type IssuanceResult as aH, type DelegateInfo as aI, type MigrationGlobalSkipReason as aJ, type MigrationLegSkipReason as aK, type SignerStatus as aL, type NetworkName as aM, ReadonlyWallet as aN, type SettlementConfig as aO, type ContractWatcherConfig as aP, type Asset as aQ, type FeeInfo as aR, type ReceiveRotatorFactory as aS, type ReceiveRotatorBootOpts as aT, type ReceiveRotatorBoot as aU, type IReadonlyWallet as aV, type IReadonlyAssetManager as aW, type StorageConfig as aX, type VtxoReservation as aY, type IExecutorManager as aZ, type IVtxoManager as a_, type SignerSession as aa, type ReadonlyIdentity as ab, type DescriptorSigningRequest as ac, type IntentFeeConfig as ad, type OffchainInput as ae, FeeAmount as af, type OnchainInput as ag, type FeeOutput as ah, type VtxoReservationRepository as ai, type StoredVtxoReservation as aj, type ArkadeCashTx as ak, type ArkadeInfo as al, type OnchainProvider as am, type ArkadeCashRecord as an, type ArkadeCashClaimResult as ao, type GetVtxosOptions as ap, type PaginationOptions as aq, type CreateContractParams as ar, type GetContractsFilter as as, type GetSpendablePathsOptions as at, type GetAllSpendingPathsOptions as au, type InputExpiryFloor as av, type IssuanceParams as aw, type ReissuanceParams as ax, type BurnParams as ay, type RenewVtxosOptions as az, type Identity as b, DEFAULT_VTXO_PAGE_SIZE as b$, type Coin as b0, type SendBitcoinParams as b1, type ExplorerTransaction as b2, type SignedProof as b3, Proof as b4, type TreeNonces as b5, type TreePartialSigs as b6, type PendingTx as b7, type EmulatorProvider as b8, type Status as b9, BITCOIN_EMULATOR_PUBKEY as bA, type BaseWalletConfig as bB, type BatchFailedEvent as bC, type BatchFinalizationEvent as bD, type BatchFinalizedEvent as bE, type BatchInfo as bF, type BatchRegistrationFilter as bG, type BatchRegistrationState as bH, type BatchSignableIdentity as bI, type BatchStartedEvent as bJ, type BoardingUtxoGroup as bK, type CandidateDeps as bL, ChainTxType as bM, type CommitmentTx as bN, type ConnectorTreeNode as bO, type ContractBalance as bP, type ContractEventCallback as bQ, type ContractHandler as bR, ContractManager as bS, type ContractManagerConfig as bT, type ContractScope as bU, type ContractState as bV, type ContractVtxo as bW, ContractWatcher as bX, type ContractWatcherEventCallback as bY, DEFAULT_ARKADE_EMULATOR_URL as bZ, DEFAULT_MIN_BATCH_EXPIRY_SECONDS as b_, type BatchExpiryPolicy as ba, Batch as bb, type ChainTx as bc, TxTree as bd, type ArkadeService as be, type ContractVtxoEvent as bf, type ExtendedContractVtxo as bg, type ResolvedArkadeService as bh, resolveArkadeService as bi, type PathContext as bj, AbortError as bk, type ActivityIntent as bl, type ActivityResolver as bm, ArkError as bn, ArkErrorName as bo, type ArkIntent as bp, type ArkIntentState as bq, ArkadeCash as br, type ArkadeCashAction as bs, ArkadeCashCreateError as bt, ArkadeCashOperatorMismatchError as bu, type ArkadeCashUnclaimedReason as bv, type ArkadeCashUnclaimedVtxo as bw, type ArkadeCashVtxoRef as bx, type AssetMetadata as by, BATCH_REGISTRATION_TERMINAL_STATES as bz, Wallet as c, MUTINYNET_EMULATOR_PUBKEY as c$, DELEGATION_EXPIRES_KEY as c0, DELEGATION_LOCAL_STATUS as c1, DELEGATION_REGISTERED_KEY as c2, DELEGATION_STATUS_KEY as c3, DefaultVtxo as c4, DelegateManagerImpl as c5, type DelegateOptions as c6, type DelegateProvider as c7, DelegateVtxo as c8, type DelegatedOutput as c9, type ExecutorTemplate as cA, type ExecutorWatchMetadata as cB, type ExecutorWatchRegistration as cC, type ExitCaptureMode as cD, type ExitChainResolver as cE, type ExitDataSource as cF, ForeignDescriptorError as cG, type GetArkadeInfoOptions as cH, type GetUtxosOptions as cI, type GroupMembership as cJ, type HandlerError as cK, HttpResponseError as cL, INTENT_TERMINAL_STATES as cM, type IncomingFunds as cN, IndexedDBWalletRepository as cO, IndexerTxType as cP, type IndexerUtxo as cQ, IndexerUtxosUnsupportedError as cR, Intent as cS, type IntentCoin as cT, type IntentFilter as cU, type IntentPageFilter as cV, type IntentRepository as cW, KeyringDescriptorProvider as cX, type KnownMetadata as cY, MAX_PAGE_SIZE as cZ, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD as c_, type DelegatedWallet as ca, type DelegationOptions as cb, type DelegationParams as cc, type DeprecatedSignerMigrationReport as cd, type DeprecatedSignerReport as ce, DigestMismatchError as cf, type Discoverable as cg, type DiscoveredContract as ch, type DiscoveryDeps as ci, ESPLORA_URL as cj, type EmulatorInfo as ck, EsploraProvider as cl, type EventSourceCapable as cm, type EventSourceFactory as cn, type EventSourceLike as co, EventSourceUnavailableError as cp, ExecutorContractHandler as cq, type ExecutorContractKeys as cr, type ExecutorContractParams as cs, type ExecutorDefault as ct, type ExecutorDelegation as cu, type ExecutorDelegationDetails as cv, type ExecutorInfo as cw, ExecutorManagerImpl as cx, type ExecutorProvider as cy, ExecutorRequestError as cz, type WalletConfig as d, VtxoReservedError as d$, type MigrateDeprecatedSignerOptions as d0, type MigrationLegReport as d1, type MigrationVtxoRef as d2, type NewAddressType as d3, type Nonces as d4, type NotifiesIncomingFunds as d5, OnchainCosignAmbiguousError as d6, OnchainCosignRejectedError as d7, OnchainCosignUnsupportedError as d8, type Output as d9, ServerResponseMismatchError as dA, SettlementEventType as dB, type SignRequest as dC, type SignedIntent as dD, type SignerClassification as dE, type SignerSet as dF, SingleKey as dG, type SubscriptionFilter as dH, type SubscriptionResponse as dI, type SweepTxNotification as dJ, type TapLeaves as dK, type TimeHeight as dL, type TreeNoncesEvent as dM, type TreeSignatureEvent as dN, TreeSignerSession as dO, type TreeSigningStartedEvent as dP, type TreeTxEvent as dQ, type Tx as dR, type TxHistoryRecord as dS, type TxKey as dT, type TxNotification as dU, type TxTag as dV, type TxTreeNode as dW, TxType as dX, type Vtxo as dY, type VtxoChain as dZ, VtxoManager as d_, type PageResponse as da, PartialSig as db, type PrevTxSource as dc, PrevTxUnavailableError as dd, type ProofInput as de, type ProviderClass as df, type ProviderKind as dg, ProviderUnavailableError as dh, REGTEST_EMULATOR_PUBKEY as di, REGTEST_MIN_BATCH_EXPIRY_SECONDS as dj, type RawTxSource as dk, ReadonlySingleKey as dl, type ReadonlyWalletConfig as dm, type RecipientArkadeAddressContext as dn, type RegistrationOptions as dp, type RenewalSplit as dq, type RenewalSplitContext as dr, RestArkProvider as ds, RestDelegateProvider as dt, RestEmulatorProvider as du, RestExecutorProvider as dv, type ScanContractsOptions as dw, type ScanResult as dx, type ScheduledSession as dy, type ServerInfoSource as dz, type ArkadeReader as e, networkFromOperatorInfo as e$, type VtxoType as e0, type WaitForIncomingFundsOptions as e1, WalletCannotAllocateAddressError as e2, type WalletMode as e3, type WithPrevTx as e4, addArkadeCashRecord as e5, arkadeCashId as e6, arkadeCashResolver as e7, assertAllowedSighashTypes as e8, assertPageRequest as e9, getAllNormalizedVtxos as eA, getConfiguredEventSource as eB, getNetwork as eC, getNormalizedVtxos as eD, getRandomId as eE, hasCandidates as eF, isAddressAllocationCapable as eG, isArkError as eH, isBatchSignable as eI, isContractVtxoEvent as eJ, isCooperativelyMigratable as eK, isDiscoverable as eL, isEventSourceUnavailableError as eM, isHDAllocationCapable as eN, isHDWalletCapable as eO, isPastExpiry as eP, isSigningIdentity as eQ, isSubdust as eR, isTerminalBatchRegistrationState as eS, isTerminalIntentState as eT, isVirtualCoin as eU, isVtxoExpiringSoon as eV, isVtxoSpent as eW, iteratePages as eX, maybeArkError as eY, mergeArkadeCashRecord as eZ, networkFromArkadeInfo as e_, assertRecipientArkadeAddress as ea, assertValidBatchExpiry as eb, assetMintResolver as ec, attachPrevArkTxs as ed, attachPrevoutTxs as ee, boardingResolver as ef, canRecoverOnchain as eg, canSpendOffchain as eh, canSweepOnchain as ei, classifyAgainstSignerSet as ej, classifyContractSigner as ek, collabExitResolver as el, collectBatchRegistrations as em, collectContracts as en, collectIntents as eo, collectPages as ep, collectScriptVtxos as eq, collectTransactionHistory as er, collectUtxos as es, collectVtxos as et, configureEventSource as eu, createArkadeCashTracker as ev, createDefaultActivityRegistry as ew, createExitChainResolver as ex, defaultBatchExpiryPolicy as ey, defaultEmulatorPubkey as ez, type ArkadeBroadcaster as f, networks as f0, pageResult as f1, resolveBatchExpiryPolicy as f2, resolveDescriptorSigner as f3, resolveEmulatorPubkey as f4, resolveEventSource as f5, resolvePrevTxs as f6, selectVirtualCoins as f7, signerSetFromInfo as f8, signingDescriptorIndex as f9, strictSigningDescriptorIndex as fa, toOffchainInputFeeParams as fb, toXOnlySignerHex as fc, waitForIncomingFunds as fd, watchExecutorContracts as fe, withPrevTxs as ff, type TapscriptDeriving as fg, type WalletBalance as g, type GetVtxosFilter as h, type GetSpendableVtxosFilter as i, type ArkTransaction as j, ActivityRegistry as k, type Activity as l, type IContractManager as m, type GetNewAddressesOptions as n, type NewAddress as o, type IDelegateManager as p, type SettlementEvent as q, type SendParams as r, type SendOnchainParams as s, type IAssetManager as t, RestOperatorProvider as u, RestIndexerProvider as v, type SubscriptionEvent as w, type SubscriptionHeartbeat as x, type ArkProvider as y, type IndexerProvider as z };
8456
+ export { type WalletState as $, type AddressAllocationCapable as A, type OperatorProvider as B, type ContractRepository as C, type Contract as D, type ExtendedCoin as E, type ExtendedVirtualCoin as F, type GetOperatorInfoOptions as G, type HDWalletCapable as H, type IWallet as I, type PageRequest as J, type Outpoint as K, type PageResult as L, type ScriptVtxoCursor as M, type NormalizedExtendedVirtualCoin as N, type OperatorInfo as O, type ProviderConnectionState as P, type ScriptVtxoPageOptions as Q, type Recipient as R, type SettleParams as S, type TxNotificationEvent as T, type StoredVtxo as U, type VirtualCoin as V, type WalletRepository as W, type VtxoRepositoryKey as X, type TransactionHistoryPageFilter as Y, type TransactionHistoryPageCursor as Z, type AtomicWalletState as _, type HDAllocationCapable as a, type Network as a$, type ContractFilter as a0, type BatchRegistrationRepository as a1, type BatchRegistration as a2, type BatchRegistrationPageFilter as a3, type VirtualTxRepository as a4, type VirtualTx as a5, type VtxoBranch as a6, ChainedTxType as a7, type DescriptorProvider as a8, Transaction as a9, type NormalizedVtxoPage as aA, type ContractSyncState as aB, type ContractWithVtxos as aC, type WatchedScript as aD, type PathSelection as aE, type ContractEvent as aF, type AssetDetails as aG, type IssuanceResult as aH, type DelegateInfo as aI, type MigrationGlobalSkipReason as aJ, type MigrationLegSkipReason as aK, type SignerStatus as aL, type NetworkName as aM, ReadonlyWallet as aN, type SettlementConfig as aO, type ContractWatcherConfig as aP, type Asset as aQ, type FeeInfo as aR, type ReceiveRotatorFactory as aS, type ReceiveRotatorBootOpts as aT, type ReceiveRotatorBoot as aU, type IReadonlyWallet as aV, type IReadonlyAssetManager as aW, type StorageConfig as aX, type VtxoReservation as aY, type IExecutorManager as aZ, type IVtxoManager as a_, type SignerSession as aa, type ReadonlyIdentity as ab, type DescriptorSigningRequest as ac, type IntentFeeConfig as ad, type OffchainInput as ae, FeeAmount as af, type OnchainInput as ag, type FeeOutput as ah, type VtxoReservationRepository as ai, type StoredVtxoReservation as aj, type ArkadeCashTx as ak, type ArkadeInfo as al, type OnchainProvider as am, type ArkadeCashRecord as an, type ArkadeCashClaimResult as ao, type GetVtxosOptions as ap, type PaginationOptions as aq, type CreateContractParams as ar, type GetContractsFilter as as, type GetSpendablePathsOptions as at, type GetAllSpendingPathsOptions as au, type InputExpiryFloor as av, type IssuanceParams as aw, type ReissuanceParams as ax, type BurnParams as ay, type RenewVtxosOptions as az, type Identity as b, DEFAULT_VTXO_PAGE_SIZE as b$, type Coin as b0, type SendBitcoinParams as b1, type ExplorerTransaction as b2, type SignedProof as b3, Proof as b4, type TreeNonces as b5, type TreePartialSigs as b6, type PendingTx as b7, type EmulatorProvider as b8, type Status as b9, BITCOIN_EMULATOR_PUBKEY as bA, type BaseWalletConfig as bB, type BatchFailedEvent as bC, type BatchFinalizationEvent as bD, type BatchFinalizedEvent as bE, type BatchInfo as bF, type BatchRegistrationFilter as bG, type BatchRegistrationState as bH, type BatchSignableIdentity as bI, type BatchStartedEvent as bJ, type BoardingUtxoGroup as bK, type CandidateDeps as bL, ChainTxType as bM, type CommitmentTx as bN, type ConnectorTreeNode as bO, type ContractBalance as bP, type ContractEventCallback as bQ, type ContractHandler as bR, ContractManager as bS, type ContractManagerConfig as bT, type ContractScope as bU, type ContractState as bV, type ContractVtxo as bW, ContractWatcher as bX, type ContractWatcherEventCallback as bY, DEFAULT_ARKADE_EMULATOR_URL as bZ, DEFAULT_MIN_BATCH_EXPIRY_SECONDS as b_, type BatchExpiryPolicy as ba, Batch as bb, type ChainTx as bc, TxTree as bd, type ArkadeService as be, type ContractVtxoEvent as bf, type ExtendedContractVtxo as bg, type ResolvedArkadeService as bh, resolveArkadeService as bi, type PathContext as bj, AbortError as bk, type ActivityIntent as bl, type ActivityResolver as bm, ArkError as bn, ArkErrorName as bo, type ArkIntent as bp, type ArkIntentState as bq, ArkadeCash as br, type ArkadeCashAction as bs, ArkadeCashCreateError as bt, ArkadeCashOperatorMismatchError as bu, type ArkadeCashUnclaimedReason as bv, type ArkadeCashUnclaimedVtxo as bw, type ArkadeCashVtxoRef as bx, type AssetMetadata as by, BATCH_REGISTRATION_TERMINAL_STATES as bz, Wallet as c, type KnownMetadata as c$, DELEGATION_EXPIRES_KEY as c0, DELEGATION_LOCAL_STATUS as c1, DELEGATION_REGISTERED_KEY as c2, DELEGATION_STATUS_KEY as c3, DefaultVtxo as c4, DelegateManagerImpl as c5, type DelegateOptions as c6, type DelegateProvider as c7, DelegateVtxo as c8, type DelegatedOutput as c9, ExecutorRequestError as cA, type ExecutorTemplate as cB, type ExecutorTemplateDetails as cC, type ExecutorTemplateParam as cD, type ExecutorWatchMetadata as cE, type ExecutorWatchRegistration as cF, type ExitCaptureMode as cG, type ExitChainResolver as cH, type ExitDataSource as cI, ForeignDescriptorError as cJ, type GetArkadeInfoOptions as cK, type GetUtxosOptions as cL, type GroupMembership as cM, type HandlerError as cN, HttpResponseError as cO, INTENT_TERMINAL_STATES as cP, type IncomingFunds as cQ, IndexedDBWalletRepository as cR, IndexerTxType as cS, type IndexerUtxo as cT, IndexerUtxosUnsupportedError as cU, Intent as cV, type IntentCoin as cW, type IntentFilter as cX, type IntentPageFilter as cY, type IntentRepository as cZ, KeyringDescriptorProvider as c_, type DelegatedWallet as ca, type DelegationOptions as cb, type DelegationParams as cc, type DeprecatedSignerMigrationReport as cd, type DeprecatedSignerReport as ce, DigestMismatchError as cf, type Discoverable as cg, type DiscoveredContract as ch, type DiscoveryDeps as ci, ESPLORA_URL as cj, type EmulatorInfo as ck, EsploraProvider as cl, type EventSourceCapable as cm, type EventSourceFactory as cn, type EventSourceLike as co, EventSourceUnavailableError as cp, type ExecutorArtifact as cq, ExecutorContractHandler as cr, type ExecutorContractKeys as cs, type ExecutorContractParams as ct, type ExecutorDefault as cu, type ExecutorDelegation as cv, type ExecutorDelegationDetails as cw, type ExecutorInfo as cx, ExecutorManagerImpl as cy, type ExecutorProvider as cz, type WalletConfig as d, type Vtxo as d$, MAX_PAGE_SIZE as d0, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD as d1, MUTINYNET_EMULATOR_PUBKEY as d2, type MigrateDeprecatedSignerOptions as d3, type MigrationLegReport as d4, type MigrationVtxoRef as d5, type NewAddressType as d6, type Nonces as d7, type NotifiesIncomingFunds as d8, OnchainCosignAmbiguousError as d9, type ScanResult as dA, type ScheduledSession as dB, type ServerInfoSource as dC, ServerResponseMismatchError as dD, SettlementEventType as dE, type SignRequest as dF, type SignedIntent as dG, type SignerClassification as dH, type SignerSet as dI, SingleKey as dJ, type SubscriptionFilter as dK, type SubscriptionResponse as dL, type SweepTxNotification as dM, type TapLeaves as dN, type TimeHeight as dO, type TreeNoncesEvent as dP, type TreeSignatureEvent as dQ, TreeSignerSession as dR, type TreeSigningStartedEvent as dS, type TreeTxEvent as dT, type Tx as dU, type TxHistoryRecord as dV, type TxKey as dW, type TxNotification as dX, type TxTag as dY, type TxTreeNode as dZ, TxType as d_, OnchainCosignRejectedError as da, OnchainCosignUnsupportedError as db, type Output as dc, type PageResponse as dd, PartialSig as de, type PrevTxSource as df, PrevTxUnavailableError as dg, type ProofInput as dh, type ProviderClass as di, type ProviderKind as dj, ProviderUnavailableError as dk, REGTEST_EMULATOR_PUBKEY as dl, REGTEST_MIN_BATCH_EXPIRY_SECONDS as dm, type RawTxSource as dn, ReadonlySingleKey as dp, type ReadonlyWalletConfig as dq, type RecipientArkadeAddressContext as dr, type RegistrationOptions as ds, type RenewalSplit as dt, type RenewalSplitContext as du, RestArkProvider as dv, RestDelegateProvider as dw, RestEmulatorProvider as dx, RestExecutorProvider as dy, type ScanContractsOptions as dz, type ArkadeReader as e, maybeArkError as e$, type VtxoChain as e0, VtxoManager as e1, VtxoReservedError as e2, type VtxoType as e3, type WaitForIncomingFundsOptions as e4, WalletCannotAllocateAddressError as e5, type WalletMode as e6, type WithPrevTx as e7, addArkadeCashRecord as e8, arkadeCashId as e9, createExitChainResolver as eA, defaultBatchExpiryPolicy as eB, defaultEmulatorPubkey as eC, getAllNormalizedVtxos as eD, getConfiguredEventSource as eE, getNetwork as eF, getNormalizedVtxos as eG, getRandomId as eH, hasCandidates as eI, isAddressAllocationCapable as eJ, isArkError as eK, isBatchSignable as eL, isContractVtxoEvent as eM, isCooperativelyMigratable as eN, isDiscoverable as eO, isEventSourceUnavailableError as eP, isHDAllocationCapable as eQ, isHDWalletCapable as eR, isPastExpiry as eS, isSigningIdentity as eT, isSubdust as eU, isTerminalBatchRegistrationState as eV, isTerminalIntentState as eW, isVirtualCoin as eX, isVtxoExpiringSoon as eY, isVtxoSpent as eZ, iteratePages as e_, arkadeCashResolver as ea, assertAllowedSighashTypes as eb, assertPageRequest as ec, assertRecipientArkadeAddress as ed, assertValidBatchExpiry as ee, assetMintResolver as ef, attachPrevArkTxs as eg, attachPrevoutTxs as eh, boardingResolver as ei, canRecoverOnchain as ej, canSpendOffchain as ek, canSweepOnchain as el, classifyAgainstSignerSet as em, classifyContractSigner as en, collabExitResolver as eo, collectBatchRegistrations as ep, collectContracts as eq, collectIntents as er, collectPages as es, collectScriptVtxos as et, collectTransactionHistory as eu, collectUtxos as ev, collectVtxos as ew, configureEventSource as ex, createArkadeCashTracker as ey, createDefaultActivityRegistry as ez, type ArkadeBroadcaster as f, mergeArkadeCashRecord as f0, networkFromArkadeInfo as f1, networkFromOperatorInfo as f2, networks as f3, pageResult as f4, resolveBatchExpiryPolicy as f5, resolveDescriptorSigner as f6, resolveEmulatorPubkey as f7, resolveEventSource as f8, resolvePrevTxs as f9, selectVirtualCoins as fa, signerSetFromInfo as fb, signingDescriptorIndex as fc, strictSigningDescriptorIndex as fd, toOffchainInputFeeParams as fe, toXOnlySignerHex as ff, waitForIncomingFunds as fg, watchExecutorContracts as fh, withPrevTxs as fi, type TapscriptDeriving as fj, type WalletBalance as g, type GetVtxosFilter as h, type GetSpendableVtxosFilter as i, type ArkTransaction as j, ActivityRegistry as k, type Activity as l, type IContractManager as m, type GetNewAddressesOptions as n, type NewAddress as o, type IDelegateManager as p, type SettlementEvent as q, type SendParams as r, type SendOnchainParams as s, type IAssetManager as t, RestOperatorProvider as u, RestIndexerProvider as v, type SubscriptionEvent as w, type SubscriptionHeartbeat as x, type ArkProvider as y, type IndexerProvider as z };
@@ -1,7 +1,7 @@
1
- import { bR as ContractHandler, c4 as DefaultVtxo, cg as Discoverable, c8 as DelegateVtxo, fg as TapscriptDeriving } from './index-BQwrHcOh.cjs';
1
+ import { bR as ContractHandler, c4 as DefaultVtxo, cg as Discoverable, c8 as DelegateVtxo, fj as TapscriptDeriving } from './index-Cy57QdcL.cjs';
2
2
  import { R as RelativeTimelock, V as VtxoScript, T as TapLeafScript } from './base-C-Y5t_0F.cjs';
3
3
  import { Bytes } from '@scure/btc-signer/utils.js';
4
- import { g as ArkadeContractParams, a as ArkadeProgramScript } from './program-DPzf5qsk.cjs';
4
+ import { g as ArkadeContractParams, a as ArkadeProgramScript } from './program-ZWUAWy_9.cjs';
5
5
 
6
6
  /**
7
7
  * Registry for contract handlers.