@arkade-os/sdk 0.4.70 → 0.4.72

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 (80) hide show
  1. package/README.md +29 -0
  2. package/dist/adapters/expo.cjs +5 -5
  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/adapters/indexedDB.cjs +5 -5
  7. package/dist/adapters/indexedDB.js +4 -4
  8. package/dist/{asyncStorageTaskQueue-BgUJN-3X.d.ts → asyncStorageTaskQueue-DhhNZc4v.d.ts} +1 -1
  9. package/dist/{asyncStorageTaskQueue-Cstx6hS7.d.cts → asyncStorageTaskQueue-s5lUGWxu.d.cts} +1 -1
  10. package/dist/{chunk-JJ7AXR4O.cjs → chunk-4BWZ437E.cjs} +21 -17
  11. package/dist/chunk-4BWZ437E.cjs.map +1 -0
  12. package/dist/{chunk-3KW4TWP2.cjs → chunk-4C5PMGBB.cjs} +51 -25
  13. package/dist/chunk-4C5PMGBB.cjs.map +1 -0
  14. package/dist/{chunk-TXSF2DKX.js → chunk-5GQFYVWP.js} +30 -5
  15. package/dist/chunk-5GQFYVWP.js.map +1 -0
  16. package/dist/{chunk-57636V35.cjs → chunk-6FTHFJAN.cjs} +30 -4
  17. package/dist/chunk-6FTHFJAN.cjs.map +1 -0
  18. package/dist/{chunk-JVHO6XHG.js → chunk-BHLYB44A.js} +476 -78
  19. package/dist/chunk-BHLYB44A.js.map +1 -0
  20. package/dist/{chunk-6UM55KPZ.js → chunk-CB6QPAO5.js} +3 -3
  21. package/dist/{chunk-6UM55KPZ.js.map → chunk-CB6QPAO5.js.map} +1 -1
  22. package/dist/{chunk-IUFTICRY.js → chunk-CZPBPMO2.js} +4 -4
  23. package/dist/{chunk-IUFTICRY.js.map → chunk-CZPBPMO2.js.map} +1 -1
  24. package/dist/{chunk-F5E7LI6G.js → chunk-IGER5FPC.js} +37 -11
  25. package/dist/chunk-IGER5FPC.js.map +1 -0
  26. package/dist/{chunk-B73Q75IL.cjs → chunk-KDMHEWTD.cjs} +10 -10
  27. package/dist/{chunk-B73Q75IL.cjs.map → chunk-KDMHEWTD.cjs.map} +1 -1
  28. package/dist/{chunk-3OKEUDHU.cjs → chunk-NPM5YZBC.cjs} +49 -49
  29. package/dist/{chunk-3OKEUDHU.cjs.map → chunk-NPM5YZBC.cjs.map} +1 -1
  30. package/dist/{chunk-UG3EZDLF.js → chunk-S5PUFSXC.js} +8 -4
  31. package/dist/chunk-S5PUFSXC.js.map +1 -0
  32. package/dist/{chunk-XTCOSZ34.cjs → chunk-U5I3ITV7.cjs} +907 -507
  33. package/dist/chunk-U5I3ITV7.cjs.map +1 -0
  34. package/dist/contracts/handlers/index.cjs +9 -9
  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/{delegate-DrwIar11.d.cts → delegate-BJp8f6LT.d.cts} +1 -1
  39. package/dist/{delegate-BPdzTbwN.d.ts → delegate-Ckz_TWzM.d.ts} +1 -1
  40. package/dist/{hdWalletCapable-D4WH35z0.d.cts → hdWalletCapable-DA9bJ5eB.d.cts} +2 -2
  41. package/dist/{hdWalletCapable-DyxCiNVE.d.ts → hdWalletCapable-DABgAD-T.d.ts} +2 -2
  42. package/dist/{index-TZJvbIaA.d.ts → index-B8xrELXY.d.ts} +2 -2
  43. package/dist/{index-BqhpAqqj.d.cts → index-DSbDm0Io.d.cts} +2 -2
  44. package/dist/{index-dWRqYSdS.d.ts → index-Dg0-TvBQ.d.cts} +149 -5
  45. package/dist/{index-dWRqYSdS.d.cts → index-Dg0-TvBQ.d.ts} +149 -5
  46. package/dist/index.cjs +309 -297
  47. package/dist/index.d.cts +91 -12
  48. package/dist/index.d.ts +91 -12
  49. package/dist/index.js +4 -4
  50. package/dist/repositories/realm/index.cjs +19 -19
  51. package/dist/repositories/realm/index.d.cts +2 -2
  52. package/dist/repositories/realm/index.d.ts +2 -2
  53. package/dist/repositories/realm/index.js +5 -5
  54. package/dist/repositories/sqlite/index.cjs +18 -18
  55. package/dist/repositories/sqlite/index.d.cts +2 -2
  56. package/dist/repositories/sqlite/index.d.ts +2 -2
  57. package/dist/repositories/sqlite/index.js +5 -5
  58. package/dist/{taskRunner-CzYKyJ9c.d.cts → taskRunner-BH_FxaNI.d.cts} +1 -1
  59. package/dist/{taskRunner-D2fnbqYw.d.ts → taskRunner-DrVz2QZs.d.ts} +1 -1
  60. package/dist/wallet/expo/background.cjs +14 -14
  61. package/dist/wallet/expo/background.d.cts +3 -3
  62. package/dist/wallet/expo/background.d.ts +3 -3
  63. package/dist/wallet/expo/background.js +6 -6
  64. package/dist/wallet/expo/index.cjs +14 -14
  65. package/dist/wallet/expo/index.d.cts +4 -4
  66. package/dist/wallet/expo/index.d.ts +4 -4
  67. package/dist/wallet/expo/index.js +5 -5
  68. package/dist/worker/expo/index.cjs +9 -9
  69. package/dist/worker/expo/index.d.cts +4 -4
  70. package/dist/worker/expo/index.d.ts +4 -4
  71. package/dist/worker/expo/index.js +5 -5
  72. package/package.json +1 -1
  73. package/dist/chunk-3KW4TWP2.cjs.map +0 -1
  74. package/dist/chunk-57636V35.cjs.map +0 -1
  75. package/dist/chunk-F5E7LI6G.js.map +0 -1
  76. package/dist/chunk-JJ7AXR4O.cjs.map +0 -1
  77. package/dist/chunk-JVHO6XHG.js.map +0 -1
  78. package/dist/chunk-TXSF2DKX.js.map +0 -1
  79. package/dist/chunk-UG3EZDLF.js.map +0 -1
  80. package/dist/chunk-XTCOSZ34.cjs.map +0 -1
