@arkade-os/sdk 0.5.12 → 0.5.13

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 (101) hide show
  1. package/dist/adapters/expo.cjs +7 -7
  2. package/dist/adapters/expo.d.cts +2 -2
  3. package/dist/adapters/expo.d.ts +2 -2
  4. package/dist/adapters/expo.js +4 -4
  5. package/dist/{asyncStorageTaskQueue-Bsty8W7d.d.ts → asyncStorageTaskQueue-Dhbe00Ya.d.ts} +1 -1
  6. package/dist/{asyncStorageTaskQueue-DTNS2qfN.d.cts → asyncStorageTaskQueue-Y4BlVm41.d.cts} +1 -1
  7. package/dist/{chunk-YAVF2PR6.cjs → chunk-6TBTL42M.cjs} +87 -2
  8. package/dist/chunk-6TBTL42M.cjs.map +1 -0
  9. package/dist/{chunk-CJUVKHK4.cjs → chunk-6WPP4UGN.cjs} +9846 -8606
  10. package/dist/chunk-6WPP4UGN.cjs.map +1 -0
  11. package/dist/{chunk-HNLC6F73.cjs → chunk-6XVTGWQK.cjs} +20 -20
  12. package/dist/{chunk-HNLC6F73.cjs.map → chunk-6XVTGWQK.cjs.map} +1 -1
  13. package/dist/{chunk-JA4SYFC7.cjs → chunk-ACIQZLWL.cjs} +379 -20
  14. package/dist/chunk-ACIQZLWL.cjs.map +1 -0
  15. package/dist/{chunk-5NY5EOS2.js → chunk-BA36SQY2.js} +4 -4
  16. package/dist/{chunk-5NY5EOS2.js.map → chunk-BA36SQY2.js.map} +1 -1
  17. package/dist/{chunk-BA3GPO5C.js → chunk-BP4NA7HK.js} +5 -5
  18. package/dist/{chunk-BA3GPO5C.js.map → chunk-BP4NA7HK.js.map} +1 -1
  19. package/dist/{chunk-3RO63OPW.js → chunk-D4QH6L54.js} +4 -4
  20. package/dist/{chunk-3RO63OPW.js.map → chunk-D4QH6L54.js.map} +1 -1
  21. package/dist/{chunk-2YXVU5TK.js → chunk-GB67AGXG.js} +81 -3
  22. package/dist/chunk-GB67AGXG.js.map +1 -0
  23. package/dist/{chunk-4X4SY3RH.cjs → chunk-HS7TKVOZ.cjs} +23 -19
  24. package/dist/chunk-HS7TKVOZ.cjs.map +1 -0
  25. package/dist/{chunk-4TMJBLJT.js → chunk-LHLRG2BE.js} +16 -13
  26. package/dist/chunk-LHLRG2BE.js.map +1 -0
  27. package/dist/{chunk-4OY5BCIE.js → chunk-QSERJPTT.js} +628 -23
  28. package/dist/chunk-QSERJPTT.js.map +1 -0
  29. package/dist/{chunk-C3NKBKRY.cjs → chunk-TD4PKK2I.cjs} +680 -68
  30. package/dist/chunk-TD4PKK2I.cjs.map +1 -0
  31. package/dist/{chunk-QDX2HUBK.cjs → chunk-TYSUFG2K.cjs} +11 -11
  32. package/dist/{chunk-QDX2HUBK.cjs.map → chunk-TYSUFG2K.cjs.map} +1 -1
  33. package/dist/{chunk-QV7AOZZN.cjs → chunk-WFJPLXOE.cjs} +21 -21
  34. package/dist/{chunk-QV7AOZZN.cjs.map → chunk-WFJPLXOE.cjs.map} +1 -1
  35. package/dist/{chunk-3ABF4EMM.js → chunk-X57WKONW.js} +369 -10
  36. package/dist/chunk-X57WKONW.js.map +1 -0
  37. package/dist/{chunk-WBZYYRAB.js → chunk-Y3AWLHQP.js} +9390 -8153
  38. package/dist/chunk-Y3AWLHQP.js.map +1 -0
  39. package/dist/compiler.cjs +3 -4
  40. package/dist/compiler.cjs.map +1 -1
  41. package/dist/compiler.js +2 -3
  42. package/dist/compiler.js.map +1 -1
  43. package/dist/contracts/handlers/index.cjs +15 -11
  44. package/dist/contracts/handlers/index.d.cts +5 -5
  45. package/dist/contracts/handlers/index.d.ts +5 -5
  46. package/dist/contracts/handlers/index.js +4 -4
  47. package/dist/{index-BBmZXXqk.d.cts → index-BQwrHcOh.d.cts} +523 -22
  48. package/dist/{index-DenQfCn1.d.cts → index-BaTItxPx.d.cts} +1 -1
  49. package/dist/{index-D_zLtU-F.d.ts → index-BapVvuoI.d.ts} +1 -1
  50. package/dist/{index-DJ32LpfD.d.ts → index-DuXylQrN.d.ts} +523 -22
  51. package/dist/index.cjs +403 -368
  52. package/dist/index.d.cts +78 -67
  53. package/dist/index.d.ts +78 -67
  54. package/dist/index.js +6 -7
  55. package/dist/repositories/realm/index.cjs +39 -40
  56. package/dist/repositories/realm/index.cjs.map +1 -1
  57. package/dist/repositories/realm/index.d.cts +2 -2
  58. package/dist/repositories/realm/index.d.ts +2 -2
  59. package/dist/repositories/realm/index.js +7 -8
  60. package/dist/repositories/realm/index.js.map +1 -1
  61. package/dist/repositories/sqlite/index.cjs +37 -38
  62. package/dist/repositories/sqlite/index.cjs.map +1 -1
  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 +7 -8
  66. package/dist/repositories/sqlite/index.js.map +1 -1
  67. package/dist/{taskRunner-Cck24OnC.d.ts → taskRunner-BxOmg-O6.d.ts} +1 -1
  68. package/dist/{taskRunner-BBGaN4cq.d.cts → taskRunner-D2itCXf6.d.cts} +1 -1
  69. package/dist/wallet/expo/background.cjs +16 -17
  70. package/dist/wallet/expo/background.cjs.map +1 -1
  71. package/dist/wallet/expo/background.d.cts +3 -3
  72. package/dist/wallet/expo/background.d.ts +3 -3
  73. package/dist/wallet/expo/background.js +8 -9
  74. package/dist/wallet/expo/background.js.map +1 -1
  75. package/dist/wallet/expo/index.cjs +17 -18
  76. package/dist/wallet/expo/index.cjs.map +1 -1
  77. package/dist/wallet/expo/index.d.cts +2 -2
  78. package/dist/wallet/expo/index.d.ts +2 -2
  79. package/dist/wallet/expo/index.js +7 -8
  80. package/dist/wallet/expo/index.js.map +1 -1
  81. package/dist/worker/expo/index.cjs +11 -12
  82. package/dist/worker/expo/index.cjs.map +1 -1
  83. package/dist/worker/expo/index.d.cts +4 -4
  84. package/dist/worker/expo/index.d.ts +4 -4
  85. package/dist/worker/expo/index.js +7 -8
  86. package/dist/worker/expo/index.js.map +1 -1
  87. package/package.json +1 -1
  88. package/dist/chunk-2YXVU5TK.js.map +0 -1
  89. package/dist/chunk-3ABF4EMM.js.map +0 -1
  90. package/dist/chunk-4OY5BCIE.js.map +0 -1
  91. package/dist/chunk-4TMJBLJT.js.map +0 -1
  92. package/dist/chunk-4X4SY3RH.cjs.map +0 -1
  93. package/dist/chunk-C3NKBKRY.cjs.map +0 -1
  94. package/dist/chunk-CJUVKHK4.cjs.map +0 -1
  95. package/dist/chunk-JA4SYFC7.cjs.map +0 -1
  96. package/dist/chunk-PHOJF7OK.cjs +0 -376
  97. package/dist/chunk-PHOJF7OK.cjs.map +0 -1
  98. package/dist/chunk-UXLETBNK.js +0 -373
  99. package/dist/chunk-UXLETBNK.js.map +0 -1
  100. package/dist/chunk-WBZYYRAB.js.map +0 -1
  101. package/dist/chunk-YAVF2PR6.cjs.map +0 -1
