@arkade-os/sdk 0.5.13 → 0.5.15

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 (90) hide show
  1. package/README.md +55 -1
  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/artifact-DA5YHM2k.d.cts +87 -0
  7. package/dist/artifact-DacurepK.d.ts +87 -0
  8. package/dist/{asyncStorageTaskQueue-Dhbe00Ya.d.ts → asyncStorageTaskQueue-B3umqlkb.d.ts} +1 -1
  9. package/dist/{asyncStorageTaskQueue-Y4BlVm41.d.cts → asyncStorageTaskQueue-Dq6AJHNv.d.cts} +1 -1
  10. package/dist/{chunk-TYSUFG2K.cjs → chunk-35GRSVCZ.cjs} +11 -11
  11. package/dist/{chunk-TYSUFG2K.cjs.map → chunk-35GRSVCZ.cjs.map} +1 -1
  12. package/dist/{chunk-X57WKONW.js → chunk-43APGKWL.js} +130 -22
  13. package/dist/chunk-43APGKWL.js.map +1 -0
  14. package/dist/{chunk-6WPP4UGN.cjs → chunk-CMFRCBZW.cjs} +1245 -658
  15. package/dist/chunk-CMFRCBZW.cjs.map +1 -0
  16. package/dist/{chunk-HS7TKVOZ.cjs → chunk-FKHUXSYW.cjs} +8 -4
  17. package/dist/chunk-FKHUXSYW.cjs.map +1 -0
  18. package/dist/{chunk-BP4NA7HK.js → chunk-HVUZKXB2.js} +4 -4
  19. package/dist/{chunk-BP4NA7HK.js.map → chunk-HVUZKXB2.js.map} +1 -1
  20. package/dist/{chunk-6XVTGWQK.cjs → chunk-INQAIZUO.cjs} +17 -17
  21. package/dist/{chunk-6XVTGWQK.cjs.map → chunk-INQAIZUO.cjs.map} +1 -1
  22. package/dist/{chunk-WFJPLXOE.cjs → chunk-JSYS2KX3.cjs} +18 -18
  23. package/dist/{chunk-WFJPLXOE.cjs.map → chunk-JSYS2KX3.cjs.map} +1 -1
  24. package/dist/{chunk-QSERJPTT.js → chunk-R37I633T.js} +22 -17
  25. package/dist/chunk-R37I633T.js.map +1 -0
  26. package/dist/{chunk-ACIQZLWL.cjs → chunk-UNLH3NNG.cjs} +129 -20
  27. package/dist/chunk-UNLH3NNG.cjs.map +1 -0
  28. package/dist/{chunk-TD4PKK2I.cjs → chunk-VIQF74QJ.cjs} +38 -33
  29. package/dist/chunk-VIQF74QJ.cjs.map +1 -0
  30. package/dist/{chunk-D4QH6L54.js → chunk-XPZ7TMXH.js} +4 -4
  31. package/dist/{chunk-D4QH6L54.js.map → chunk-XPZ7TMXH.js.map} +1 -1
  32. package/dist/{chunk-BA36SQY2.js → chunk-YYSHQPCG.js} +3 -3
  33. package/dist/{chunk-BA36SQY2.js.map → chunk-YYSHQPCG.js.map} +1 -1
  34. package/dist/{chunk-LHLRG2BE.js → chunk-Z4LG3CZ4.js} +8 -5
  35. package/dist/chunk-Z4LG3CZ4.js.map +1 -0
  36. package/dist/{chunk-Y3AWLHQP.js → chunk-ZECZ2MKX.js} +730 -143
  37. package/dist/chunk-ZECZ2MKX.js.map +1 -0
  38. package/dist/compiler.cjs +5 -5
  39. package/dist/compiler.cjs.map +1 -1
  40. package/dist/compiler.d.cts +10 -10
  41. package/dist/compiler.d.ts +10 -10
  42. package/dist/compiler.js +5 -5
  43. package/dist/compiler.js.map +1 -1
  44. package/dist/contracts/handlers/index.cjs +11 -11
  45. package/dist/contracts/handlers/index.d.cts +3 -3
  46. package/dist/contracts/handlers/index.d.ts +3 -3
  47. package/dist/contracts/handlers/index.js +3 -3
  48. package/dist/{index-BQwrHcOh.d.cts → index-Bi22mLsh.d.cts} +212 -43
  49. package/dist/{index-BapVvuoI.d.ts → index-CiLMmCHX.d.ts} +2 -2
  50. package/dist/{index-DuXylQrN.d.ts → index-DOdoDqvM.d.ts} +212 -43
  51. package/dist/{index-BaTItxPx.d.cts → index-DnKugm-h.d.cts} +2 -2
  52. package/dist/index.cjs +327 -327
  53. package/dist/index.d.cts +149 -114
  54. package/dist/index.d.ts +149 -114
  55. package/dist/index.js +5 -5
  56. package/dist/{program-DPzf5qsk.d.cts → program-ZWUAWy_9.d.cts} +1 -1
  57. package/dist/{program-38A2Twvj.d.ts → program-zdDO4cMt.d.ts} +1 -1
  58. package/dist/repositories/realm/index.cjs +38 -38
  59. package/dist/repositories/realm/index.d.cts +2 -2
  60. package/dist/repositories/realm/index.d.ts +2 -2
  61. package/dist/repositories/realm/index.js +6 -6
  62. package/dist/repositories/sqlite/index.cjs +36 -36
  63. package/dist/repositories/sqlite/index.d.cts +2 -2
  64. package/dist/repositories/sqlite/index.d.ts +2 -2
  65. package/dist/repositories/sqlite/index.js +6 -6
  66. package/dist/{taskRunner-BxOmg-O6.d.ts → taskRunner-CoE4Xx9K.d.ts} +1 -1
  67. package/dist/{taskRunner-D2itCXf6.d.cts → taskRunner-DFG0BN_R.d.cts} +1 -1
  68. package/dist/wallet/expo/background.cjs +15 -15
  69. package/dist/wallet/expo/background.d.cts +3 -3
  70. package/dist/wallet/expo/background.d.ts +3 -3
  71. package/dist/wallet/expo/background.js +7 -7
  72. package/dist/wallet/expo/index.cjs +19 -16
  73. package/dist/wallet/expo/index.cjs.map +1 -1
  74. package/dist/wallet/expo/index.d.cts +3 -2
  75. package/dist/wallet/expo/index.d.ts +3 -2
  76. package/dist/wallet/expo/index.js +9 -6
  77. package/dist/wallet/expo/index.js.map +1 -1
  78. package/dist/worker/expo/index.cjs +10 -10
  79. package/dist/worker/expo/index.d.cts +4 -4
  80. package/dist/worker/expo/index.d.ts +4 -4
  81. package/dist/worker/expo/index.js +6 -6
  82. package/package.json +3 -3
  83. package/dist/chunk-6WPP4UGN.cjs.map +0 -1
  84. package/dist/chunk-ACIQZLWL.cjs.map +0 -1
  85. package/dist/chunk-HS7TKVOZ.cjs.map +0 -1
  86. package/dist/chunk-LHLRG2BE.js.map +0 -1
  87. package/dist/chunk-QSERJPTT.js.map +0 -1
  88. package/dist/chunk-TD4PKK2I.cjs.map +0 -1
  89. package/dist/chunk-X57WKONW.js.map +0 -1
  90. package/dist/chunk-Y3AWLHQP.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { b as Identity, a8 as DescriptorProvider, a9 as Transaction, aa as SignerSession, ab as ReadonlyIdentity, ac as DescriptorSigningRequest, ad as IntentFeeConfig, ae as OffchainInput, af as FeeAmount, ag as OnchainInput, ah as FeeOutput, ai as VtxoReservationRepository, aj as StoredVtxoReservation, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, K as Outpoint, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch, W as WalletRepository, _ as AtomicWalletState, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, $ as WalletState, D as Contract, ak as ArkadeCashTx, z as IndexerProvider, al as ArkadeInfo, am as OnchainProvider, an as ArkadeCashRecord, ao as ArkadeCashClaimResult, l as Activity, C as ContractRepository, a0 as ContractFilter, I as IWallet, S as SettleParams, G as GetOperatorInfoOptions, ap as GetVtxosOptions, aq as PaginationOptions, h as GetVtxosFilter, i as GetSpendableVtxosFilter, ar as CreateContractParams, as as GetContractsFilter, V as VirtualCoin, at as GetSpendablePathsOptions, au as GetAllSpendingPathsOptions, n as GetNewAddressesOptions, R as Recipient, av as InputExpiryFloor, aw as IssuanceParams, ax as ReissuanceParams, ay as BurnParams, az as RenewVtxosOptions, s as SendOnchainParams, q as SettlementEvent, O as OperatorInfo, aA as NormalizedVtxoPage, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, P as ProviderConnectionState, aB as ContractSyncState, aC as ContractWithVtxos, aD as WatchedScript, aE as PathSelection, o as NewAddress, aF as ContractEvent, aG as AssetDetails, aH as IssuanceResult, aI as DelegateInfo, aJ as MigrationGlobalSkipReason, aK as MigrationLegSkipReason, aL as SignerStatus, aM as NetworkName, B as OperatorProvider, c as Wallet, aN as ReadonlyWallet, aO as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, aR as FeeInfo, N as NormalizedExtendedVirtualCoin, aS as ReceiveRotatorFactory, aT as ReceiveRotatorBootOpts, aU as ReceiveRotatorBoot, aV as IReadonlyWallet, k as ActivityRegistry, aW as IReadonlyAssetManager, aX as StorageConfig, m as IContractManager, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, t as IAssetManager, aY as VtxoReservation, r as SendParams, p as IDelegateManager, aZ as IExecutorManager, a_ as IVtxoManager, a$ as Network, b0 as Coin, b1 as SendBitcoinParams, b2 as ExplorerTransaction, b3 as SignedProof, b4 as Proof, b5 as TreeNonces, b6 as TreePartialSigs, T as TxNotificationEvent, b7 as PendingTx, b8 as EmulatorProvider, b9 as Status, ba as BatchExpiryPolicy, bb as Batch, bc as ChainTx, bd as TxTree, be as ArkadeService, bf as ContractVtxoEvent, bg as ExtendedContractVtxo, bh as ResolvedArkadeService, bi as resolveArkadeService, bj as PathContext } from './index-DuXylQrN.js';