@@ -566,6 +566,8 @@ declare class RestIndexerProvider implements IndexerProvider {
566
566
  serverUrl: string;
567
567
  /** Overrides {@link configureEventSource} for this provider's subscription. */
568
568
  protected readonly eventSource?: EventSourceFactory;
569
+ /** @see fetchVtxosJson */
570
+ private readonly inFlightVtxoReads;
569
571
  constructor(serverUrl?: string, options?: EventSourceCapable);
570
572
  getVtxoTree(batchOutpoint: Outpoint, opts?: PaginationOptions): Promise<{
571
573
  vtxoTree: Tx[];
@@ -603,6 +605,17 @@ declare class RestIndexerProvider implements IndexerProvider {
603
605
  * politeness through the rate gate, so don't add a redundant sleep.
604
606
  */
605
607
  private fetchVtxosPage;
608
+ /**
609
+ * The wire read behind {@link fetchVtxosPage}, with an identical read
610
+ * already in flight served from that one request instead of repeated.
611
+ *
612
+ * Two callers can want the same page at the same instant without either
613
+ * being redundant, so there is no single call site to remove: a send that
614
+ * leaves change makes the indexer emit `vtxo_spent` and `vtxo_received` for
615
+ * the wallet's own contract milliseconds apart, and `handleContractEvent`
616
+ * delta-syncs that contract on both arms.
617
+ */
618
+ private fetchVtxosJson;
606
619
  getAssetDetails(assetId: string): Promise<AssetDetails>;
607
620
  subscribeForScripts(scripts: string[], subscriptionId?: string): Promise<string>;
608
621
  unsubscribeForScripts(subscriptionId: string, scripts?: string[]): Promise<void>;
@@ -3611,6 +3624,12 @@ interface IContractManager extends Disposable {
3611
3624
  * The contract script is used as the unique identifier.
3612
3625
  */
3613
3626
  createContract(params: CreateContractParams): Promise<Contract>;
3627
+ /**
3628
+ * {@link createContract} for a set, one indexer round trip instead of N.
3629
+ * Optional so adding it breaks no implementer of this public interface
3630
+ * (`serviceWorker/wallet.ts` proxies each method over wire): fall back.
3631
+ */
3632
+ createContracts?(paramsList: CreateContractParams[]): Promise<Contract[]>;
3614
3633
  /**
3615
3634
  * List contracts with optional filters.
3616
3635
  *
@@ -3812,6 +3831,38 @@ interface IContractManager extends Disposable {
3812
3831
  * `handlerErrors` *after* the inline VTXO pull.
3813
3832
  */
3814
3833
  scanContracts(opts: ScanContractsOptions): Promise<ScanResult>;
3834
+ /**
3835
+ * Report VTXO activity at `script` without registering it as a contract,
3836
+ * and without the wallet owning it. Activity arrives as
3837
+ * {@link ContractEvent} `vtxo_received` / `vtxo_spent` without the
3838
+ * `contract` — narrow with {@link isContractVtxoEvent};
3839
+ * nothing is persisted and the outputs never enter the wallet's balance,
3840
+ * renewal or recovery paths.
3841
+ *
3842
+ * At-least-once, and re-announces on restart — the registration is
3843
+ * in-memory, so there is no baseline to diff a restart against.
3844
+ * Deduplicate by outpoint, and tolerate a `vtxo_spent` with no
3845
+ * preceding `vtxo_received` — an output can be created and spent
3846
+ * inside one gap in the stream. Re-registering a watched script is a
3847
+ * no-op, so a caller may re-derive its whole set on a timer.
3848
+ *
3849
+ * Reports **spendable** outputs: a preconfirmed one counts, so a fresh
3850
+ * funding is not missed, but one already recoverable or swept is not
3851
+ * reported.
3852
+ *
3853
+ * Optional so adding it does not break an embedder with its own
3854
+ * `IContractManager`; both shipped implementations provide it for real.
3855
+ */
3856
+ watchScript?(script: string, options?: {
3857
+ label?: string;
3858
+ }): Promise<void>;
3859
+ /** Stop watching a script registered via {@link watchScript}. */
3860
+ unwatchScript?(script: string): Promise<void>;
3861
+ /**
3862
+ * Every script registered via {@link watchScript}. Async for the same
3863
+ * reason {@link isWatching} is: a service worker answers over the bus.
3864
+ */
3865
+ getWatchedScripts?(): Promise<WatchedScript[]>;
3815
3866
  /**
3816
3867
  * Whether the underlying watcher is currently active.
3817
3868
  */
@@ -3909,6 +3960,14 @@ interface ContractManagerConfig {
3909
3960
  height: number;
3910
3961
  time: number;
3911
3962
  } | undefined>;
3963
+ /**
3964
+ * How stale {@link ContractManager.getContractsWithVtxos} may let its
3965
+ * opportunistic sync be before repeating it. `0` (default) repeats it every
3966
+ * call. A send syncs, selects, then submits, so its coins are already one
3967
+ * submit latency stale; this widens that bound by this value, and is
3968
+ * therefore a budget rather than a free saving.
3969
+ */
3970
+ vtxoSyncMaxAgeMs?: number;
3912
3971
  }
3913
3972
  /**
3914
3973
  * Wallet-injected surface backing the HD look-ahead window. Kept as a
@@ -4002,6 +4061,7 @@ declare class ContractManager implements IContractManager {
4002
4061
  private syncDegradedReason?;
4003
4062
  /** Epoch-ms of the last successful provider sync, if any. */
4004
4063
  private lastSyncedAt?;
4064
+ private syncedAtByScript;
4005
4065
  /** Last chain tip read, with the epoch-ms it was read at. @see currentChainTip */
4006
4066
  private chainTipCache?;
4007
4067
  /** In-flight chain tip read, so concurrent cache misses share one. */
@@ -4038,6 +4098,8 @@ declare class ContractManager implements IContractManager {
4038
4098
  * sync. Purely a freshness signal — not a source of truth for wallet data.
4039
4099
  */
4040
4100
  getSyncState(): ContractSyncState;
4101
+ /** @see ContractManagerConfig.vtxoSyncMaxAgeMs — for factory-built managers. */
4102
+ setVtxoSyncMaxAge(maxAgeMs: number): void;
4041
4103
  private markSyncOnline;
4042
4104
  /** Contracts a sync could not annotate, as `script → reason`. */
4043
4105
  private annotationFailures;
@@ -4147,6 +4209,13 @@ declare class ContractManager implements IContractManager {
4147
4209
  * @returns The created contract
4148
4210
  */
4149
4211
  createContract(params: CreateContractParams): Promise<Contract>;
4212
+ /**
4213
+ * `createContract`'s step order, fetch batched: persist all, hydrate once,
4214
+ * then watch. Hydrating first keeps it equivalent — the watcher seeds from
4215
+ * the repository, so an unhydrated row reads as all-new. A part-way failure
4216
+ * still watches what it wrote; a retry reports those rows as existing.
4217
+ */
4218
+ createContracts(paramsList: CreateContractParams[]): Promise<Contract[]>;
4150
4219
  /**
4151
4220
  * Lightweight variant of {@link createContract} for batch discovery
4152
4221
  * paths (currently: {@link scanContracts}). Validates, dedupes, persists,
@@ -4347,6 +4416,14 @@ declare class ContractManager implements IContractManager {
4347
4416
  * Check if currently watching.
4348
4417
  */
4349
4418
  isWatching(): Promise<boolean>;
4419
+ /** @see IContractManager.watchScript */
4420
+ watchScript(script: string, options?: {
4421
+ label?: string;
4422
+ }): Promise<void>;
4423
+ /** @see IContractManager.unwatchScript */
4424
+ unwatchScript(script: string): Promise<void>;
4425
+ /** @see IContractManager.getWatchedScripts */
4426
+ getWatchedScripts(): Promise<WatchedScript[]>;
4350
4427
  /**
4351
4428
  * Emit an event to all registered callbacks.
4352
4429
  */
@@ -4366,6 +4443,7 @@ declare class ContractManager implements IContractManager {
4366
4443
  * other contracts still need to pick up.
4367
4444
  */
4368
4445
  private syncContracts;
4446
+ private syncedWithin;
4369
4447
  /**
4370
4448
  * Demote every `awaiting-funds` contract in `contracts` that has been
4371
4449
  * funded — the automatic half of {@link ContractWatchState}.
@@ -4846,8 +4924,19 @@ interface DerivedContractTapscripts {
4846
4924
  interface TapscriptDeriving<S extends VtxoScript = VtxoScript> {
4847
4925
  deriveTapscripts(script: S, contract: Contract): DerivedContractTapscripts;
4848
4926
  }
4927
+ /** A script the watcher reports on without the wallet owning it. */
4928
+ interface WatchedScript {
4929
+ script: string;
4930
+ /** Free-form tag echoed back by `getWatchedScripts`; never sent anywhere. */
4931
+ label?: string;
4932
+ }
4849
4933
  /**
4850
4934
  * Event emitted when contract-related changes occur.
4935
+ *
4936
+ * A watch-only script reports the same `vtxo_received` / `vtxo_spent` types
4937
+ * but carries no `contract`, and cannot: annotation needs one. That absence is
4938
+ * the ownership boundary, and the compiler enforces it — reading
4939
+ * `event.contract` unnarrowed by {@link isContractVtxoEvent} fails.
4851
4940
  */
4852
4941
  type ContractEvent = {
4853
4942
  type: "vtxo_received";
@@ -4861,10 +4950,29 @@ type ContractEvent = {
4861
4950
  vtxos: ContractVtxo[];
4862
4951
  contract: Contract;
4863
4952
  timestamp: number;
4953
+ } | {
4954
+ type: "vtxo_received";
4955
+ contractScript: string;
4956
+ vtxos: VirtualCoin[];
4957
+ timestamp: number;
4958
+ } | {
4959
+ type: "vtxo_spent";
4960
+ contractScript: string;
4961
+ vtxos: VirtualCoin[];
4962
+ timestamp: number;
4864
4963
  } | {
4865
4964
  type: "connection_reset";
4866
4965
  timestamp: number;
4867
4966
  };
4967
+ type ContractVtxoEvent = Extract<ContractEvent, {
4968
+ contract: Contract;
4969
+ }>;
4970
+ /**
4971
+ * Gate every wallet-side effect on this: a watch-only event has no contract.
4972
+ * @example `if (!isContractVtxoEvent(event)) return;` inside `onContractEvent`,
4973
+ * before reading `event.contract` — which does not compile without it.
4974
+ */
4975
+ declare function isContractVtxoEvent(event: ContractEvent): event is ContractVtxoEvent;
4868
4976
  /**
4869
4977
  * Callback for contract events.
4870
4978
  */
@@ -4976,6 +5084,8 @@ type ConnectionState = "disconnected" | "connecting" | "connected" | "reconnecti
4976
5084
  declare class ContractWatcher {
4977
5085
  private config;
4978
5086
  private contracts;
5087
+ /** In-memory and process-lifetime; never persisted. */
5088
+ private watchedScripts;
4979
5089
  private subscriptionId?;
4980
5090
  private abortController?;
4981
5091
  private isWatching;
@@ -5045,6 +5155,19 @@ declare class ContractWatcher {
5045
5155
  * are unaffected.
5046
5156
  */
5047
5157
  getWatchedContracts(): Contract[];
5158
+ /**
5159
+ * Every script the subscription must carry. Wider than
5160
+ * {@link getWatchedContracts}, which stays the sync scope.
5161
+ */
5162
+ private getSubscribedScripts;
5163
+ /** @see IContractManager.watchScript for the delivery and filter contract. */
5164
+ addWatchedScript(script: string, options?: {
5165
+ label?: string;
5166
+ }): Promise<void>;
5167
+ /** Stop watching a script added by {@link addWatchedScript}. */
5168
+ removeWatchedScript(script: string): Promise<void>;
5169
+ /** Every script registered via {@link addWatchedScript}. */
5170
+ getWatchedScripts(): WatchedScript[];
5048
5171
  /**
5049
5172
  * Get virtual outputs for contracts, grouped by contract script.
5050
5173
  * @see WalletRepository for `repo`
@@ -5101,6 +5224,15 @@ declare class ContractWatcher {
5101
5224
  */
5102
5225
  private startFailsafePolling;
5103
5226
  private pollAllContracts;
5227
+ /**
5228
+ * Poll watch-only scripts against the indexer and emit the delta.
5229
+ *
5230
+ * Separate from {@link pollContracts} because that one diffs the wallet
5231
+ * repository, which is permanently empty for a script this wallet does not
5232
+ * own — reusing it would report every live output as spent on every tick.
5233
+ * Not a second poll loop: same timer and callers, different source.
5234
+ */
5235
+ private pollWatchedScripts;
5104
5236
  /**
5105
5237
  * Poll specific contracts and emit events for changes.
5106
5238
  */
@@ -5127,7 +5259,7 @@ declare class ContractWatcher {
5127
5259
  /**
5128
5260
  * Update the subscription with scripts that should be watched.
5129
5261
  *
5130
- * @see getWatchedContracts
5262
+ * @see getSubscribedScripts
5131
5263
  */
5132
5264
  private updateSubscription;
5133
5265
  /**
@@ -5150,6 +5282,8 @@ declare class ContractWatcher {
5150
5282
  * non-owning contracts that then never reconciled.
5151
5283
  */
5152
5284
  private processSubscriptionVtxos;
5285
+ /** As {@link emitVtxoEvent}, less the `contract` and the annotation. */
5286
+ private emitWatchedScriptEvent;
5153
5287
  /**
5154
5288
  * Emit a virtual output event for a contract.
5155
5289
  */
@@ -5951,13 +6085,23 @@ interface TxKey {
5951
6085
  /** Arkade transaction id, when applicable. */
5952
6086
  arkTxid: string;
5953
6087
  }
5954
- /** The categories the history builder itself assigns. */
5955
- type BuiltinTxTag = "offchain" | "boarding" | "exit" | "batch";
6088
+ /**
6089
+ * The categories the history builder itself assigns.
6090
+ *
6091
+ * Four of them name the mechanism that moved the coin. `"gated"` names the
6092
+ * counterparty instead: an offchain row facing a contract row of this wallet's
6093
+ * that generic spending is closed on — a swap covenant, a lockup — which is the
6094
+ * same money {@link WalletBalance.gated} reports. History reads such a contract
6095
+ * as an external party, so the movement is a real send or receive rather than
6096
+ * change, and the tag is what lets a consumer tell "into my own escrow" from
6097
+ * "to a stranger" instead of the movement arriving unattributed.
6098
+ */
6099
+ type BuiltinTxTag = "offchain" | "boarding" | "exit" | "batch" | "gated";
5956
6100
  /**
5957
6101
  * The category the history builder assigns to a transaction. The `(string & {})`
5958
6102
  * arm keeps the union open — apps and resolvers can introduce their own
5959
6103
  * categories without a breaking change — while preserving editor autocomplete
5960
- * for the built-in four.
6104
+ * for the built-in ones.
5961
6105
  */
5962
6106
  type TxTag = BuiltinTxTag | (string & {});
5963
6107
  /**
@@ -6227,4 +6371,4 @@ interface IReadonlyWallet {
6227
6371
  clear(): Promise<void>;
6228
6372
  }
6229
6373
 
6230
- export { type BatchFailedEvent as $, type ArkTransaction as A, type IntentRepository as B, type ContractRepository as C, type ArkIntent as D, type ExtendedCoin as E, type IntentFilter as F, type GetVtxosFilter as G, type VirtualTxRepository as H, type IWallet as I, type VirtualTx as J, type VtxoBranch as K, ChainedTxType as L, type Network as M, type NormalizedExtendedVirtualCoin as N, type Outpoint as O, CSVMultisigTapscript as P, type BatchStartedEvent as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotificationEvent as T, type TreeSigningStartedEvent as U, VtxoScript as V, type WalletRepository as W, TxTree as X, type TreeNoncesEvent as Y, type BatchFinalizationEvent as Z, type BatchFinalizedEvent as _, type Identity as a, type ActivityIntent as a$, type TreeTxEvent as a0, type TreeSignatureEvent as a1, type DescriptorProvider as a2, type IReadonlyWallet as a3, type ReadonlyIdentity as a4, type OnchainProvider as a5, type DelegateProvider as a6, type ReadonlyWalletConfig as a7, type ExitCaptureMode as a8, type ExitDataSource as a9, type FeeInfo as aA, type CreateContractParams as aB, type GetContractsFilter as aC, type GetSpendablePathsOptions as aD, type GetAllSpendingPathsOptions as aE, type IssuanceParams as aF, type ReissuanceParams as aG, type BurnParams as aH, type RenewVtxosOptions as aI, type PathSelection as aJ, type ContractEvent as aK, type AssetDetails as aL, type IssuanceResult as aM, type DelegateInfo as aN, type MigrationGlobalSkipReason as aO, type MigrationLegSkipReason as aP, type SignerStatus as aQ, type StorageConfig as aR, type IVtxoManager as aS, type ExplorerTransaction as aT, type TreeNonces as aU, type TreePartialSigs as aV, type PendingTx as aW, type EncodedVtxoScript as aX, type Status as aY, type ChainTx as aZ, type PathContext as a_, type IReadonlyAssetManager as aa, type ContractSyncState as ab, type RecipientAddressContext as ac, type NetworkName as ad, type ArkInfo as ae, ArkAddress as af, type ContractWithVtxos as ag, selectPendingRecoveryOutpoints as ah, type Coin as ai, ContractManager as aj, type ContractManagerConfig as ak, type SettlementConfig as al, VtxoManager as am, type SignerSession as an, type SignedIntent as ao, Intent as ap, type TimeHeight as aq, type DescriptorSigningRequest as ar, Transaction as as, type IntentFeeConfig as at, type OffchainInput as au, FeeAmount as av, type OnchainInput as aw, type FeeOutput as ax, type ContractWatcherConfig as ay, type Asset as az, type WalletConfig as b, RestDelegatorProvider as b$, type ActivityResolver as b0, type ArkIntentState as b1, type ArkTapscript as b2, type AssetMetadata as b3, BITCOIN_EMULATOR_PUBKEY as b4, type BaseWalletConfig as b5, type BatchInfo as b6, type BatchSignableIdentity as b7, CLTVMultisigTapscript as b8, type CandidateDeps as b9, EventSourceUnavailableError as bA, type ExitChainResolver as bB, type ExtendedContractVtxo as bC, type GroupMembership as bD, type HandlerError as bE, type IDelegatorManager as bF, INTENT_TERMINAL_STATES as bG, IndexerTxType as bH, type IntentCoin as bI, type KnownMetadata as bJ, MUTINYNET_EMULATOR_PUBKEY as bK, type MigrateDeprecatedSignerOptions as bL, type MigrationLegReport as bM, type MigrationVtxoRef as bN, MultisigTapscript as bO, type NewAddressType as bP, type Nonces as bQ, type Output as bR, type PageResponse as bS, type PaginationOptions as bT, PartialSig as bU, type PrevTxSource as bV, PrevTxUnavailableError as bW, type ProviderClass as bX, REGTEST_EMULATOR_PUBKEY as bY, type RawTxSource as bZ, RestDelegateProvider as b_, ChainTxType as ba, type CommitmentTx as bb, ConditionCSVMultisigTapscript as bc, ConditionMultisigTapscript as bd, type ContractBalance as be, type ContractEventCallback as bf, type ContractHandler as bg, type ContractState as bh, type ContractVtxo as bi, ContractWatcher as bj, DEFAULT_VTXO_PAGE_SIZE as bk, DelegateManagerImpl as bl, type DelegateOptions as bm, DelegatorManagerImpl as bn, type DelegatorProvider as bo, type DeprecatedSignerMigrationReport as bp, type DeprecatedSignerReport as bq, DigestMismatchError as br, type Discoverable as bs, type DiscoveredContract as bt, type DiscoveryDeps as bu, ESPLORA_URL as bv, EsploraProvider as bw, type EventSourceCapable as bx, type EventSourceFactory as by, type EventSourceLike as bz, type WalletBalance as c, resolveEventSource as c$, type ScanContractsOptions as c0, type ScanResult as c1, type ScheduledSession as c2, SettlementEventType as c3, type SignRequest as c4, type SignerClassification as c5, type SignerSet as c6, type SubscriptionEvent as c7, type SubscriptionHeartbeat as c8, type SweepTxNotification as c9, collabExitResolver as cA, configureEventSource as cB, createDefaultActivityRegistry as cC, createExitChainResolver as cD, decodeTapscript as cE, defaultEmulatorPubkey as cF, getConfiguredEventSource as cG, getNetwork as cH, getRandomId as cI, getSequence as cJ, hasCandidates as cK, hasTerminalSpend as cL, isBatchSignable as cM, isCooperativelyMigratable as cN, isDiscoverable as cO, isEventSourceUnavailableError as cP, isExpired as cQ, isPastExpiry as cR, isRecoverable as cS, isSigningIdentity as cT, isSpendable as cU, isSubdust as cV, isTerminalIntentState as cW, isVirtualCoin as cX, isVtxoExpiringSoon as cY, networks as cZ, resolveEmulatorPubkey as c_, type TapLeaves as ca, TapTreeCoder as cb, TapscriptType as cc, type Tx as cd, type TxHistoryRecord as ce, type TxKey as cf, type TxNotification as cg, type TxTag as ch, type TxTreeNode as ci, TxType as cj, type VirtualStatus as ck, type Vtxo as cl, type VtxoChain as cm, type VtxoType as cn, type WalletMode as co, type WithPrevTx as cp, assertAllowedSighashTypes as cq, assetMintResolver as cr, attachPrevArkTxs as cs, attachPrevoutTxs as ct, boardingResolver as cu, canRecoverOnchain as cv, canSpendOffchain as cw, canSweepOnchain as cx, classifyAgainstSignerSet as cy, classifyContractSigner as cz, ActivityRegistry as d, resolvePrevTxs as d0, scriptFromTapLeafScript as d1, signerSetFromInfo as d2, toXOnlySignerHex as d3, withPrevTxs as d4, type TapscriptDeriving as d5, type Activity as e, type IContractManager as f, type GetNewAddressesOptions as g, type NewAddress as h, type IDelegateManager as i, type SettleParams as j, type SettlementEvent as k, type SendParams as l, type IAssetManager as m, RestArkProvider as n, RestIndexerProvider as o, type SubscriptionResponse as p, type ArkProvider as q, type IndexerProvider as r, type RelativeTimelock as s, type TapLeafScript as t, type VirtualCoin as u, type Contract as v, type ExtendedVirtualCoin as w, type VtxoRepositoryKey as x, type WalletState as y, type ContractFilter as z };
6374
+ export { type BatchFailedEvent as $, type ArkTransaction as A, type IntentRepository as B, type ContractRepository as C, type ArkIntent as D, type ExtendedCoin as E, type IntentFilter as F, type GetVtxosFilter as G, type VirtualTxRepository as H, type IWallet as I, type VirtualTx as J, type VtxoBranch as K, ChainedTxType as L, type Network as M, type NormalizedExtendedVirtualCoin as N, type Outpoint as O, CSVMultisigTapscript as P, type BatchStartedEvent as Q, type Recipient as R, type SendBitcoinParams as S, type TxNotificationEvent as T, type TreeSigningStartedEvent as U, VtxoScript as V, type WalletRepository as W, TxTree as X, type TreeNoncesEvent as Y, type BatchFinalizationEvent as Z, type BatchFinalizedEvent as _, type Identity as a, type PathContext as a$, type TreeTxEvent as a0, type TreeSignatureEvent as a1, type DescriptorProvider as a2, type IReadonlyWallet as a3, type ReadonlyIdentity as a4, type OnchainProvider as a5, type DelegateProvider as a6, type ReadonlyWalletConfig as a7, type ExitCaptureMode as a8, type ExitDataSource as a9, type FeeInfo as aA, type CreateContractParams as aB, type GetContractsFilter as aC, type GetSpendablePathsOptions as aD, type GetAllSpendingPathsOptions as aE, type IssuanceParams as aF, type ReissuanceParams as aG, type BurnParams as aH, type RenewVtxosOptions as aI, type WatchedScript as aJ, type PathSelection as aK, type ContractEvent as aL, type AssetDetails as aM, type IssuanceResult as aN, type DelegateInfo as aO, type MigrationGlobalSkipReason as aP, type MigrationLegSkipReason as aQ, type SignerStatus as aR, type StorageConfig as aS, type IVtxoManager as aT, type ExplorerTransaction as aU, type TreeNonces as aV, type TreePartialSigs as aW, type PendingTx as aX, type EncodedVtxoScript as aY, type Status as aZ, type ChainTx as a_, type IReadonlyAssetManager as aa, type ContractSyncState as ab, type RecipientAddressContext as ac, type NetworkName as ad, type ArkInfo as ae, ArkAddress as af, type ContractWithVtxos as ag, selectPendingRecoveryOutpoints as ah, type Coin as ai, ContractManager as aj, type ContractManagerConfig as ak, type SettlementConfig as al, VtxoManager as am, type SignerSession as an, type SignedIntent as ao, Intent as ap, type TimeHeight as aq, type DescriptorSigningRequest as ar, Transaction as as, type IntentFeeConfig as at, type OffchainInput as au, FeeAmount as av, type OnchainInput as aw, type FeeOutput as ax, type ContractWatcherConfig as ay, type Asset as az, type WalletConfig as b, type RawTxSource as b$, type ActivityIntent as b0, type ActivityResolver as b1, type ArkIntentState as b2, type ArkTapscript as b3, type AssetMetadata as b4, BITCOIN_EMULATOR_PUBKEY as b5, type BaseWalletConfig as b6, type BatchInfo as b7, type BatchSignableIdentity as b8, CLTVMultisigTapscript as b9, type EventSourceFactory as bA, type EventSourceLike as bB, EventSourceUnavailableError as bC, type ExitChainResolver as bD, type ExtendedContractVtxo as bE, type GroupMembership as bF, type HandlerError as bG, type IDelegatorManager as bH, INTENT_TERMINAL_STATES as bI, IndexerTxType as bJ, type IntentCoin as bK, type KnownMetadata as bL, MUTINYNET_EMULATOR_PUBKEY as bM, type MigrateDeprecatedSignerOptions as bN, type MigrationLegReport as bO, type MigrationVtxoRef as bP, MultisigTapscript as bQ, type NewAddressType as bR, type Nonces as bS, type Output as bT, type PageResponse as bU, type PaginationOptions as bV, PartialSig as bW, type PrevTxSource as bX, PrevTxUnavailableError as bY, type ProviderClass as bZ, REGTEST_EMULATOR_PUBKEY as b_, type CandidateDeps as ba, ChainTxType as bb, type CommitmentTx as bc, ConditionCSVMultisigTapscript as bd, ConditionMultisigTapscript as be, type ContractBalance as bf, type ContractEventCallback as bg, type ContractHandler as bh, type ContractState as bi, type ContractVtxo as bj, type ContractVtxoEvent as bk, ContractWatcher as bl, DEFAULT_VTXO_PAGE_SIZE as bm, DelegateManagerImpl as bn, type DelegateOptions as bo, DelegatorManagerImpl as bp, type DelegatorProvider as bq, type DeprecatedSignerMigrationReport as br, type DeprecatedSignerReport as bs, DigestMismatchError as bt, type Discoverable as bu, type DiscoveredContract as bv, type DiscoveryDeps as bw, ESPLORA_URL as bx, EsploraProvider as by, type EventSourceCapable as bz, type WalletBalance as c, isVtxoExpiringSoon as c$, RestDelegateProvider as c0, RestDelegatorProvider as c1, type ScanContractsOptions as c2, type ScanResult as c3, type ScheduledSession as c4, SettlementEventType as c5, type SignRequest as c6, type SignerClassification as c7, type SignerSet as c8, type SubscriptionEvent as c9, classifyAgainstSignerSet as cA, classifyContractSigner as cB, collabExitResolver as cC, configureEventSource as cD, createDefaultActivityRegistry as cE, createExitChainResolver as cF, decodeTapscript as cG, defaultEmulatorPubkey as cH, getConfiguredEventSource as cI, getNetwork as cJ, getRandomId as cK, getSequence as cL, hasCandidates as cM, hasTerminalSpend as cN, isBatchSignable as cO, isContractVtxoEvent as cP, isCooperativelyMigratable as cQ, isDiscoverable as cR, isEventSourceUnavailableError as cS, isExpired as cT, isPastExpiry as cU, isRecoverable as cV, isSigningIdentity as cW, isSpendable as cX, isSubdust as cY, isTerminalIntentState as cZ, isVirtualCoin as c_, type SubscriptionHeartbeat as ca, type SweepTxNotification as cb, type TapLeaves as cc, TapTreeCoder as cd, TapscriptType as ce, type Tx as cf, type TxHistoryRecord as cg, type TxKey as ch, type TxNotification as ci, type TxTag as cj, type TxTreeNode as ck, TxType as cl, type VirtualStatus as cm, type Vtxo as cn, type VtxoChain as co, type VtxoType as cp, type WalletMode as cq, type WithPrevTx as cr, assertAllowedSighashTypes as cs, assetMintResolver as ct, attachPrevArkTxs as cu, attachPrevoutTxs as cv, boardingResolver as cw, canRecoverOnchain as cx, canSpendOffchain as cy, canSweepOnchain as cz, ActivityRegistry as d, networks as d0, resolveEmulatorPubkey as d1, resolveEventSource as d2, resolvePrevTxs as d3, scriptFromTapLeafScript as d4, signerSetFromInfo as d5, toXOnlySignerHex as d6, withPrevTxs as d7, type TapscriptDeriving as d8, type Activity as e, type IContractManager as f, type GetNewAddressesOptions as g, type NewAddress as h, type IDelegateManager as i, type SettleParams as j, type SettlementEvent as k, type SendParams as l, type IAssetManager as m, RestArkProvider as n, RestIndexerProvider as o, type SubscriptionResponse as p, type ArkProvider as q, type IndexerProvider as r, type RelativeTimelock as s, type TapLeafScript as t, type VirtualCoin as u, type Contract as v, type ExtendedVirtualCoin as w, type VtxoRepositoryKey as x, type WalletState as y, type ContractFilter as z };