@arkade-os/sdk 0.5.11 → 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-C0irgPwJ.d.ts → asyncStorageTaskQueue-Dhbe00Ya.d.ts} +1 -1
  6. package/dist/{asyncStorageTaskQueue-B6rFkXzW.d.cts → asyncStorageTaskQueue-Y4BlVm41.d.cts} +1 -1
  7. package/dist/{chunk-WIZCF5IX.cjs → chunk-6TBTL42M.cjs} +92 -5
  8. package/dist/chunk-6TBTL42M.cjs.map +1 -0
  9. package/dist/{chunk-DMYHAUTA.cjs → chunk-6WPP4UGN.cjs} +9962 -8635
  10. package/dist/chunk-6WPP4UGN.cjs.map +1 -0
  11. package/dist/{chunk-WZ2UHHQ7.cjs → chunk-6XVTGWQK.cjs} +20 -20
  12. package/dist/{chunk-WZ2UHHQ7.cjs.map → chunk-6XVTGWQK.cjs.map} +1 -1
  13. package/dist/{chunk-UPIQZRNJ.cjs → chunk-ACIQZLWL.cjs} +379 -20
  14. package/dist/chunk-ACIQZLWL.cjs.map +1 -0
  15. package/dist/{chunk-KRKREYKT.js → chunk-BA36SQY2.js} +4 -4
  16. package/dist/{chunk-KRKREYKT.js.map → chunk-BA36SQY2.js.map} +1 -1
  17. package/dist/{chunk-VJQMUKPZ.js → chunk-BP4NA7HK.js} +5 -5
  18. package/dist/{chunk-VJQMUKPZ.js.map → chunk-BP4NA7HK.js.map} +1 -1
  19. package/dist/{chunk-LKVVWCIW.js → chunk-D4QH6L54.js} +4 -4
  20. package/dist/{chunk-LKVVWCIW.js.map → chunk-D4QH6L54.js.map} +1 -1
  21. package/dist/{chunk-DPFD5KBK.js → chunk-GB67AGXG.js} +86 -6
  22. package/dist/chunk-GB67AGXG.js.map +1 -0
  23. package/dist/{chunk-5HCDXBBG.cjs → chunk-HS7TKVOZ.cjs} +30 -21
  24. package/dist/chunk-HS7TKVOZ.cjs.map +1 -0
  25. package/dist/{chunk-SS5BPVQL.js → chunk-LHLRG2BE.js} +23 -15
  26. package/dist/chunk-LHLRG2BE.js.map +1 -0
  27. package/dist/{chunk-HRFWODLP.js → chunk-QSERJPTT.js} +628 -23
  28. package/dist/chunk-QSERJPTT.js.map +1 -0
  29. package/dist/{chunk-VLO3JAP3.cjs → chunk-TD4PKK2I.cjs} +680 -68
  30. package/dist/chunk-TD4PKK2I.cjs.map +1 -0
  31. package/dist/{chunk-NC6TEEHZ.cjs → chunk-TYSUFG2K.cjs} +11 -11
  32. package/dist/{chunk-NC6TEEHZ.cjs.map → chunk-TYSUFG2K.cjs.map} +1 -1
  33. package/dist/{chunk-GEK6QBSY.cjs → chunk-WFJPLXOE.cjs} +21 -21
  34. package/dist/{chunk-GEK6QBSY.cjs.map → chunk-WFJPLXOE.cjs.map} +1 -1
  35. package/dist/{chunk-4DUTRRXF.js → chunk-X57WKONW.js} +369 -10
  36. package/dist/chunk-X57WKONW.js.map +1 -0
  37. package/dist/{chunk-W2C3KDQA.js → chunk-Y3AWLHQP.js} +9520 -8196
  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-Bq349_ly.d.cts → index-BQwrHcOh.d.cts} +524 -23
  48. package/dist/{index-D4ahI0W6.d.cts → index-BaTItxPx.d.cts} +1 -1
  49. package/dist/{index-Yh5y9G4E.d.ts → index-BapVvuoI.d.ts} +1 -1
  50. package/dist/{index-Mn2POBPj.d.ts → index-DuXylQrN.d.ts} +524 -23
  51. package/dist/index.cjs +403 -368
  52. package/dist/index.d.cts +82 -71
  53. package/dist/index.d.ts +82 -71
  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-BYxEgwM5.d.ts → taskRunner-BxOmg-O6.d.ts} +1 -1
  68. package/dist/{taskRunner-Z3LnHfgs.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-4DUTRRXF.js.map +0 -1
  89. package/dist/chunk-5HCDXBBG.cjs.map +0 -1
  90. package/dist/chunk-DMYHAUTA.cjs.map +0 -1
  91. package/dist/chunk-DPFD5KBK.js.map +0 -1
  92. package/dist/chunk-HRFWODLP.js.map +0 -1
  93. package/dist/chunk-OMZZQTDM.cjs +0 -376
  94. package/dist/chunk-OMZZQTDM.cjs.map +0 -1
  95. package/dist/chunk-PXEFYEKL.js +0 -373
  96. package/dist/chunk-PXEFYEKL.js.map +0 -1
  97. package/dist/chunk-SS5BPVQL.js.map +0 -1
  98. package/dist/chunk-UPIQZRNJ.cjs.map +0 -1
  99. package/dist/chunk-VLO3JAP3.cjs.map +0 -1
  100. package/dist/chunk-W2C3KDQA.js.map +0 -1
  101. package/dist/chunk-WIZCF5IX.cjs.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { b as Identity, a8 as DescriptorProvider, a9 as Transaction, aa as SignerSession, ab as ReadonlyIdentity, ac as DescriptorSigningRequest, ad as IntentFeeConfig, ae as OffchainInput, af as FeeAmount, ag as OnchainInput, ah as FeeOutput, ai as VtxoReservationRepository, aj as StoredVtxoReservation, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, K as Outpoint, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch, W as WalletRepository, _ as AtomicWalletState, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, $ as WalletState, D as Contract, ak as ArkadeCashTx, z as IndexerProvider, al as ArkadeInfo, am as OnchainProvider, an as ArkadeCashRecord, ao as ArkadeCashClaimResult, l as Activity, C as ContractRepository, a0 as ContractFilter, I as IWallet, S as SettleParams, G as GetOperatorInfoOptions, ap as GetVtxosOptions, aq as PaginationOptions, h as GetVtxosFilter, i as GetSpendableVtxosFilter, ar as CreateContractParams, as as GetContractsFilter, V as VirtualCoin, at as GetSpendablePathsOptions, au as GetAllSpendingPathsOptions, n as GetNewAddressesOptions, R as Recipient, av as InputExpiryFloor, aw as IssuanceParams, ax as ReissuanceParams, ay as BurnParams, az as RenewVtxosOptions, s as SendOnchainParams, q as SettlementEvent, O as OperatorInfo, aA as NormalizedVtxoPage, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, P as ProviderConnectionState, aB as ContractSyncState, aC as ContractWithVtxos, aD as WatchedScript, aE as PathSelection, o as NewAddress, aF as ContractEvent, aG as AssetDetails, aH as IssuanceResult, aI as DelegateInfo, aJ as MigrationGlobalSkipReason, aK as MigrationLegSkipReason, aL as SignerStatus, aM as NetworkName, B as OperatorProvider, c as Wallet, aN as ReadonlyWallet, aO as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, aR as FeeInfo, N as NormalizedExtendedVirtualCoin, aS as ReceiveRotatorFactory, aT as ReceiveRotatorBootOpts, aU as ReceiveRotatorBoot, aV as IReadonlyWallet, k as ActivityRegistry, aW as IReadonlyAssetManager, aX as StorageConfig, m as IContractManager, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, t as IAssetManager, aY as VtxoReservation, r as SendParams, p as IDelegateManager, aZ as 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-Mn2POBPj.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-Mn2POBPj.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-Yh5y9G4E.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;
@@ -3193,9 +3252,10 @@ interface ServiceWorkerWalletOptions {
3193
3252
  lazyInitialization?: boolean;
3194
3253
  /** Defer boarding and history loading; render boarding.loaded=false as unknown. */
3195
3254
  lazyBoarding?: boolean;
3196
- /** The operator's endpoint and optional public key. */
3255
+ /** The operator's endpoint. */
3197
3256
  arkServer?: {
3198
3257
  url: string;
3258
+ /** @deprecated Ignored, as `BaseWalletConfig.arkServerPublicKey`. */
3199
3259
  publicKey?: string;
3200
3260
  };
3201
3261
  /**
@@ -3209,6 +3269,12 @@ interface ServiceWorkerWalletOptions {
3209
3269
  expectedNetwork?: NetworkName;
3210
3270
  /** Optional delegation service URL. */
3211
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;
3212
3278
  /**
3213
3279
  * Override the default tag used for messages sent to and received from the service worker.
3214
3280
  * @see DEFAULT_MESSAGE_TAG
@@ -3283,6 +3349,7 @@ type MessageBusInitConfig = {
3283
3349
  publicKey?: string;
3284
3350
  };
3285
3351
  delegateUrl?: string;
3352
+ executorUrl?: string;
3286
3353
  timeoutMs?: number;
3287
3354
  settlementConfig?: SettlementConfig | false;
3288
3355
  concurrentSpending?: boolean;
@@ -3429,11 +3496,12 @@ declare class ServiceWorkerWallet extends ServiceWorkerReadonlyWallet implements
3429
3496
  readonly identity: Identity;
3430
3497
  private readonly _assetManager;
3431
3498
  private readonly hasDelegate;
3499
+ private readonly executorServiceUrl?;
3432
3500
  private _restoreInFlight?;
3433
3501
  private _concurrentSpending;
3434
3502
  /** @see WalletConfig.concurrentSpending */
3435
3503
  get concurrentSpending(): boolean;
3436
- 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);
3437
3505
  get assetManager(): IAssetManager;
3438
3506
  static create(options: ServiceWorkerWalletCreateOptions): Promise<ServiceWorkerWallet>;
3439
3507
  /**
@@ -3525,6 +3593,8 @@ declare class ServiceWorkerWallet extends ServiceWorkerReadonlyWallet implements
3525
3593
  cosignOnchainTx(psbt: string | Transaction$1): Promise<string>;
3526
3594
  sendOnchain(params: SendOnchainParams): Promise<string>;
3527
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>;
3528
3598
  getVtxoManager(): Promise<IVtxoManager>;
3529
3599
  }
3530
3600
 
@@ -3644,9 +3714,8 @@ declare class OnchainWallet implements AnchorBumper {
3644
3714
  */
3645
3715
  bumpAnchor(parentHex: string, feeRate: number): Promise<[string, string]>;
3646
3716
  /**
3647
- * Shared core of {@link bumpP2A} and {@link bumpAnchor}: probe the package
3648
- * fee with a single-input child, select coins for it, then build and sign
3649
- * with the actual selection (the fee grows per extra input).
3717
+ * Shared core of {@link bumpP2A} and {@link bumpAnchor}: select coins that pay the
3718
+ * package fee at their own input count and leave dust-free change, then build and sign.
3650
3719
  */
3651
3720
  private buildBumpPackage;
3652
3721
  }
@@ -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.js CHANGED
@@ -1,9 +1,8 @@
1
- export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, AbortError, ActivityRegistry, AmbiguousRouteError, ArkNote, Arkade, ArkadeCash, ArkadeCashCreateError, ArkadeCashOperatorMismatchError, AssetManager, BATCH_REGISTRATION_TERMINAL_STATES, BIP21, BIP21Error, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, CachingArkProvider, CachingOperatorProvider, ChainedTxType, ConnectionDisposedError, ContractManager, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DEFAULT_PASSKEY_LABEL, DatabaseUpgradeBlockedError, DelegateManagerImpl, DelegateNotConfiguredError, DescriptorIdentity, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EmulatorPacket, EsploraProvider, Estimator, Extension, ExtensionNotFoundError, ForeignDescriptorError, HDDescriptorProvider, INTENT_TERMINAL_STATES, InMemoryBatchRegistrationRepository, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBBatchRegistrationRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBVtxoReservationRepository, IndexedDBWalletRepository, KeyringDescriptorProvider, MAX_PAGE_SIZE, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainCosignPreflightError, OnchainWallet, OversizedChangeError, P2A, PasskeyCancelled, PasskeyUnconfirmed, PaymentRouter, PrevTxUnavailableError, PrfUnavailable, REGTEST_MIN_BATCH_EXPIRY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestEmulatorProvider, SeedIdentity, SendDeadlineExceededError, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, StaticDescriptorProvider, TreeSignerSession, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, VtxoReservedError, Wallet, WalletCannotAllocateAddressError, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WsElectrumChainSource, addArkadeCashRecord, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, arkade_exports as arkade, arkadeCashId, arkadeCashResolver, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertPageRequest, assertRecipientArkadeAddress, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, assetsOf, attachPrevArkTxs, attachPrevoutTxs, awaitTransaction, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, captureSendDeadline, claimWithPreimageIdentity, classifyAgainstSignerSet, classifyBoardingExpiry, classifyContractSigner, closeDatabase, collabExitResolver, collectBatchRegistrations, collectContracts, collectIntents, collectPages, collectScriptVtxos, collectTransactionHistory, collectUtxos, collectVtxos, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createArkadeCashTracker, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, createManagedConnection, createPrfPasskey, decodeArkContract, decodeBoardingExit, defaultBatchExpiryPolicy, deleteByIndex, deserializeExitPackage, encodeArkContract, evaluatePrf, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isAddressAllocationCapable, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isContractVtxoEvent, isCooperativelyMigratable, isCosignFallback, isDeterministicSigner, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isSigningIdentity, isSubdust, isTerminalBatchRegistrationState, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, iteratePages, logExcludedVtxos, makeHandle, matchServerCheckpoints, mergeArkadeCashRecord, mnemonicFromPrf, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, pageResult, prfSupport, promisifyRequest, provisionClaimSecret, provisionRefundKey, readArkadeCash, registerWalletRestoreHook, resolveAssetAmount, resolveBatchExpiryPolicy, resolveDescriptorSigner, resolvePrevTxs, resolveSendAmount, selectCoinsWithAsset, selectVirtualCoins, selectionOf, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signerSetFromInfo, signingDescriptorIndex, strictSigningDescriptorIndex, submitViaEmulator, toXOnlySignerHex, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds, walletFeeSource, withPrevTxs } from './chunk-W2C3KDQA.js';
2
- import './chunk-PXEFYEKL.js';
3
- export { ChainTxType, DEFAULT_VTXO_PAGE_SIZE, IndexerTxType, IndexerUtxosUnsupportedError, RestIndexerProvider, asset_exports as asset } from './chunk-KRKREYKT.js';
4
- export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, identityDescriptor, isCltvSatisfied, isCsvSpendable, normalizeToDescriptor, parseHDDescriptor } from './chunk-HRFWODLP.js';
5
- export { UnsupportedProgramVersionError, toXOnly } from './chunk-4DUTRRXF.js';
6
- export { ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ConditionWitness, CosignerPublicKey, DigestMismatchError, EventSourceUnavailableError, FetchError, HttpResponseError, Intent, OnchainCosignAmbiguousError, OnchainCosignRejectedError, OnchainCosignUnsupportedError, PrevArkTxField, PrevoutTxField, Proof, ProviderUnavailableError, READ_TIMEOUT_MS, RestArkProvider, RestOperatorProvider, ServerResponseMismatchError, SettlementEventType, Transaction, VtxoTaprootTree, VtxoTreeExpiry, assertAllowedSighashTypes, assertNonNegativeMs, assertTimerMs, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, getAllNormalizedVtxos, getArkPsbtFields, getConfiguredEventSource, getNormalizedVtxos, isArkError, isEventSourceUnavailableError, isPastExpiry, isRetryableProviderError, isVirtualCoin, isVtxoSpent, maybeArkError, resolveEventSource, sdkVersion, setArkPsbtField, toOffchainInputFeeParams } from './chunk-SS5BPVQL.js';
7
- export { ArkAddress, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, DEFAULT_ARKADE_EMULATOR_URL, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, REGTEST_EMULATOR_PUBKEY, TapTreeCoder, VtxoScript, assembleBtcdTaprootTree, decodeTapscript, defaultEmulatorPubkey, getNetwork, getSequence, networkFromArkadeInfo, networkFromOperatorInfo, networks, resolveEmulatorPubkey, scriptFromTapLeafScript, sequenceToTimelock, timelockToSequence } from './chunk-DPFD5KBK.js';
1
+ export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, AbortError, ActivityRegistry, AmbiguousRouteError, ArkNote, Arkade, ArkadeCash, ArkadeCashCreateError, ArkadeCashOperatorMismatchError, AssetManager, BATCH_REGISTRATION_TERMINAL_STATES, BIP21, BIP21Error, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, CachingArkProvider, CachingOperatorProvider, ChainedTxType, ConnectionDisposedError, ContractManager, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DEFAULT_PASSKEY_LABEL, DELEGATION_EXPIRES_KEY, DELEGATION_LOCAL_STATUS, DELEGATION_REGISTERED_KEY, DELEGATION_STATUS_KEY, DatabaseUpgradeBlockedError, DelegateManagerImpl, DelegateNotConfiguredError, DescriptorIdentity, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EmulatorPacket, EsploraProvider, Estimator, ExecutorManagerImpl, ExecutorRequestError, Extension, ExtensionNotFoundError, ForeignDescriptorError, HDDescriptorProvider, INTENT_TERMINAL_STATES, InMemoryBatchRegistrationRepository, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBBatchRegistrationRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBVtxoReservationRepository, IndexedDBWalletRepository, KeyringDescriptorProvider, MAX_PAGE_SIZE, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainCosignPreflightError, OnchainWallet, OversizedChangeError, P2A, PasskeyCancelled, PasskeyUnconfirmed, PaymentRouter, PrevTxUnavailableError, PrfUnavailable, REGTEST_MIN_BATCH_EXPIRY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestEmulatorProvider, RestExecutorProvider, SeedIdentity, SendDeadlineExceededError, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, StaticDescriptorProvider, TreeSignerSession, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, VtxoReservedError, Wallet, WalletCannotAllocateAddressError, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WsElectrumChainSource, addArkadeCashRecord, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, arkade_exports as arkade, arkadeCashId, arkadeCashResolver, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertPageRequest, assertRecipientArkadeAddress, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, assetsOf, attachPrevArkTxs, attachPrevoutTxs, awaitTransaction, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, captureSendDeadline, claimWithPreimageIdentity, classifyBoardingExpiry, closeDatabase, collabExitResolver, collectBatchRegistrations, collectContracts, collectIntents, collectPages, collectScriptVtxos, collectTransactionHistory, collectUtxos, collectVtxos, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createArkadeCashTracker, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, createManagedConnection, createPrfPasskey, decodeArkContract, decodeBoardingExit, defaultBatchExpiryPolicy, deleteByIndex, deserializeExitPackage, encodeArkContract, evaluatePrf, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isAddressAllocationCapable, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isContractVtxoEvent, isCosignFallback, isDeterministicSigner, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isSigningIdentity, isSubdust, isTerminalBatchRegistrationState, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, iteratePages, logExcludedVtxos, makeHandle, matchServerCheckpoints, mergeArkadeCashRecord, mnemonicFromPrf, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, pageResult, prfSupport, promisifyRequest, provisionClaimSecret, provisionRefundKey, readArkadeCash, registerWalletRestoreHook, resolveAssetAmount, resolveBatchExpiryPolicy, resolveDescriptorSigner, resolvePrevTxs, resolveSendAmount, selectCoinsWithAsset, selectVirtualCoins, selectionOf, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signingDescriptorIndex, strictSigningDescriptorIndex, submitViaEmulator, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds, walletFeeSource, watchExecutorContracts, withPrevTxs } from './chunk-Y3AWLHQP.js';
2
+ export { ChainTxType, DEFAULT_VTXO_PAGE_SIZE, IndexerTxType, IndexerUtxosUnsupportedError, RestIndexerProvider, asset_exports as asset } from './chunk-BA36SQY2.js';
3
+ export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, ExecutorContractHandler, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, identityDescriptor, isCltvSatisfied, isCsvSpendable, normalizeToDescriptor, parseHDDescriptor } from './chunk-QSERJPTT.js';
4
+ export { UnsupportedProgramVersionError } from './chunk-X57WKONW.js';
5
+ export { ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ConditionWitness, CosignerPublicKey, DigestMismatchError, EventSourceUnavailableError, FetchError, HttpResponseError, Intent, OnchainCosignAmbiguousError, OnchainCosignRejectedError, OnchainCosignUnsupportedError, PrevArkTxField, PrevoutTxField, Proof, ProviderUnavailableError, READ_TIMEOUT_MS, RestArkProvider, RestOperatorProvider, ServerResponseMismatchError, SettlementEventType, Transaction, VtxoTaprootTree, VtxoTreeExpiry, assertAllowedSighashTypes, assertNonNegativeMs, assertTimerMs, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, getAllNormalizedVtxos, getArkPsbtFields, getConfiguredEventSource, getNormalizedVtxos, isArkError, isEventSourceUnavailableError, isPastExpiry, isRetryableProviderError, isVirtualCoin, isVtxoSpent, maybeArkError, resolveEventSource, sdkVersion, setArkPsbtField, toOffchainInputFeeParams } from './chunk-LHLRG2BE.js';
6
+ export { ArkAddress, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, DEFAULT_ARKADE_EMULATOR_URL, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, REGTEST_EMULATOR_PUBKEY, TapTreeCoder, VtxoScript, assembleBtcdTaprootTree, classifyAgainstSignerSet, classifyContractSigner, decodeTapscript, defaultEmulatorPubkey, getNetwork, getSequence, isCooperativelyMigratable, networkFromArkadeInfo, networkFromOperatorInfo, networks, resolveEmulatorPubkey, scriptFromTapLeafScript, sequenceToTimelock, signerSetFromInfo, timelockToSequence, toXOnly, toXOnlySignerHex } from './chunk-GB67AGXG.js';
8
7
  //# sourceMappingURL=index.js.map