2
- export { bk as AbortError, bl as ActivityIntent, bm as ActivityResolver, bn as ArkError, bo as ArkErrorName, bp as ArkIntent, bq as ArkIntentState, y as ArkProvider, br as ArkadeCash, bs as ArkadeCashAction, bt as ArkadeCashCreateError, bu as ArkadeCashOperatorMismatchError, bv as ArkadeCashUnclaimedReason, bw as ArkadeCashUnclaimedVtxo, bx as ArkadeCashVtxoRef, by as AssetMetadata, bz as BATCH_REGISTRATION_TERMINAL_STATES, bA as BITCOIN_EMULATOR_PUBKEY, bB as BaseWalletConfig, bC as BatchFailedEvent, bD as BatchFinalizationEvent, bE as BatchFinalizedEvent, bF as BatchInfo, bG as BatchRegistrationFilter, bH as BatchRegistrationState, bI as BatchSignableIdentity, bJ as BatchStartedEvent, bK as BoardingUtxoGroup, bL as CandidateDeps, bM as ChainTxType, a7 as ChainedTxType, bN as CommitmentTx, bO as ConnectorTreeNode, bP as ContractBalance, bQ as ContractEventCallback, bR as ContractHandler, bS as ContractManager, bT as ContractManagerConfig, bU as ContractScope, bV as ContractState, bW as ContractVtxo, bX as ContractWatcher, bY as ContractWatcherEventCallback, bZ as DEFAULT_ARKADE_EMULATOR_URL, b_ as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, b$ as DEFAULT_VTXO_PAGE_SIZE, c0 as DELEGATION_EXPIRES_KEY, c1 as DELEGATION_LOCAL_STATUS, c2 as DELEGATION_REGISTERED_KEY, c3 as DELEGATION_STATUS_KEY, c4 as DefaultVtxo, c5 as DelegateManagerImpl, c6 as DelegateOptions, c7 as DelegateProvider, c8 as DelegateVtxo, c9 as DelegatedOutput, ca as DelegatedWallet, cb as DelegationOptions, cc as DelegationParams, cd as DeprecatedSignerMigrationReport, ce as DeprecatedSignerReport, cf as DigestMismatchError, cg as Discoverable, ch as DiscoveredContract, ci as DiscoveryDeps, cj as ESPLORA_URL, ck as EmulatorInfo, cl as EsploraProvider, cm as EventSourceCapable, cn as EventSourceFactory, co as EventSourceLike, cp as EventSourceUnavailableError, cq as ExecutorContractHandler, cr as ExecutorContractKeys, cs as ExecutorContractParams, ct as ExecutorDefault, cu as ExecutorDelegation, cv as ExecutorDelegationDetails, cw as ExecutorInfo, cx as ExecutorManagerImpl, cy as ExecutorProvider, cz as ExecutorRequestError, cA as ExecutorTemplate, cB as ExecutorWatchMetadata, cC as ExecutorWatchRegistration, cD as ExitCaptureMode, cE as ExitChainResolver, cF as ExitDataSource, cG as ForeignDescriptorError, cH as GetArkadeInfoOptions, cI as GetUtxosOptions, cJ as GroupMembership, cK as HandlerError, cL as HttpResponseError, cM as INTENT_TERMINAL_STATES, cN as IncomingFunds, cO as IndexedDBWalletRepository, cP as IndexerTxType, cQ as IndexerUtxo, cR as IndexerUtxosUnsupportedError, cS as Intent, cT as IntentCoin, cU as IntentFilter, cV as IntentPageFilter, cW as IntentRepository, cX as KeyringDescriptorProvider, cY as KnownMetadata, cZ as MAX_PAGE_SIZE, c_ as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, c$ as MUTINYNET_EMULATOR_PUBKEY, d0 as MigrateDeprecatedSignerOptions, d1 as MigrationLegReport, d2 as MigrationVtxoRef, d3 as NewAddressType, d4 as Nonces, d5 as NotifiesIncomingFunds, d6 as OnchainCosignAmbiguousError, d7 as OnchainCosignRejectedError, d8 as OnchainCosignUnsupportedError, d9 as Output, da as PageResponse, db as PartialSig, dc as PrevTxSource, dd as PrevTxUnavailableError, de as ProofInput, df as ProviderClass, dg as ProviderKind, dh as ProviderUnavailableError, di as REGTEST_EMULATOR_PUBKEY, dj as REGTEST_MIN_BATCH_EXPIRY_SECONDS, dk as RawTxSource, dl as ReadonlySingleKey, dm as ReadonlyWalletConfig, dn as RecipientArkadeAddressContext, dp as RegistrationOptions, dq as RenewalSplit, dr as RenewalSplitContext, ds as RestArkProvider, dt as RestDelegateProvider, du as RestEmulatorProvider, dv as RestExecutorProvider, v as RestIndexerProvider, u as RestOperatorProvider, dw as ScanContractsOptions, dx as ScanResult, dy as ScheduledSession, dz as ServerInfoSource, dA as ServerResponseMismatchError, dB as SettlementEventType, dC as SignRequest, dD as SignedIntent, dE as SignerClassification, dF as SignerSet, dG as SingleKey, w as SubscriptionEvent, dH as SubscriptionFilter, x as SubscriptionHeartbeat, dI as SubscriptionResponse, dJ as SweepTxNotification, dK as TapLeaves, dL as TimeHeight, dM as TreeNoncesEvent, dN as TreeSignatureEvent, dO as TreeSignerSession, dP as TreeSigningStartedEvent, dQ as TreeTxEvent, dR as Tx, dS as TxHistoryRecord, dT as TxKey, dU as TxNotification, dV as TxTag, dW as TxTreeNode, dX as TxType, dY as Vtxo, dZ as VtxoChain, d_ as VtxoManager, d$ as VtxoReservedError, e0 as VtxoType, e1 as WaitForIncomingFundsOptions, e2 as WalletCannotAllocateAddressError, d as WalletConfig, e3 as WalletMode, e4 as WithPrevTx, e5 as addArkadeCashRecord, e6 as arkadeCashId, e7 as arkadeCashResolver, e8 as assertAllowedSighashTypes, e9 as assertPageRequest, ea as assertRecipientArkadeAddress, eb as assertValidBatchExpiry, ec as assetMintResolver, ed as attachPrevArkTxs, ee as attachPrevoutTxs, ef as boardingResolver, eg as canRecoverOnchain, eh as canSpendOffchain, ei as canSweepOnchain, ej as classifyAgainstSignerSet, ek as classifyContractSigner, el as collabExitResolver, em as collectBatchRegistrations, en as collectContracts, eo as collectIntents, ep as collectPages, eq as collectScriptVtxos, er as collectTransactionHistory, es as collectUtxos, et as collectVtxos, eu as configureEventSource, ev as createArkadeCashTracker, ew as createDefaultActivityRegistry, ex as createExitChainResolver, ey as defaultBatchExpiryPolicy, ez as defaultEmulatorPubkey, eA as getAllNormalizedVtxos, eB as getConfiguredEventSource, eC as getNetwork, eD as getNormalizedVtxos, eE as getRandomId, eF as hasCandidates, eG as isAddressAllocationCapable, eH as isArkError, eI as isBatchSignable, eJ as isContractVtxoEvent, eK as isCooperativelyMigratable, eL as isDiscoverable, eM as isEventSourceUnavailableError, eN as isHDAllocationCapable, eO as isHDWalletCapable, eP as isPastExpiry, eQ as isSigningIdentity, eR as isSubdust, eS as isTerminalBatchRegistrationState, eT as isTerminalIntentState, eU as isVirtualCoin, eV as isVtxoExpiringSoon, eW as isVtxoSpent, eX as iteratePages, eY as maybeArkError, eZ as mergeArkadeCashRecord, e_ as networkFromArkadeInfo, e$ as networkFromOperatorInfo, f0 as networks, f1 as pageResult, f2 as resolveBatchExpiryPolicy, f3 as resolveDescriptorSigner, f4 as resolveEmulatorPubkey, f5 as resolveEventSource, f6 as resolvePrevTxs, f7 as selectVirtualCoins, f8 as signerSetFromInfo, f9 as signingDescriptorIndex, fa as strictSigningDescriptorIndex, fb as toOffchainInputFeeParams, fc as toXOnlySignerHex, fd as waitForIncomingFunds, fe as watchExecutorContracts, ff as withPrevTxs } from './index-DuXylQrN.js';
1
+ import { b as Identity, a8 as DescriptorProvider, a9 as Transaction, aa as SignerSession, ab as ReadonlyIdentity, ac as DescriptorSigningRequest, ad as IntentFeeConfig, ae as OffchainInput, af as FeeAmount, ag as OnchainInput, ah as FeeOutput, ai as VtxoReservationRepository, aj as StoredVtxoReservation, K as Outpoint, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch, W as WalletRepository, _ as AtomicWalletState, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, $ as WalletState, D as Contract, ak as ArkadeCashTx, z as IndexerProvider, al as ArkadeInfo, am as OnchainProvider, an as ArkadeCashRecord, ao as ArkadeCashClaimResult, l as Activity, C as ContractRepository, a0 as ContractFilter, I as IWallet, S as SettleParams, G as GetOperatorInfoOptions, ap as GetVtxosOptions, aq as PaginationOptions, h as GetVtxosFilter, i as GetSpendableVtxosFilter, ar as CreateContractParams, as as GetContractsFilter, V as VirtualCoin, at as GetSpendablePathsOptions, au as GetAllSpendingPathsOptions, n as GetNewAddressesOptions, R as Recipient, av as InputExpiryFloor, aw as IssuanceParams, ax as ReissuanceParams, ay as BurnParams, az as RenewVtxosOptions, s as SendOnchainParams, q as SettlementEvent, O as OperatorInfo, aA as NormalizedVtxoPage, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, P as ProviderConnectionState, aB as ContractSyncState, aC as ContractWithVtxos, aD as WatchedScript, aE as PathSelection, o as NewAddress, aF as ContractEvent, aG as AssetDetails, aH as IssuanceResult, aI as DelegateInfo, aJ as MigrationGlobalSkipReason, aK as MigrationLegSkipReason, aL as SignerStatus, aM as NetworkName, B as OperatorProvider, c as Wallet, aN as ReadonlyWallet, aO as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, aR as FeeInfo, N as NormalizedExtendedVirtualCoin, aS as ReceiveRotatorFactory, aT as ReceiveRotatorBootOpts, aU as ReceiveRotatorBoot, aV as IReadonlyWallet, k as ActivityRegistry, aW as IReadonlyAssetManager, aX as StorageConfig, m as IContractManager, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, t as IAssetManager, aY as VtxoReservation, r as SendParams, p as IDelegateManager, aZ as IExecutorManager, a_ as IVtxoManager, a$ as Network, b0 as Coin, b1 as SendBitcoinParams, b2 as ExplorerTransaction, b3 as SignedProof, b4 as Proof, b5 as TreeNonces, b6 as TreePartialSigs, T as TxNotificationEvent, b7 as PendingTx, b8 as EmulatorProvider, b9 as Status, ba as BatchExpiryPolicy, bb as Batch, bc as ChainTx, bd as TxTree, be as ArkadeService$1, bf as ContractVtxoEvent, bg as ExtendedContractVtxo, bh as ResolvedArkadeService$1, bi as resolveArkadeService, bj as PathContext } from './index-DOdoDqvM.js';
2
+ export { bk as AbortError, bl as ActivityIntent, bm as ActivityResolver, bn as ArkError, bo as ArkErrorName, bp as ArkIntent, bq as ArkIntentState, y as ArkProvider, br as ArkadeCash, bs as ArkadeCashAction, bt as ArkadeCashCreateError, bu as ArkadeCashOperatorMismatchError, bv as ArkadeCashUnclaimedReason, bw as ArkadeCashUnclaimedVtxo, bx as ArkadeCashVtxoRef, by as AssetMetadata, bz as BATCH_REGISTRATION_TERMINAL_STATES, bA as BITCOIN_EMULATOR_PUBKEY, bB as BaseWalletConfig, bC as BatchFailedEvent, bD as BatchFinalizationEvent, bE as BatchFinalizedEvent, bF as BatchInfo, bG as BatchRegistrationFilter, bH as BatchRegistrationState, bI as BatchSignableIdentity, bJ as BatchStartedEvent, bK as BoardingUtxoGroup, bL as CandidateDeps, bM as ChainTxType, a7 as ChainedTxType, bN as CommitmentTx, bO as ConnectorTreeNode, bP as ContractBalance, bQ as ContractEventCallback, bR as ContractHandler, bS as ContractManager, bT as ContractManagerConfig, bU as ContractScope, bV as ContractState, bW as ContractVtxo, bX as ContractWatcher, bY as ContractWatcherEventCallback, bZ as DEFAULT_ARKADE_EMULATOR_URL, b_ as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, b$ as DEFAULT_VTXO_PAGE_SIZE, c0 as DELEGATION_EXPIRES_KEY, c1 as DELEGATION_LOCAL_STATUS, c2 as DELEGATION_REGISTERED_KEY, c3 as DELEGATION_STATUS_KEY, c4 as DefaultVtxo, c5 as DelegateManagerImpl, c6 as DelegateOptions, c7 as DelegateProvider, c8 as DelegateVtxo, c9 as DelegatedOutput, ca as DelegatedWallet, cb as DelegationOptions, cc as DelegationParams, cd as DeprecatedSignerMigrationReport, ce as DeprecatedSignerReport, cf as DigestMismatchError, cg as Discoverable, ch as DiscoveredContract, ci as DiscoveryDeps, cj as ESPLORA_URL, ck as EmulatorInfo, cl as EsploraProvider, cm as EventSourceCapable, cn as EventSourceFactory, co as EventSourceLike, cp as EventSourceUnavailableError, cq as ExecutorArtifact, cr as ExecutorContractHandler, cs as ExecutorContractKeys, ct as ExecutorContractParams, cu as ExecutorDefault, cv as ExecutorDelegation, cw as ExecutorDelegationDetails, cx as ExecutorInfo, cy as ExecutorManagerImpl, cz as ExecutorProvider, cA as ExecutorRequestError, cB as ExecutorTemplate, cC as ExecutorTemplateDetails, cD as ExecutorTemplateParam, cE as ExecutorWatchMetadata, cF as ExecutorWatchRegistration, cG as ExitCaptureMode, cH as ExitChainResolver, cI as ExitDataSource, cJ as ForeignDescriptorError, cK as GetArkadeInfoOptions, cL as GetUtxosOptions, cM as GroupMembership, cN as HandlerError, cO as HttpResponseError, cP as INTENT_TERMINAL_STATES, cQ as IncomingFunds, cR as IndexedDBWalletRepository, cS as IndexerTxType, cT as IndexerUtxo, cU as IndexerUtxosUnsupportedError, cV as Intent, cW as IntentCoin, cX as IntentFilter, cY as IntentPageFilter, cZ as IntentRepository, c_ as KeyringDescriptorProvider, c$ as KnownMetadata, d0 as MAX_PAGE_SIZE, d1 as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, d2 as MUTINYNET_EMULATOR_PUBKEY, d3 as MigrateDeprecatedSignerOptions, d4 as MigrationLegReport, d5 as MigrationVtxoRef, d6 as NewAddressType, d7 as Nonces, d8 as NotifiesIncomingFunds, d9 as OnchainCosignAmbiguousError, da as OnchainCosignRejectedError, db as OnchainCosignUnsupportedError, dc as Output, dd as PageResponse, de as PartialSig, df as PrevTxSource, dg as PrevTxUnavailableError, dh as ProofInput, di as ProviderClass, dj as ProviderKind, dk as ProviderUnavailableError, dl as REGTEST_EMULATOR_PUBKEY, dm as REGTEST_MIN_BATCH_EXPIRY_SECONDS, dn as RawTxSource, dp as ReadonlySingleKey, dq as ReadonlyWalletConfig, dr as RecipientArkadeAddressContext, ds as RegistrationOptions, dt as RenewalSplit, du as RenewalSplitContext, dv as RestArkProvider, dw as RestDelegateProvider, dx as RestEmulatorProvider, dy as RestExecutorProvider, v as RestIndexerProvider, u as RestOperatorProvider, dz as ScanContractsOptions, dA as ScanResult, dB as ScheduledSession, dC as ServerInfoSource, dD as ServerResponseMismatchError, dE as SettlementEventType, dF as SignRequest, dG as SignedIntent, dH as SignerClassification, dI as SignerSet, dJ as SingleKey, w as SubscriptionEvent, dK as SubscriptionFilter, x as SubscriptionHeartbeat, dL as SubscriptionResponse, dM as SweepTxNotification, dN as TapLeaves, dO as TimeHeight, dP as TreeNoncesEvent, dQ as TreeSignatureEvent, dR as TreeSignerSession, dS as TreeSigningStartedEvent, dT as TreeTxEvent, dU as Tx, dV as TxHistoryRecord, dW as TxKey, dX as TxNotification, dY as TxTag, dZ as TxTreeNode, d_ as TxType, d$ as Vtxo, e0 as VtxoChain, e1 as VtxoManager, e2 as VtxoReservedError, e3 as VtxoType, e4 as WaitForIncomingFundsOptions, e5 as WalletCannotAllocateAddressError, d as WalletConfig, e6 as WalletMode, e7 as WithPrevTx, e8 as addArkadeCashRecord, e9 as arkadeCashId, ea as arkadeCashResolver, eb as assertAllowedSighashTypes, ec as assertPageRequest, ed as assertRecipientArkadeAddress, ee as assertValidBatchExpiry, ef as assetMintResolver, eg as attachPrevArkTxs, eh as attachPrevoutTxs, ei as boardingResolver, ej as canRecoverOnchain, ek as canSpendOffchain, el as canSweepOnchain, em as classifyAgainstSignerSet, en as classifyContractSigner, eo as collabExitResolver, ep as collectBatchRegistrations, eq as collectContracts, er as collectIntents, es as collectPages, et as collectScriptVtxos, eu as collectTransactionHistory, ev as collectUtxos, ew as collectVtxos, ex as configureEventSource, ey as createArkadeCashTracker, ez as createDefaultActivityRegistry, eA as createExitChainResolver, eB as defaultBatchExpiryPolicy, eC as defaultEmulatorPubkey, eD as getAllNormalizedVtxos, eE as getConfiguredEventSource, eF as getNetwork, eG as getNormalizedVtxos, eH as getRandomId, eI as hasCandidates, eJ as isAddressAllocationCapable, eK as isArkError, eL as isBatchSignable, eM as isContractVtxoEvent, eN as isCooperativelyMigratable, eO as isDiscoverable, eP as isEventSourceUnavailableError, eQ as isHDAllocationCapable, eR as isHDWalletCapable, eS as isPastExpiry, eT as isSigningIdentity, eU as isSubdust, eV as isTerminalBatchRegistrationState, eW as isTerminalIntentState, eX as isVirtualCoin, eY as isVtxoExpiringSoon, eZ as isVtxoSpent, e_ as iteratePages, e$ as maybeArkError, f0 as mergeArkadeCashRecord, f1 as networkFromArkadeInfo, f2 as networkFromOperatorInfo, f3 as networks, f4 as pageResult, f5 as resolveBatchExpiryPolicy, f6 as resolveDescriptorSigner, f7 as resolveEmulatorPubkey, f8 as resolveEventSource, f9 as resolvePrevTxs, fa as selectVirtualCoins, fb as signerSetFromInfo, fc as signingDescriptorIndex, fd as strictSigningDescriptorIndex, fe as toOffchainInputFeeParams, ff as toXOnlySignerHex, fg as waitForIncomingFunds, fh as watchExecutorContracts, fi as withPrevTxs } from './index-DOdoDqvM.js';
3
3
  import { T as TapLeafScript, E as EncodedVtxoScript, C as CSVMultisigTapscript, V as VtxoScript, R as RelativeTimelock } from './base-C-Y5t_0F.js';
