@arkade-os/sdk 0.4.73 → 0.4.74

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 (77) hide show
  1. package/dist/adapters/expo.cjs +5 -5
  2. package/dist/adapters/expo.d.cts +2 -2
  3. package/dist/adapters/expo.d.ts +2 -2
  4. package/dist/adapters/expo.js +3 -3
  5. package/dist/adapters/indexedDB.cjs +5 -5
  6. package/dist/adapters/indexedDB.js +4 -4
  7. package/dist/{asyncStorageTaskQueue-DA2OdpJ0.d.cts → asyncStorageTaskQueue-D1AwLuqn.d.cts} +1 -1
  8. package/dist/{asyncStorageTaskQueue-C5IwA_Hs.d.ts → asyncStorageTaskQueue-aCaOBGTS.d.ts} +1 -1
  9. package/dist/{chunk-D5DLGVN4.cjs → chunk-AS3W34MG.cjs} +17 -17
  10. package/dist/{chunk-D5DLGVN4.cjs.map → chunk-AS3W34MG.cjs.map} +1 -1
  11. package/dist/{chunk-2D7F5IU3.cjs → chunk-DXLVCFVK.cjs} +49 -49
  12. package/dist/{chunk-2D7F5IU3.cjs.map → chunk-DXLVCFVK.cjs.map} +1 -1
  13. package/dist/{chunk-QX2M67YI.js → chunk-J3XVGWMP.js} +21 -22
  14. package/dist/chunk-J3XVGWMP.js.map +1 -0
  15. package/dist/{chunk-ZLDO4QDR.cjs → chunk-J4ZR4VEM.cjs} +31 -32
  16. package/dist/chunk-J4ZR4VEM.cjs.map +1 -0
  17. package/dist/{chunk-KJ5E646Y.cjs → chunk-KMPNH7NS.cjs} +8 -4
  18. package/dist/chunk-KMPNH7NS.cjs.map +1 -0
  19. package/dist/{chunk-5YCAC6XE.js → chunk-KPLQN4M4.js} +4 -4
  20. package/dist/{chunk-5YCAC6XE.js.map → chunk-KPLQN4M4.js.map} +1 -1
  21. package/dist/{chunk-G5RPUZJE.js → chunk-LGB65ZCO.js} +3 -3
  22. package/dist/{chunk-G5RPUZJE.js.map → chunk-LGB65ZCO.js.map} +1 -1
  23. package/dist/{chunk-L7IEXVXI.cjs → chunk-QS6AZE4F.cjs} +10 -10
  24. package/dist/{chunk-L7IEXVXI.cjs.map → chunk-QS6AZE4F.cjs.map} +1 -1
  25. package/dist/{chunk-C4RKZY7D.cjs → chunk-WIHSU3YS.cjs} +560 -476
  26. package/dist/chunk-WIHSU3YS.cjs.map +1 -0
  27. package/dist/{chunk-OV4GLPZI.js → chunk-WJVOFYTQ.js} +8 -4
  28. package/dist/chunk-WJVOFYTQ.js.map +1 -0
  29. package/dist/{chunk-M6HIWM5N.js → chunk-X5BPARRD.js} +3 -3
  30. package/dist/{chunk-M6HIWM5N.js.map → chunk-X5BPARRD.js.map} +1 -1
  31. package/dist/{chunk-YHJJSLE5.js → chunk-ZTGTQP2W.js} +115 -33
  32. package/dist/chunk-ZTGTQP2W.js.map +1 -0
  33. package/dist/contracts/handlers/index.cjs +9 -9
  34. package/dist/contracts/handlers/index.d.cts +3 -3
  35. package/dist/contracts/handlers/index.d.ts +3 -3
  36. package/dist/contracts/handlers/index.js +2 -2
  37. package/dist/{delegate-BJp8f6LT.d.cts → delegate-6N0DKdnG.d.cts} +1 -1
  38. package/dist/{delegate-Ckz_TWzM.d.ts → delegate-z6veQfLI.d.ts} +1 -1
  39. package/dist/{hdWalletCapable-DABgAD-T.d.ts → hdWalletCapable-Bncp-eF0.d.ts} +2 -2
  40. package/dist/{hdWalletCapable-DA9bJ5eB.d.cts → hdWalletCapable-DJT8E8sN.d.cts} +2 -2
  41. package/dist/{index-DSbDm0Io.d.cts → index-BVqlZJwW.d.cts} +2 -2
  42. package/dist/{index-Dg0-TvBQ.d.cts → index-Bxz3cKPA.d.cts} +13 -7
  43. package/dist/{index-Dg0-TvBQ.d.ts → index-Bxz3cKPA.d.ts} +13 -7
  44. package/dist/{index-B8xrELXY.d.ts → index-CKQQ1oOg.d.ts} +2 -2
  45. package/dist/index.cjs +308 -300
  46. package/dist/index.d.cts +47 -24
  47. package/dist/index.d.ts +47 -24
  48. package/dist/index.js +4 -4
  49. package/dist/repositories/realm/index.cjs +19 -19
  50. package/dist/repositories/realm/index.d.cts +2 -2
  51. package/dist/repositories/realm/index.d.ts +2 -2
  52. package/dist/repositories/realm/index.js +5 -5
  53. package/dist/repositories/sqlite/index.cjs +18 -18
  54. package/dist/repositories/sqlite/index.d.cts +2 -2
  55. package/dist/repositories/sqlite/index.d.ts +2 -2
  56. package/dist/repositories/sqlite/index.js +5 -5
  57. package/dist/{taskRunner-C_uAJDsn.d.cts → taskRunner-C26IIg1F.d.cts} +1 -1
  58. package/dist/{taskRunner-DARTFnZN.d.ts → taskRunner-KxtIKYLv.d.ts} +1 -1
  59. package/dist/wallet/expo/background.cjs +14 -14
  60. package/dist/wallet/expo/background.d.cts +3 -3
  61. package/dist/wallet/expo/background.d.ts +3 -3
  62. package/dist/wallet/expo/background.js +6 -6
  63. package/dist/wallet/expo/index.cjs +14 -14
  64. package/dist/wallet/expo/index.d.cts +4 -4
  65. package/dist/wallet/expo/index.d.ts +4 -4
  66. package/dist/wallet/expo/index.js +5 -5
  67. package/dist/worker/expo/index.cjs +9 -9
  68. package/dist/worker/expo/index.d.cts +4 -4
  69. package/dist/worker/expo/index.d.ts +4 -4
  70. package/dist/worker/expo/index.js +5 -5
  71. package/package.json +1 -1
  72. package/dist/chunk-C4RKZY7D.cjs.map +0 -1
  73. package/dist/chunk-KJ5E646Y.cjs.map +0 -1
  74. package/dist/chunk-OV4GLPZI.js.map +0 -1
  75. package/dist/chunk-QX2M67YI.js.map +0 -1
  76. package/dist/chunk-YHJJSLE5.js.map +0 -1
  77. package/dist/chunk-ZLDO4QDR.cjs.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,11 +1,11 @@