package/dist/index.d.cts 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 IVtxoManager, a_ as Network, a$ as Coin, b0 as SendBitcoinParams, b1 as ExplorerTransaction, b2 as SignedProof, b3 as Proof, b4 as TreeNonces, b5 as TreePartialSigs, T as TxNotificationEvent, b6 as PendingTx, b7 as EmulatorProvider, b8 as Status, b9 as BatchExpiryPolicy, ba as Batch, bb as ChainTx, bc as TxTree, bd as ArkadeService, be as ContractVtxoEvent, bf as ExtendedContractVtxo, bg as ResolvedArkadeService, bh as resolveArkadeService, bi as PathContext } from './index-BBmZXXqk.cjs';
2
- export { bj as AbortError, bk as ActivityIntent, bl as ActivityResolver, bm as ArkError, bn as ArkErrorName, bo as ArkIntent, bp as ArkIntentState, y as ArkProvider, bq as ArkadeCash, br as ArkadeCashAction, bs as ArkadeCashCreateError, bt as ArkadeCashOperatorMismatchError, bu as ArkadeCashUnclaimedReason, bv as ArkadeCashUnclaimedVtxo, bw as ArkadeCashVtxoRef, bx as AssetMetadata, by as BATCH_REGISTRATION_TERMINAL_STATES, bz as BITCOIN_EMULATOR_PUBKEY, bA as BaseWalletConfig, bB as BatchFailedEvent, bC as BatchFinalizationEvent, bD as BatchFinalizedEvent, bE as BatchInfo, bF as BatchRegistrationFilter, bG as BatchRegistrationState, bH as BatchSignableIdentity, bI as BatchStartedEvent, bJ as BoardingUtxoGroup, bK as CandidateDeps, bL as ChainTxType, a7 as ChainedTxType, bM as CommitmentTx, bN as ConnectorTreeNode, bO as ContractBalance, bP as ContractEventCallback, bQ as ContractHandler, bR as ContractManager, bS as ContractManagerConfig, bT as ContractScope, bU as ContractState, bV as ContractVtxo, bW as ContractWatcher, bX as ContractWatcherEventCallback, bY as DEFAULT_ARKADE_EMULATOR_URL, bZ as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, b_ as DEFAULT_VTXO_PAGE_SIZE, b$ as DefaultVtxo, c0 as DelegateManagerImpl, c1 as DelegateOptions, c2 as DelegateProvider, c3 as DelegateVtxo, c4 as DeprecatedSignerMigrationReport, c5 as DeprecatedSignerReport, c6 as DigestMismatchError, c7 as Discoverable, c8 as DiscoveredContract, c9 as DiscoveryDeps, ca as ESPLORA_URL, cb as EmulatorInfo, cc as EsploraProvider, cd as EventSourceCapable, ce as EventSourceFactory, cf as EventSourceLike, cg as EventSourceUnavailableError, ch as ExitCaptureMode, ci as ExitChainResolver, cj as ExitDataSource, ck as ForeignDescriptorError, cl as GetArkadeInfoOptions, cm as GetUtxosOptions, cn as GroupMembership, co as HandlerError, cp as HttpResponseError, cq as INTENT_TERMINAL_STATES, cr as IncomingFunds, cs as IndexedDBWalletRepository, ct as IndexerTxType, cu as IndexerUtxo, cv as IndexerUtxosUnsupportedError, cw as Intent, cx as IntentCoin, cy as IntentFilter, cz as IntentPageFilter, cA as IntentRepository, cB as KeyringDescriptorProvider, cC as KnownMetadata, cD as MAX_PAGE_SIZE, cE as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, cF as MUTINYNET_EMULATOR_PUBKEY, cG as MigrateDeprecatedSignerOptions, cH as MigrationLegReport, cI as MigrationVtxoRef, cJ as NewAddressType, cK as Nonces, cL as NotifiesIncomingFunds, cM as OnchainCosignAmbiguousError, cN as OnchainCosignRejectedError, cO as OnchainCosignUnsupportedError, cP as Output, cQ as PageResponse, cR as PartialSig, cS as PrevTxSource, cT as PrevTxUnavailableError, cU as ProofInput, cV as ProviderClass, cW as ProviderKind, cX as ProviderUnavailableError, cY as REGTEST_EMULATOR_PUBKEY, cZ as REGTEST_MIN_BATCH_EXPIRY_SECONDS, c_ as RawTxSource, c$ as ReadonlySingleKey, d0 as ReadonlyWalletConfig, d1 as RecipientArkadeAddressContext, d2 as RenewalSplit, d3 as RenewalSplitContext, d4 as RestArkProvider, d5 as RestDelegateProvider, d6 as RestEmulatorProvider, v as RestIndexerProvider, u as RestOperatorProvider, d7 as ScanContractsOptions, d8 as ScanResult, d9 as ScheduledSession, da as ServerInfoSource, db as ServerResponseMismatchError, dc as SettlementEventType, dd as SignRequest, de as SignedIntent, df as SignerClassification, dg as SignerSet, dh as SingleKey, w as SubscriptionEvent, di as SubscriptionFilter, x as SubscriptionHeartbeat, dj as SubscriptionResponse, dk as SweepTxNotification, dl as TapLeaves, dm as TimeHeight, dn as TreeNoncesEvent, dp as TreeSignatureEvent, dq as TreeSignerSession, dr as TreeSigningStartedEvent, ds as TreeTxEvent, dt as Tx, du as TxHistoryRecord, dv as TxKey, dw as TxNotification, dx as TxTag, dy as TxTreeNode, dz as TxType, dA as Vtxo, dB as VtxoChain, dC as VtxoManager, dD as VtxoReservedError, dE as VtxoType, dF as WaitForIncomingFundsOptions, dG as WalletCannotAllocateAddressError, d as WalletConfig, dH as WalletMode, dI as WithPrevTx, dJ as addArkadeCashRecord, dK as arkadeCashId, dL as arkadeCashResolver, dM as assertAllowedSighashTypes, dN as assertPageRequest, dO as assertRecipientArkadeAddress, dP as assertValidBatchExpiry, dQ as assetMintResolver, dR as attachPrevArkTxs, dS as attachPrevoutTxs, dT as boardingResolver, dU as canRecoverOnchain, dV as canSpendOffchain, dW as canSweepOnchain, dX as classifyAgainstSignerSet, dY as classifyContractSigner, dZ as collabExitResolver, d_ as collectBatchRegistrations, d$ as collectContracts, e0 as collectIntents, e1 as collectPages, e2 as collectScriptVtxos, e3 as collectTransactionHistory, e4 as collectUtxos, e5 as collectVtxos, e6 as configureEventSource, e7 as createArkadeCashTracker, e8 as createDefaultActivityRegistry, e9 as createExitChainResolver, ea as defaultBatchExpiryPolicy, eb as defaultEmulatorPubkey, ec as getAllNormalizedVtxos, ed as getConfiguredEventSource, ee as getNetwork, ef as getNormalizedVtxos, eg as getRandomId, eh as hasCandidates, ei as isAddressAllocationCapable, ej as isArkError, ek as isBatchSignable, el as isContractVtxoEvent, em as isCooperativelyMigratable, en as isDiscoverable, eo as isEventSourceUnavailableError, ep as isHDAllocationCapable, eq as isHDWalletCapable, er as isPastExpiry, es as isSigningIdentity, et as isSubdust, eu as isTerminalBatchRegistrationState, ev as isTerminalIntentState, ew as isVirtualCoin, ex as isVtxoExpiringSoon, ey as isVtxoSpent, ez as iteratePages, eA as maybeArkError, eB as mergeArkadeCashRecord, eC as networkFromArkadeInfo, eD as networkFromOperatorInfo, eE as networks, eF as pageResult, eG as resolveBatchExpiryPolicy, eH as resolveDescriptorSigner, eI as resolveEmulatorPubkey, eJ as resolveEventSource, eK as resolvePrevTxs, eL as selectVirtualCoins, eM as signerSetFromInfo, eN as signingDescriptorIndex, eO as strictSigningDescriptorIndex, eP as toOffchainInputFeeParams, eQ as toXOnlySignerHex, eR as waitForIncomingFunds, eS as withPrevTxs } from './index-BBmZXXqk.cjs';
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-BQwrHcOh.cjs';
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-BQwrHcOh.cjs';
3
3
  import { T as TapLeafScript, E as EncodedVtxoScript, C as CSVMultisigTapscript, V as VtxoScript, R as RelativeTimelock } from './base-C-Y5t_0F.cjs';
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.cjs';
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-DenQfCn1.cjs';
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-BaTItxPx.cjs';
6
6
  import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
7
7
  import { Transaction as Transaction$1, OP, Script, ScriptType } from '@scure/btc-signer';
8
8
  import { P2TR } from '@scure/btc-signer/payment.js';
9
9
  import { ElectrumWS } from 'ws-electrumx-client';
10
10
  import { TransactionOutput, TransactionInputUpdate } from '@scure/btc-signer/psbt.js';
11
11
  import * as P from 'micro-packed';
12
- import { 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, S as SourceRange, 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-DPzf5qsk.cjs';
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-DPzf5qsk.cjs';
13
13
  import '@scure/btc-signer/transaction.js';
14
14
 
15
15
  /** Validate an optional millisecond duration; zero retains its caller-defined meaning. */
@@ -434,6 +434,64 @@ declare class InMemoryWalletRepository implements WalletRepository {
434
434
  [Symbol.asyncDispose](): Promise<void>;
435
435
  }
436
436
 
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
+
437
495
  /**
438
496
  * Whether generic wallet spending may select this contract's VTXOs. Default closed: a type whose
439
497
  * handler declares nothing, or has no handler registered here, is not spendable.
@@ -615,7 +673,7 @@ type ArkadeCashResponse = ({
615
673
  };
616
674
 
617
675
  /**
618
- * Thrown when a descriptor-capable contract (default, delegate, or boarding)
676
+ * Thrown when a descriptor-capable contract (default, delegate, boarding or executor)
619
677
  * cannot be routed to any signer: its owner key (`params.pubKey`) is not this
620
678
  * wallet's baseline signing key, and the record carries no
621
679
  * `metadata.signingDescriptor` to send it to a descriptor-aware signer.
@@ -624,9 +682,9 @@ type ArkadeCashResponse = ({
624
682
  */
625
683
  declare class MissingSigningDescriptorError extends Error {
626
684
  readonly contractScript: string;
627
- readonly contractType: "default" | "delegate" | "boarding";
685
+ readonly contractType: "default" | "delegate" | "boarding" | "executor";
628
686
  readonly name = "MissingSigningDescriptorError";
629
- constructor(contractScript: string, contractType: "default" | "delegate" | "boarding");
687
+ constructor(contractScript: string, contractType: "default" | "delegate" | "boarding" | "executor");
630
688
  }
631
689
  /**
632
690
  * Thrown when an input needs descriptor-aware signing but no
@@ -2164,6 +2222,7 @@ type Initialize = {
2164
2222
  publicKey?: string;
2165
2223
  };
2166
2224
  delegateUrl?: string;
2225
+ executorUrl?: string;
2167
2226
  settlementConfig?: SettlementConfig | false;
2168
2227
  /** @see WalletConfig.concurrentSpending */
2169
2228
  concurrentSpending?: boolean;
@@ -3210,6 +3269,12 @@ interface ServiceWorkerWalletOptions {
3210
3269
  expectedNetwork?: NetworkName;
3211
3270
  /** Optional delegation service URL. */
3212
3271
  delegateUrl?: string;
3272
+ /**
3273
+ * URL of the Executor, the service that boards the wallet's deposits while it is offline. Only
3274
+ * a `ServiceWorkerWallet` registers watches; a readonly wallet reads them. Without one, the
3275
+ * wallet behaves as it does without the Executor.
3276
+ */
3277
+ executorUrl?: string;
3213
3278
  /**
3214
3279
  * Override the default tag used for messages sent to and received from the service worker.
3215
3280
  * @see DEFAULT_MESSAGE_TAG
@@ -3284,6 +3349,7 @@ type MessageBusInitConfig = {
3284
3349
  publicKey?: string;
3285
3350
  };
3286
3351
  delegateUrl?: string;
3352
+ executorUrl?: string;
3287
3353
  timeoutMs?: number;
3288
3354
  settlementConfig?: SettlementConfig | false;
3289
3355
  concurrentSpending?: boolean;
@@ -3430,11 +3496,12 @@ declare class ServiceWorkerWallet extends ServiceWorkerReadonlyWallet implements
3430
3496
  readonly identity: Identity;
3431
3497
  private readonly _assetManager;
3432
3498
  private readonly hasDelegate;
3499
+ private readonly executorServiceUrl?;
3433
3500
  private _restoreInFlight?;
3434
3501
  private _concurrentSpending;
3435
3502
  /** @see WalletConfig.concurrentSpending */
3436
3503
  get concurrentSpending(): boolean;
3437
- protected constructor(serviceWorker: ServiceWorker, identity: Identity, walletRepository: WalletRepository, contractRepository: ContractRepository, messageTag: string, hasDelegate: boolean, oneShotSubmit?: boolean | undefined);
3504
+ protected constructor(serviceWorker: ServiceWorker, identity: Identity, walletRepository: WalletRepository, contractRepository: ContractRepository, messageTag: string, hasDelegate: boolean, oneShotSubmit?: boolean | undefined, executorUrl?: string);
3438
3505
  get assetManager(): IAssetManager;
3439
3506
  static create(options: ServiceWorkerWalletCreateOptions): Promise<ServiceWorkerWallet>;
3440
3507
  /**
@@ -3526,6 +3593,8 @@ declare class ServiceWorkerWallet extends ServiceWorkerReadonlyWallet implements
3526
3593
  cosignOnchainTx(psbt: string | Transaction$1): Promise<string>;
3527
3594
  sendOnchain(params: SendOnchainParams): Promise<string>;
3528
3595
  getDelegateManager(): Promise<IDelegateManager | undefined>;
3596
+ /** Runs on the page: it talks to the service over REST and records watches through this wallet. */
3597
+ getExecutorManager(): Promise<IExecutorManager | undefined>;
3529
3598
  getVtxoManager(): Promise<IVtxoManager>;
3530
3599
  }
3531
3600
 
@@ -6133,64 +6202,6 @@ declare function renewProgramContractOutputs(client: Arkade, targets: ProgramCon
6133
6202
  intentId: string;
6134
6203
  }>;
6135
6204
 
6136
- /**
6137
- * Read the JSON `arkadec` writes into a {@link Program}: `$param` placeholders,
6138
- * @scure opcode names, and one structured tapleaf per compiler leaf.
6139
- */
6140
-
6141
- interface ArtifactParameter {
6142
- name: string;
6143
- type: string;
6144
- }
6145
- interface ArtifactStruct {
6146
- name: string;
6147
- fields: ArtifactParameter[];
6148
- }
6149
- interface ArtifactWitnessElement {
6150
- name: string;
6151
- type: string;
6152
- encoding?: string;
6153
- injected?: boolean;
6154
- }
6155
- interface ArtifactLeaf {
6156
- name: string;
6157
- witness?: ArtifactWitnessElement[];
6158
- asm: string[];
6159
- }
6160
- interface ArtifactCovenant {
6161
- inputs: ArtifactParameter[];
6162
- asm: string[];
6163
- }
6164
- interface ArtifactGroup {
6165
- name: string;
6166
- arkade?: ArtifactCovenant;
6167
- leaves: ArtifactLeaf[];
6168
- }
6169
- interface ContractArtifact {
6170
- formatVersion?: number;
6171
- contractName: string;
6172
- constructorInputs: ArtifactParameter[];
6173
- structs?: ArtifactStruct[];
6174
- functions: ArtifactGroup[];
6175
- fingerprint?: string;
6176
- }
6177
- /** The compiler's debug file: each covenant's source map, keyed by spend group. */
6178
- interface ContractDebugInfo {
6179
- formatVersion: number;
6180
- /** The {@link ContractArtifact.fingerprint} of the build that wrote it. */
6181
- artifactFingerprint?: string;
6182
- functions: Record<string, {
6183
- sourceMap: SourceRange[];
6184
- }>;
6185
- }
6186
- /** `true` when `value` is an arkadec artifact rather than a Program. */
6187
- declare function isContractArtifact(value: unknown): value is ContractArtifact;
6188
- /**
6189
- * Adds `server`, and one param per child-output placeholder for the caller to bind to that output key.
6190
- * With the build's `debug` file, each covenant segment also carries its `sourceMap`.
6191
- */
6192
- declare function programFromArtifact(artifact: ContractArtifact, debug?: ContractDebugInfo): Program;
6193
-
6194
6205
  /**
6195
6206
  * Arkade Script Support
6196
6207
  *
@@ -6899,4 +6910,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
6899
6910
  private burnWith;
6900
6911
  }
6901
6912
 
6902
- 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, 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 };
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 };
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 IVtxoManager, a_ as Network, a$ as Coin, b0 as SendBitcoinParams, b1 as ExplorerTransaction, b2 as SignedProof, b3 as Proof, b4 as TreeNonces, b5 as TreePartialSigs, T as TxNotificationEvent, b6 as PendingTx, b7 as EmulatorProvider, b8 as Status, b9 as BatchExpiryPolicy, ba as Batch, bb as ChainTx, bc as TxTree, bd as ArkadeService, be as ContractVtxoEvent, bf as ExtendedContractVtxo, bg as ResolvedArkadeService, bh as resolveArkadeService, bi as PathContext } from './index-DJ32LpfD.js';
2
- export { bj as AbortError, bk as ActivityIntent, bl as ActivityResolver, bm as ArkError, bn as ArkErrorName, bo as ArkIntent, bp as ArkIntentState, y as ArkProvider, bq as ArkadeCash, br as ArkadeCashAction, bs as ArkadeCashCreateError, bt as ArkadeCashOperatorMismatchError, bu as ArkadeCashUnclaimedReason, bv as ArkadeCashUnclaimedVtxo, bw as ArkadeCashVtxoRef, bx as AssetMetadata, by as BATCH_REGISTRATION_TERMINAL_STATES, bz as BITCOIN_EMULATOR_PUBKEY, bA as BaseWalletConfig, bB as BatchFailedEvent, bC as BatchFinalizationEvent, bD as BatchFinalizedEvent, bE as BatchInfo, bF as BatchRegistrationFilter, bG as BatchRegistrationState, bH as BatchSignableIdentity, bI as BatchStartedEvent, bJ as BoardingUtxoGroup, bK as CandidateDeps, bL as ChainTxType, a7 as ChainedTxType, bM as CommitmentTx, bN as ConnectorTreeNode, bO as ContractBalance, bP as ContractEventCallback, bQ as ContractHandler, bR as ContractManager, bS as ContractManagerConfig, bT as ContractScope, bU as ContractState, bV as ContractVtxo, bW as ContractWatcher, bX as ContractWatcherEventCallback, bY as DEFAULT_ARKADE_EMULATOR_URL, bZ as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, b_ as DEFAULT_VTXO_PAGE_SIZE, b$ as DefaultVtxo, c0 as DelegateManagerImpl, c1 as DelegateOptions, c2 as DelegateProvider, c3 as DelegateVtxo, c4 as DeprecatedSignerMigrationReport, c5 as DeprecatedSignerReport, c6 as DigestMismatchError, c7 as Discoverable, c8 as DiscoveredContract, c9 as DiscoveryDeps, ca as ESPLORA_URL, cb as EmulatorInfo, cc as EsploraProvider, cd as EventSourceCapable, ce as EventSourceFactory, cf as EventSourceLike, cg as EventSourceUnavailableError, ch as ExitCaptureMode, ci as ExitChainResolver, cj as ExitDataSource, ck as ForeignDescriptorError, cl as GetArkadeInfoOptions, cm as GetUtxosOptions, cn as GroupMembership, co as HandlerError, cp as HttpResponseError, cq as INTENT_TERMINAL_STATES, cr as IncomingFunds, cs as IndexedDBWalletRepository, ct as IndexerTxType, cu as IndexerUtxo, cv as IndexerUtxosUnsupportedError, cw as Intent, cx as IntentCoin, cy as IntentFilter, cz as IntentPageFilter, cA as IntentRepository, cB as KeyringDescriptorProvider, cC as KnownMetadata, cD as MAX_PAGE_SIZE, cE as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, cF as MUTINYNET_EMULATOR_PUBKEY, cG as MigrateDeprecatedSignerOptions, cH as MigrationLegReport, cI as MigrationVtxoRef, cJ as NewAddressType, cK as Nonces, cL as NotifiesIncomingFunds, cM as OnchainCosignAmbiguousError, cN as OnchainCosignRejectedError, cO as OnchainCosignUnsupportedError, cP as Output, cQ as PageResponse, cR as PartialSig, cS as PrevTxSource, cT as PrevTxUnavailableError, cU as ProofInput, cV as ProviderClass, cW as ProviderKind, cX as ProviderUnavailableError, cY as REGTEST_EMULATOR_PUBKEY, cZ as REGTEST_MIN_BATCH_EXPIRY_SECONDS, c_ as RawTxSource, c$ as ReadonlySingleKey, d0 as ReadonlyWalletConfig, d1 as RecipientArkadeAddressContext, d2 as RenewalSplit, d3 as RenewalSplitContext, d4 as RestArkProvider, d5 as RestDelegateProvider, d6 as RestEmulatorProvider, v as RestIndexerProvider, u as RestOperatorProvider, d7 as ScanContractsOptions, d8 as ScanResult, d9 as ScheduledSession, da as ServerInfoSource, db as ServerResponseMismatchError, dc as SettlementEventType, dd as SignRequest, de as SignedIntent, df as SignerClassification, dg as SignerSet, dh as SingleKey, w as SubscriptionEvent, di as SubscriptionFilter, x as SubscriptionHeartbeat, dj as SubscriptionResponse, dk as SweepTxNotification, dl as TapLeaves, dm as TimeHeight, dn as TreeNoncesEvent, dp as TreeSignatureEvent, dq as TreeSignerSession, dr as TreeSigningStartedEvent, ds as TreeTxEvent, dt as Tx, du as TxHistoryRecord, dv as TxKey, dw as TxNotification, dx as TxTag, dy as TxTreeNode, dz as TxType, dA as Vtxo, dB as VtxoChain, dC as VtxoManager, dD as VtxoReservedError, dE as VtxoType, dF as WaitForIncomingFundsOptions, dG as WalletCannotAllocateAddressError, d as WalletConfig, dH as WalletMode, dI as WithPrevTx, dJ as addArkadeCashRecord, dK as arkadeCashId, dL as arkadeCashResolver, dM as assertAllowedSighashTypes, dN as assertPageRequest, dO as assertRecipientArkadeAddress, dP as assertValidBatchExpiry, dQ as assetMintResolver, dR as attachPrevArkTxs, dS as attachPrevoutTxs, dT as boardingResolver, dU as canRecoverOnchain, dV as canSpendOffchain, dW as canSweepOnchain, dX as classifyAgainstSignerSet, dY as classifyContractSigner, dZ as collabExitResolver, d_ as collectBatchRegistrations, d$ as collectContracts, e0 as collectIntents, e1 as collectPages, e2 as collectScriptVtxos, e3 as collectTransactionHistory, e4 as collectUtxos, e5 as collectVtxos, e6 as configureEventSource, e7 as createArkadeCashTracker, e8 as createDefaultActivityRegistry, e9 as createExitChainResolver, ea as defaultBatchExpiryPolicy, eb as defaultEmulatorPubkey, ec as getAllNormalizedVtxos, ed as getConfiguredEventSource, ee as getNetwork, ef as getNormalizedVtxos, eg as getRandomId, eh as hasCandidates, ei as isAddressAllocationCapable, ej as isArkError, ek as isBatchSignable, el as isContractVtxoEvent, em as isCooperativelyMigratable, en as isDiscoverable, eo as isEventSourceUnavailableError, ep as isHDAllocationCapable, eq as isHDWalletCapable, er as isPastExpiry, es as isSigningIdentity, et as isSubdust, eu as isTerminalBatchRegistrationState, ev as isTerminalIntentState, ew as isVirtualCoin, ex as isVtxoExpiringSoon, ey as isVtxoSpent, ez as iteratePages, eA as maybeArkError, eB as mergeArkadeCashRecord, eC as networkFromArkadeInfo, eD as networkFromOperatorInfo, eE as networks, eF as pageResult, eG as resolveBatchExpiryPolicy, eH as resolveDescriptorSigner, eI as resolveEmulatorPubkey, eJ as resolveEventSource, eK as resolvePrevTxs, eL as selectVirtualCoins, eM as signerSetFromInfo, eN as signingDescriptorIndex, eO as strictSigningDescriptorIndex, eP as toOffchainInputFeeParams, eQ as toXOnlySignerHex, eR as waitForIncomingFunds, eS as withPrevTxs } from './index-DJ32LpfD.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, 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';
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-D_zLtU-F.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';
6
6
  import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
7
7
  import { Transaction as Transaction$1, OP, Script, ScriptType } from '@scure/btc-signer';
8
8
  import { P2TR } from '@scure/btc-signer/payment.js';
9
9
  import { ElectrumWS } from 'ws-electrumx-client';
10
10
  import { TransactionOutput, TransactionInputUpdate } from '@scure/btc-signer/psbt.js';
11
11
  import * as P from 'micro-packed';
12
- import { 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, S as SourceRange, 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';
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. */
@@ -434,6 +434,64 @@ declare class InMemoryWalletRepository implements WalletRepository {
434
434
  [Symbol.asyncDispose](): Promise<void>;
435
435
  }
436
436
 
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
+
437
495
  /**
438
496
  * Whether generic wallet spending may select this contract's VTXOs. Default closed: a type whose
439
497
  * handler declares nothing, or has no handler registered here, is not spendable.
@@ -615,7 +673,7 @@ type ArkadeCashResponse = ({
615
673
  };
616
674
 
617
675
  /**
618
- * Thrown when a descriptor-capable contract (default, delegate, or boarding)
676
+ * Thrown when a descriptor-capable contract (default, delegate, boarding or executor)
619
677
  * cannot be routed to any signer: its owner key (`params.pubKey`) is not this
620
678
  * wallet's baseline signing key, and the record carries no
621
679
  * `metadata.signingDescriptor` to send it to a descriptor-aware signer.
@@ -624,9 +682,9 @@ type ArkadeCashResponse = ({
624
682
  */
625
683
  declare class MissingSigningDescriptorError extends Error {
626
684
  readonly contractScript: string;
627
- readonly contractType: "default" | "delegate" | "boarding";
685
+ readonly contractType: "default" | "delegate" | "boarding" | "executor";
628
686
  readonly name = "MissingSigningDescriptorError";
629
- constructor(contractScript: string, contractType: "default" | "delegate" | "boarding");
687
+ constructor(contractScript: string, contractType: "default" | "delegate" | "boarding" | "executor");
630
688
  }
631
689
  /**
632
690
  * Thrown when an input needs descriptor-aware signing but no
@@ -2164,6 +2222,7 @@ type Initialize = {
2164
2222
  publicKey?: string;
2165
2223
  };
2166
2224
  delegateUrl?: string;
2225
+ executorUrl?: string;
2167
2226
  settlementConfig?: SettlementConfig | false;
2168
2227
  /** @see WalletConfig.concurrentSpending */
2169
2228
  concurrentSpending?: boolean;
@@ -3210,6 +3269,12 @@ interface ServiceWorkerWalletOptions {
3210
3269
  expectedNetwork?: NetworkName;
3211
3270
  /** Optional delegation service URL. */
3212
3271
  delegateUrl?: string;
3272
+ /**
3273
+ * URL of the Executor, the service that boards the wallet's deposits while it is offline. Only
3274
+ * a `ServiceWorkerWallet` registers watches; a readonly wallet reads them. Without one, the
3275
+ * wallet behaves as it does without the Executor.
3276
+ */
3277
+ executorUrl?: string;
3213
3278
  /**
3214
3279
  * Override the default tag used for messages sent to and received from the service worker.
3215
3280
  * @see DEFAULT_MESSAGE_TAG
@@ -3284,6 +3349,7 @@ type MessageBusInitConfig = {
3284
3349
  publicKey?: string;
3285
3350
  };
3286
3351
  delegateUrl?: string;
3352
+ executorUrl?: string;
3287
3353
  timeoutMs?: number;
3288
3354
  settlementConfig?: SettlementConfig | false;
3289
3355
  concurrentSpending?: boolean;
@@ -3430,11 +3496,12 @@ declare class ServiceWorkerWallet extends ServiceWorkerReadonlyWallet implements
3430
3496
  readonly identity: Identity;
3431
3497
  private readonly _assetManager;
3432
3498
  private readonly hasDelegate;
3499
+ private readonly executorServiceUrl?;
3433
3500
  private _restoreInFlight?;
3434
3501
  private _concurrentSpending;
3435
3502
  /** @see WalletConfig.concurrentSpending */
3436
3503
  get concurrentSpending(): boolean;
3437
- protected constructor(serviceWorker: ServiceWorker, identity: Identity, walletRepository: WalletRepository, contractRepository: ContractRepository, messageTag: string, hasDelegate: boolean, oneShotSubmit?: boolean | undefined);
3504
+ protected constructor(serviceWorker: ServiceWorker, identity: Identity, walletRepository: WalletRepository, contractRepository: ContractRepository, messageTag: string, hasDelegate: boolean, oneShotSubmit?: boolean | undefined, executorUrl?: string);
3438
3505
  get assetManager(): IAssetManager;
3439
3506
  static create(options: ServiceWorkerWalletCreateOptions): Promise<ServiceWorkerWallet>;
3440
3507
  /**
@@ -3526,6 +3593,8 @@ declare class ServiceWorkerWallet extends ServiceWorkerReadonlyWallet implements
3526
3593
  cosignOnchainTx(psbt: string | Transaction$1): Promise<string>;
3527
3594
  sendOnchain(params: SendOnchainParams): Promise<string>;
3528
3595
  getDelegateManager(): Promise<IDelegateManager | undefined>;
3596
+ /** Runs on the page: it talks to the service over REST and records watches through this wallet. */
3597
+ getExecutorManager(): Promise<IExecutorManager | undefined>;
3529
3598
  getVtxoManager(): Promise<IVtxoManager>;
3530
3599
  }
3531
3600
 
@@ -6133,64 +6202,6 @@ declare function renewProgramContractOutputs(client: Arkade, targets: ProgramCon
6133
6202
  intentId: string;
6134
6203
  }>;
6135
6204
 
6136
- /**
6137
- * Read the JSON `arkadec` writes into a {@link Program}: `$param` placeholders,
6138
- * @scure opcode names, and one structured tapleaf per compiler leaf.
6139
- */
6140
-
6141
- interface ArtifactParameter {
6142
- name: string;
6143
- type: string;
6144
- }
6145
- interface ArtifactStruct {
6146
- name: string;
6147
- fields: ArtifactParameter[];
6148
- }
6149
- interface ArtifactWitnessElement {
6150
- name: string;
6151
- type: string;
6152
- encoding?: string;
6153
- injected?: boolean;
6154
- }
6155
- interface ArtifactLeaf {
6156
- name: string;
6157
- witness?: ArtifactWitnessElement[];
6158
- asm: string[];
6159
- }
6160
- interface ArtifactCovenant {
6161
- inputs: ArtifactParameter[];
6162
- asm: string[];
6163
- }
6164
- interface ArtifactGroup {
6165
- name: string;
6166
- arkade?: ArtifactCovenant;
6167
- leaves: ArtifactLeaf[];
6168
- }
6169
- interface ContractArtifact {
6170
- formatVersion?: number;
6171
- contractName: string;
6172
- constructorInputs: ArtifactParameter[];
6173
- structs?: ArtifactStruct[];
6174
- functions: ArtifactGroup[];
6175
- fingerprint?: string;
6176
- }
6177
- /** The compiler's debug file: each covenant's source map, keyed by spend group. */
6178
- interface ContractDebugInfo {
6179
- formatVersion: number;
6180
- /** The {@link ContractArtifact.fingerprint} of the build that wrote it. */
6181
- artifactFingerprint?: string;
6182
- functions: Record<string, {
6183
- sourceMap: SourceRange[];
6184
- }>;
6185
- }
6186
- /** `true` when `value` is an arkadec artifact rather than a Program. */
6187
- declare function isContractArtifact(value: unknown): value is ContractArtifact;
6188
- /**
6189
- * Adds `server`, and one param per child-output placeholder for the caller to bind to that output key.
6190
- * With the build's `debug` file, each covenant segment also carries its `sourceMap`.
6191
- */
6192
- declare function programFromArtifact(artifact: ContractArtifact, debug?: ContractDebugInfo): Program;
6193
-
6194
6205
  /**
6195
6206
  * Arkade Script Support
6196
6207
  *
@@ -6899,4 +6910,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
6899
6910
  private burnWith;
6900
6911
  }
6901
6912
 
6902
- 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, 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 };
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 };