4
4
  export { A as ArkAddress, a as ArkTapscript, b as CLTVMultisigTapscript, c as ConditionCSVMultisigTapscript, d as ConditionMultisigTapscript, M as MultisigTapscript, e as TapTreeCoder, f as TapscriptType, g as decodeTapscript, h as getSequence, s as scriptFromTapLeafScript } from './base-C-Y5t_0F.js';
5
- export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, V as VHTLC, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from './index-BapVvuoI.js';
5
+ export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, V as VHTLC, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from './index-CiLMmCHX.js';
6
6
  import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
7
- import { Transaction as Transaction$1, OP, Script, ScriptType } from '@scure/btc-signer';
7
+ import { Transaction as Transaction$1, ScriptType as ScriptType$1, OP, Script } from '@scure/btc-signer';
8
8
  import { P2TR } from '@scure/btc-signer/payment.js';
9
- import { ElectrumWS } from 'ws-electrumx-client';
10
9
  import { TransactionOutput, TransactionInputUpdate } from '@scure/btc-signer/psbt.js';
10
+ import { P as Program$1, A as ArkadeArgValue$1, a as ArkadeProgramScript, b as ProgramKeys$1, c as ArkadeParamValue$1, d as ArkadeFunction$1, I as InputDef$1, e as ArkadeValueType, C as CompiledProgramFunction$1, f as ArkadeArgType$1, g as ArkadeContractParams$1, h as ArkadeSegment$1, i as AsmToken$1, j as InputRef$1, k as SignerRef$1, S as SourceRange$1, T as TapscriptSegment$1, l as TweakedSigner$1, W as WitnessRef$1, m as SUPPORTED_PROGRAM_VERSION, U as UnsupportedProgramVersionError, n as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, o as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './program-zdDO4cMt.js';
11
+ import { C as ContractArtifact$1, a as ContractDebugInfo$1, P as ProgramFromArtifactOptions$1, i as isContractArtifact, p as programFromArtifact } from './artifact-DacurepK.js';
11
12
  import * as P from 'micro-packed';
12
- import { S as SourceRange, P as Program, A as ArkadeArgValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeParamValue, d as ArkadeFunction, I as InputDef, e as ArkadeValueType, C as CompiledProgramFunction, f as ArkadeArgType, g as ArkadeContractParams, h as ArkadeSegment, i as AsmToken, j as InputRef, k as SUPPORTED_PROGRAM_VERSION, l as SignerRef, T as TapscriptSegment, m as TweakedSigner, U as UnsupportedProgramVersionError, W as WitnessRef, n as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, o as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './program-38A2Twvj.js';
13
13
  import '@scure/btc-signer/transaction.js';
14
14
 
15
15
  /** Validate an optional millisecond duration; zero retains its caller-defined meaning. */
@@ -319,12 +319,13 @@ declare class Estimator {
319
319
  }
320
320
 
321
321
  declare class IndexedDBVtxoReservationRepository implements VtxoReservationRepository, AsyncDisposable {
322
- readonly version: 1;
322
+ readonly version: 2;
323
323
  private readonly connection;
324
324
  constructor(dbName: string);
325
325
  getReservations(): Promise<StoredVtxoReservation[]>;
326
326
  saveReservation(reservation: StoredVtxoReservation): Promise<void>;
327
327
  deleteReservation(id: string): Promise<void>;
328
+ deleteReservationIfMatches(id: string, expected: readonly Outpoint[]): Promise<boolean>;
328
329
  [Symbol.asyncDispose](): Promise<void>;
329
330
  }
330
331
 
@@ -434,64 +435,6 @@ declare class InMemoryWalletRepository implements WalletRepository {
434
435
  [Symbol.asyncDispose](): Promise<void>;
435
436
  }
436
437
 
437
- /**
438
- * Read the JSON `arkadec` writes into a {@link Program}: `$param` placeholders,
439
- * @scure opcode names, and one structured tapleaf per compiler leaf.
440
- */
441
-
442
- interface ArtifactParameter {
443
- name: string;
444
- type: string;
445
- }
446
- interface ArtifactStruct {
447
- name: string;
448
- fields: ArtifactParameter[];
449
- }
450
- interface ArtifactWitnessElement {
451
- name: string;
452
- type: string;
453
- encoding?: string;
454
- injected?: boolean;
455
- }
456
- interface ArtifactLeaf {
457
- name: string;
458
- witness?: ArtifactWitnessElement[];
459
- asm: string[];
460
- }
461
- interface ArtifactCovenant {
462
- inputs: ArtifactParameter[];
463
- asm: string[];
464
- }
465
- interface ArtifactGroup {
466
- name: string;
467
- arkade?: ArtifactCovenant;
468
- leaves: ArtifactLeaf[];
469
- }
470
- interface ContractArtifact {
471
- formatVersion?: number;
472
- contractName: string;
473
- constructorInputs: ArtifactParameter[];
474
- structs?: ArtifactStruct[];
475
- functions: ArtifactGroup[];
476
- fingerprint?: string;
477
- }
478
- /** The compiler's debug file: each covenant's source map, keyed by spend group. */
479
- interface ContractDebugInfo {
480
- formatVersion: number;
481
- /** The {@link ContractArtifact.fingerprint} of the build that wrote it. */
482
- artifactFingerprint?: string;
483
- functions: Record<string, {
484
- sourceMap: SourceRange[];
485
- }>;
486
- }
487
- /** `true` when `value` is an arkadec artifact rather than a Program. */
488
- declare function isContractArtifact(value: unknown): value is ContractArtifact;
489
- /**
490
- * Adds `server`, and one param per child-output placeholder for the caller to bind to that output key.
491
- * With the build's `debug` file, each covenant segment also carries its `sourceMap`.
492
- */
493
- declare function programFromArtifact(artifact: ContractArtifact, debug?: ContractDebugInfo): Program;
494
-
495
438
  /**
496
439
  * Whether generic wallet spending may select this contract's VTXOs. Default closed: a type whose
497
440
  * handler declares nothing, or has no handler registered here, is not spendable.
@@ -1186,6 +1129,15 @@ type ResponseGetAddress = ResponseEnvelope & {
1186
1129
  address: string;
1187
1130
  };
1188
1131
  };
1132
+ type RequestGetOwnAddress = RequestEnvelope & {
1133
+ type: "GET_OWN_ADDRESS";
1134
+ };
1135
+ type ResponseGetOwnAddress = ResponseEnvelope & {
1136
+ type: "OWN_ADDRESS";
1137
+ payload: {
1138
+ address: string;
1139
+ };
1140
+ };
1189
1141
  type RequestGetBoardingAddress = RequestEnvelope & {
1190
1142
  type: "GET_BOARDING_ADDRESS";
1191
1143
  };
@@ -1329,6 +1281,12 @@ type ResponseGetContractSyncState = ResponseEnvelope & {
1329
1281
  type RequestClear = RequestEnvelope & {
1330
1282
  type: "CLEAR";
1331
1283
  };
1284
+ type RequestDispose = RequestEnvelope & {
1285
+ type: "DISPOSE";
1286
+ };
1287
+ type ResponseDispose = ResponseEnvelope & {
1288
+ type: "DISPOSE_SUCCESS";
1289
+ };
1332
1290
  type ResponseClear = ResponseEnvelope & {
1333
1291
  type: "CLEAR_SUCCESS";
1334
1292
  payload: {
@@ -1944,7 +1902,7 @@ type RequestRestoreWallet = RequestEnvelope & {
1944
1902
  type ResponseRestoreWallet = ResponseEnvelope & {
1945
1903
  type: "RESTORE_WALLET_SUCCESS";
1946
1904
  };
1947
- type WalletRequest = RequestInitWallet | RequestSettle | RequestGetAddress | RequestGetBoardingAddress | RequestGetOperatorInfo | RequestIndexerGetVtxos | RequestIndexerGetVirtualTxs | RequestSubmitTx | RequestFinalizeTx | RequestGetBalance | RequestGetVtxos | RequestGetSpendableVtxos | RequestGetBoardingUtxos | RequestGetTransactionHistory | RequestGetStatus | RequestGetContractSyncState | RequestClear | RequestReloadWallet | RequestSignTransaction | RequestCreateContract | RequestGetContracts | RequestGetContractsWithVtxos | RequestGetStoredContractsWithVtxos | RequestWatchScript | RequestUnwatchScript | RequestGetWatchedScripts | RequestAnnotateVtxos | RequestUpdateContract | RequestDeleteContract | RequestGetSpendablePaths | RequestGetAllSpendingPaths | RequestGetUnsupportedContracts | RequestIsContractManagerWatching | RequestRefreshVtxos | RequestRefreshOutpoints | RequestGetCurrentSigningDescriptor | RequestGetNextSigningDescriptor | RequestGetNewAddresses | RequestGetUsedSigningDescriptors | RequestAdvanceSigningDescriptorWatermark | RequestSend | RequestReserveVtxos | RequestReleaseVtxos | RequestSendWithDeadline | RequestSendWithInputExpiryFloor | RequestGetAssetDetails | RequestIssue | RequestReissue | RequestBurn | RequestDelegate | RequestGetDelegateInfo | RequestRecoverVtxos | RequestGetRecoverableBalance | RequestGetExpiringVtxos | RequestRenewVtxos | RequestGetExpiredBoardingUtxos | RequestSweepExpiredBoardingUtxos | RequestCosignOnchainTx | RequestSendOnchain | RequestMigrateDeprecatedSignerVtxos | RequestGetDeprecatedSignerStatus | RequestRestoreWallet | RequestArkadeCash;
1905
+ type WalletRequest = RequestInitWallet | RequestSettle | RequestGetAddress | RequestGetOwnAddress | RequestGetBoardingAddress | RequestGetOperatorInfo | RequestIndexerGetVtxos | RequestIndexerGetVirtualTxs | RequestSubmitTx | RequestFinalizeTx | RequestGetBalance | RequestGetVtxos | RequestGetSpendableVtxos | RequestGetBoardingUtxos | RequestGetTransactionHistory | RequestGetStatus | RequestGetContractSyncState | RequestClear | RequestDispose | RequestReloadWallet | RequestSignTransaction | RequestCreateContract | RequestGetContracts | RequestGetContractsWithVtxos | RequestGetStoredContractsWithVtxos | RequestWatchScript | RequestUnwatchScript | RequestGetWatchedScripts | RequestAnnotateVtxos | RequestUpdateContract | RequestDeleteContract | RequestGetSpendablePaths | RequestGetAllSpendingPaths | RequestGetUnsupportedContracts | RequestIsContractManagerWatching | RequestRefreshVtxos | RequestRefreshOutpoints | RequestGetCurrentSigningDescriptor | RequestGetNextSigningDescriptor | RequestGetNewAddresses | RequestGetUsedSigningDescriptors | RequestAdvanceSigningDescriptorWatermark | RequestSend | RequestReserveVtxos | RequestReleaseVtxos | RequestSendWithDeadline | RequestSendWithInputExpiryFloor | RequestGetAssetDetails | RequestIssue | RequestReissue | RequestBurn | RequestDelegate | RequestGetDelegateInfo | RequestRecoverVtxos | RequestGetRecoverableBalance | RequestGetExpiringVtxos | RequestRenewVtxos | RequestGetExpiredBoardingUtxos | RequestSweepExpiredBoardingUtxos | RequestCosignOnchainTx | RequestSendOnchain | RequestMigrateDeprecatedSignerVtxos | RequestGetDeprecatedSignerStatus | RequestRestoreWallet | RequestArkadeCash;
1948
1906
  type ScopedWalletRequest = RequestEnvelope & {
1949
1907
  type: "SCOPED_WALLET_REQUEST_V1";
1950
1908
  payload: {
@@ -1955,7 +1913,7 @@ type ScopedWalletRequest = RequestEnvelope & {
1955
1913
  type WalletUpdaterRequest = WalletRequest | ScopedWalletRequest;
1956
1914
  type WalletUpdaterResponse = ResponseEnvelope & {
1957
1915
  walletRequestBinding?: WalletRequestBinding;
1958
- } & (ResponseInitWallet | ResponseSettle | ResponseSettleEvent | ResponseGetAddress | ResponseGetBoardingAddress | ResponseGetOperatorInfo | ResponseIndexerGetVtxos | ResponseIndexerGetVirtualTxs | ResponseSubmitTx | ResponseFinalizeTx | ResponseGetBalance | ResponseGetVtxos | ResponseGetSpendableVtxos | ResponseGetBoardingUtxos | ResponseGetTransactionHistory | ResponseGetStatus | ResponseGetContractSyncState | ResponseClear | ResponseReloadWallet | ResponseUtxoUpdate | ResponseVtxoUpdate | ResponseSignTransaction | ResponseCreateContract | ResponseGetContracts | ResponseGetContractsWithVtxos | ResponseGetStoredContractsWithVtxos | ResponseWatchScript | ResponseUnwatchScript | ResponseGetWatchedScripts | ResponseAnnotateVtxos | ResponseUpdateContract | ResponseContractWatchStateSet | ResponseDeleteContract | ResponseGetSpendablePaths | ResponseGetAllSpendingPaths | ResponseGetUnsupportedContracts | ResponseIsContractManagerWatching | ResponseRefreshVtxos | ResponseRefreshOutpoints | ResponseGetCurrentSigningDescriptor | ResponseGetNextSigningDescriptor | ResponseGetNewAddresses | ResponseGetUsedSigningDescriptors | ResponseAdvanceSigningDescriptorWatermark | ResponseContractEvent | ResponseSend | ResponseReserveVtxos | ResponseReleaseVtxos | ResponseSendDeadlineExceeded | ResponseGetAssetDetails | ResponseIssue | ResponseReissue | ResponseBurn | ResponseDelegate | ResponseGetDelegateInfo | ResponseRecoverVtxos | ResponseRecoverVtxosEvent | ResponseGetRecoverableBalance | ResponseGetExpiringVtxos | ResponseRenewVtxos | ResponseRenewVtxosEvent | ResponseGetExpiredBoardingUtxos | ResponseSweepExpiredBoardingUtxos | ResponseCosignOnchainTx | ResponseSendOnchain | ResponseMigrateDeprecatedSignerVtxos | ResponseMigrateDeprecatedSignerVtxosEvent | ResponseGetDeprecatedSignerStatus | ResponseRestoreWallet | ResponseArkadeCash);
1916
+ } & (ResponseInitWallet | ResponseSettle | ResponseSettleEvent | ResponseGetAddress | ResponseGetOwnAddress | ResponseGetBoardingAddress | ResponseGetOperatorInfo | ResponseIndexerGetVtxos | ResponseIndexerGetVirtualTxs | ResponseSubmitTx | ResponseFinalizeTx | ResponseGetBalance | ResponseGetVtxos | ResponseGetSpendableVtxos | ResponseGetBoardingUtxos | ResponseGetTransactionHistory | ResponseGetStatus | ResponseGetContractSyncState | ResponseClear | ResponseDispose | ResponseReloadWallet | ResponseUtxoUpdate | ResponseVtxoUpdate | ResponseSignTransaction | ResponseCreateContract | ResponseGetContracts | ResponseGetContractsWithVtxos | ResponseGetStoredContractsWithVtxos | ResponseWatchScript | ResponseUnwatchScript | ResponseGetWatchedScripts | ResponseAnnotateVtxos | ResponseUpdateContract | ResponseContractWatchStateSet | ResponseDeleteContract | ResponseGetSpendablePaths | ResponseGetAllSpendingPaths | ResponseGetUnsupportedContracts | ResponseIsContractManagerWatching | ResponseRefreshVtxos | ResponseRefreshOutpoints | ResponseGetCurrentSigningDescriptor | ResponseGetNextSigningDescriptor | ResponseGetNewAddresses | ResponseGetUsedSigningDescriptors | ResponseAdvanceSigningDescriptorWatermark | ResponseContractEvent | ResponseSend | ResponseReserveVtxos | ResponseReleaseVtxos | ResponseSendDeadlineExceeded | ResponseGetAssetDetails | ResponseIssue | ResponseReissue | ResponseBurn | ResponseDelegate | ResponseGetDelegateInfo | ResponseRecoverVtxos | ResponseRecoverVtxosEvent | ResponseGetRecoverableBalance | ResponseGetExpiringVtxos | ResponseRenewVtxos | ResponseRenewVtxosEvent | ResponseGetExpiredBoardingUtxos | ResponseSweepExpiredBoardingUtxos | ResponseCosignOnchainTx | ResponseSendOnchain | ResponseMigrateDeprecatedSignerVtxos | ResponseMigrateDeprecatedSignerVtxosEvent | ResponseGetDeprecatedSignerStatus | ResponseRestoreWallet | ResponseArkadeCash);
1959
1917
  declare class WalletMessageHandler implements MessageHandler<WalletUpdaterRequest, WalletUpdaterResponse> {
1960
1918
  readonly messageTag: string;
1961
1919
  private wallet;
@@ -1971,6 +1929,7 @@ declare class WalletMessageHandler implements MessageHandler<WalletUpdaterReques
1971
1929
  private incomingFundsSubscription;
1972
1930
  private incomingFundsRegistrations;
1973
1931
  private contractEventsSubscription;
1932
+ private retryPendingTxs?;
1974
1933
  private onNextTick;
1975
1934
  private channel;
1976
1935
  private incomingFundsEpoch;
@@ -2027,6 +1986,7 @@ declare class WalletMessageHandler implements MessageHandler<WalletUpdaterReques
2027
1986
  private handleGetBalance;
2028
1987
  private getBoardingUtxosForBalance;
2029
1988
  private onWalletInitialized;
1989
+ private schedulePendingTxRecovery;
2030
1990
  private registerIncomingFunds;
2031
1991
  /**
2032
1992
  * Refresh boarding inputs and transaction history. The virtual outputs come
@@ -2154,6 +2114,11 @@ interface MessageHandler<REQ extends RequestEnvelope = RequestEnvelope, RES exte
2154
2114
  walletRepository: WalletRepository;
2155
2115
  }, channel?: {
2156
2116
  broadcast(response: RES): void;
2117
+ /**
2118
+ * Stop every handler and leave the bus uninitialized, as in a
2119
+ * fresh worker; a no-op once this generation has ended.
2120
+ */
2121
+ release?(): Promise<void>;
2157
2122
  }): Promise<void>;