1
- import { a4 as ReadonlyIdentity, a as Identity, ar as DescriptorSigningRequest, as as Transaction, an as SignerSession, a2 as DescriptorProvider, at as IntentFeeConfig, au as OffchainInput, av as FeeAmount, aw as OnchainInput, ax as FeeOutput, B as IntentRepository, D as ArkIntent, F as IntentFilter, O as Outpoint, H as VirtualTxRepository, J as VirtualTx, K as VtxoBranch, W as WalletRepository, w as ExtendedVirtualCoin, x as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, y as WalletState, v as Contract, C as ContractRepository, z as ContractFilter, I as IWallet, q as ArkProvider, al as SettlementConfig, ay as ContractWatcherConfig, az as Asset, R as Recipient, aA as FeeInfo, k as SettlementEvent, j as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, aB as CreateContractParams, aC as GetContractsFilter, u as VirtualCoin, aD as GetSpendablePathsOptions, aE as GetAllSpendingPathsOptions, g as GetNewAddressesOptions, aF as IssuanceParams, aG as ReissuanceParams, aH as BurnParams, aI as RenewVtxosOptions, c as WalletBalance, ab as ContractSyncState, ag as ContractWithVtxos, aJ as WatchedScript, aK as PathSelection, h as NewAddress, aL as ContractEvent, aM as AssetDetails, aN as IssuanceResult, aO as DelegateInfo, aP as MigrationGlobalSkipReason, aQ as MigrationLegSkipReason, aR as SignerStatus, a3 as IReadonlyWallet, d as ActivityRegistry, aa as IReadonlyAssetManager, aS as StorageConfig, e as Activity, N as NormalizedExtendedVirtualCoin, f as IContractManager, m as IAssetManager, l as SendParams, i as IDelegateManager, aT as IVtxoManager, a5 as OnchainProvider, M as Network, ad as NetworkName, ai as Coin, aU as ExplorerTransaction, ae as ArkInfo, ao as SignedIntent, ap as Intent, aV as TreeNonces, aW as TreePartialSigs, T as TxNotificationEvent, aX as PendingTx, t as TapLeafScript, aY as EncodedVtxoScript, P as CSVMultisigTapscript, s as RelativeTimelock, V as VtxoScript, aZ as Status, af as ArkAddress, a_ as ChainTx, r as IndexerProvider, X as TxTree, a$ as PathContext } from './index-Dg0-TvBQ.cjs';
2
- export { b0 as ActivityIntent, b1 as ActivityResolver, b2 as ArkIntentState, b3 as ArkTapscript, b4 as AssetMetadata, b5 as BITCOIN_EMULATOR_PUBKEY, b6 as BaseWalletConfig, $ as BatchFailedEvent, Z as BatchFinalizationEvent, _ as BatchFinalizedEvent, b7 as BatchInfo, b8 as BatchSignableIdentity, Q as BatchStartedEvent, b9 as CLTVMultisigTapscript, ba as CandidateDeps, bb as ChainTxType, L as ChainedTxType, bc as CommitmentTx, bd as ConditionCSVMultisigTapscript, be as ConditionMultisigTapscript, bf as ContractBalance, bg as ContractEventCallback, bh as ContractHandler, aj as ContractManager, ak as ContractManagerConfig, bi as ContractState, bj as ContractVtxo, bk as ContractVtxoEvent, bl as ContractWatcher, bm as DEFAULT_VTXO_PAGE_SIZE, bn as DelegateManagerImpl, bo as DelegateOptions, a6 as DelegateProvider, bp as DelegatorManagerImpl, bq as DelegatorProvider, br as DeprecatedSignerMigrationReport, bs as DeprecatedSignerReport, bt as DigestMismatchError, bu as Discoverable, bv as DiscoveredContract, bw as DiscoveryDeps, bx as ESPLORA_URL, by as EsploraProvider, bz as EventSourceCapable, bA as EventSourceFactory, bB as EventSourceLike, bC as EventSourceUnavailableError, a8 as ExitCaptureMode, bD as ExitChainResolver, a9 as ExitDataSource, bE as ExtendedContractVtxo, bF as GroupMembership, bG as HandlerError, bH as IDelegatorManager, bI as INTENT_TERMINAL_STATES, bJ as IndexerTxType, bK as IntentCoin, bL as KnownMetadata, bM as MUTINYNET_EMULATOR_PUBKEY, bN as MigrateDeprecatedSignerOptions, bO as MigrationLegReport, bP as MigrationVtxoRef, bQ as MultisigTapscript, bR as NewAddressType, bS as Nonces, bT as Output, bU as PageResponse, bV as PaginationOptions, bW as PartialSig, bX as PrevTxSource, bY as PrevTxUnavailableError, bZ as ProviderClass, b_ as REGTEST_EMULATOR_PUBKEY, b$ as RawTxSource, a7 as ReadonlyWalletConfig, n as RestArkProvider, c0 as RestDelegateProvider, c1 as RestDelegatorProvider, o as RestIndexerProvider, c2 as ScanContractsOptions, c3 as ScanResult, c4 as ScheduledSession, c5 as SettlementEventType, c6 as SignRequest, c7 as SignerClassification, c8 as SignerSet, c9 as SubscriptionEvent, ca as SubscriptionHeartbeat, p as SubscriptionResponse, cb as SweepTxNotification, cc as TapLeaves, cd as TapTreeCoder, ce as TapscriptType, aq as TimeHeight, Y as TreeNoncesEvent, a1 as TreeSignatureEvent, U as TreeSigningStartedEvent, a0 as TreeTxEvent, cf as Tx, cg as TxHistoryRecord, ch as TxKey, ci as TxNotification, cj as TxTag, ck as TxTreeNode, cl as TxType, cm as VirtualStatus, cn as Vtxo, co as VtxoChain, am as VtxoManager, cp as VtxoType, b as WalletConfig, cq as WalletMode, cr as WithPrevTx, cs as assertAllowedSighashTypes, ct as assetMintResolver, cu as attachPrevArkTxs, cv as attachPrevoutTxs, cw as boardingResolver, cx as canRecoverOnchain, cy as canSpendOffchain, cz as canSweepOnchain, cA as classifyAgainstSignerSet, cB as classifyContractSigner, cC as collabExitResolver, cD as configureEventSource, cE as createDefaultActivityRegistry, cF as createExitChainResolver, cG as decodeTapscript, cH as defaultEmulatorPubkey, cI as getConfiguredEventSource, cJ as getNetwork, cK as getRandomId, cL as getSequence, cM as hasCandidates, cN as hasTerminalSpend, cO as isBatchSignable, cP as isContractVtxoEvent, cQ as isCooperativelyMigratable, cR as isDiscoverable, cS as isEventSourceUnavailableError, cT as isExpired, cU as isPastExpiry, cV as isRecoverable, cW as isSigningIdentity, cX as isSpendable, cY as isSubdust, cZ as isTerminalIntentState, c_ as isVirtualCoin, c$ as isVtxoExpiringSoon, d0 as networks, d1 as resolveEmulatorPubkey, d2 as resolveEventSource, d3 as resolvePrevTxs, d4 as scriptFromTapLeafScript, d5 as signerSetFromInfo, d6 as toXOnlySignerHex, d7 as withPrevTxs } from './index-Dg0-TvBQ.cjs';
3
- import { W as Wallet, R as ReadonlyWallet, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './hdWalletCapable-DA9bJ5eB.cjs';
4
- export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashUnclaimedReason, l as ArkadeCashUnclaimedVtxo, m as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, n as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, o as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, p as ProviderKind, q as ProviderUnavailableError, r as REGTEST_MIN_BATCH_EXPIRY_SECONDS, s as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, t as ServerInfoSource, u as ServerResponseMismatchError, v as WaitForIncomingFundsOptions, w as WalletCannotAllocateAddressError, x as assertValidBatchExpiry, y as assertValidServerUnrollScript, z as defaultBatchExpiryPolicy, E as defaultCheckpointExitDelayPolicy, G as isAddressAllocationCapable, J as isArkError, K as isHDAllocationCapable, L as isHDWalletCapable, N as maybeArkError, O as resolveBatchExpiryPolicy, Q as resolveCheckpointExitDelayPolicy, T as resolveDescriptorSigner, U as selectVirtualCoins, V as signingDescriptorIndex, X as strictSigningDescriptorIndex, Y as waitForIncomingFunds } from './hdWalletCapable-DA9bJ5eB.cjs';
5
- import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, W as WitnessRef, l as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, m as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-DSbDm0Io.cjs';
6
- export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, V as VHTLC, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from './index-DSbDm0Io.cjs';
7
- import { D as DefaultVtxo } from './delegate-BJp8f6LT.cjs';
8
- export { a as DelegateVtxo } from './delegate-BJp8f6LT.cjs';
1
+ import { a4 as ReadonlyIdentity, a as Identity, ar as DescriptorSigningRequest, as as Transaction, an as SignerSession, a2 as DescriptorProvider, at as IntentFeeConfig, au as OffchainInput, av as FeeAmount, aw as OnchainInput, ax as FeeOutput, B as IntentRepository, D as ArkIntent, F as IntentFilter, O as Outpoint, H as VirtualTxRepository, J as VirtualTx, K as VtxoBranch, W as WalletRepository, w as ExtendedVirtualCoin, x as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, y as WalletState, v as Contract, C as ContractRepository, z as ContractFilter, I as IWallet, q as ArkProvider, al as SettlementConfig, ay as ContractWatcherConfig, az as Asset, R as Recipient, aA as FeeInfo, k as SettlementEvent, N as NormalizedExtendedVirtualCoin, j as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, aB as CreateContractParams, aC as GetContractsFilter, u as VirtualCoin, aD as GetSpendablePathsOptions, aE as GetAllSpendingPathsOptions, g as GetNewAddressesOptions, aF as IssuanceParams, aG as ReissuanceParams, aH as BurnParams, aI as RenewVtxosOptions, c as WalletBalance, ab as ContractSyncState, ag as ContractWithVtxos, aJ as WatchedScript, aK as PathSelection, h as NewAddress, aL as ContractEvent, aM as AssetDetails, aN as IssuanceResult, aO as DelegateInfo, aP as MigrationGlobalSkipReason, aQ as MigrationLegSkipReason, aR as SignerStatus, a3 as IReadonlyWallet, d as ActivityRegistry, aa as IReadonlyAssetManager, aS as StorageConfig, e as Activity, f as IContractManager, m as IAssetManager, l as SendParams, i as IDelegateManager, aT as IVtxoManager, a5 as OnchainProvider, M as Network, ad as NetworkName, ai as Coin, aU as ExplorerTransaction, ae as ArkInfo, ao as SignedIntent, ap as Intent, aV as TreeNonces, aW as TreePartialSigs, T as TxNotificationEvent, aX as PendingTx, t as TapLeafScript, aY as EncodedVtxoScript, P as CSVMultisigTapscript, s as RelativeTimelock, V as VtxoScript, aZ as Status, af as ArkAddress, a_ as ChainTx, r as IndexerProvider, X as TxTree, a$ as PathContext } from './index-Bxz3cKPA.cjs';
2
+ export { b0 as ActivityIntent, b1 as ActivityResolver, b2 as ArkIntentState, b3 as ArkTapscript, b4 as AssetMetadata, b5 as BITCOIN_EMULATOR_PUBKEY, b6 as BaseWalletConfig, $ as BatchFailedEvent, Z as BatchFinalizationEvent, _ as BatchFinalizedEvent, b7 as BatchInfo, b8 as BatchSignableIdentity, Q as BatchStartedEvent, b9 as CLTVMultisigTapscript, ba as CandidateDeps, bb as ChainTxType, L as ChainedTxType, bc as CommitmentTx, bd as ConditionCSVMultisigTapscript, be as ConditionMultisigTapscript, bf as ContractBalance, bg as ContractEventCallback, bh as ContractHandler, aj as ContractManager, ak as ContractManagerConfig, bi as ContractState, bj as ContractVtxo, bk as ContractVtxoEvent, bl as ContractWatcher, bm as DEFAULT_VTXO_PAGE_SIZE, bn as DelegateManagerImpl, bo as DelegateOptions, a6 as DelegateProvider, bp as DelegatorManagerImpl, bq as DelegatorProvider, br as DeprecatedSignerMigrationReport, bs as DeprecatedSignerReport, bt as DigestMismatchError, bu as Discoverable, bv as DiscoveredContract, bw as DiscoveryDeps, bx as ESPLORA_URL, by as EsploraProvider, bz as EventSourceCapable, bA as EventSourceFactory, bB as EventSourceLike, bC as EventSourceUnavailableError, a8 as ExitCaptureMode, bD as ExitChainResolver, a9 as ExitDataSource, bE as ExtendedContractVtxo, bF as GroupMembership, bG as HandlerError, bH as IDelegatorManager, bI as INTENT_TERMINAL_STATES, bJ as IndexerTxType, bK as IntentCoin, bL as KnownMetadata, bM as MUTINYNET_EMULATOR_PUBKEY, bN as MigrateDeprecatedSignerOptions, bO as MigrationLegReport, bP as MigrationVtxoRef, bQ as MultisigTapscript, bR as NewAddressType, bS as Nonces, bT as Output, bU as PageResponse, bV as PaginationOptions, bW as PartialSig, bX as PrevTxSource, bY as PrevTxUnavailableError, bZ as ProviderClass, b_ as REGTEST_EMULATOR_PUBKEY, b$ as RawTxSource, a7 as ReadonlyWalletConfig, n as RestArkProvider, c0 as RestDelegateProvider, c1 as RestDelegatorProvider, o as RestIndexerProvider, c2 as ScanContractsOptions, c3 as ScanResult, c4 as ScheduledSession, c5 as SettlementEventType, c6 as SignRequest, c7 as SignerClassification, c8 as SignerSet, c9 as SubscriptionEvent, ca as SubscriptionHeartbeat, p as SubscriptionResponse, cb as SweepTxNotification, cc as TapLeaves, cd as TapTreeCoder, ce as TapscriptType, aq as TimeHeight, Y as TreeNoncesEvent, a1 as TreeSignatureEvent, U as TreeSigningStartedEvent, a0 as TreeTxEvent, cf as Tx, cg as TxHistoryRecord, ch as TxKey, ci as TxNotification, cj as TxTag, ck as TxTreeNode, cl as TxType, cm as VirtualStatus, cn as Vtxo, co as VtxoChain, am as VtxoManager, cp as VtxoType, b as WalletConfig, cq as WalletMode, cr as WithPrevTx, cs as assertAllowedSighashTypes, ct as assetMintResolver, cu as attachPrevArkTxs, cv as attachPrevoutTxs, cw as boardingResolver, cx as canRecoverOnchain, cy as canSpendOffchain, cz as canSweepOnchain, cA as classifyAgainstSignerSet, cB as classifyContractSigner, cC as collabExitResolver, cD as configureEventSource, cE as createDefaultActivityRegistry, cF as createExitChainResolver, cG as decodeTapscript, cH as defaultEmulatorPubkey, cI as getConfiguredEventSource, cJ as getNetwork, cK as getRandomId, cL as getSequence, cM as hasCandidates, cN as hasTerminalSpend, cO as isBatchSignable, cP as isContractVtxoEvent, cQ as isCooperativelyMigratable, cR as isDiscoverable, cS as isEventSourceUnavailableError, cT as isExpired, cU as isPastExpiry, cV as isRecoverable, cW as isSigningIdentity, cX as isSpendable, cY as isSubdust, cZ as isTerminalIntentState, c_ as isVirtualCoin, c$ as isVtxoExpiringSoon, d0 as networks, d1 as resolveEmulatorPubkey, d2 as resolveEventSource, d3 as resolvePrevTxs, d4 as scriptFromTapLeafScript, d5 as signerSetFromInfo, d6 as toXOnlySignerHex, d7 as withPrevTxs } from './index-Bxz3cKPA.cjs';
3
+ import { W as Wallet, R as ReadonlyWallet, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './hdWalletCapable-DJT8E8sN.cjs';
4
+ export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashUnclaimedReason, l as ArkadeCashUnclaimedVtxo, m as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, n as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, o as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, p as ProviderKind, q as ProviderUnavailableError, r as REGTEST_MIN_BATCH_EXPIRY_SECONDS, s as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, t as ServerInfoSource, u as ServerResponseMismatchError, v as WaitForIncomingFundsOptions, w as WalletCannotAllocateAddressError, x as assertValidBatchExpiry, y as assertValidServerUnrollScript, z as defaultBatchExpiryPolicy, E as defaultCheckpointExitDelayPolicy, G as isAddressAllocationCapable, J as isArkError, K as isHDAllocationCapable, L as isHDWalletCapable, N as maybeArkError, O as resolveBatchExpiryPolicy, Q as resolveCheckpointExitDelayPolicy, T as resolveDescriptorSigner, U as selectVirtualCoins, V as signingDescriptorIndex, X as strictSigningDescriptorIndex, Y as waitForIncomingFunds } from './hdWalletCapable-DJT8E8sN.cjs';
5
+ import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, W as WitnessRef, l as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, m as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-BVqlZJwW.cjs';
6
+ export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, V as VHTLC, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from './index-BVqlZJwW.cjs';
7
+ import { D as DefaultVtxo } from './delegate-6N0DKdnG.cjs';
8
+ export { a as DelegateVtxo } from './delegate-6N0DKdnG.cjs';
9
9
  import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
10
10
  import { P2TR } from '@scure/btc-signer/payment.js';
11
11
  import { Transaction as Transaction$1, OP, Script, ScriptType } from '@scure/btc-signer';
@@ -2287,6 +2287,10 @@ declare class Ramps {
2287
2287
  * @param feeInfo - The fee info to deduct from the offboard amount.
2288
2288
  * @param amount - The amount to offboard. If not provided, the total amount of virtual outputs will be offboarded.
2289
2289
  * @param eventCallback - Optional callback that receives settlement events
2290
+ * @param vtxos - Specific virtual outputs to spend, mirroring {@link onboard}'s
2291
+ * `boardingUtxos`. Omitted, every spendable one is spent — merging the whole
2292
+ * off-chain balance into a single change output. Taken as given like
2293
+ * `settle({ inputs })`: an `amount` these cannot cover is an error, not a top-up.
2290
2294
  * @returns The Arkade transaction id created by settlement
2291
2295
  * @throws Error if no virtual outputs remain after fee deduction or the destination address cannot be decoded
2292
2296
  * @see IWallet.getSpendableVtxos
@@ -2298,7 +2302,7 @@ declare class Ramps {
2298
2302
  * await ramps.offboard('bc1q...', feeInfo);
2299
2303
  * ```
2300
2304
  */
2301
- offboard(destinationAddress: string, feeInfo: FeeInfo, amount?: bigint, eventCallback?: (event: SettlementEvent) => void): ReturnType<IWallet["settle"]>;
2305
+ offboard(destinationAddress: string, feeInfo: FeeInfo, amount?: bigint, eventCallback?: (event: SettlementEvent) => void, vtxos?: NormalizedExtendedVirtualCoin[]): ReturnType<IWallet["settle"]>;
2302
2306
  }
2303
2307
 
2304
2308
  /**
@@ -2647,26 +2651,26 @@ type ResponseGetContractsWithVtxos = ResponseEnvelope & {
2647
2651
  type RequestWatchScript = RequestEnvelope & {
2648
2652
  type: "WATCH_SCRIPT";
2649
2653
  payload: {
2650
- script: string;
2654
+ script: string | string[];
2651
2655
  label?: string;
2652
2656
  };
2653
2657
  };
2654
2658
  type ResponseWatchScript = ResponseEnvelope & {
2655
2659
  type: "SCRIPT_WATCHED";
2656
2660
  payload: {
2657
- script: string;
2661
+ script: string | string[];
2658
2662
  };
2659
2663
  };
2660
2664
  type RequestUnwatchScript = RequestEnvelope & {
2661
2665
  type: "UNWATCH_SCRIPT";
2662
2666
  payload: {
2663
- script: string;
2667
+ script: string | string[];
2664
2668
  };
2665
2669
  };
2666
2670
  type ResponseUnwatchScript = ResponseEnvelope & {
2667
2671
  type: "SCRIPT_UNWATCHED";
2668
2672
  payload: {
2669
- script: string;
2673
+ script: string | string[];
2670
2674
  };
2671
2675
  };
2672
2676
  type RequestGetWatchedScripts = RequestEnvelope & {
@@ -6168,9 +6172,10 @@ interface PaymentHandle {
6168
6172
  *
6169
6173
  * `fee` is a pre-send estimate wherever the true cost is only fixed later: the
6170
6174
  * swap rails quote from Boltz's advertised pricing and are superseded by the
6171
- * amount Boltz returns at swap creation, and the collaborative exit does not
6172
- * include the per-input intent fees, which depend on the VTXO selection made at
6173
- * settlement. Treat it as a display and ranking figure, not a guarantee.
6175
+ * amount Boltz returns at swap creation, and the collaborative exit omits the
6176
+ * per-input intent fees whenever the request left the VTXO selection to
6177
+ * settlement — naming {@link PaymentRequest.selectedVtxos} fixes them, and they
6178
+ * are priced in. Treat it as a display and ranking figure, not a guarantee.
6174
6179
  */
6175
6180
  interface RouteQuote {
6176
6181
  railId: string;
@@ -6243,6 +6248,17 @@ interface PaymentRequest {
6243
6248
  * Additive: an asset transfer also moves sats, so a 500 USDX request
6244
6249
  * legitimately has both. A rail that cannot deliver assets must REFUSE. */
6245
6250
  assets?: Asset[];
6251
+ /**
6252
+ * Spend exactly these virtual outputs, with the meaning
6253
+ * {@link SendParams.selectedVtxos} already gives it: taken as given, so a
6254
+ * shortfall is an error rather than a top-up, and ungated like
6255
+ * `settle({ inputs })`. Normalized, i.e. what `getSpendableVtxos()` returns.
6256
+ *
6257
+ * Only the rails spending the wallet's own coins can honour it (`ark`,
6258
+ * `ark-asset`, `onchain`). A rail funding its payment through a counterparty
6259
+ * picks its own inputs, so it must REFUSE rather than ignore the selection.
6260
+ */
6261
+ selectedVtxos?: NormalizedExtendedVirtualCoin[];
6246
6262
  }
6247
6263
  /** A payment rail — registered by id, mirrors the ActivityRegistry resolver shape. */
6248
6264
  interface PaymentRail {
@@ -6275,10 +6291,11 @@ declare const isLightningInvoice: (raw: string) => boolean;
6275
6291
  /**
6276
6292
  * True for an LNURL or a Lightning address (`user@host`).
6277
6293
  *
6278
- * TODO(lnurl): no rail consumes this yet — LNURL / Lightning-address routing is
6279
- * planned future work. The predicate is exported ahead of the rail so consumers
6280
- * can classify these targets today; until the rail lands, `route()` throws
6281
- * "no rail for" on them. Keep the export (do not flag as unused).
6294
+ * No rail here consumes it, and that is the layering rather than a gap:
6295
+ * routing an LNURL needs an LNURL client, so the rails ship from
6296
+ * `@arkade-os/lnurl-client/arkade` (`lnurlRails`) and are registered by the
6297
+ * app, as the solver rails from `@arkade-os/swap` are. With none registered,
6298
+ * `route()` throws "no rail for" on these targets.
6282
6299
  */
6283
6300
  declare const isLnurl: (raw: string) => boolean;
6284
6301
  /** True for a bech32 (segwit) or base58 (legacy) Bitcoin address, any network —
@@ -6315,6 +6332,11 @@ declare function assetsOf(req: PaymentRequest): Asset[];
6315
6332
  /** For a BTC-only rail: refusing is what leaves the router free to rank an
6316
6333
  * asset-capable one, instead of paying the carrier and dropping the asset. */
6317
6334
  declare function assertNoAssets(railId: string, req: PaymentRequest): void;
6335
+ /** The inputs a request names. An EMPTY array is still a selection, covering nothing. */
6336
+ declare function selectionOf(req: PaymentRequest): NormalizedExtendedVirtualCoin[] | undefined;
6337
+ /** For a rail whose counterparty funds the spend: ignoring a named input set
6338
+ * would spend coins the caller had promised elsewhere, so refuse instead. */
6339
+ declare function assertNoSelection(railId: string, req: PaymentRequest): void;
6318
6340
  /** Exactly one: `Wallet.send` takes a list because one output can carry
6319
6341
  * several, but a routed PAYMENT is one thing being paid. */
6320
6342
  declare function resolveAssetAmount(railId: string, req: PaymentRequest): Asset;
@@ -6396,9 +6418,10 @@ declare const walletFeeSource: (wallet: Wallet) => () => Promise<FeeInfo>;
6396
6418
  * `offboard` deducts its fee from the amount it is handed, so the rail grosses
6397
6419
  * the amount up first: the recipient receives exactly `quote.amount`, matching
6398
6420
  * the receiver-exact semantics of every other rail (see {@link RouteQuote}).
6399
- * `quote.total` is the offboard amount; the per-input intent fees `offboard`
6400
- * shaves off the selected VTXOs are additional and depend on the selection, so
6401
- * they are not part of the quote.
6421
+ * A request naming `selectedVtxos` offboards exactly those — so the exit need not
6422
+ * sweep the whole off-chain balance into one change output — and only then does
6423
+ * the quote carry the per-input intent fees: unselected, the coins are chosen
6424
+ * later at settlement and there is nothing here to price.
6402
6425
  *
6403
6426
  * An explicit amount is mandatory. To sweep the full balance, call
6404
6427
  * `Ramps.offboard(address, feeInfo)` directly — the router has no amountless path.
@@ -6709,4 +6732,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
6709
6732
  burn(params: BurnParams): Promise<string>;
6710
6733
  }
6711
6734
 
6712
- export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkInfo, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, CachingArkProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, type ConnectorTreeNode, Contract, ContractEvent, ContractRepository, ContractRepositoryImpl, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DatabaseUpgradeBlockedError, DefaultVtxo, DelegateInfo, DelegateNotConfiguredError, DelegatorNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, type DescriptorSigner, DescriptorSigningProviderMissingError, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, type EmulatorInfo, EmulatorPacket, type 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, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetNewAddressesOptions, GetVtxosFilter, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, IndexerProvider, Intent, IntentFeeConfig, IntentFilter, IntentRepository, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, type ManagedConnection, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, type MigrationStatus, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, NewAddress, OffchainInput, type OffchainTx, type OnExitObserved, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, P2A, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedIntent, SignerSession, SignerStatus, SingleKey, Status, StorageConfig, TapLeafScript, Transaction, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, WalletRepositoryImpl, type WalletRestoreHook, WatchedScript, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertSendableAmount, assertSubmittedArkTxid, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, decodeArkContract, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, getMigrationStatus, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, requiresMigration, resolveAssetAmount, resolveSendAmount, rollbackMigration, sdkVersion, selectCoinsWithAsset, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
6735
+ export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkInfo, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, CachingArkProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, type ConnectorTreeNode, Contract, ContractEvent, ContractRepository, ContractRepositoryImpl, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DatabaseUpgradeBlockedError, DefaultVtxo, DelegateInfo, DelegateNotConfiguredError, DelegatorNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, type DescriptorSigner, DescriptorSigningProviderMissingError, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, type EmulatorInfo, EmulatorPacket, type 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, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetNewAddressesOptions, GetVtxosFilter, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, IndexerProvider, Intent, IntentFeeConfig, IntentFilter, IntentRepository, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, type ManagedConnection, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, type MigrationStatus, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, NewAddress, NormalizedExtendedVirtualCoin, OffchainInput, type OffchainTx, type OnExitObserved, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, P2A, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedIntent, SignerSession, SignerStatus, SingleKey, Status, StorageConfig, TapLeafScript, Transaction, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, WalletRepositoryImpl, type WalletRestoreHook, WatchedScript, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertSendableAmount, assertSubmittedArkTxid, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, decodeArkContract, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, getMigrationStatus, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, requiresMigration, resolveAssetAmount, resolveSendAmount, rollbackMigration, sdkVersion, selectCoinsWithAsset, selectionOf, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { a4 as ReadonlyIdentity, a as Identity, ar as DescriptorSigningRequest, as as Transaction, an as SignerSession, a2 as DescriptorProvider, at as IntentFeeConfig, au as OffchainInput, av as FeeAmount, aw as OnchainInput, ax as FeeOutput, B as IntentRepository, D as ArkIntent, F as IntentFilter, O as Outpoint, H as VirtualTxRepository, J as VirtualTx, K as VtxoBranch, W as WalletRepository, w as ExtendedVirtualCoin, x as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, y as WalletState, v as Contract, C as ContractRepository, z as ContractFilter, I as IWallet, q as ArkProvider, al as SettlementConfig, ay as ContractWatcherConfig, az as Asset, R as Recipient, aA as FeeInfo, k as SettlementEvent, j as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, aB as CreateContractParams, aC as GetContractsFilter, u as VirtualCoin, aD as GetSpendablePathsOptions, aE as GetAllSpendingPathsOptions, g as GetNewAddressesOptions, aF as IssuanceParams, aG as ReissuanceParams, aH as BurnParams, aI as RenewVtxosOptions, c as WalletBalance, ab as ContractSyncState, ag as ContractWithVtxos, aJ as WatchedScript, aK as PathSelection, h as NewAddress, aL as ContractEvent, aM as AssetDetails, aN as IssuanceResult, aO as DelegateInfo, aP as MigrationGlobalSkipReason, aQ as MigrationLegSkipReason, aR as SignerStatus, a3 as IReadonlyWallet, d as ActivityRegistry, aa as IReadonlyAssetManager, aS as StorageConfig, e as Activity, N as NormalizedExtendedVirtualCoin, f as IContractManager, m as IAssetManager, l as SendParams, i as IDelegateManager, aT as IVtxoManager, a5 as OnchainProvider, M as Network, ad as NetworkName, ai as Coin, aU as ExplorerTransaction, ae as ArkInfo, ao as SignedIntent, ap as Intent, aV as TreeNonces, aW as TreePartialSigs, T as TxNotificationEvent, aX as PendingTx, t as TapLeafScript, aY as EncodedVtxoScript, P as CSVMultisigTapscript, s as RelativeTimelock, V as VtxoScript, aZ as Status, af as ArkAddress, a_ as ChainTx, r as IndexerProvider, X as TxTree, a$ as PathContext } from './index-Dg0-TvBQ.js';
2
- export { b0 as ActivityIntent, b1 as ActivityResolver, b2 as ArkIntentState, b3 as ArkTapscript, b4 as AssetMetadata, b5 as BITCOIN_EMULATOR_PUBKEY, b6 as BaseWalletConfig, $ as BatchFailedEvent, Z as BatchFinalizationEvent, _ as BatchFinalizedEvent, b7 as BatchInfo, b8 as BatchSignableIdentity, Q as BatchStartedEvent, b9 as CLTVMultisigTapscript, ba as CandidateDeps, bb as ChainTxType, L as ChainedTxType, bc as CommitmentTx, bd as ConditionCSVMultisigTapscript, be as ConditionMultisigTapscript, bf as ContractBalance, bg as ContractEventCallback, bh as ContractHandler, aj as ContractManager, ak as ContractManagerConfig, bi as ContractState, bj as ContractVtxo, bk as ContractVtxoEvent, bl as ContractWatcher, bm as DEFAULT_VTXO_PAGE_SIZE, bn as DelegateManagerImpl, bo as DelegateOptions, a6 as DelegateProvider, bp as DelegatorManagerImpl, bq as DelegatorProvider, br as DeprecatedSignerMigrationReport, bs as DeprecatedSignerReport, bt as DigestMismatchError, bu as Discoverable, bv as DiscoveredContract, bw as DiscoveryDeps, bx as ESPLORA_URL, by as EsploraProvider, bz as EventSourceCapable, bA as EventSourceFactory, bB as EventSourceLike, bC as EventSourceUnavailableError, a8 as ExitCaptureMode, bD as ExitChainResolver, a9 as ExitDataSource, bE as ExtendedContractVtxo, bF as GroupMembership, bG as HandlerError, bH as IDelegatorManager, bI as INTENT_TERMINAL_STATES, bJ as IndexerTxType, bK as IntentCoin, bL as KnownMetadata, bM as MUTINYNET_EMULATOR_PUBKEY, bN as MigrateDeprecatedSignerOptions, bO as MigrationLegReport, bP as MigrationVtxoRef, bQ as MultisigTapscript, bR as NewAddressType, bS as Nonces, bT as Output, bU as PageResponse, bV as PaginationOptions, bW as PartialSig, bX as PrevTxSource, bY as PrevTxUnavailableError, bZ as ProviderClass, b_ as REGTEST_EMULATOR_PUBKEY, b$ as RawTxSource, a7 as ReadonlyWalletConfig, n as RestArkProvider, c0 as RestDelegateProvider, c1 as RestDelegatorProvider, o as RestIndexerProvider, c2 as ScanContractsOptions, c3 as ScanResult, c4 as ScheduledSession, c5 as SettlementEventType, c6 as SignRequest, c7 as SignerClassification, c8 as SignerSet, c9 as SubscriptionEvent, ca as SubscriptionHeartbeat, p as SubscriptionResponse, cb as SweepTxNotification, cc as TapLeaves, cd as TapTreeCoder, ce as TapscriptType, aq as TimeHeight, Y as TreeNoncesEvent, a1 as TreeSignatureEvent, U as TreeSigningStartedEvent, a0 as TreeTxEvent, cf as Tx, cg as TxHistoryRecord, ch as TxKey, ci as TxNotification, cj as TxTag, ck as TxTreeNode, cl as TxType, cm as VirtualStatus, cn as Vtxo, co as VtxoChain, am as VtxoManager, cp as VtxoType, b as WalletConfig, cq as WalletMode, cr as WithPrevTx, cs as assertAllowedSighashTypes, ct as assetMintResolver, cu as attachPrevArkTxs, cv as attachPrevoutTxs, cw as boardingResolver, cx as canRecoverOnchain, cy as canSpendOffchain, cz as canSweepOnchain, cA as classifyAgainstSignerSet, cB as classifyContractSigner, cC as collabExitResolver, cD as configureEventSource, cE as createDefaultActivityRegistry, cF as createExitChainResolver, cG as decodeTapscript, cH as defaultEmulatorPubkey, cI as getConfiguredEventSource, cJ as getNetwork, cK as getRandomId, cL as getSequence, cM as hasCandidates, cN as hasTerminalSpend, cO as isBatchSignable, cP as isContractVtxoEvent, cQ as isCooperativelyMigratable, cR as isDiscoverable, cS as isEventSourceUnavailableError, cT as isExpired, cU as isPastExpiry, cV as isRecoverable, cW as isSigningIdentity, cX as isSpendable, cY as isSubdust, cZ as isTerminalIntentState, c_ as isVirtualCoin, c$ as isVtxoExpiringSoon, d0 as networks, d1 as resolveEmulatorPubkey, d2 as resolveEventSource, d3 as resolvePrevTxs, d4 as scriptFromTapLeafScript, d5 as signerSetFromInfo, d6 as toXOnlySignerHex, d7 as withPrevTxs } from './index-Dg0-TvBQ.js';
3
- import { W as Wallet, R as ReadonlyWallet, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './hdWalletCapable-DABgAD-T.js';
4
- export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashUnclaimedReason, l as ArkadeCashUnclaimedVtxo, m as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, n as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, o as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, p as ProviderKind, q as ProviderUnavailableError, r as REGTEST_MIN_BATCH_EXPIRY_SECONDS, s as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, t as ServerInfoSource, u as ServerResponseMismatchError, v as WaitForIncomingFundsOptions, w as WalletCannotAllocateAddressError, x as assertValidBatchExpiry, y as assertValidServerUnrollScript, z as defaultBatchExpiryPolicy, E as defaultCheckpointExitDelayPolicy, G as isAddressAllocationCapable, J as isArkError, K as isHDAllocationCapable, L as isHDWalletCapable, N as maybeArkError, O as resolveBatchExpiryPolicy, Q as resolveCheckpointExitDelayPolicy, T as resolveDescriptorSigner, U as selectVirtualCoins, V as signingDescriptorIndex, X as strictSigningDescriptorIndex, Y as waitForIncomingFunds } from './hdWalletCapable-DABgAD-T.js';
5
- import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, W as WitnessRef, l as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, m as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-B8xrELXY.js';
6
- export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, V as VHTLC, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from './index-B8xrELXY.js';
7
- import { D as DefaultVtxo } from './delegate-Ckz_TWzM.js';
8
- export { a as DelegateVtxo } from './delegate-Ckz_TWzM.js';
1
+ import { a4 as ReadonlyIdentity, a as Identity, ar as DescriptorSigningRequest, as as Transaction, an as SignerSession, a2 as DescriptorProvider, at as IntentFeeConfig, au as OffchainInput, av as FeeAmount, aw as OnchainInput, ax as FeeOutput, B as IntentRepository, D as ArkIntent, F as IntentFilter, O as Outpoint, H as VirtualTxRepository, J as VirtualTx, K as VtxoBranch, W as WalletRepository, w as ExtendedVirtualCoin, x as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, y as WalletState, v as Contract, C as ContractRepository, z as ContractFilter, I as IWallet, q as ArkProvider, al as SettlementConfig, ay as ContractWatcherConfig, az as Asset, R as Recipient, aA as FeeInfo, k as SettlementEvent, N as NormalizedExtendedVirtualCoin, j as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, aB as CreateContractParams, aC as GetContractsFilter, u as VirtualCoin, aD as GetSpendablePathsOptions, aE as GetAllSpendingPathsOptions, g as GetNewAddressesOptions, aF as IssuanceParams, aG as ReissuanceParams, aH as BurnParams, aI as RenewVtxosOptions, c as WalletBalance, ab as ContractSyncState, ag as ContractWithVtxos, aJ as WatchedScript, aK as PathSelection, h as NewAddress, aL as ContractEvent, aM as AssetDetails, aN as IssuanceResult, aO as DelegateInfo, aP as MigrationGlobalSkipReason, aQ as MigrationLegSkipReason, aR as SignerStatus, a3 as IReadonlyWallet, d as ActivityRegistry, aa as IReadonlyAssetManager, aS as StorageConfig, e as Activity, f as IContractManager, m as IAssetManager, l as SendParams, i as IDelegateManager, aT as IVtxoManager, a5 as OnchainProvider, M as Network, ad as NetworkName, ai as Coin, aU as ExplorerTransaction, ae as ArkInfo, ao as SignedIntent, ap as Intent, aV as TreeNonces, aW as TreePartialSigs, T as TxNotificationEvent, aX as PendingTx, t as TapLeafScript, aY as EncodedVtxoScript, P as CSVMultisigTapscript, s as RelativeTimelock, V as VtxoScript, aZ as Status, af as ArkAddress, a_ as ChainTx, r as IndexerProvider, X as TxTree, a$ as PathContext } from './index-Bxz3cKPA.js';
2
+ export { b0 as ActivityIntent, b1 as ActivityResolver, b2 as ArkIntentState, b3 as ArkTapscript, b4 as AssetMetadata, b5 as BITCOIN_EMULATOR_PUBKEY, b6 as BaseWalletConfig, $ as BatchFailedEvent, Z as BatchFinalizationEvent, _ as BatchFinalizedEvent, b7 as BatchInfo, b8 as BatchSignableIdentity, Q as BatchStartedEvent, b9 as CLTVMultisigTapscript, ba as CandidateDeps, bb as ChainTxType, L as ChainedTxType, bc as CommitmentTx, bd as ConditionCSVMultisigTapscript, be as ConditionMultisigTapscript, bf as ContractBalance, bg as ContractEventCallback, bh as ContractHandler, aj as ContractManager, ak as ContractManagerConfig, bi as ContractState, bj as ContractVtxo, bk as ContractVtxoEvent, bl as ContractWatcher, bm as DEFAULT_VTXO_PAGE_SIZE, bn as DelegateManagerImpl, bo as DelegateOptions, a6 as DelegateProvider, bp as DelegatorManagerImpl, bq as DelegatorProvider, br as DeprecatedSignerMigrationReport, bs as DeprecatedSignerReport, bt as DigestMismatchError, bu as Discoverable, bv as DiscoveredContract, bw as DiscoveryDeps, bx as ESPLORA_URL, by as EsploraProvider, bz as EventSourceCapable, bA as EventSourceFactory, bB as EventSourceLike, bC as EventSourceUnavailableError, a8 as ExitCaptureMode, bD as ExitChainResolver, a9 as ExitDataSource, bE as ExtendedContractVtxo, bF as GroupMembership, bG as HandlerError, bH as IDelegatorManager, bI as INTENT_TERMINAL_STATES, bJ as IndexerTxType, bK as IntentCoin, bL as KnownMetadata, bM as MUTINYNET_EMULATOR_PUBKEY, bN as MigrateDeprecatedSignerOptions, bO as MigrationLegReport, bP as MigrationVtxoRef, bQ as MultisigTapscript, bR as NewAddressType, bS as Nonces, bT as Output, bU as PageResponse, bV as PaginationOptions, bW as PartialSig, bX as PrevTxSource, bY as PrevTxUnavailableError, bZ as ProviderClass, b_ as REGTEST_EMULATOR_PUBKEY, b$ as RawTxSource, a7 as ReadonlyWalletConfig, n as RestArkProvider, c0 as RestDelegateProvider, c1 as RestDelegatorProvider, o as RestIndexerProvider, c2 as ScanContractsOptions, c3 as ScanResult, c4 as ScheduledSession, c5 as SettlementEventType, c6 as SignRequest, c7 as SignerClassification, c8 as SignerSet, c9 as SubscriptionEvent, ca as SubscriptionHeartbeat, p as SubscriptionResponse, cb as SweepTxNotification, cc as TapLeaves, cd as TapTreeCoder, ce as TapscriptType, aq as TimeHeight, Y as TreeNoncesEvent, a1 as TreeSignatureEvent, U as TreeSigningStartedEvent, a0 as TreeTxEvent, cf as Tx, cg as TxHistoryRecord, ch as TxKey, ci as TxNotification, cj as TxTag, ck as TxTreeNode, cl as TxType, cm as VirtualStatus, cn as Vtxo, co as VtxoChain, am as VtxoManager, cp as VtxoType, b as WalletConfig, cq as WalletMode, cr as WithPrevTx, cs as assertAllowedSighashTypes, ct as assetMintResolver, cu as attachPrevArkTxs, cv as attachPrevoutTxs, cw as boardingResolver, cx as canRecoverOnchain, cy as canSpendOffchain, cz as canSweepOnchain, cA as classifyAgainstSignerSet, cB as classifyContractSigner, cC as collabExitResolver, cD as configureEventSource, cE as createDefaultActivityRegistry, cF as createExitChainResolver, cG as decodeTapscript, cH as defaultEmulatorPubkey, cI as getConfiguredEventSource, cJ as getNetwork, cK as getRandomId, cL as getSequence, cM as hasCandidates, cN as hasTerminalSpend, cO as isBatchSignable, cP as isContractVtxoEvent, cQ as isCooperativelyMigratable, cR as isDiscoverable, cS as isEventSourceUnavailableError, cT as isExpired, cU as isPastExpiry, cV as isRecoverable, cW as isSigningIdentity, cX as isSpendable, cY as isSubdust, cZ as isTerminalIntentState, c_ as isVirtualCoin, c$ as isVtxoExpiringSoon, d0 as networks, d1 as resolveEmulatorPubkey, d2 as resolveEventSource, d3 as resolvePrevTxs, d4 as scriptFromTapLeafScript, d5 as signerSetFromInfo, d6 as toXOnlySignerHex, d7 as withPrevTxs } from './index-Bxz3cKPA.js';
3
+ import { W as Wallet, R as ReadonlyWallet, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './hdWalletCapable-Bncp-eF0.js';
4
+ export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashUnclaimedReason, l as ArkadeCashUnclaimedVtxo, m as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, n as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, o as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, p as ProviderKind, q as ProviderUnavailableError, r as REGTEST_MIN_BATCH_EXPIRY_SECONDS, s as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, t as ServerInfoSource, u as ServerResponseMismatchError, v as WaitForIncomingFundsOptions, w as WalletCannotAllocateAddressError, x as assertValidBatchExpiry, y as assertValidServerUnrollScript, z as defaultBatchExpiryPolicy, E as defaultCheckpointExitDelayPolicy, G as isAddressAllocationCapable, J as isArkError, K as isHDAllocationCapable, L as isHDWalletCapable, N as maybeArkError, O as resolveBatchExpiryPolicy, Q as resolveCheckpointExitDelayPolicy, T as resolveDescriptorSigner, U as selectVirtualCoins, V as signingDescriptorIndex, X as strictSigningDescriptorIndex, Y as waitForIncomingFunds } from './hdWalletCapable-Bncp-eF0.js';
5
+ import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, W as WitnessRef, l as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, m as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-CKQQ1oOg.js';
6
+ export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, V as VHTLC, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from './index-CKQQ1oOg.js';
7
+ import { D as DefaultVtxo } from './delegate-z6veQfLI.js';
8
+ export { a as DelegateVtxo } from './delegate-z6veQfLI.js';
9
9
  import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
10
10
  import { P2TR } from '@scure/btc-signer/payment.js';
11
11
  import { Transaction as Transaction$1, OP, Script, ScriptType } from '@scure/btc-signer';
@@ -2287,6 +2287,10 @@ declare class Ramps {
2287
2287
  * @param feeInfo - The fee info to deduct from the offboard amount.
2288
2288
  * @param amount - The amount to offboard. If not provided, the total amount of virtual outputs will be offboarded.
2289
2289
  * @param eventCallback - Optional callback that receives settlement events
2290
+ * @param vtxos - Specific virtual outputs to spend, mirroring {@link onboard}'s
2291
+ * `boardingUtxos`. Omitted, every spendable one is spent — merging the whole
2292
+ * off-chain balance into a single change output. Taken as given like
2293
+ * `settle({ inputs })`: an `amount` these cannot cover is an error, not a top-up.
2290
2294
  * @returns The Arkade transaction id created by settlement
2291
2295
  * @throws Error if no virtual outputs remain after fee deduction or the destination address cannot be decoded
2292
2296
  * @see IWallet.getSpendableVtxos
@@ -2298,7 +2302,7 @@ declare class Ramps {
2298
2302
  * await ramps.offboard('bc1q...', feeInfo);
2299
2303
  * ```
2300
2304
  */
2301
- offboard(destinationAddress: string, feeInfo: FeeInfo, amount?: bigint, eventCallback?: (event: SettlementEvent) => void): ReturnType<IWallet["settle"]>;
2305
+ offboard(destinationAddress: string, feeInfo: FeeInfo, amount?: bigint, eventCallback?: (event: SettlementEvent) => void, vtxos?: NormalizedExtendedVirtualCoin[]): ReturnType<IWallet["settle"]>;
2302
2306
  }
2303
2307
 
2304
2308
  /**
@@ -2647,26 +2651,26 @@ type ResponseGetContractsWithVtxos = ResponseEnvelope & {
2647
2651
  type RequestWatchScript = RequestEnvelope & {
2648
2652
  type: "WATCH_SCRIPT";
2649
2653
  payload: {
2650
- script: string;
2654
+ script: string | string[];
2651
2655
  label?: string;
2652
2656
  };
2653
2657
  };
2654
2658
  type ResponseWatchScript = ResponseEnvelope & {
2655
2659
  type: "SCRIPT_WATCHED";
2656
2660
  payload: {
2657
- script: string;
2661
+ script: string | string[];
2658
2662
  };
2659
2663
  };
2660
2664
  type RequestUnwatchScript = RequestEnvelope & {
2661
2665
  type: "UNWATCH_SCRIPT";
2662
2666
  payload: {
2663
- script: string;
2667
+ script: string | string[];
2664
2668
  };
2665
2669
  };
2666
2670
  type ResponseUnwatchScript = ResponseEnvelope & {
2667
2671
  type: "SCRIPT_UNWATCHED";
2668
2672
  payload: {
2669
- script: string;
2673
+ script: string | string[];
2670
2674
  };
2671
2675
  };
2672
2676
  type RequestGetWatchedScripts = RequestEnvelope & {
@@ -6168,9 +6172,10 @@ interface PaymentHandle {
6168
6172
  *
6169
6173
  * `fee` is a pre-send estimate wherever the true cost is only fixed later: the
6170
6174
  * swap rails quote from Boltz's advertised pricing and are superseded by the
6171
- * amount Boltz returns at swap creation, and the collaborative exit does not
6172
- * include the per-input intent fees, which depend on the VTXO selection made at
6173
- * settlement. Treat it as a display and ranking figure, not a guarantee.
6175
+ * amount Boltz returns at swap creation, and the collaborative exit omits the
6176
+ * per-input intent fees whenever the request left the VTXO selection to
6177
+ * settlement — naming {@link PaymentRequest.selectedVtxos} fixes them, and they
6178
+ * are priced in. Treat it as a display and ranking figure, not a guarantee.
6174
6179
  */
6175
6180
  interface RouteQuote {
6176
6181
  railId: string;
@@ -6243,6 +6248,17 @@ interface PaymentRequest {
6243
6248
  * Additive: an asset transfer also moves sats, so a 500 USDX request
6244
6249
  * legitimately has both. A rail that cannot deliver assets must REFUSE. */
6245
6250
  assets?: Asset[];
6251
+ /**
6252
+ * Spend exactly these virtual outputs, with the meaning
6253
+ * {@link SendParams.selectedVtxos} already gives it: taken as given, so a
6254
+ * shortfall is an error rather than a top-up, and ungated like
6255
+ * `settle({ inputs })`. Normalized, i.e. what `getSpendableVtxos()` returns.
6256
+ *
6257
+ * Only the rails spending the wallet's own coins can honour it (`ark`,
6258
+ * `ark-asset`, `onchain`). A rail funding its payment through a counterparty
6259
+ * picks its own inputs, so it must REFUSE rather than ignore the selection.
6260
+ */
6261
+ selectedVtxos?: NormalizedExtendedVirtualCoin[];
6246
6262
  }
6247
6263
  /** A payment rail — registered by id, mirrors the ActivityRegistry resolver shape. */
6248
6264
  interface PaymentRail {
@@ -6275,10 +6291,11 @@ declare const isLightningInvoice: (raw: string) => boolean;
6275
6291
  /**
6276
6292
  * True for an LNURL or a Lightning address (`user@host`).
6277
6293
  *
6278
- * TODO(lnurl): no rail consumes this yet — LNURL / Lightning-address routing is
6279
- * planned future work. The predicate is exported ahead of the rail so consumers
6280
- * can classify these targets today; until the rail lands, `route()` throws
6281
- * "no rail for" on them. Keep the export (do not flag as unused).
6294
+ * No rail here consumes it, and that is the layering rather than a gap:
6295
+ * routing an LNURL needs an LNURL client, so the rails ship from
6296
+ * `@arkade-os/lnurl-client/arkade` (`lnurlRails`) and are registered by the
6297
+ * app, as the solver rails from `@arkade-os/swap` are. With none registered,
6298
+ * `route()` throws "no rail for" on these targets.
6282
6299
  */
6283
6300
  declare const isLnurl: (raw: string) => boolean;
6284
6301
  /** True for a bech32 (segwit) or base58 (legacy) Bitcoin address, any network —
@@ -6315,6 +6332,11 @@ declare function assetsOf(req: PaymentRequest): Asset[];
6315
6332
  /** For a BTC-only rail: refusing is what leaves the router free to rank an
6316
6333
  * asset-capable one, instead of paying the carrier and dropping the asset. */
6317
6334
  declare function assertNoAssets(railId: string, req: PaymentRequest): void;
6335
+ /** The inputs a request names. An EMPTY array is still a selection, covering nothing. */
6336
+ declare function selectionOf(req: PaymentRequest): NormalizedExtendedVirtualCoin[] | undefined;
6337
+ /** For a rail whose counterparty funds the spend: ignoring a named input set
6338
+ * would spend coins the caller had promised elsewhere, so refuse instead. */
6339
+ declare function assertNoSelection(railId: string, req: PaymentRequest): void;
6318
6340
  /** Exactly one: `Wallet.send` takes a list because one output can carry
6319
6341
  * several, but a routed PAYMENT is one thing being paid. */
6320
6342
  declare function resolveAssetAmount(railId: string, req: PaymentRequest): Asset;
@@ -6396,9 +6418,10 @@ declare const walletFeeSource: (wallet: Wallet) => () => Promise<FeeInfo>;
6396
6418
  * `offboard` deducts its fee from the amount it is handed, so the rail grosses
6397
6419
  * the amount up first: the recipient receives exactly `quote.amount`, matching
6398
6420
  * the receiver-exact semantics of every other rail (see {@link RouteQuote}).
6399
- * `quote.total` is the offboard amount; the per-input intent fees `offboard`
6400
- * shaves off the selected VTXOs are additional and depend on the selection, so
6401
- * they are not part of the quote.
6421
+ * A request naming `selectedVtxos` offboards exactly those — so the exit need not
6422
+ * sweep the whole off-chain balance into one change output — and only then does
6423
+ * the quote carry the per-input intent fees: unselected, the coins are chosen
6424
+ * later at settlement and there is nothing here to price.
6402
6425
  *
6403
6426
  * An explicit amount is mandatory. To sweep the full balance, call
6404
6427
  * `Ramps.offboard(address, feeInfo)` directly — the router has no amountless path.
@@ -6709,4 +6732,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
6709
6732
  burn(params: BurnParams): Promise<string>;
6710
6733
  }
6711
6734
 
6712
- export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkInfo, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, CachingArkProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, type ConnectorTreeNode, Contract, ContractEvent, ContractRepository, ContractRepositoryImpl, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DatabaseUpgradeBlockedError, DefaultVtxo, DelegateInfo, DelegateNotConfiguredError, DelegatorNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, type DescriptorSigner, DescriptorSigningProviderMissingError, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, type EmulatorInfo, EmulatorPacket, type 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, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetNewAddressesOptions, GetVtxosFilter, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, IndexerProvider, Intent, IntentFeeConfig, IntentFilter, IntentRepository, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, type ManagedConnection, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, type MigrationStatus, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, NewAddress, OffchainInput, type OffchainTx, type OnExitObserved, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, P2A, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedIntent, SignerSession, SignerStatus, SingleKey, Status, StorageConfig, TapLeafScript, Transaction, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, WalletRepositoryImpl, type WalletRestoreHook, WatchedScript, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertSendableAmount, assertSubmittedArkTxid, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, decodeArkContract, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, getMigrationStatus, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, requiresMigration, resolveAssetAmount, resolveSendAmount, rollbackMigration, sdkVersion, selectCoinsWithAsset, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
6735
+ export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkInfo, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, CachingArkProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, type ConnectorTreeNode, Contract, ContractEvent, ContractRepository, ContractRepositoryImpl, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DatabaseUpgradeBlockedError, DefaultVtxo, DelegateInfo, DelegateNotConfiguredError, DelegatorNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, type DescriptorSigner, DescriptorSigningProviderMissingError, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, type EmulatorInfo, EmulatorPacket, type 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, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetNewAddressesOptions, GetVtxosFilter, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, IndexerProvider, Intent, IntentFeeConfig, IntentFilter, IntentRepository, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, type ManagedConnection, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, type MigrationStatus, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, NewAddress, NormalizedExtendedVirtualCoin, OffchainInput, type OffchainTx, type OnExitObserved, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, P2A, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedIntent, SignerSession, SignerStatus, SingleKey, Status, StorageConfig, TapLeafScript, Transaction, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, WalletRepositoryImpl, type WalletRestoreHook, WatchedScript, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertSendableAmount, assertSubmittedArkTxid, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, decodeArkContract, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, getMigrationStatus, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, requiresMigration, resolveAssetAmount, resolveSendAmount, rollbackMigration, sdkVersion, selectCoinsWithAsset, selectionOf, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, AbortError, ActivityRegistry, AmbiguousRouteError, ArkNote, ArkadeCash, ArkadeCashCreateError, AssetManager, BIP21, BIP21Error, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, CachingArkProvider, ChainedTxType, ConnectionDisposedError, ContractManager, ContractRepositoryImpl, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, DatabaseUpgradeBlockedError, DelegateManagerImpl, DelegateNotConfiguredError, DelegatorManagerImpl, DelegatorNotConfiguredError, DescriptorIdentity, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EmulatorPacket, EsploraProvider, Estimator, Extension, ExtensionNotFoundError, ForeignDescriptorError, HDDescriptorProvider, INTENT_TERMINAL_STATES, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainWallet, P2A, PaymentRouter, PrevTxUnavailableError, REGTEST_MIN_BATCH_EXPIRY_SECONDS, REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestDelegatorProvider, RestEmulatorProvider, SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, SeedIdentity, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, Wallet, WalletCannotAllocateAddressError, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepositoryImpl, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, arkade_exports as arkade, assertFinalCommitmentMatchesValidated, assertNoAssets, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, assetsOf, attachPrevArkTxs, attachPrevoutTxs, awaitTransaction, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, claimWithPreimageIdentity, classifyAgainstSignerSet, classifyContractSigner, closeDatabase, collabExitResolver, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, createManagedConnection, decodeArkContract, defaultBatchExpiryPolicy, defaultCheckpointExitDelayPolicy, deleteByIndex, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getMigrationStatus, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isAddressAllocationCapable, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isContractVtxoEvent, isCooperativelyMigratable, isDeterministicSigner, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isSigningIdentity, isSubdust, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, requiresMigration, resolveAssetAmount, resolveBatchExpiryPolicy, resolveCheckpointExitDelayPolicy, resolveDescriptorSigner, resolvePrevTxs, resolveSendAmount, rollbackMigration, selectCoinsWithAsset, selectVirtualCoins, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signerSetFromInfo, signingDescriptorIndex, strictSigningDescriptorIndex, toXOnlySignerHex, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds, walletFeeSource, withPrevTxs } from './chunk-YHJJSLE5.js';
2
- export { ChainTxType, DEFAULT_VTXO_PAGE_SIZE, IndexerTxType, RestIndexerProvider, asset_exports as asset } from './chunk-M6HIWM5N.js';
3
- export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, identityDescriptor, isCltvSatisfied, isCsvSpendable, normalizeToDescriptor, parseHDDescriptor, toXOnly } from './chunk-G5RPUZJE.js';
4
- export { ArkAddress, ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, ConditionWitness, CosignerPublicKey, DigestMismatchError, EventSourceUnavailableError, FetchError, Intent, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, PrevArkTxField, PrevoutTxField, ProviderUnavailableError, READ_TIMEOUT_MS, REGTEST_EMULATOR_PUBKEY, RestArkProvider, ServerResponseMismatchError, SettlementEventType, TapTreeCoder, Transaction, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, assembleBtcdTaprootTree, assertAllowedSighashTypes, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, decodeTapscript, defaultEmulatorPubkey, getArkPsbtFields, getConfiguredEventSource, getNetwork, getSequence, hasTerminalSpend, isArkError, isEventSourceUnavailableError, isExpired, isPastExpiry, isRecoverable, isRetryableProviderError, isSpendable, isVirtualCoin, maybeArkError, networks, resolveEmulatorPubkey, resolveEventSource, scriptFromTapLeafScript, sdkVersion, sequenceToTimelock, setArkPsbtField, timelockToSequence } from './chunk-OV4GLPZI.js';
1
+ export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, AbortError, ActivityRegistry, AmbiguousRouteError, ArkNote, ArkadeCash, ArkadeCashCreateError, AssetManager, BIP21, BIP21Error, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, CachingArkProvider, ChainedTxType, ConnectionDisposedError, ContractManager, ContractRepositoryImpl, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, DatabaseUpgradeBlockedError, DelegateManagerImpl, DelegateNotConfiguredError, DelegatorManagerImpl, DelegatorNotConfiguredError, DescriptorIdentity, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EmulatorPacket, EsploraProvider, Estimator, Extension, ExtensionNotFoundError, ForeignDescriptorError, HDDescriptorProvider, INTENT_TERMINAL_STATES, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainWallet, P2A, PaymentRouter, PrevTxUnavailableError, REGTEST_MIN_BATCH_EXPIRY_SECONDS, REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestDelegatorProvider, RestEmulatorProvider, SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, SeedIdentity, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, Wallet, WalletCannotAllocateAddressError, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepositoryImpl, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, arkade_exports as arkade, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, assetsOf, attachPrevArkTxs, attachPrevoutTxs, awaitTransaction, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, claimWithPreimageIdentity, classifyAgainstSignerSet, classifyContractSigner, closeDatabase, collabExitResolver, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, createManagedConnection, decodeArkContract, defaultBatchExpiryPolicy, defaultCheckpointExitDelayPolicy, deleteByIndex, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getMigrationStatus, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isAddressAllocationCapable, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isContractVtxoEvent, isCooperativelyMigratable, isDeterministicSigner, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isSigningIdentity, isSubdust, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, requiresMigration, resolveAssetAmount, resolveBatchExpiryPolicy, resolveCheckpointExitDelayPolicy, resolveDescriptorSigner, resolvePrevTxs, resolveSendAmount, rollbackMigration, selectCoinsWithAsset, selectVirtualCoins, selectionOf, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signerSetFromInfo, signingDescriptorIndex, strictSigningDescriptorIndex, toXOnlySignerHex, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds, walletFeeSource, withPrevTxs } from './chunk-ZTGTQP2W.js';
2
+ export { ChainTxType, DEFAULT_VTXO_PAGE_SIZE, IndexerTxType, RestIndexerProvider, asset_exports as asset } from './chunk-X5BPARRD.js';
3
+ export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, identityDescriptor, isCltvSatisfied, isCsvSpendable, normalizeToDescriptor, parseHDDescriptor, toXOnly } from './chunk-LGB65ZCO.js';
4
+ export { ArkAddress, ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, ConditionWitness, CosignerPublicKey, DigestMismatchError, EventSourceUnavailableError, FetchError, Intent, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, PrevArkTxField, PrevoutTxField, ProviderUnavailableError, READ_TIMEOUT_MS, REGTEST_EMULATOR_PUBKEY, RestArkProvider, ServerResponseMismatchError, SettlementEventType, TapTreeCoder, Transaction, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, assembleBtcdTaprootTree, assertAllowedSighashTypes, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, decodeTapscript, defaultEmulatorPubkey, getArkPsbtFields, getConfiguredEventSource, getNetwork, getSequence, hasTerminalSpend, isArkError, isEventSourceUnavailableError, isExpired, isPastExpiry, isRecoverable, isRetryableProviderError, isSpendable, isVirtualCoin, maybeArkError, networks, resolveEmulatorPubkey, resolveEventSource, scriptFromTapLeafScript, sdkVersion, sequenceToTimelock, setArkPsbtField, timelockToSequence } from './chunk-WJVOFYTQ.js';
5
5
  import './chunk-NSBPE2FW.js';
6
6
  //# sourceMappingURL=index.js.map
7
7
  //# sourceMappingURL=index.js.map
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkC4RKZY7D_cjs = require('../../chunk-C4RKZY7D.cjs');
4
- require('../../chunk-D5DLGVN4.cjs');
5
- require('../../chunk-2D7F5IU3.cjs');
6
- require('../../chunk-KJ5E646Y.cjs');
3
+ var chunkWIHSU3YS_cjs = require('../../chunk-WIHSU3YS.cjs');
4
+ require('../../chunk-AS3W34MG.cjs');
5
+ require('../../chunk-DXLVCFVK.cjs');
6
+ require('../../chunk-KMPNH7NS.cjs');
7
7
  require('../../chunk-5BLDMQED.cjs');
8
8
 
9
9
  // src/repositories/realm/walletRepository.ts
@@ -38,7 +38,7 @@ var RealmWalletRepository = class {
38
38
  await this.ensureInit();
39
39
  this.realm.write(() => {
40
40
  for (const vtxo of vtxos) {
41
- const s = chunkC4RKZY7D_cjs.serializeVtxo(vtxo);
41
+ const s = chunkWIHSU3YS_cjs.serializeVtxo(vtxo);
42
42
  this.realm.create(
43
43
  "ArkVtxo",
44
44
  {
@@ -86,7 +86,7 @@ var RealmWalletRepository = class {
86
86
  throw new Error("RealmWalletRepository requires an address");
87
87
  }
88
88
  for (const vtxo of vtxos) {
89
- if (!chunkC4RKZY7D_cjs.isVtxoForScript(vtxo, key.script)) {
89
+ if (!chunkWIHSU3YS_cjs.isVtxoForScript(vtxo, key.script)) {
90
90
  throw new Error(
91
91
  `VTXO ${vtxo.txid}:${vtxo.vout} script mismatch: expected ${key.script}, got ${vtxo.script}`
92
92
  );
@@ -111,7 +111,7 @@ var RealmWalletRepository = class {
111
111
  await this.ensureInit();
112
112
  this.realm.write(() => {
113
113
  for (const utxo of utxos) {
114
- const s = chunkC4RKZY7D_cjs.serializeUtxo(utxo);
114
+ const s = chunkWIHSU3YS_cjs.serializeUtxo(utxo);
115
115
  this.realm.create(
116
116
  "ArkUtxo",
117
117
  {
@@ -164,7 +164,7 @@ var RealmWalletRepository = class {
164
164
  amount: tx.amount,
165
165
  settled: tx.settled,
166
166
  createdAt: tx.createdAt,
167
- assetsJson: tx.assets ? JSON.stringify(chunkC4RKZY7D_cjs.serializeAssets(tx.assets)) : null
167
+ assetsJson: tx.assets ? JSON.stringify(chunkWIHSU3YS_cjs.serializeAssets(tx.assets)) : null
168
168
  },
169
169
  "modified"
170
170
  );
@@ -234,9 +234,9 @@ function vtxoObjectToDomain(obj) {
234
234
  // Post-migration every row has `script`, but the backfill is
235
235
  // idempotent: derive from `address` if the legacy column is still
236
236
  // null (e.g. the migration hasn't run yet on this handle).
237
- script: obj.script ?? chunkC4RKZY7D_cjs.scriptFromArkAddress(obj.address)
237
+ script: obj.script ?? chunkWIHSU3YS_cjs.scriptFromArkAddress(obj.address)
238
238
  };
239
- return chunkC4RKZY7D_cjs.deserializeVtxo(serialized);
239
+ return chunkWIHSU3YS_cjs.deserializeVtxo(serialized);
240
240
  }
241
241
  function utxoObjectToDomain(obj) {
242
242
  const serialized = {
@@ -255,7 +255,7 @@ function utxoObjectToDomain(obj) {
255
255
  status: JSON.parse(obj.statusJson),
256
256
  extraWitness: obj.extraWitnessJson ? JSON.parse(obj.extraWitnessJson) : void 0
257
257
  };
258
- return chunkC4RKZY7D_cjs.deserializeUtxo(serialized);
258
+ return chunkWIHSU3YS_cjs.deserializeUtxo(serialized);
259
259
  }
260
260
  function txObjectToDomain(obj) {
261
261
  const tx = {
@@ -270,7 +270,7 @@ function txObjectToDomain(obj) {
270
270
  createdAt: obj.createdAt
271
271
  };
272
272
  if (obj.assetsJson) {
273
- tx.assets = chunkC4RKZY7D_cjs.deserializeAssets(JSON.parse(obj.assetsJson));
273
+ tx.assets = chunkWIHSU3YS_cjs.deserializeAssets(JSON.parse(obj.assetsJson));
274
274
  }
275
275
  return tx;
276
276
  }
@@ -450,7 +450,7 @@ var RealmIntentRepository = class {
450
450
  const clashes = [
451
451
  ...this.realm.objects("ArkIntent").filtered("intentId == $0", intent.intentId)
452
452
  ].map(toIntent);
453
- chunkC4RKZY7D_cjs.assertIntentIdUnique(intent, clashes);
453
+ chunkWIHSU3YS_cjs.assertIntentIdUnique(intent, clashes);
454
454
  }
455
455
  this.realm.create(
456
456
  "ArkIntent",
@@ -479,14 +479,14 @@ var RealmIntentRepository = class {
479
479
  }
480
480
  async getIntents(filter) {
481
481
  const all = [...this.realm.objects("ArkIntent")].map(toIntent).sort((a, b) => a.createdAt - b.createdAt || a.intentTxId.localeCompare(b.intentTxId));
482
- const out = filter ? all.filter((i) => chunkC4RKZY7D_cjs.intentMatchesFilter(i, filter)) : all;
483
- const { skip, end } = chunkC4RKZY7D_cjs.intentPageBounds(filter, out.length);
482
+ const out = filter ? all.filter((i) => chunkWIHSU3YS_cjs.intentMatchesFilter(i, filter)) : all;
483
+ const { skip, end } = chunkWIHSU3YS_cjs.intentPageBounds(filter, out.length);
484
484
  return out.slice(skip, end);
485
485
  }
486
486
  async getLockedVtxoOutpoints() {
487
487
  const out = [];
488
488
  for (const o of [...this.realm.objects("ArkIntent")].map(toIntent))
489
- if (!chunkC4RKZY7D_cjs.isTerminalIntentState(o.state)) out.push(...o.intentVtxos);
489
+ if (!chunkWIHSU3YS_cjs.isTerminalIntentState(o.state)) out.push(...o.intentVtxos);
490
490
  return out;
491
491
  }
492
492
  async [Symbol.asyncDispose]() {
@@ -528,7 +528,7 @@ var RealmVirtualTxRepository = class {
528
528
  txid: t.txid,
529
529
  psbt: t.psbt ?? prev?.psbt ?? null,
530
530
  expiresAt: t.expiresAt ?? prev?.expiresAt ?? null,
531
- type: chunkC4RKZY7D_cjs.mergeChainedTxType(t.type, prev?.type)
531
+ type: chunkWIHSU3YS_cjs.mergeChainedTxType(t.type, prev?.type)
532
532
  },
533
533
  "modified"
534
534
  );
@@ -762,7 +762,7 @@ function runArkRealmMigrations(oldRealm, newRealm) {
762
762
  for (let i = 0; i < newVtxos.length; i++) {
763
763
  const newVtxo = newVtxos[i];
764
764
  if (!newVtxo.script) {
765
- newVtxo.script = chunkC4RKZY7D_cjs.scriptFromArkAddress(newVtxo.address);
765
+ newVtxo.script = chunkWIHSU3YS_cjs.scriptFromArkAddress(newVtxo.address);
766
766
  }
767
767
  }
768
768
  const oldHasVirtualTx = Array.isArray(oldRealm?.schema) && oldRealm.schema.some((s) => s.name === "ArkVirtualTx");
@@ -779,7 +779,7 @@ function runArkRealmMigrations(oldRealm, newRealm) {
779
779
 
780
780
  Object.defineProperty(exports, "ChainedTxType", {
781
781
  enumerable: true,
782
- get: function () { return chunkC4RKZY7D_cjs.ChainedTxType; }
782
+ get: function () { return chunkWIHSU3YS_cjs.ChainedTxType; }
783
783
  });
784
784
  exports.ARK_REALM_SCHEMA_VERSION = ARK_REALM_SCHEMA_VERSION;
785
785
  exports.ArkExperimentalRealmSchemas = ArkExperimentalRealmSchemas;
@@ -1,5 +1,5 @@
1
- import { W as WalletRepository, w as ExtendedVirtualCoin, x as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, y as WalletState, C as ContractRepository, z as ContractFilter, v as Contract, B as IntentRepository, D as ArkIntent, F as IntentFilter, O as Outpoint, H as VirtualTxRepository, J as VirtualTx, K as VtxoBranch } from '../../index-Dg0-TvBQ.cjs';
2
- export { L as ChainedTxType } from '../../index-Dg0-TvBQ.cjs';
1
+ import { W as WalletRepository, w as ExtendedVirtualCoin, x as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, y as WalletState, C as ContractRepository, z as ContractFilter, v as Contract, B as IntentRepository, D as ArkIntent, F as IntentFilter, O as Outpoint, H as VirtualTxRepository, J as VirtualTx, K as VtxoBranch } from '../../index-Bxz3cKPA.cjs';
2
+ export { L as ChainedTxType } from '../../index-Bxz3cKPA.cjs';
3
3
  import '@scure/btc-signer/utils.js';
4
4
  import '@scure/btc-signer/transaction.js';
5
5
  import '@scure/btc-signer';
@@ -1,5 +1,5 @@
1
- import { W as WalletRepository, w as ExtendedVirtualCoin, x as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, y as WalletState, C as ContractRepository, z as ContractFilter, v as Contract, B as IntentRepository, D as ArkIntent, F as IntentFilter, O as Outpoint, H as VirtualTxRepository, J as VirtualTx, K as VtxoBranch } from '../../index-Dg0-TvBQ.js';
2
- export { L as ChainedTxType } from '../../index-Dg0-TvBQ.js';
1
+ import { W as WalletRepository, w as ExtendedVirtualCoin, x as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, y as WalletState, C as ContractRepository, z as ContractFilter, v as Contract, B as IntentRepository, D as ArkIntent, F as IntentFilter, O as Outpoint, H as VirtualTxRepository, J as VirtualTx, K as VtxoBranch } from '../../index-Bxz3cKPA.js';
2
+ export { L as ChainedTxType } from '../../index-Bxz3cKPA.js';
3
3
  import '@scure/btc-signer/utils.js';
4
4
  import '@scure/btc-signer/transaction.js';
5
5
  import '@scure/btc-signer';