9
8
  //# sourceMappingURL=index.js.map
@@ -1,12 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkDMYHAUTA_cjs = require('../../chunk-DMYHAUTA.cjs');
4
- require('../../chunk-OMZZQTDM.cjs');
5
- require('../../chunk-GEK6QBSY.cjs');
6
- require('../../chunk-VLO3JAP3.cjs');
7
- require('../../chunk-UPIQZRNJ.cjs');
8
- var chunk5HCDXBBG_cjs = require('../../chunk-5HCDXBBG.cjs');
9
- require('../../chunk-WIZCF5IX.cjs');
3
+ var chunk6WPP4UGN_cjs = require('../../chunk-6WPP4UGN.cjs');
4
+ require('../../chunk-WFJPLXOE.cjs');
5
+ require('../../chunk-TD4PKK2I.cjs');
6
+ require('../../chunk-ACIQZLWL.cjs');
7
+ var chunkHS7TKVOZ_cjs = require('../../chunk-HS7TKVOZ.cjs');
8
+ require('../../chunk-6TBTL42M.cjs');
10
9
 
11
10
  // src/repositories/realm/walletRepository.ts
12
11
  var RealmWalletRepository = class {
@@ -42,7 +41,7 @@ var RealmWalletRepository = class {
42
41
  await this.ensureInit();
43
42
  this.realm.write(() => {
44
43
  for (const vtxo of vtxos) {
45
- const s = chunkDMYHAUTA_cjs.serializeVtxo(vtxo);
44
+ const s = chunk6WPP4UGN_cjs.serializeVtxo(vtxo);
46
45
  this.realm.create(
47
46
  "ArkVtxo",
48
47
  {
@@ -57,7 +56,7 @@ var RealmWalletRepository = class {
57
56
  intentCb: s.intentTapLeafScript.cb,
58
57
  intentS: s.intentTapLeafScript.s,
59
58
  statusJson: JSON.stringify(s.status),
60
- createdAt: chunkDMYHAUTA_cjs.createdAtToIso(s.createdAt),
59
+ createdAt: chunk6WPP4UGN_cjs.createdAtToIso(s.createdAt),
61
60
  isUnrolled: s.isUnrolled ?? false,
62
61
  isSpent: s.isSpent === void 0 ? null : s.isSpent,
63
62
  isSwept: s.isSwept === void 0 ? null : s.isSwept,
@@ -81,7 +80,7 @@ var RealmWalletRepository = class {
81
80
  return this.deleteWhere("ArkVtxo", "address", address);
82
81
  }
83
82
  async getVtxosForScriptPage(script, page, options) {
84
- chunkDMYHAUTA_cjs.assertPageRequest(page);
83
+ chunk6WPP4UGN_cjs.assertPageRequest(page);
85
84
  await this.ensureInit();
86
85
  let results = this.realm.objects("ArkVtxo").filtered("script == $0", script);
87
86
  if (options?.unspentOnly) {
@@ -108,15 +107,15 @@ var RealmWalletRepository = class {
108
107
  rows.push({ address: row.address, vtxo: vtxoObjectToDomain(row) });
109
108
  if (rows.length > page.limit) break;
110
109
  }
111
- const result = chunkDMYHAUTA_cjs.pageResult(rows, page.limit, (row) => ({
110
+ const result = chunk6WPP4UGN_cjs.pageResult(rows, page.limit, (row) => ({
112
111
  address: row.address,
113
112
  txid: row.vtxo.txid,
114
113
  vout: row.vtxo.vout
115
114
  }));
116
- return options?.unspentOnly ? { ...result, items: result.items.filter((row) => !chunk5HCDXBBG_cjs.isVtxoSpent(row.vtxo)) } : result;
115
+ return options?.unspentOnly ? { ...result, items: result.items.filter((row) => !chunkHS7TKVOZ_cjs.isVtxoSpent(row.vtxo)) } : result;
117
116
  }
118
117
  async saveVtxosForScript(key, vtxos) {
119
- return this.saveVtxos(chunkDMYHAUTA_cjs.checkSaveVtxosForScript("RealmWalletRepository", key, vtxos), vtxos);
118
+ return this.saveVtxos(chunk6WPP4UGN_cjs.checkSaveVtxosForScript("RealmWalletRepository", key, vtxos), vtxos);
120
119
  }
121
120
  async deleteVtxosForScript(script) {
122
121
  return this.deleteWhere("ArkVtxo", "script", script);
@@ -126,7 +125,7 @@ var RealmWalletRepository = class {
126
125
  return this.pageByAddress("ArkUtxo", address, page, utxoObjectToDomain);
127
126
  }
128
127
  async pageByAddress(schema, address, page, deserialize) {
129
- chunkDMYHAUTA_cjs.assertPageRequest(page);
128
+ chunk6WPP4UGN_cjs.assertPageRequest(page);
130
129
  await this.ensureInit();
131
130
  let results = this.realm.objects(schema).filtered("address == $0", address);
132
131
  if (page.after) {
@@ -144,18 +143,18 @@ var RealmWalletRepository = class {
144
143
  rows.push({ key: { txid: row.txid, vout: row.vout }, item: deserialize(row) });
145
144
  if (rows.length > page.limit) break;
146
145
  }
147
- const result = chunkDMYHAUTA_cjs.pageResult(rows, page.limit, (row) => row.key);
146
+ const result = chunk6WPP4UGN_cjs.pageResult(rows, page.limit, (row) => row.key);
148
147
  return { items: result.items.map((row) => row.item), nextCursor: result.nextCursor };
149
148
  }
150
149
  async saveUtxos(addressOrBatch, utxos) {
151
150
  await this.ensureInit();
152
- const rows = chunkDMYHAUTA_cjs.utxoEntries(addressOrBatch, utxos).flatMap(
151
+ const rows = chunk6WPP4UGN_cjs.utxoEntries(addressOrBatch, utxos).flatMap(
153
152
  ([address, list]) => list.map((utxo) => ({ address, utxo }))
154
153
  );
155
154
  if (rows.length === 0) return;
156
155
  this.realm.write(() => {
157
156
  for (const { address, utxo } of rows) {
158
- const s = chunkDMYHAUTA_cjs.serializeUtxo(utxo);
157
+ const s = chunk6WPP4UGN_cjs.serializeUtxo(utxo);
159
158
  this.realm.create(
160
159
  "ArkUtxo",
161
160
  {
@@ -182,8 +181,8 @@ var RealmWalletRepository = class {
182
181
  }
183
182
  // ── Transaction history ────────────────────────────────────────────
184
183
  async getTransactionHistoryPage(filter, page) {
185
- chunkDMYHAUTA_cjs.assertPageRequest(page);
186
- chunkDMYHAUTA_cjs.assertHistoryPageFilter(filter);
184
+ chunk6WPP4UGN_cjs.assertPageRequest(page);
185
+ chunk6WPP4UGN_cjs.assertHistoryPageFilter(filter);
187
186
  let results = this.realm.objects("ArkTransaction").filtered("address == $0", filter.address);
188
187
  results = results.filtered(
189
188
  "createdAt >= $0",
@@ -197,12 +196,12 @@ var RealmWalletRepository = class {
197
196
  ["arkTxid", false]
198
197
  ])) {
199
198
  const tx = txObjectToDomain(row);
200
- if (page.after !== void 0 && chunkDMYHAUTA_cjs.compareHistoryCursors({ createdAt: tx.createdAt, key: tx.key }, page.after) <= 0)
199
+ if (page.after !== void 0 && chunk6WPP4UGN_cjs.compareHistoryCursors({ createdAt: tx.createdAt, key: tx.key }, page.after) <= 0)
201
200
  continue;
202
201
  rows.push(tx);
203
202
  if (rows.length > page.limit) break;
204
203
  }
205
- return chunkDMYHAUTA_cjs.pageResult(rows, page.limit, (tx) => ({ createdAt: tx.createdAt, key: tx.key }));
204
+ return chunk6WPP4UGN_cjs.pageResult(rows, page.limit, (tx) => ({ createdAt: tx.createdAt, key: tx.key }));
206
205
  }
207
206
  async saveTransactions(address, txs) {
208
207
  await this.ensureInit();
@@ -220,7 +219,7 @@ var RealmWalletRepository = class {
220
219
  amount: tx.amount,
221
220
  settled: tx.settled,
222
221
  createdAt: tx.createdAt,
223
- assetsJson: tx.assets ? JSON.stringify(chunkDMYHAUTA_cjs.serializeAssets(tx.assets)) : null
222
+ assetsJson: tx.assets ? JSON.stringify(chunk6WPP4UGN_cjs.serializeAssets(tx.assets)) : null
224
223
  },
225
224
  "modified"
226
225
  );
@@ -250,7 +249,7 @@ var RealmWalletRepository = class {
250
249
  settings: row.settingsJson ? JSON.parse(row.settingsJson) : void 0,
251
250
  lastSyncTime: row.lastSyncTime ?? void 0
252
251
  } : {};
253
- const state = chunkDMYHAUTA_cjs.applyWalletStateUpdate(current, updater);
252
+ const state = chunk6WPP4UGN_cjs.applyWalletStateUpdate(current, updater);
254
253
  this.realm.create(
255
254
  "ArkWalletState",
256
255
  {
@@ -322,9 +321,9 @@ function vtxoObjectToDomain(obj) {
322
321
  // Post-migration every row has `script`, but the backfill is
323
322
  // idempotent: derive from `address` if the legacy column is still
324
323
  // null (e.g. the migration hasn't run yet on this handle).
325
- script: obj.script ?? chunkDMYHAUTA_cjs.scriptFromArkAddress(obj.address)
324
+ script: obj.script ?? chunk6WPP4UGN_cjs.scriptFromArkAddress(obj.address)
326
325
  };
327
- return chunkDMYHAUTA_cjs.deserializeVtxo(serialized);
326
+ return chunk6WPP4UGN_cjs.deserializeVtxo(serialized);
328
327
  }
329
328
  function utxoObjectToDomain(obj) {
330
329
  const serialized = {
@@ -343,7 +342,7 @@ function utxoObjectToDomain(obj) {
343
342
  status: JSON.parse(obj.statusJson),
344
343
  extraWitness: obj.extraWitnessJson ? JSON.parse(obj.extraWitnessJson) : void 0
345
344
  };
346
- return chunkDMYHAUTA_cjs.deserializeUtxo(serialized);
345
+ return chunk6WPP4UGN_cjs.deserializeUtxo(serialized);
347
346
  }
348
347
  function txObjectToDomain(obj) {
349
348
  const tx = {
@@ -358,7 +357,7 @@ function txObjectToDomain(obj) {
358
357
  createdAt: obj.createdAt
359
358
  };
360
359
  if (obj.assetsJson) {
361
- tx.assets = chunkDMYHAUTA_cjs.deserializeAssets(JSON.parse(obj.assetsJson));
360
+ tx.assets = chunk6WPP4UGN_cjs.deserializeAssets(JSON.parse(obj.assetsJson));
362
361
  }
363
362
  return tx;
364
363
  }
@@ -384,9 +383,9 @@ var RealmContractRepository = class {
384
383
  }
385
384
  // ── Contract management ────────────────────────────────────────────
386
385
  async getContractsPage(filter, page) {
387
- chunkDMYHAUTA_cjs.assertPageRequest(page);
388
- if (chunkDMYHAUTA_cjs.contractFilterMatchesNothing(filter)) return { items: [] };
389
- const toPage = (rows) => chunkDMYHAUTA_cjs.pageResult(rows.map(contractObjectToDomain), page.limit, (contract) => contract.script);
386
+ chunk6WPP4UGN_cjs.assertPageRequest(page);
387
+ if (chunk6WPP4UGN_cjs.contractFilterMatchesNothing(filter)) return { items: [] };
388
+ const toPage = (rows) => chunk6WPP4UGN_cjs.pageResult(rows.map(contractObjectToDomain), page.limit, (contract) => contract.script);
390
389
  if (filter?.watch === void 0 || filter.script !== void 0) {
391
390
  return toPage(this.readRows(filter, page));
392
391
  }
@@ -420,7 +419,7 @@ var RealmContractRepository = class {
420
419
  if (query) results = results.filtered(query, ...args);
421
420
  const rows = [];
422
421
  for (const row of results.sorted("script")) {
423
- if (filter?.scope !== void 0 && ![filter.scope].flat().includes(chunkDMYHAUTA_cjs.scopeOf(contractObjectToDomain(row))))
422
+ if (filter?.scope !== void 0 && ![filter.scope].flat().includes(chunk6WPP4UGN_cjs.scopeOf(contractObjectToDomain(row))))
424
423
  continue;
425
424
  rows.push(row);
426
425
  if (rows.length > page.limit) break;
@@ -550,7 +549,7 @@ var RealmBatchRegistrationRepository = class {
550
549
  const clashes = [
551
550
  ...this.realm.objects("ArkIntent").filtered("intentId == $0", intent.registrationId)
552
551
  ].map(toIntent);
553
- chunkDMYHAUTA_cjs.assertIntentIdUnique(intent, clashes);
552
+ chunk6WPP4UGN_cjs.assertIntentIdUnique(intent, clashes);
554
553
  }
555
554
  this.realm.create(
556
555
  "ArkIntent",
@@ -578,22 +577,22 @@ var RealmBatchRegistrationRepository = class {
578
577
  });
579
578
  }
580
579
  async getBatchRegistrationsPage(filter, page) {
581
- chunkDMYHAUTA_cjs.assertPageRequest(page);
580
+ chunk6WPP4UGN_cjs.assertPageRequest(page);
582
581
  let results = this.realm.objects("ArkIntent");
583
582
  if (page.after !== void 0) results = results.filtered("intentTxId > $0", page.after);
584
583
  const rows = [];
585
584
  for (const row of results.sorted("intentTxId")) {
586
585
  const intent = toIntent(row);
587
- if (filter && !chunkDMYHAUTA_cjs.intentMatchesFilter(intent, filter)) continue;
586
+ if (filter && !chunk6WPP4UGN_cjs.intentMatchesFilter(intent, filter)) continue;
588
587
  rows.push(intent);
589
588
  if (rows.length > page.limit) break;
590
589
  }
591
- return chunkDMYHAUTA_cjs.pageResult(rows, page.limit, (intent) => intent.proofTxId);
590
+ return chunk6WPP4UGN_cjs.pageResult(rows, page.limit, (intent) => intent.proofTxId);
592
591
  }
593
592
  async getLockedVtxoOutpoints() {
594
593
  const out = [];
595
594
  for (const o of [...this.realm.objects("ArkIntent")].map(toIntent))
596
- if (!chunkDMYHAUTA_cjs.isTerminalBatchRegistrationState(o.state)) out.push(...o.proofInputs);
595
+ if (!chunk6WPP4UGN_cjs.isTerminalBatchRegistrationState(o.state)) out.push(...o.proofInputs);
597
596
  return out;
598
597
  }
599
598
  /** @deprecated Use {@link saveBatchRegistration}. */
@@ -644,7 +643,7 @@ var RealmVirtualTxRepository = class {
644
643
  txid: t.txid,
645
644
  psbt: t.psbt ?? prev?.psbt ?? null,
646
645
  expiresAt: t.expiresAt ?? prev?.expiresAt ?? null,
647
- type: chunkDMYHAUTA_cjs.mergeChainedTxType(t.type, prev?.type)
646
+ type: chunk6WPP4UGN_cjs.mergeChainedTxType(t.type, prev?.type)
648
647
  },
649
648
  "modified"
650
649
  );
@@ -890,9 +889,9 @@ function runArkRealmMigrations(oldRealm, newRealm) {
890
889
  for (let i = 0; i < newVtxos.length; i++) {
891
890
  const newVtxo = newVtxos[i];
892
891
  if (!newVtxo.script) {
893
- newVtxo.script = chunkDMYHAUTA_cjs.scriptFromArkAddress(newVtxo.address);
892
+ newVtxo.script = chunk6WPP4UGN_cjs.scriptFromArkAddress(newVtxo.address);
894
893
  }
895
- const facts = chunkDMYHAUTA_cjs.legacyVtxoFacts(legacyByPk.get(newVtxo.pk));
894
+ const facts = chunk6WPP4UGN_cjs.legacyVtxoFacts(legacyByPk.get(newVtxo.pk));
896
895
  if (facts) {
897
896
  if (newVtxo.isSpent == null) newVtxo.isSpent = facts.isSpent;
898
897
  if (newVtxo.isSwept == null) newVtxo.isSwept = facts.isSwept;
@@ -922,7 +921,7 @@ function runArkRealmMigrations(oldRealm, newRealm) {
922
921
 
923
922
  Object.defineProperty(exports, "ChainedTxType", {
924
923
  enumerable: true,
925
- get: function () { return chunkDMYHAUTA_cjs.ChainedTxType; }
924
+ get: function () { return chunk6WPP4UGN_cjs.ChainedTxType; }
926
925
  });
927
926
  exports.ARK_REALM_SCHEMA_VERSION = ARK_REALM_SCHEMA_VERSION;
928
927
  exports.ArkExperimentalRealmSchemas = ArkExperimentalRealmSchemas;