2158
2123
  /** Called once when the SW is shutting down */
2159
2124
  stop(): Promise<void>;
@@ -2263,8 +2228,8 @@ declare class MessageBus {
2263
2228
  */
2264
2229
  private initChain;
2265
2230
  /**
2266
- * Number of inits accepted but not yet settled (queued or running). The
2267
- * bus refuses ordinary wallet messages while this is > 0.
2231
+ * Number of inits and releases accepted but not yet settled (queued or
2232
+ * running). The bus refuses ordinary wallet messages while this is > 0.
2268
2233
  */
2269
2234
  private pendingInitCount;
2270
2235
  private readonly buildServicesFn;
@@ -2304,6 +2269,11 @@ declare class MessageBus {
2304
2269
  * Returns this init's own result.
2305
2270
  */
2306
2271
  private waitForInit;
2272
+ /**
2273
+ * Back to a fresh worker's state. On the init chain, so a later init
2274
+ * builds only after these handlers stop.
2275
+ */
2276
+ private release;
2307
2277
  /**
2308
2278
  * The bus serves ordinary wallet messages only when it is initialized AND
2309
2279
  * no init is in flight.
@@ -3119,6 +3089,12 @@ declare class Ramps {
3119
3089
  *
3120
3090
  * Returns the onchain txid instead when onchain coins alone cover `amount`
3121
3091
  * and were spent via arkd cosigning.
3092
+ *
3093
+ * Rethrows a cosign that failed after the client signed (`OnchainCosignRejectedError`,
3094
+ * `OnchainCosignAmbiguousError`): the operator may still hold that signed tx and complete it,
3095
+ * so paying from other coins can pay twice. No batch here can conflict with it, as arkd
3096
+ * refuses an intent mixing onchain inputs and outputs. See "Onchain cosigning" in the README for
3097
+ * the caller's options.
3122
3098
  */
3123
3099
  offboardExact(params: {
3124
3100
  destinationAddress: string;
@@ -3378,6 +3354,8 @@ declare class ServiceWorkerReadonlyWallet implements IReadonlyWallet {
3378
3354
  protected messageBusTimeoutMs?: number;
3379
3355
  protected messageTimeouts: Record<RequestType, number>;
3380
3356
  private reinitPromise;
3357
+ private disposed;
3358
+ private disposePromise?;
3381
3359
  private pingPromise;
3382
3360
  private inflightRequests;
3383
3361
  get assetManager(): IReadonlyAssetManager;
@@ -3430,9 +3408,17 @@ declare class ServiceWorkerReadonlyWallet implements IReadonlyWallet {
3430
3408
  * by the worker via GET_STATUS.
3431
3409
  */
3432
3410
  protected assertWorkerIdentityMatches(): Promise<void>;
3411
+ private assertNotDisposed;
3412
+ /**
3413
+ * Revoke this worker wallet and proxy without deleting persisted data or
3414
+ * holds; call again after a failure to retry.
3415
+ */
3416
+ dispose(): Promise<void>;
3417
+ private disposeWorker;
3433
3418
  /** This tells the service worker to wipe all locally persisted wallet data. */
3434
3419
  clear(): Promise<void>;
3435
3420
  getAddress(): Promise<string>;
3421
+ getOwnAddress(): Promise<string>;
3436
3422
  getBoardingAddress(): Promise<string>;
3437
3423
  /**
3438
3424
  * Delegated to the worker, which holds the wallet that owns the connection.
@@ -3735,6 +3721,17 @@ type SetupServiceWorkerOptions = {
3735
3721
  */
3736
3722
  declare function setupServiceWorker(pathOrOptions: string | SetupServiceWorkerOptions): Promise<ServiceWorker>;
3737
3723
 
3724
+ /**
3725
+ * The Electrum client methods the providers call. `ElectrumWS` from
3726
+ * `ws-electrumx-client` satisfies it; naming the class would make the SDK's
3727
+ * declarations depend on its `ws` types, which pull in `@types/node`.
3728
+ */
3729
+ interface ElectrumSocket {
3730
+ request<T = unknown>(method: string, ...params: (boolean | string | number | (string | number)[])[]): Promise<T>;
3731
+ subscribe(method: string, callback: (...payload: unknown[]) => unknown, ...params: (string | number)[]): Promise<void>;
3732
+ unsubscribe(method: string, ...params: (string | number)[]): Promise<unknown>;
3733
+ close(reason: string): Promise<boolean>;
3734
+ }
3738
3735
  /**
3739
3736
  * Default WebSocket Electrum endpoints. Mainnet, mutinynet, and signet
3740
3737
  * point at Ark Labs–operated Fulcrum 2.1 deployments (which support
@@ -3834,7 +3831,7 @@ declare class WsElectrumChainSource {
3834
3831
  private network;
3835
3832
  private cachedTip;
3836
3833
  private headersSubscribePromise;
3837
- constructor(ws: ElectrumWS, network: Network);
3834
+ constructor(ws: ElectrumSocket, network: Network);
3838
3835
  /**
3839
3836
  * Send N requests in parallel and aggregate the results, replacement
3840
3837
  * for `ws.batchRequest`. The library's batchRequest is implemented as
@@ -3976,7 +3973,7 @@ declare class ElectrumOnchainProvider implements OnchainProvider {
3976
3973
  private chain;
3977
3974
  private mtpCache?;
3978
3975
  private mtpInflight?;
3979
- constructor(ws: ElectrumWS, network: Network);
3976
+ constructor(ws: ElectrumSocket, network: Network);
3980
3977
  getCoins(address: string): Promise<Coin[]>;
3981
3978
  getFeeRate(): Promise<number | undefined>;
3982
3979
  /**
@@ -5295,6 +5292,7 @@ declare class Extension {
5295
5292
 
5296
5293
  declare const ARKADE_OP: {
5297
5294
  readonly MERKLEBRANCHVERIFY: 179;
5295
+ readonly MERKLEBRANCHROOT: 179;
5298
5296
  readonly PUT: 187;
5299
5297
  readonly DIGEST: 195;
5300
5298
  readonly SHA256INITIALIZE: 196;
@@ -5394,6 +5392,7 @@ declare function getOpcodeValue(name: string): number | undefined;
5394
5392
  */
5395
5393
  declare const ARKADE_OPS: {
5396
5394
  readonly MERKLEBRANCHVERIFY: 179;
5395
+ readonly MERKLEBRANCHROOT: 179;
5397
5396
  readonly PUT: 187;
5398
5397
  readonly DIGEST: 195;
5399
5398
  readonly SHA256INITIALIZE: 196;
@@ -5741,9 +5740,9 @@ declare namespace bignum {
5741
5740
  * A scalar or whole struct/array value, flattened to dotted names (`owners.0.key`).
5742
5741
  * Struct fields are checked at runtime so interface types need no index signature.
5743
5742
  */
5744
- type ArkadeNestedValue = ArkadeArgValue | object;
5743
+ type ArkadeNestedValue = ArkadeArgValue$1 | object;
5745
5744
  /** The argument tuple of a function, derived from its declared `inputs`. */
5746
- type ArgsTuple<I extends readonly InputDef[]> = {
5745
+ type ArgsTuple<I extends readonly InputDef$1[]> = {
5747
5746
  [K in keyof I]: ArkadeValueType[I[K]["type"]];
5748
5747
  };
5749
5748
  /**
@@ -5752,28 +5751,28 @@ type ArgsTuple<I extends readonly InputDef[]> = {
5752
5751
  * stay loose.
5753
5752
  */
5754
5753
  type SegmentArgs<S> = S extends {
5755
- inputs: infer I extends readonly InputDef[];
5754
+ inputs: infer I extends readonly InputDef$1[];
5756
5755
  } ? string extends I[number]["name"] ? ArkadeNestedValue[] : Extract<I[number]["name"], `${string}.${string}`> extends never ? ArgsTuple<I> : ArkadeNestedValue[] : [];
5757
5756
  type WitnessSegment = "tapscript" | "arkadeScript";
5758
5757
  /** A function's call argument: one key for each segment that declares non-empty `inputs`. */
5759
- type CallArgs<F extends ArkadeFunction> = {
5758
+ type CallArgs<F extends ArkadeFunction$1> = {
5760
5759
  [K in WitnessSegment as SegmentArgs<F[K]> extends readonly [] ? never : K]: SegmentArgs<F[K]>;
5761
5760
  };
5762
5761
  /** The call argument of a function of a widened {@link Program}. */
5763
5762
  type LooseCallArgs = Partial<Record<WitnessSegment, readonly ArkadeNestedValue[]>>;
5764
5763
  /** The call signature arguments for one function: nullary when no segment declares inputs. */
5765
- type FnArgs<F extends ArkadeFunction> = keyof CallArgs<F> extends never ? [] : [args: CallArgs<F>];
5764
+ type FnArgs<F extends ArkadeFunction$1> = keyof CallArgs<F> extends never ? [] : [args: CallArgs<F>];
5766
5765
  /** A contract's functions returning `R`: typed per function for a literal program, else loose. */
5767
- type FunctionMap<P extends Program, R> = string extends keyof P["functions"] ? Record<string, (args?: LooseCallArgs) => R> : {
5766
+ type FunctionMap<P extends Program$1, R> = string extends keyof P["functions"] ? Record<string, (args?: LooseCallArgs) => R> : {
5768
5767
  [K in keyof P["functions"]]: (...args: FnArgs<P["functions"][K]>) => R;
5769
5768
  };
5770
5769
  /**
5771
5770
  * The statically-typed `functions` map of a contract: precisely typed per function for a literal
5772
5771
  * program, the loose {@link CallableFunctions} for the widened {@link Program}.
5773
5772
  */
5774
- type ContractFunctions<P extends Program> = FunctionMap<P, ArkadeTransactionBuilder>;
5773
+ type ContractFunctions<P extends Program$1> = FunctionMap<P, ArkadeTransactionBuilder>;
5775
5774
  /** The statically-typed `unlock` map of a contract, typed like {@link ContractFunctions}. */
5776
- type ContractUnlockers<P extends Program> = FunctionMap<P, ArkadeUnlocker>;
5775
+ type ContractUnlockers<P extends Program$1> = FunctionMap<P, ArkadeUnlocker>;
5777
5776
  /** A spendable coin (VTXO) — outpoint + value. */
5778
5777
  interface Utxo {
5779
5778
  txid: string;
@@ -5814,9 +5813,9 @@ interface Utxo {
5814
5813
  */
5815
5814
  interface ArkadeUnlocker {
5816
5815
  readonly contract: ArkadeContract<any>;
5817
- readonly fn: CompiledProgramFunction;
5816
+ readonly fn: CompiledProgramFunction$1;
5818
5817
  /** Bound call inputs, by the segment whose witness names them. */
5819
- readonly args: Readonly<Record<WitnessSegment, Record<string, ArkadeArgValue>>>;
5818
+ readonly args: Readonly<Record<WitnessSegment, Record<string, ArkadeArgValue$1>>>;
5820
5819
  }
5821
5820
  /**
5822
5821
  * An asset-group transfer attached to a spend: which inputs supply the asset and
@@ -5888,7 +5887,7 @@ interface ArkadeConnectCommonOptions {
5888
5887
  * `{ network: "bitcoin" }`, the emulator).
5889
5888
  */
5890
5889
  interface ArkadeConnectServiceOptions extends ArkadeConnectCommonOptions {
5891
- service: ArkadeService;
5890
+ service: ArkadeService$1;
5892
5891
  /**
5893
5892
  * Persist contracts here. The client builds and owns a contract manager over it (with an
5894
5893
  * in-memory VTXO store), enabling {@link ArkadeContract.register} and
@@ -6008,10 +6007,12 @@ declare class Arkade {
6008
6007
  * the program's literal type, so `functions` is strongly typed.
6009
6008
  *
6010
6009
  * Declared `server`/`user` params default to the client's keys. Compiler
6011
- * artifacts reserve the operator key and exit delay to the connected operator.
6010
+ * artifacts reserve the operator key and exit delay to the connected operator,
6011
+ * and the witness program of each contract they instantiate to the derived one
6012
+ * (see {@link ArkadeContract}'s constructor).
6012
6013
  * Struct and array params are passed whole by name (see {@link ArkadeNestedValue}).
6013
6014
  */
6014
- contract<const P extends Program>(program: P, args?: Record<string, ArkadeNestedValue>): ArkadeContract<P>;
6015
+ contract<const P extends Program$1>(program: P, args?: Record<string, ArkadeNestedValue>): ArkadeContract<P>;
6015
6016
  /**
6016
6017
  * Start a spend with no function of its own: each `.from(coins, contract.unlock.<name>(...))`
6017
6018
  * names the function its coins are spent through.
@@ -6019,7 +6020,7 @@ declare class Arkade {
6019
6020
  transaction(): ArkadeTransactionBuilder;
6020
6021
  }
6021
6022
  /** A resolved, instantiated Arkade contract. */
6022
- declare class ArkadeContract<P extends Program = Program> {
6023
+ declare class ArkadeContract<P extends Program$1 = Program$1> {
6023
6024
  readonly client: Arkade;
6024
6025
  readonly program: P;
6025
6026
  /** The compiled taproot tree of spending-path leaves. */
@@ -6027,12 +6028,17 @@ declare class ArkadeContract<P extends Program = Program> {
6027
6028
  /** Encoded taproot tree (shared spend context for every path). */
6028
6029
  readonly tapTree: Uint8Array;
6029
6030
  /** The signer keys the program was compiled against. */
6030
- readonly keys: ProgramKeys;
6031
+ readonly keys: ProgramKeys$1;
6031
6032
  /** Spending paths in declaration order. */
6032
6033
  private readonly compiled;
6033
6034
  /** Constructor bindings by flattened name (`owners.0.key`), as persisted. */
6034
- readonly args: Record<string, ArkadeParamValue>;
6035
- constructor(client: Arkade, program: P, args?: Record<string, ArkadeNestedValue>, keys?: ProgramKeys);
6035
+ readonly args: Record<string, ArkadeParamValue$1>;
6036
+ /**
6037
+ * Compile `program` with `args` against `keys` (the client's by default). Each contract a
6038
+ * compiler artifact instantiates is bound to its witness program, derived with `keys` and the
6039
+ * client's exit delay; a value passed for it by hand must match.
6040
+ */
6041
+ constructor(client: Arkade, program: P, args?: Record<string, ArkadeNestedValue>, keys?: ProgramKeys$1);
6036
6042
  /**
6037
6043
  * Rebuild a callable contract from a persisted `"arkade"` row. Compiles with the stored keys,
6038
6044
  * not the client's current ones, so script and address survive a rotation of the operator's signer.
@@ -6218,6 +6224,30 @@ declare function renewProgramContractOutputs(client: Arkade, targets: ProgramCon
6218
6224
  * @module arkade
6219
6225
  */
6220
6226
 
6227
+ type ScriptType = ScriptType$1;
6228
+ type ArkadeArgType = ArkadeArgType$1;
6229
+ type ArkadeArgValue = ArkadeArgValue$1;
6230
+ type ArkadeContractParams = ArkadeContractParams$1;
6231
+ type ArkadeFunction = ArkadeFunction$1;
6232
+ type ArkadeParamValue = ArkadeParamValue$1;
6233
+ type ArkadeSegment = ArkadeSegment$1;
6234
+ type AsmToken = AsmToken$1;
6235
+ type CompiledProgramFunction = CompiledProgramFunction$1;
6236
+ type InputDef = InputDef$1;
6237
+ type InputRef = InputRef$1;
6238
+ type Program = Program$1;
6239
+ type ProgramKeys = ProgramKeys$1;
6240
+ type SignerRef = SignerRef$1;
6241
+ type SourceRange = SourceRange$1;
6242
+ type TapscriptSegment = TapscriptSegment$1;
6243
+ type TweakedSigner = TweakedSigner$1;
6244
+ type WitnessRef = WitnessRef$1;
6245
+ type ArkadeService = ArkadeService$1;
6246
+ type ResolvedArkadeService = ResolvedArkadeService$1;
6247
+ type ContractArtifact = ContractArtifact$1;
6248
+ type ContractDebugInfo = ContractDebugInfo$1;
6249
+ type ProgramFromArtifactOptions = ProgramFromArtifactOptions$1;
6250
+
6221
6251
  declare const index_ARKADE_OP: typeof ARKADE_OP;
6222
6252
  declare const index_ARKADE_OPCODES: typeof ARKADE_OPCODES;
6223
6253
  declare const index_ARKADE_OPCODE_NAMES: typeof ARKADE_OPCODE_NAMES;
@@ -6225,61 +6255,62 @@ declare const index_ARKADE_OPCODE_VALUES: typeof ARKADE_OPCODE_VALUES;
6225
6255
  declare const index_ARKADE_OPS: typeof ARKADE_OPS;
6226
6256
  type index_Arkade = Arkade;
6227
6257
  declare const index_Arkade: typeof Arkade;
6228
- declare const index_ArkadeArgType: typeof ArkadeArgType;
6229
- declare const index_ArkadeArgValue: typeof ArkadeArgValue;
6258
+ type index_ArkadeArgType = ArkadeArgType;
6259
+ type index_ArkadeArgValue = ArkadeArgValue;
6230
6260
  type index_ArkadeBatchInput = ArkadeBatchInput;
6231
6261
  type index_ArkadeConnectOptions = ArkadeConnectOptions;
6232
6262
  type index_ArkadeConnectProviderOptions = ArkadeConnectProviderOptions;
6233
6263
  type index_ArkadeConnectServiceOptions = ArkadeConnectServiceOptions;
6234
- type index_ArkadeContract<P extends Program = Program> = ArkadeContract<P>;
6264
+ type index_ArkadeContract<P extends Program$1 = Program$1> = ArkadeContract<P>;
6235
6265
  declare const index_ArkadeContract: typeof ArkadeContract;
6236
6266
  type index_ArkadeContractEvent<T extends ArkadeContractEventType = ArkadeContractEventType> = ArkadeContractEvent<T>;
6237
6267
  type index_ArkadeContractEventType = ArkadeContractEventType;
6238
- declare const index_ArkadeContractParams: typeof ArkadeContractParams;
6268
+ type index_ArkadeContractParams = ArkadeContractParams;
6239
6269
  type index_ArkadeContractSubscription = ArkadeContractSubscription;
6240
6270
  type index_ArkadeExtendedCoin = ArkadeExtendedCoin;
6241
6271
  type index_ArkadeExtendedVirtualCoin = ArkadeExtendedVirtualCoin;
6242
- declare const index_ArkadeFunction: typeof ArkadeFunction;
6272
+ type index_ArkadeFunction = ArkadeFunction;
6243
6273
  type index_ArkadeNestedValue = ArkadeNestedValue;
6244
- declare const index_ArkadeParamValue: typeof ArkadeParamValue;
6274
+ type index_ArkadeParamValue = ArkadeParamValue;
6245
6275
  declare const index_ArkadeProgramScript: typeof ArkadeProgramScript;
6246
6276
  declare const index_ArkadeScript: typeof ArkadeScript;
6247
6277
  type index_ArkadeScriptOP = ArkadeScriptOP;
6248
6278
  type index_ArkadeScriptType = ArkadeScriptType;
6249
- declare const index_ArkadeSegment: typeof ArkadeSegment;
6279
+ type index_ArkadeSegment = ArkadeSegment;
6250
6280
  type index_ArkadeServerProvider = ArkadeServerProvider;
6251
- declare const index_ArkadeService: typeof ArkadeService;
6281
+ type index_ArkadeService = ArkadeService;
6252
6282
  type index_ArkadeSpendResult = ArkadeSpendResult;
6253
6283
  type index_ArkadeTransactionBuilder = ArkadeTransactionBuilder;
6254
6284
  declare const index_ArkadeTransactionBuilder: typeof ArkadeTransactionBuilder;
6255
6285
  type index_ArkadeUnlocker = ArkadeUnlocker;
6256
- declare const index_AsmToken: typeof AsmToken;
6286
+ type index_AsmToken = AsmToken;
6257
6287
  type index_AssetSpec = AssetSpec;
6258
6288
  type index_CallableFunctions = CallableFunctions;
6259
- declare const index_CompiledProgramFunction: typeof CompiledProgramFunction;
6289
+ type index_CompiledProgramFunction = CompiledProgramFunction;
6260
6290
  type index_ContractArtifact = ContractArtifact;
6261
6291
  type index_ContractDebugInfo = ContractDebugInfo;
6262
- type index_ContractFunctions<P extends Program> = ContractFunctions<P>;
6263
- type index_ContractUnlockers<P extends Program> = ContractUnlockers<P>;
6264
- declare const index_InputDef: typeof InputDef;
6265
- declare const index_InputRef: typeof InputRef;
6292
+ type index_ContractFunctions<P extends Program$1> = ContractFunctions<P>;
6293
+ type index_ContractUnlockers<P extends Program$1> = ContractUnlockers<P>;
6294
+ type index_InputDef = InputDef;
6295
+ type index_InputRef = InputRef;
6266
6296
  declare const index_OP: typeof OP;
6267
6297
  declare const index_OPCODE_NAMES: typeof OPCODE_NAMES;
6268
6298
  declare const index_OPCODE_VALUES: typeof OPCODE_VALUES;
6269
- declare const index_Program: typeof Program;
6299
+ type index_Program = Program;
6270
6300
  type index_ProgramContractRenewTarget = ProgramContractRenewTarget;
6271
- declare const index_ProgramKeys: typeof ProgramKeys;
6272
- declare const index_ResolvedArkadeService: typeof ResolvedArkadeService;
6301
+ type index_ProgramFromArtifactOptions = ProgramFromArtifactOptions;
6302
+ type index_ProgramKeys = ProgramKeys;
6303
+ type index_ResolvedArkadeService = ResolvedArkadeService;
6273
6304
  declare const index_SUPPORTED_PROGRAM_VERSION: typeof SUPPORTED_PROGRAM_VERSION;
6274
6305
  declare const index_Script: typeof Script;
6275
- declare const index_ScriptType: typeof ScriptType;
6276
- declare const index_SignerRef: typeof SignerRef;
6277
- declare const index_SourceRange: typeof SourceRange;
6278
- declare const index_TapscriptSegment: typeof TapscriptSegment;
6279
- declare const index_TweakedSigner: typeof TweakedSigner;
6306
+ type index_ScriptType = ScriptType;
6307
+ type index_SignerRef = SignerRef;
6308
+ type index_SourceRange = SourceRange;
6309
+ type index_TapscriptSegment = TapscriptSegment;
6310
+ type index_TweakedSigner = TweakedSigner;
6280
6311
  declare const index_UnsupportedProgramVersionError: typeof UnsupportedProgramVersionError;
6281
6312
  type index_Utxo = Utxo;
6282
- declare const index_WitnessRef: typeof WitnessRef;
6313
+ type index_WitnessRef = WitnessRef;
6283
6314
  declare const index_arkadeScriptHash: typeof arkadeScriptHash;
6284
6315
  declare const index_arkadeWitnessHash: typeof arkadeWitnessHash;
6285
6316
  declare const index_asmToBytes: typeof asmToBytes;
@@ -6302,7 +6333,7 @@ declare const index_toASM: typeof toASM;
6302
6333
  declare const index_validateProgram: typeof validateProgram;
6303
6334
  declare const index_witnessRefToBytes: typeof witnessRefToBytes;
6304
6335
  declare namespace index {
6305
- export { index_ARKADE_OP as ARKADE_OP, index_ARKADE_OPCODES as ARKADE_OPCODES, index_ARKADE_OPCODE_NAMES as ARKADE_OPCODE_NAMES, index_ARKADE_OPCODE_VALUES as ARKADE_OPCODE_VALUES, index_ARKADE_OPS as ARKADE_OPS, index_Arkade as Arkade, index_ArkadeArgType as ArkadeArgType, index_ArkadeArgValue as ArkadeArgValue, type index_ArkadeBatchInput as ArkadeBatchInput, type index_ArkadeConnectOptions as ArkadeConnectOptions, type index_ArkadeConnectProviderOptions as ArkadeConnectProviderOptions, type index_ArkadeConnectServiceOptions as ArkadeConnectServiceOptions, index_ArkadeContract as ArkadeContract, type index_ArkadeContractEvent as ArkadeContractEvent, type index_ArkadeContractEventType as ArkadeContractEventType, index_ArkadeContractParams as ArkadeContractParams, type index_ArkadeContractSubscription as ArkadeContractSubscription, type index_ArkadeExtendedCoin as ArkadeExtendedCoin, type index_ArkadeExtendedVirtualCoin as ArkadeExtendedVirtualCoin, index_ArkadeFunction as ArkadeFunction, type index_ArkadeNestedValue as ArkadeNestedValue, index_ArkadeParamValue as ArkadeParamValue, index_ArkadeProgramScript as ArkadeProgramScript, index_ArkadeScript as ArkadeScript, type index_ArkadeScriptOP as ArkadeScriptOP, type index_ArkadeScriptType as ArkadeScriptType, index_ArkadeSegment as ArkadeSegment, type index_ArkadeServerProvider as ArkadeServerProvider, index_ArkadeService as ArkadeService, type index_ArkadeSpendResult as ArkadeSpendResult, index_ArkadeTransactionBuilder as ArkadeTransactionBuilder, type index_ArkadeUnlocker as ArkadeUnlocker, index_AsmToken as AsmToken, type index_AssetSpec as AssetSpec, bignum as BigNum, type index_CallableFunctions as CallableFunctions, index_CompiledProgramFunction as CompiledProgramFunction, type index_ContractArtifact as ContractArtifact, type index_ContractDebugInfo as ContractDebugInfo, type index_ContractFunctions as ContractFunctions, type index_ContractUnlockers as ContractUnlockers, index_InputDef as InputDef, index_InputRef as InputRef, index_OP as OP, index_OPCODE_NAMES as OPCODE_NAMES, index_OPCODE_VALUES as OPCODE_VALUES, index_Program as Program, type index_ProgramContractRenewTarget as ProgramContractRenewTarget, index_ProgramKeys as ProgramKeys, index_ResolvedArkadeService as ResolvedArkadeService, index_SUPPORTED_PROGRAM_VERSION as SUPPORTED_PROGRAM_VERSION, index_Script as Script, index_ScriptType as ScriptType, index_SignerRef as SignerRef, index_SourceRange as SourceRange, index_TapscriptSegment as TapscriptSegment, index_TweakedSigner as TweakedSigner, index_UnsupportedProgramVersionError as UnsupportedProgramVersionError, type index_Utxo as Utxo, index_WitnessRef as WitnessRef, index_arkadeScriptHash as arkadeScriptHash, index_arkadeWitnessHash as arkadeWitnessHash, index_asmToBytes as asmToBytes, index_bytesToASM as bytesToASM, index_computeArkadeScriptPublicKey as computeArkadeScriptPublicKey, index_createArkadeBatchHandler as createArkadeBatchHandler, index_deserializeArkadeContractParams as deserializeArkadeContractParams, index_fromASM as fromASM, index_getOpcodeName as getOpcodeName, index_getOpcodeValue as getOpcodeValue, index_isContractArtifact as isContractArtifact, index_parseArtifact as parseArtifact, index_programFromArtifact as programFromArtifact, index_renewProgramContractOutputs as renewProgramContractOutputs, index_resolveArkadeService as resolveArkadeService, index_resolveAsm as resolveAsm, index_serializeArkadeContractParams as serializeArkadeContractParams, index_stringifyArtifact as stringifyArtifact, index_toASM as toASM, index_validateProgram as validateProgram, index_witnessRefToBytes as witnessRefToBytes };
6336
+ export { index_ARKADE_OP as ARKADE_OP, index_ARKADE_OPCODES as ARKADE_OPCODES, index_ARKADE_OPCODE_NAMES as ARKADE_OPCODE_NAMES, index_ARKADE_OPCODE_VALUES as ARKADE_OPCODE_VALUES, index_ARKADE_OPS as ARKADE_OPS, index_Arkade as Arkade, type index_ArkadeArgType as ArkadeArgType, type index_ArkadeArgValue as ArkadeArgValue, type index_ArkadeBatchInput as ArkadeBatchInput, type index_ArkadeConnectOptions as ArkadeConnectOptions, type index_ArkadeConnectProviderOptions as ArkadeConnectProviderOptions, type index_ArkadeConnectServiceOptions as ArkadeConnectServiceOptions, index_ArkadeContract as ArkadeContract, type index_ArkadeContractEvent as ArkadeContractEvent, type index_ArkadeContractEventType as ArkadeContractEventType, type index_ArkadeContractParams as ArkadeContractParams, type index_ArkadeContractSubscription as ArkadeContractSubscription, type index_ArkadeExtendedCoin as ArkadeExtendedCoin, type index_ArkadeExtendedVirtualCoin as ArkadeExtendedVirtualCoin, type index_ArkadeFunction as ArkadeFunction, type index_ArkadeNestedValue as ArkadeNestedValue, type index_ArkadeParamValue as ArkadeParamValue, index_ArkadeProgramScript as ArkadeProgramScript, index_ArkadeScript as ArkadeScript, type index_ArkadeScriptOP as ArkadeScriptOP, type index_ArkadeScriptType as ArkadeScriptType, type index_ArkadeSegment as ArkadeSegment, type index_ArkadeServerProvider as ArkadeServerProvider, type index_ArkadeService as ArkadeService, type index_ArkadeSpendResult as ArkadeSpendResult, index_ArkadeTransactionBuilder as ArkadeTransactionBuilder, type index_ArkadeUnlocker as ArkadeUnlocker, type index_AsmToken as AsmToken, type index_AssetSpec as AssetSpec, bignum as BigNum, type index_CallableFunctions as CallableFunctions, type index_CompiledProgramFunction as CompiledProgramFunction, type index_ContractArtifact as ContractArtifact, type index_ContractDebugInfo as ContractDebugInfo, type index_ContractFunctions as ContractFunctions, type index_ContractUnlockers as ContractUnlockers, type index_InputDef as InputDef, type index_InputRef as InputRef, index_OP as OP, index_OPCODE_NAMES as OPCODE_NAMES, index_OPCODE_VALUES as OPCODE_VALUES, type index_Program as Program, type index_ProgramContractRenewTarget as ProgramContractRenewTarget, type index_ProgramFromArtifactOptions as ProgramFromArtifactOptions, type index_ProgramKeys as ProgramKeys, type index_ResolvedArkadeService as ResolvedArkadeService, index_SUPPORTED_PROGRAM_VERSION as SUPPORTED_PROGRAM_VERSION, index_Script as Script, type index_ScriptType as ScriptType, type index_SignerRef as SignerRef, type index_SourceRange as SourceRange, type index_TapscriptSegment as TapscriptSegment, type index_TweakedSigner as TweakedSigner, index_UnsupportedProgramVersionError as UnsupportedProgramVersionError, type index_Utxo as Utxo, type index_WitnessRef as WitnessRef, index_arkadeScriptHash as arkadeScriptHash, index_arkadeWitnessHash as arkadeWitnessHash, index_asmToBytes as asmToBytes, index_bytesToASM as bytesToASM, index_computeArkadeScriptPublicKey as computeArkadeScriptPublicKey, index_createArkadeBatchHandler as createArkadeBatchHandler, index_deserializeArkadeContractParams as deserializeArkadeContractParams, index_fromASM as fromASM, index_getOpcodeName as getOpcodeName, index_getOpcodeValue as getOpcodeValue, index_isContractArtifact as isContractArtifact, index_parseArtifact as parseArtifact, index_programFromArtifact as programFromArtifact, index_renewProgramContractOutputs as renewProgramContractOutputs, index_resolveArkadeService as resolveArkadeService, index_resolveAsm as resolveAsm, index_serializeArkadeContractParams as serializeArkadeContractParams, index_stringifyArtifact as stringifyArtifact, index_toASM as toASM, index_validateProgram as validateProgram, index_witnessRefToBytes as witnessRefToBytes };
6306
6337
  }
6307
6338
 
6308
6339
  /** Known BIP21 parameters including Arkade-specific extensions. */
@@ -6663,7 +6694,11 @@ declare class OnchainCosignPreflightError extends Error {
6663
6694
  cause?: unknown;
6664
6695
  });
6665
6696
  }
6666
- /** True only when the coins were definitely not spent, so paying another way is safe. */
6697
+ /**
6698
+ * True only when the coins were definitely not spent, so paying another way is safe, as
6699
+ * `sendOnchain` and `cosignOnchainTx` callers may. `Ramps.offboardExact` still rethrows every
6700
+ * `OnchainCosignRejectedError` after signing (see README "Onchain cosigning").
6701
+ */
6667
6702
  declare function isCosignFallback(e: unknown): boolean;
6668
6703
 
6669
6704
  /**
@@ -6910,4 +6945,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
6910
6945
  private burnWith;
6911
6946
  }
6912
6947
 
6913
- export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkNote, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, Arkade, type ArkadeBatchInput, ArkadeBroadcaster, ArkadeCashClaimResult, ArkadeCashRecord, type ArkadeCashRequest, type ArkadeCashResponse, type ArkadeCashStatus, type ArkadeCashStatusReport, ArkadeCashTx, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, ArkadeInfo, ArkadeReader, ArkadeService, Asset, AssetDetails, AssetManager, AtomicWalletState, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BatchRegistration, BatchRegistrationPageFilter, BatchRegistrationRepository, type BoardingExpiry, BurnParams, CSVMultisigTapscript, CachingArkProvider, CachingOperatorProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, Contract, ContractEvent, ContractFilter, ContractRepository, ContractSyncState, ContractVtxoEvent, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_PASSKEY_LABEL, DatabaseUpgradeBlockedError, DelegateInfo, DelegateNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, DescriptorProvider, type DescriptorSigner, DescriptorSigningProviderMissingError, DescriptorSigningRequest, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, EmulatorPacket, EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExecutorOptions, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedContractVtxo, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetNewAddressesOptions, GetOperatorInfoOptions, GetSpendableVtxosFilter, GetVtxosFilter, GetVtxosOptions, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IExecutorManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryBatchRegistrationRepository, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBBatchRegistrationRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBVtxoReservationRepository, IndexerProvider, InputExpiryFloor, IntentFeeConfig, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, type ManagedConnection, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, NewAddress, NormalizedExtendedVirtualCoin, NormalizedVtxoPage, OffchainInput, type OffchainTx, type OnExitObserved, OnchainCosignPreflightError, OnchainInput, OnchainProvider, OnchainWallet, OperatorInfo, OperatorProvider, Outpoint, OversizedChangeError, P2A, PageRequest, PageResult, PaginationOptions, type ParsedArkContract, PasskeyCancelled, type PasskeyMnemonic, type PasskeySource, PasskeyUnconfirmed, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, PrfUnavailable, type PrfUnavailableReason, Proof, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, ScriptVtxoCursor, ScriptVtxoPageOptions, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendDeadlineExceededError, SendOnchainParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedProof, SignerSession, SignerStatus, StaticDescriptorProvider, Status, StorageConfig, StoredVtxo, StoredVtxoReservation, TapLeafScript, Transaction, TransactionHistoryPageCursor, TransactionHistoryPageFilter, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, UnsupportedProgramVersionError, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoReservation, VtxoReservationRepository, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, type WalletRestoreHook, type WalletUpdate, WatchedScript, type WebAuthnClient, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertNonNegativeMs, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertTimerMs, assertValidServerUnrollScript, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, captureSendDeadline, claimWithPreimageIdentity, classifyBoardingExpiry, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, createPrfPasskey, decodeArkContract, decodeBoardingExit, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, evaluatePrf, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCosignFallback, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, mnemonicFromPrf, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, prfSupport, promisifyRequest, provisionClaimSecret, provisionRefundKey, readArkadeCash, registerWalletRestoreHook, resolveAssetAmount, resolveSendAmount, sdkVersion, selectCoinsWithAsset, selectionOf, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, submitViaEmulator, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
6948
+ export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkNote, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, Arkade, type ArkadeBatchInput, ArkadeBroadcaster, ArkadeCashClaimResult, ArkadeCashRecord, type ArkadeCashRequest, type ArkadeCashResponse, type ArkadeCashStatus, type ArkadeCashStatusReport, ArkadeCashTx, ArkadeContractParams$1 as ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, ArkadeInfo, ArkadeReader, ArkadeService$1 as ArkadeService, Asset, AssetDetails, AssetManager, AtomicWalletState, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BatchRegistration, BatchRegistrationPageFilter, BatchRegistrationRepository, type BoardingExpiry, BurnParams, CSVMultisigTapscript, CachingArkProvider, CachingOperatorProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, Contract, ContractEvent, ContractFilter, ContractRepository, ContractSyncState, ContractVtxoEvent, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_PASSKEY_LABEL, DatabaseUpgradeBlockedError, DelegateInfo, DelegateNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, DescriptorProvider, type DescriptorSigner, DescriptorSigningProviderMissingError, DescriptorSigningRequest, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type ElectrumSocket, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, EmulatorPacket, EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExecutorOptions, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedContractVtxo, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetNewAddressesOptions, GetOperatorInfoOptions, GetSpendableVtxosFilter, GetVtxosFilter, GetVtxosOptions, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IExecutorManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryBatchRegistrationRepository, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBBatchRegistrationRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBVtxoReservationRepository, IndexerProvider, InputExpiryFloor, IntentFeeConfig, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, type ManagedConnection, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, NewAddress, NormalizedExtendedVirtualCoin, NormalizedVtxoPage, OffchainInput, type OffchainTx, type OnExitObserved, OnchainCosignPreflightError, OnchainInput, OnchainProvider, OnchainWallet, OperatorInfo, OperatorProvider, Outpoint, OversizedChangeError, P2A, PageRequest, PageResult, PaginationOptions, type ParsedArkContract, PasskeyCancelled, type PasskeyMnemonic, type PasskeySource, PasskeyUnconfirmed, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, PrfUnavailable, type PrfUnavailableReason, Proof, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, ScriptVtxoCursor, ScriptVtxoPageOptions, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendDeadlineExceededError, SendOnchainParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedProof, SignerSession, SignerStatus, StaticDescriptorProvider, Status, StorageConfig, StoredVtxo, StoredVtxoReservation, TapLeafScript, Transaction, TransactionHistoryPageCursor, TransactionHistoryPageFilter, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, UnsupportedProgramVersionError, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoReservation, VtxoReservationRepository, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, type WalletRestoreHook, type WalletUpdate, WatchedScript, type WebAuthnClient, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertNonNegativeMs, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertTimerMs, assertValidServerUnrollScript, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, captureSendDeadline, claimWithPreimageIdentity, classifyBoardingExpiry, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, createPrfPasskey, decodeArkContract, decodeBoardingExit, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, evaluatePrf, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCosignFallback, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, mnemonicFromPrf, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, prfSupport, promisifyRequest, provisionClaimSecret, provisionRefundKey, readArkadeCash, registerWalletRestoreHook, resolveAssetAmount, resolveSendAmount, sdkVersion, selectCoinsWithAsset, selectionOf, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, submitViaEmulator, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };