@arkade-os/sdk 0.4.78 → 0.4.79

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 (76) hide show
  1. package/README.md +1 -1
  2. package/dist/adapters/expo.cjs +5 -5
  3. package/dist/adapters/expo.d.cts +3 -3
  4. package/dist/adapters/expo.d.ts +3 -3
  5. package/dist/adapters/expo.js +3 -3
  6. package/dist/{asyncStorageTaskQueue-YW2t31_o.d.ts → asyncStorageTaskQueue-C5yQLJhm.d.ts} +1 -1
  7. package/dist/{asyncStorageTaskQueue-DiXxP-nQ.d.cts → asyncStorageTaskQueue-Shsih-1l.d.cts} +1 -1
  8. package/dist/{chunk-ZOCJ7E6M.js → chunk-4MXW2NDN.js} +10 -515
  9. package/dist/chunk-4MXW2NDN.js.map +1 -0
  10. package/dist/{chunk-KEEZSFLI.cjs → chunk-54FXLZ3T.cjs} +10 -10
  11. package/dist/{chunk-KEEZSFLI.cjs.map → chunk-54FXLZ3T.cjs.map} +1 -1
  12. package/dist/{chunk-PWIESIO6.cjs → chunk-DAYCCIRO.cjs} +372 -198
  13. package/dist/chunk-DAYCCIRO.cjs.map +1 -0
  14. package/dist/{chunk-Y7BVR6SQ.cjs → chunk-FUW3OM5X.cjs} +76 -561
  15. package/dist/chunk-FUW3OM5X.cjs.map +1 -0
  16. package/dist/{chunk-VJ7M6WKB.cjs → chunk-HAM3SHBV.cjs} +587 -532
  17. package/dist/chunk-HAM3SHBV.cjs.map +1 -0
  18. package/dist/{chunk-7KIGEOYT.js → chunk-JCPVP7TJ.js} +373 -201
  19. package/dist/chunk-JCPVP7TJ.js.map +1 -0
  20. package/dist/{chunk-DFWLP3MD.cjs → chunk-LASRYLMQ.cjs} +17 -17
  21. package/dist/{chunk-DFWLP3MD.cjs.map → chunk-LASRYLMQ.cjs.map} +1 -1
  22. package/dist/{chunk-CTFYT24G.js → chunk-QDXOTONI.js} +3 -3
  23. package/dist/{chunk-CTFYT24G.js.map → chunk-QDXOTONI.js.map} +1 -1
  24. package/dist/{chunk-IAM5IEVT.cjs → chunk-SJPPBR2V.cjs} +17 -17
  25. package/dist/{chunk-IAM5IEVT.cjs.map → chunk-SJPPBR2V.cjs.map} +1 -1
  26. package/dist/{chunk-P766MOPU.js → chunk-SK4OZRMB.js} +4 -4
  27. package/dist/{chunk-P766MOPU.js.map → chunk-SK4OZRMB.js.map} +1 -1
  28. package/dist/{chunk-OUHUC26M.js → chunk-VAFNWP3I.js} +4 -4
  29. package/dist/{chunk-OUHUC26M.js.map → chunk-VAFNWP3I.js.map} +1 -1
  30. package/dist/{chunk-LKAASQTL.js → chunk-YPQ37P3H.js} +128 -73
  31. package/dist/chunk-YPQ37P3H.js.map +1 -0
  32. package/dist/contracts/handlers/index.cjs +9 -9
  33. package/dist/contracts/handlers/index.d.cts +4 -4
  34. package/dist/contracts/handlers/index.d.ts +4 -4
  35. package/dist/contracts/handlers/index.js +2 -2
  36. package/dist/{delegate-DaNNUI_B.d.cts → delegate-B4bKASut.d.cts} +1 -1
  37. package/dist/{delegate-b2Wiymoj.d.ts → delegate-C9lpdrb0.d.ts} +1 -1
  38. package/dist/{hdWalletCapable-B2XVTOvu.d.ts → hdWalletCapable-CUJDKRKO.d.cts} +2 -3
  39. package/dist/{hdWalletCapable-D6PqWpuW.d.cts → hdWalletCapable-DJClhYMC.d.ts} +2 -3
  40. package/dist/{index-CAS4GyN-.d.ts → index-Ctul0N3Y.d.cts} +27 -6
  41. package/dist/{index-CAS4GyN-.d.cts → index-Ctul0N3Y.d.ts} +27 -6
  42. package/dist/{index-CYsKAXog.d.ts → index-D0qe2qVY.d.ts} +2 -2
  43. package/dist/{index-BlB97fYl.d.cts → index-YBFmScVS.d.cts} +2 -2
  44. package/dist/index.cjs +304 -304
  45. package/dist/index.d.cts +123 -123
  46. package/dist/index.d.ts +123 -123
  47. package/dist/index.js +4 -4
  48. package/dist/repositories/realm/index.cjs +20 -20
  49. package/dist/repositories/realm/index.d.cts +3 -3
  50. package/dist/repositories/realm/index.d.ts +3 -3
  51. package/dist/repositories/realm/index.js +5 -5
  52. package/dist/repositories/sqlite/index.cjs +19 -19
  53. package/dist/repositories/sqlite/index.d.cts +3 -3
  54. package/dist/repositories/sqlite/index.d.ts +3 -3
  55. package/dist/repositories/sqlite/index.js +5 -5
  56. package/dist/{taskRunner-BJj7xe35.d.ts → taskRunner-C08egG5a.d.ts} +1 -1
  57. package/dist/{taskRunner-HS2d2oda.d.cts → taskRunner-DB17db5n.d.cts} +1 -1
  58. package/dist/wallet/expo/background.cjs +14 -14
  59. package/dist/wallet/expo/background.d.cts +4 -4
  60. package/dist/wallet/expo/background.d.ts +4 -4
  61. package/dist/wallet/expo/background.js +6 -6
  62. package/dist/wallet/expo/index.cjs +14 -14
  63. package/dist/wallet/expo/index.d.cts +5 -5
  64. package/dist/wallet/expo/index.d.ts +5 -5
  65. package/dist/wallet/expo/index.js +5 -5
  66. package/dist/worker/expo/index.cjs +9 -9
  67. package/dist/worker/expo/index.d.cts +5 -5
  68. package/dist/worker/expo/index.d.ts +5 -5
  69. package/dist/worker/expo/index.js +5 -5
  70. package/package.json +6 -5
  71. package/dist/chunk-7KIGEOYT.js.map +0 -1
  72. package/dist/chunk-LKAASQTL.js.map +0 -1
  73. package/dist/chunk-PWIESIO6.cjs.map +0 -1
  74. package/dist/chunk-VJ7M6WKB.cjs.map +0 -1
  75. package/dist/chunk-Y7BVR6SQ.cjs.map +0 -1
  76. package/dist/chunk-ZOCJ7E6M.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,19 +1,19 @@
1
- import { a5 as ReadonlyIdentity, a as Identity, as as DescriptorSigningRequest, at as Transaction, ao as SignerSession, a3 as DescriptorProvider, au as IntentFeeConfig, av as OffchainInput, aw as FeeAmount, ax as OnchainInput, ay as FeeOutput, D as IntentRepository, F as ArkIntent, H as IntentFilter, O as Outpoint, J as VirtualTxRepository, K as VirtualTx, L as VtxoBranch, W as WalletRepository, x as ExtendedVirtualCoin, y as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, z as WalletState, w as Contract, C as ContractRepository, B as ContractFilter, I as IWallet, r as ArkProvider, am as SettlementConfig, az as ContractWatcherConfig, aA as Asset, R as Recipient, aB as FeeInfo, l as SettlementEvent, N as NormalizedExtendedVirtualCoin, k as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, d as GetSpendableVtxosFilter, aC as CreateContractParams, aD as GetContractsFilter, v as VirtualCoin, aE as GetSpendablePathsOptions, aF as GetAllSpendingPathsOptions, h as GetNewAddressesOptions, aG as IssuanceParams, aH as ReissuanceParams, aI as BurnParams, aJ as RenewVtxosOptions, c as WalletBalance, ac as ContractSyncState, ah as ContractWithVtxos, aK as WatchedScript, aL as PathSelection, i as NewAddress, aM as ContractEvent, aN as AssetDetails, aO as IssuanceResult, aP as DelegateInfo, aQ as MigrationGlobalSkipReason, aR as MigrationLegSkipReason, aS as SignerStatus, a4 as IReadonlyWallet, e as ActivityRegistry, ab as IReadonlyAssetManager, aT as StorageConfig, f as Activity, g as IContractManager, n as IAssetManager, m as SendParams, j as IDelegateManager, aU as IVtxoManager, a6 as OnchainProvider, P as Network, ae as NetworkName, aj as Coin, aV as ExplorerTransaction, af as ArkInfo, ap as SignedIntent, aq as Intent, aW as TreeNonces, aX as TreePartialSigs, T as TxNotificationEvent, aY as PendingTx, u as TapLeafScript, aZ as EncodedVtxoScript, Q as CSVMultisigTapscript, t as RelativeTimelock, V as VtxoScript, a_ as Status, ag as ArkAddress, a$ as ChainTx, s as IndexerProvider, Y as TxTree, b0 as PathContext } from './index-CAS4GyN-.cjs';
2
- export { b1 as ActivityIntent, b2 as ActivityResolver, b3 as ArkIntentState, b4 as ArkTapscript, b5 as AssetMetadata, b6 as BITCOIN_EMULATOR_PUBKEY, b7 as BaseWalletConfig, a0 as BatchFailedEvent, _ as BatchFinalizationEvent, $ as BatchFinalizedEvent, b8 as BatchInfo, b9 as BatchSignableIdentity, U as BatchStartedEvent, ba as CLTVMultisigTapscript, bb as CandidateDeps, bc as ChainTxType, M as ChainedTxType, bd as CommitmentTx, be as ConditionCSVMultisigTapscript, bf as ConditionMultisigTapscript, bg as ContractBalance, bh as ContractEventCallback, bi as ContractHandler, ak as ContractManager, al as ContractManagerConfig, bj as ContractState, bk as ContractVtxo, bl as ContractVtxoEvent, bm as ContractWatcher, bn as DEFAULT_VTXO_PAGE_SIZE, bo as DelegateManagerImpl, bp as DelegateOptions, a7 as DelegateProvider, bq as DelegatorManagerImpl, br as DelegatorProvider, bs as DeprecatedSignerMigrationReport, bt as DeprecatedSignerReport, bu as DigestMismatchError, bv as Discoverable, bw as DiscoveredContract, bx as DiscoveryDeps, by as ESPLORA_URL, bz as EsploraProvider, bA as EventSourceCapable, bB as EventSourceFactory, bC as EventSourceLike, bD as EventSourceUnavailableError, a9 as ExitCaptureMode, bE as ExitChainResolver, aa as ExitDataSource, bF as ExtendedContractVtxo, bG as GroupMembership, bH as HandlerError, bI as IDelegatorManager, bJ as INTENT_TERMINAL_STATES, bK as IndexerTxType, bL as IntentCoin, bM as KnownMetadata, bN as MUTINYNET_EMULATOR_PUBKEY, bO as MigrateDeprecatedSignerOptions, bP as MigrationLegReport, bQ as MigrationVtxoRef, bR as MultisigTapscript, bS as NewAddressType, bT as Nonces, bU as Output, bV as PageResponse, bW as PaginationOptions, bX as PartialSig, bY as PrevTxSource, bZ as PrevTxUnavailableError, b_ as ProviderClass, b$ as REGTEST_EMULATOR_PUBKEY, c0 as RawTxSource, a8 as ReadonlyWalletConfig, o as RestArkProvider, c1 as RestDelegateProvider, c2 as RestDelegatorProvider, p as RestIndexerProvider, c3 as ScanContractsOptions, c4 as ScanResult, c5 as ScheduledSession, c6 as SettlementEventType, c7 as SignRequest, c8 as SignerClassification, c9 as SignerSet, ca as SubscriptionEvent, cb as SubscriptionHeartbeat, q as SubscriptionResponse, cc as SweepTxNotification, cd as TapLeaves, ce as TapTreeCoder, cf as TapscriptType, ar as TimeHeight, Z as TreeNoncesEvent, a2 as TreeSignatureEvent, X as TreeSigningStartedEvent, a1 as TreeTxEvent, cg as Tx, ch as TxHistoryRecord, ci as TxKey, cj as TxNotification, ck as TxTag, cl as TxTreeNode, cm as TxType, cn as VirtualStatus, co as Vtxo, cp as VtxoChain, an as VtxoManager, cq as VtxoType, b as WalletConfig, cr as WalletMode, cs as WithPrevTx, ct as assertAllowedSighashTypes, cu as assetMintResolver, cv as attachPrevArkTxs, cw as attachPrevoutTxs, cx as boardingResolver, cy as canRecoverOnchain, cz as canSpendOffchain, cA as canSweepOnchain, cB as classifyAgainstSignerSet, cC as classifyContractSigner, cD as collabExitResolver, cE as configureEventSource, cF as createDefaultActivityRegistry, cG as createExitChainResolver, cH as decodeTapscript, cI as defaultEmulatorPubkey, cJ as getConfiguredEventSource, cK as getNetwork, cL as getRandomId, cM as getSequence, cN as hasCandidates, cO as hasTerminalSpend, cP as isBatchSignable, cQ as isContractVtxoEvent, cR as isCooperativelyMigratable, cS as isDiscoverable, cT as isEventSourceUnavailableError, cU as isExpired, cV as isPastExpiry, cW as isRecoverable, cX as isSigningIdentity, cY as isSpendable, cZ as isSubdust, c_ as isTerminalIntentState, c$ as isVirtualCoin, d0 as isVtxoExpiringSoon, d1 as isVtxoSpent, d2 as networks, d3 as resolveEmulatorPubkey, d4 as resolveEventSource, d5 as resolvePrevTxs, d6 as scriptFromTapLeafScript, d7 as signerSetFromInfo, d8 as toXOnlySignerHex, d9 as withPrevTxs } from './index-CAS4GyN-.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-D6PqWpuW.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-D6PqWpuW.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, l as TweakedSigner, W as WitnessRef, m as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, n as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-BlB97fYl.cjs';
6
- export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-BlB97fYl.cjs';
7
- import { D as DefaultVtxo } from './delegate-DaNNUI_B.cjs';
8
- export { a as DelegateVtxo } from './delegate-DaNNUI_B.cjs';
1
+ import { a5 as ReadonlyIdentity, a as Identity, at as DescriptorSigningRequest, ap as Transaction, ao as SignerSession, a3 as DescriptorProvider, au as IntentFeeConfig, av as OffchainInput, aw as FeeAmount, ax as OnchainInput, ay as FeeOutput, D as IntentRepository, F as ArkIntent, H as IntentFilter, O as Outpoint, J as VirtualTxRepository, K as VirtualTx, L as VtxoBranch, W as WalletRepository, x as ExtendedVirtualCoin, y as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, z as WalletState, w as Contract, C as ContractRepository, B as ContractFilter, I as IWallet, r as ArkProvider, am as SettlementConfig, az as ContractWatcherConfig, aA as Asset, R as Recipient, aB as FeeInfo, l as SettlementEvent, N as NormalizedExtendedVirtualCoin, k as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, d as GetSpendableVtxosFilter, aC as CreateContractParams, aD as GetContractsFilter, v as VirtualCoin, aE as GetSpendablePathsOptions, aF as GetAllSpendingPathsOptions, h as GetNewAddressesOptions, aG as IssuanceParams, aH as ReissuanceParams, aI as BurnParams, aJ as RenewVtxosOptions, c as WalletBalance, ac as ContractSyncState, ah as ContractWithVtxos, aK as WatchedScript, aL as PathSelection, i as NewAddress, aM as ContractEvent, aN as AssetDetails, aO as IssuanceResult, aP as DelegateInfo, aQ as MigrationGlobalSkipReason, aR as MigrationLegSkipReason, aS as SignerStatus, a4 as IReadonlyWallet, e as ActivityRegistry, ab as IReadonlyAssetManager, aT as StorageConfig, f as Activity, g as IContractManager, n as IAssetManager, m as SendParams, j as IDelegateManager, aU as IVtxoManager, a6 as OnchainProvider, P as Network, ae as NetworkName, aj as Coin, aV as ExplorerTransaction, af as ArkInfo, aq as SignedIntent, ar as Intent, aW as TreeNonces, aX as TreePartialSigs, T as TxNotificationEvent, aY as PendingTx, u as TapLeafScript, aZ as EncodedVtxoScript, Q as CSVMultisigTapscript, t as RelativeTimelock, V as VtxoScript, a_ as Status, ag as ArkAddress, a$ as ChainTx, s as IndexerProvider, Y as TxTree, b0 as PathContext } from './index-Ctul0N3Y.cjs';
2
+ export { b1 as ActivityIntent, b2 as ActivityResolver, b3 as ArkIntentState, b4 as ArkTapscript, b5 as AssetMetadata, b6 as BITCOIN_EMULATOR_PUBKEY, b7 as BaseWalletConfig, a0 as BatchFailedEvent, _ as BatchFinalizationEvent, $ as BatchFinalizedEvent, b8 as BatchInfo, b9 as BatchSignableIdentity, U as BatchStartedEvent, ba as CLTVMultisigTapscript, bb as CandidateDeps, bc as ChainTxType, M as ChainedTxType, bd as CommitmentTx, be as ConditionCSVMultisigTapscript, bf as ConditionMultisigTapscript, bg as ContractBalance, bh as ContractEventCallback, bi as ContractHandler, ak as ContractManager, al as ContractManagerConfig, bj as ContractState, bk as ContractVtxo, bl as ContractVtxoEvent, bm as ContractWatcher, bn as DEFAULT_VTXO_PAGE_SIZE, bo as DelegateManagerImpl, bp as DelegateOptions, a7 as DelegateProvider, bq as DelegatorManagerImpl, br as DelegatorProvider, bs as DeprecatedSignerMigrationReport, bt as DeprecatedSignerReport, bu as DigestMismatchError, bv as Discoverable, bw as DiscoveredContract, bx as DiscoveryDeps, by as ESPLORA_URL, bz as EsploraProvider, bA as EventSourceCapable, bB as EventSourceFactory, bC as EventSourceLike, bD as EventSourceUnavailableError, a9 as ExitCaptureMode, bE as ExitChainResolver, aa as ExitDataSource, bF as ExtendedContractVtxo, bG as GroupMembership, bH as HandlerError, bI as IDelegatorManager, bJ as INTENT_TERMINAL_STATES, bK as IndexerTxType, bL as IntentCoin, bM as KnownMetadata, bN as MUTINYNET_EMULATOR_PUBKEY, bO as MigrateDeprecatedSignerOptions, bP as MigrationLegReport, bQ as MigrationVtxoRef, bR as MultisigTapscript, bS as NewAddressType, bT as Nonces, bU as Output, bV as PageResponse, bW as PaginationOptions, bX as PartialSig, bY as PrevTxSource, bZ as PrevTxUnavailableError, b_ as ProviderClass, b$ as REGTEST_EMULATOR_PUBKEY, c0 as RawTxSource, a8 as ReadonlyWalletConfig, o as RestArkProvider, c1 as RestDelegateProvider, c2 as RestDelegatorProvider, p as RestIndexerProvider, c3 as ScanContractsOptions, c4 as ScanResult, c5 as ScheduledSession, c6 as SettlementEventType, c7 as SignRequest, c8 as SignerClassification, c9 as SignerSet, ca as SubscriptionEvent, cb as SubscriptionHeartbeat, q as SubscriptionResponse, cc as SweepTxNotification, cd as TapLeaves, ce as TapTreeCoder, cf as TapscriptType, as as TimeHeight, Z as TreeNoncesEvent, a2 as TreeSignatureEvent, X as TreeSigningStartedEvent, a1 as TreeTxEvent, cg as Tx, ch as TxHistoryRecord, ci as TxKey, cj as TxNotification, ck as TxTag, cl as TxTreeNode, cm as TxType, cn as VirtualStatus, co as Vtxo, cp as VtxoChain, an as VtxoManager, cq as VtxoType, b as WalletConfig, cr as WalletMode, cs as WithPrevTx, ct as assertAllowedSighashTypes, cu as assetMintResolver, cv as attachPrevArkTxs, cw as attachPrevoutTxs, cx as boardingResolver, cy as canRecoverOnchain, cz as canSpendOffchain, cA as canSweepOnchain, cB as classifyAgainstSignerSet, cC as classifyContractSigner, cD as collabExitResolver, cE as configureEventSource, cF as createDefaultActivityRegistry, cG as createExitChainResolver, cH as decodeTapscript, cI as defaultEmulatorPubkey, cJ as getConfiguredEventSource, cK as getNetwork, cL as getRandomId, cM as getSequence, cN as hasCandidates, cO as hasTerminalSpend, cP as isBatchSignable, cQ as isContractVtxoEvent, cR as isCooperativelyMigratable, cS as isDiscoverable, cT as isEventSourceUnavailableError, cU as isExpired, cV as isPastExpiry, cW as isRecoverable, cX as isSigningIdentity, cY as isSpendable, cZ as isSubdust, c_ as isTerminalIntentState, c$ as isVirtualCoin, d0 as isVtxoExpiringSoon, d1 as isVtxoSpent, d2 as networks, d3 as resolveEmulatorPubkey, d4 as resolveEventSource, d5 as resolvePrevTxs, d6 as scriptFromTapLeafScript, d7 as signerSetFromInfo, d8 as toXOnlySignerHex, d9 as withPrevTxs } from './index-Ctul0N3Y.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-CUJDKRKO.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-CUJDKRKO.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, l as TweakedSigner, W as WitnessRef, m as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, n as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-YBFmScVS.cjs';
6
+ export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-YBFmScVS.cjs';
7
+ import { D as DefaultVtxo } from './delegate-B4bKASut.cjs';
8
+ export { a as DelegateVtxo } from './delegate-B4bKASut.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';
12
12
  import { ElectrumWS } from 'ws-electrumx-client';
13
13
  import { TransactionOutput, TransactionInputUpdate } from '@scure/btc-signer/psbt.js';
14
- import { Transaction as Transaction$2 } from '@scure/btc-signer/transaction.js';
15
14
  import { S as StorageAdapter } from './index-C0IanN1m.cjs';
16
15
  import * as P from 'micro-packed';
16
+ import '@scure/btc-signer/transaction.js';
17
17
 
18
18
  /**
19
19
  * Tagged envelope for a signing identity transported across the
@@ -5177,7 +5177,7 @@ declare const UnilateralExit: {
5177
5177
  declare function isRetryableProviderError(error: unknown): boolean;
5178
5178
 
5179
5179
  declare function validateConnectorsTxGraph(settlementTxB64: string, connectorsGraph: TxTree): void;
5180
- declare function validateVtxoTxGraph(graph: TxTree, roundTransaction: Transaction$2, sweepTapTreeRoot: Uint8Array): void;
5180
+ declare function validateVtxoTxGraph(graph: TxTree, roundTransaction: Transaction, sweepTapTreeRoot: Uint8Array): void;
5181
5181
 
5182
5182
  /**
5183
5183
  * Assert the commitment tx received at batch finalization is the one validated
@@ -5475,119 +5475,119 @@ declare const ARKADE_OPS: {
5475
5475
  readonly SIGHASH: 246;
5476
5476
  readonly TUNNEL: 247;
5477
5477
  readonly INSPECTINTENTMESSAGE: 248;
5478
- readonly OP_0: number;
5479
- readonly PUSHDATA1: number;
5480
- readonly PUSHDATA2: number;
5481
- readonly PUSHDATA4: number;
5482
- readonly '1NEGATE': number;
5483
- readonly RESERVED: number;
5484
- readonly OP_1: number;
5485
- readonly OP_2: number;
5486
- readonly OP_3: number;
5487
- readonly OP_4: number;
5488
- readonly OP_5: number;
5489
- readonly OP_6: number;
5490
- readonly OP_7: number;
5491
- readonly OP_8: number;
5492
- readonly OP_9: number;
5493
- readonly OP_10: number;
5494
- readonly OP_11: number;
5495
- readonly OP_12: number;
5496
- readonly OP_13: number;
5497
- readonly OP_14: number;
5498
- readonly OP_15: number;
5499
- readonly OP_16: number;
5500
- readonly NOP: number;
5501
- readonly VER: number;
5502
- readonly IF: number;
5503
- readonly NOTIF: number;
5504
- readonly VERIF: number;
5505
- readonly VERNOTIF: number;
5506
- readonly ELSE: number;
5507
- readonly ENDIF: number;
5508
- readonly VERIFY: number;
5509
- readonly RETURN: number;
5510
- readonly TOALTSTACK: number;
5511
- readonly FROMALTSTACK: number;
5512
- readonly '2DROP': number;
5513
- readonly '2DUP': number;
5514
- readonly '3DUP': number;
5515
- readonly '2OVER': number;
5516
- readonly '2ROT': number;
5517
- readonly '2SWAP': number;
5518
- readonly IFDUP: number;
5519
- readonly DEPTH: number;
5520
- readonly DROP: number;
5521
- readonly DUP: number;
5522
- readonly NIP: number;
5523
- readonly OVER: number;
5524
- readonly PICK: number;
5525
- readonly ROLL: number;
5526
- readonly ROT: number;
5527
- readonly SWAP: number;
5528
- readonly TUCK: number;
5529
- readonly CAT: number;
5530
- readonly SUBSTR: number;
5531
- readonly LEFT: number;
5532
- readonly RIGHT: number;
5533
- readonly SIZE: number;
5534
- readonly INVERT: number;
5535
- readonly AND: number;
5536
- readonly OR: number;
5537
- readonly XOR: number;
5538
- readonly EQUAL: number;
5539
- readonly EQUALVERIFY: number;
5540
- readonly RESERVED1: number;
5541
- readonly RESERVED2: number;
5542
- readonly '1ADD': number;
5543
- readonly '1SUB': number;
5544
- readonly '2MUL': number;
5545
- readonly '2DIV': number;
5546
- readonly NEGATE: number;
5547
- readonly ABS: number;
5548
- readonly NOT: number;
5549
- readonly '0NOTEQUAL': number;
5550
- readonly ADD: number;
5551
- readonly SUB: number;
5552
- readonly MUL: number;
5553
- readonly DIV: number;
5554
- readonly MOD: number;
5555
- readonly LSHIFT: number;
5556
- readonly RSHIFT: number;
5557
- readonly BOOLAND: number;
5558
- readonly BOOLOR: number;
5559
- readonly NUMEQUAL: number;
5560
- readonly NUMEQUALVERIFY: number;
5561
- readonly NUMNOTEQUAL: number;
5562
- readonly LESSTHAN: number;
5563
- readonly GREATERTHAN: number;
5564
- readonly LESSTHANOREQUAL: number;
5565
- readonly GREATERTHANOREQUAL: number;
5566
- readonly MIN: number;
5567
- readonly MAX: number;
5568
- readonly WITHIN: number;
5569
- readonly RIPEMD160: number;
5570
- readonly SHA1: number;
5571
- readonly SHA256: number;
5572
- readonly HASH160: number;
5573
- readonly HASH256: number;
5574
- readonly CODESEPARATOR: number;
5575
- readonly CHECKSIG: number;
5576
- readonly CHECKSIGVERIFY: number;
5577
- readonly CHECKMULTISIG: number;
5578
- readonly CHECKMULTISIGVERIFY: number;
5579
- readonly NOP1: number;
5580
- readonly CHECKLOCKTIMEVERIFY: number;
5581
- readonly CHECKSEQUENCEVERIFY: number;
5582
- readonly NOP4: number;
5583
- readonly NOP5: number;
5584
- readonly NOP6: number;
5585
- readonly NOP7: number;
5586
- readonly NOP8: number;
5587
- readonly NOP9: number;
5588
- readonly NOP10: number;
5589
- readonly CHECKSIGADD: number;
5590
- readonly INVALID: number;
5478
+ readonly OP_0: 0;
5479
+ readonly PUSHDATA1: 76;
5480
+ readonly PUSHDATA2: 77;
5481
+ readonly PUSHDATA4: 78;
5482
+ readonly '1NEGATE': 79;
5483
+ readonly RESERVED: 80;
5484
+ readonly OP_1: 81;
5485
+ readonly OP_2: 82;
5486
+ readonly OP_3: 83;
5487
+ readonly OP_4: 84;
5488
+ readonly OP_5: 85;
5489
+ readonly OP_6: 86;
5490
+ readonly OP_7: 87;
5491
+ readonly OP_8: 88;
5492
+ readonly OP_9: 89;
5493
+ readonly OP_10: 90;
5494
+ readonly OP_11: 91;
5495
+ readonly OP_12: 92;
5496
+ readonly OP_13: 93;
5497
+ readonly OP_14: 94;
5498
+ readonly OP_15: 95;
5499
+ readonly OP_16: 96;
5500
+ readonly NOP: 97;
5501
+ readonly VER: 98;
5502
+ readonly IF: 99;
5503
+ readonly NOTIF: 100;
5504
+ readonly VERIF: 101;
5505
+ readonly VERNOTIF: 102;
5506
+ readonly ELSE: 103;
5507
+ readonly ENDIF: 104;
5508
+ readonly VERIFY: 105;
5509
+ readonly RETURN: 106;
5510
+ readonly TOALTSTACK: 107;
5511
+ readonly FROMALTSTACK: 108;
5512
+ readonly '2DROP': 109;
5513
+ readonly '2DUP': 110;
5514
+ readonly '3DUP': 111;
5515
+ readonly '2OVER': 112;
5516
+ readonly '2ROT': 113;
5517
+ readonly '2SWAP': 114;
5518
+ readonly IFDUP: 115;
5519
+ readonly DEPTH: 116;
5520
+ readonly DROP: 117;
5521
+ readonly DUP: 118;
5522
+ readonly NIP: 119;
5523
+ readonly OVER: 120;
5524
+ readonly PICK: 121;
5525
+ readonly ROLL: 122;
5526
+ readonly ROT: 123;
5527
+ readonly SWAP: 124;
5528
+ readonly TUCK: 125;
5529
+ readonly CAT: 126;
5530
+ readonly SUBSTR: 127;
5531
+ readonly LEFT: 128;
5532
+ readonly RIGHT: 129;
5533
+ readonly SIZE: 130;
5534
+ readonly INVERT: 131;
5535
+ readonly AND: 132;
5536
+ readonly OR: 133;
5537
+ readonly XOR: 134;
5538
+ readonly EQUAL: 135;
5539
+ readonly EQUALVERIFY: 136;
5540
+ readonly RESERVED1: 137;
5541
+ readonly RESERVED2: 138;
5542
+ readonly '1ADD': 139;
5543
+ readonly '1SUB': 140;
5544
+ readonly '2MUL': 141;
5545
+ readonly '2DIV': 142;
5546
+ readonly NEGATE: 143;
5547
+ readonly ABS: 144;
5548
+ readonly NOT: 145;
5549
+ readonly '0NOTEQUAL': 146;
5550
+ readonly ADD: 147;
5551
+ readonly SUB: 148;
5552
+ readonly MUL: 149;
5553
+ readonly DIV: 150;
5554
+ readonly MOD: 151;
5555
+ readonly LSHIFT: 152;
5556
+ readonly RSHIFT: 153;
5557
+ readonly BOOLAND: 154;
5558
+ readonly BOOLOR: 155;
5559
+ readonly NUMEQUAL: 156;
5560
+ readonly NUMEQUALVERIFY: 157;
5561
+ readonly NUMNOTEQUAL: 158;
5562
+ readonly LESSTHAN: 159;
5563
+ readonly GREATERTHAN: 160;
5564
+ readonly LESSTHANOREQUAL: 161;
5565
+ readonly GREATERTHANOREQUAL: 162;
5566
+ readonly MIN: 163;
5567
+ readonly MAX: 164;
5568
+ readonly WITHIN: 165;
5569
+ readonly RIPEMD160: 166;
5570
+ readonly SHA1: 167;
5571
+ readonly SHA256: 168;
5572
+ readonly HASH160: 169;
5573
+ readonly HASH256: 170;
5574
+ readonly CODESEPARATOR: 171;
5575
+ readonly CHECKSIG: 172;
5576
+ readonly CHECKSIGVERIFY: 173;
5577
+ readonly CHECKMULTISIG: 174;
5578
+ readonly CHECKMULTISIGVERIFY: 175;
5579
+ readonly NOP1: 176;
5580
+ readonly CHECKLOCKTIMEVERIFY: 177;
5581
+ readonly CHECKSEQUENCEVERIFY: 178;
5582
+ readonly NOP4: 179;
5583
+ readonly NOP5: 180;
5584
+ readonly NOP6: 181;
5585
+ readonly NOP7: 182;
5586
+ readonly NOP8: 183;
5587
+ readonly NOP9: 184;
5588
+ readonly NOP10: 185;
5589
+ readonly CHECKSIGADD: 186;
5590
+ readonly INVALID: 255;
5591
5591
  };
5592
5592
  /** A single script operation: opcode string key, raw bytes, number, or bigint */
5593
5593
  type ArkadeScriptOP = keyof typeof ARKADE_OPS | Uint8Array | number | bigint;
package/dist/index.d.ts CHANGED
@@ -1,19 +1,19 @@
1
- import { a5 as ReadonlyIdentity, a as Identity, as as DescriptorSigningRequest, at as Transaction, ao as SignerSession, a3 as DescriptorProvider, au as IntentFeeConfig, av as OffchainInput, aw as FeeAmount, ax as OnchainInput, ay as FeeOutput, D as IntentRepository, F as ArkIntent, H as IntentFilter, O as Outpoint, J as VirtualTxRepository, K as VirtualTx, L as VtxoBranch, W as WalletRepository, x as ExtendedVirtualCoin, y as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, z as WalletState, w as Contract, C as ContractRepository, B as ContractFilter, I as IWallet, r as ArkProvider, am as SettlementConfig, az as ContractWatcherConfig, aA as Asset, R as Recipient, aB as FeeInfo, l as SettlementEvent, N as NormalizedExtendedVirtualCoin, k as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, d as GetSpendableVtxosFilter, aC as CreateContractParams, aD as GetContractsFilter, v as VirtualCoin, aE as GetSpendablePathsOptions, aF as GetAllSpendingPathsOptions, h as GetNewAddressesOptions, aG as IssuanceParams, aH as ReissuanceParams, aI as BurnParams, aJ as RenewVtxosOptions, c as WalletBalance, ac as ContractSyncState, ah as ContractWithVtxos, aK as WatchedScript, aL as PathSelection, i as NewAddress, aM as ContractEvent, aN as AssetDetails, aO as IssuanceResult, aP as DelegateInfo, aQ as MigrationGlobalSkipReason, aR as MigrationLegSkipReason, aS as SignerStatus, a4 as IReadonlyWallet, e as ActivityRegistry, ab as IReadonlyAssetManager, aT as StorageConfig, f as Activity, g as IContractManager, n as IAssetManager, m as SendParams, j as IDelegateManager, aU as IVtxoManager, a6 as OnchainProvider, P as Network, ae as NetworkName, aj as Coin, aV as ExplorerTransaction, af as ArkInfo, ap as SignedIntent, aq as Intent, aW as TreeNonces, aX as TreePartialSigs, T as TxNotificationEvent, aY as PendingTx, u as TapLeafScript, aZ as EncodedVtxoScript, Q as CSVMultisigTapscript, t as RelativeTimelock, V as VtxoScript, a_ as Status, ag as ArkAddress, a$ as ChainTx, s as IndexerProvider, Y as TxTree, b0 as PathContext } from './index-CAS4GyN-.js';
2
- export { b1 as ActivityIntent, b2 as ActivityResolver, b3 as ArkIntentState, b4 as ArkTapscript, b5 as AssetMetadata, b6 as BITCOIN_EMULATOR_PUBKEY, b7 as BaseWalletConfig, a0 as BatchFailedEvent, _ as BatchFinalizationEvent, $ as BatchFinalizedEvent, b8 as BatchInfo, b9 as BatchSignableIdentity, U as BatchStartedEvent, ba as CLTVMultisigTapscript, bb as CandidateDeps, bc as ChainTxType, M as ChainedTxType, bd as CommitmentTx, be as ConditionCSVMultisigTapscript, bf as ConditionMultisigTapscript, bg as ContractBalance, bh as ContractEventCallback, bi as ContractHandler, ak as ContractManager, al as ContractManagerConfig, bj as ContractState, bk as ContractVtxo, bl as ContractVtxoEvent, bm as ContractWatcher, bn as DEFAULT_VTXO_PAGE_SIZE, bo as DelegateManagerImpl, bp as DelegateOptions, a7 as DelegateProvider, bq as DelegatorManagerImpl, br as DelegatorProvider, bs as DeprecatedSignerMigrationReport, bt as DeprecatedSignerReport, bu as DigestMismatchError, bv as Discoverable, bw as DiscoveredContract, bx as DiscoveryDeps, by as ESPLORA_URL, bz as EsploraProvider, bA as EventSourceCapable, bB as EventSourceFactory, bC as EventSourceLike, bD as EventSourceUnavailableError, a9 as ExitCaptureMode, bE as ExitChainResolver, aa as ExitDataSource, bF as ExtendedContractVtxo, bG as GroupMembership, bH as HandlerError, bI as IDelegatorManager, bJ as INTENT_TERMINAL_STATES, bK as IndexerTxType, bL as IntentCoin, bM as KnownMetadata, bN as MUTINYNET_EMULATOR_PUBKEY, bO as MigrateDeprecatedSignerOptions, bP as MigrationLegReport, bQ as MigrationVtxoRef, bR as MultisigTapscript, bS as NewAddressType, bT as Nonces, bU as Output, bV as PageResponse, bW as PaginationOptions, bX as PartialSig, bY as PrevTxSource, bZ as PrevTxUnavailableError, b_ as ProviderClass, b$ as REGTEST_EMULATOR_PUBKEY, c0 as RawTxSource, a8 as ReadonlyWalletConfig, o as RestArkProvider, c1 as RestDelegateProvider, c2 as RestDelegatorProvider, p as RestIndexerProvider, c3 as ScanContractsOptions, c4 as ScanResult, c5 as ScheduledSession, c6 as SettlementEventType, c7 as SignRequest, c8 as SignerClassification, c9 as SignerSet, ca as SubscriptionEvent, cb as SubscriptionHeartbeat, q as SubscriptionResponse, cc as SweepTxNotification, cd as TapLeaves, ce as TapTreeCoder, cf as TapscriptType, ar as TimeHeight, Z as TreeNoncesEvent, a2 as TreeSignatureEvent, X as TreeSigningStartedEvent, a1 as TreeTxEvent, cg as Tx, ch as TxHistoryRecord, ci as TxKey, cj as TxNotification, ck as TxTag, cl as TxTreeNode, cm as TxType, cn as VirtualStatus, co as Vtxo, cp as VtxoChain, an as VtxoManager, cq as VtxoType, b as WalletConfig, cr as WalletMode, cs as WithPrevTx, ct as assertAllowedSighashTypes, cu as assetMintResolver, cv as attachPrevArkTxs, cw as attachPrevoutTxs, cx as boardingResolver, cy as canRecoverOnchain, cz as canSpendOffchain, cA as canSweepOnchain, cB as classifyAgainstSignerSet, cC as classifyContractSigner, cD as collabExitResolver, cE as configureEventSource, cF as createDefaultActivityRegistry, cG as createExitChainResolver, cH as decodeTapscript, cI as defaultEmulatorPubkey, cJ as getConfiguredEventSource, cK as getNetwork, cL as getRandomId, cM as getSequence, cN as hasCandidates, cO as hasTerminalSpend, cP as isBatchSignable, cQ as isContractVtxoEvent, cR as isCooperativelyMigratable, cS as isDiscoverable, cT as isEventSourceUnavailableError, cU as isExpired, cV as isPastExpiry, cW as isRecoverable, cX as isSigningIdentity, cY as isSpendable, cZ as isSubdust, c_ as isTerminalIntentState, c$ as isVirtualCoin, d0 as isVtxoExpiringSoon, d1 as isVtxoSpent, d2 as networks, d3 as resolveEmulatorPubkey, d4 as resolveEventSource, d5 as resolvePrevTxs, d6 as scriptFromTapLeafScript, d7 as signerSetFromInfo, d8 as toXOnlySignerHex, d9 as withPrevTxs } from './index-CAS4GyN-.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-B2XVTOvu.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-B2XVTOvu.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, l as TweakedSigner, W as WitnessRef, m as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, n as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-CYsKAXog.js';
6
- export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-CYsKAXog.js';
7
- import { D as DefaultVtxo } from './delegate-b2Wiymoj.js';
8
- export { a as DelegateVtxo } from './delegate-b2Wiymoj.js';
1
+ import { a5 as ReadonlyIdentity, a as Identity, at as DescriptorSigningRequest, ap as Transaction, ao as SignerSession, a3 as DescriptorProvider, au as IntentFeeConfig, av as OffchainInput, aw as FeeAmount, ax as OnchainInput, ay as FeeOutput, D as IntentRepository, F as ArkIntent, H as IntentFilter, O as Outpoint, J as VirtualTxRepository, K as VirtualTx, L as VtxoBranch, W as WalletRepository, x as ExtendedVirtualCoin, y as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, z as WalletState, w as Contract, C as ContractRepository, B as ContractFilter, I as IWallet, r as ArkProvider, am as SettlementConfig, az as ContractWatcherConfig, aA as Asset, R as Recipient, aB as FeeInfo, l as SettlementEvent, N as NormalizedExtendedVirtualCoin, k as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, d as GetSpendableVtxosFilter, aC as CreateContractParams, aD as GetContractsFilter, v as VirtualCoin, aE as GetSpendablePathsOptions, aF as GetAllSpendingPathsOptions, h as GetNewAddressesOptions, aG as IssuanceParams, aH as ReissuanceParams, aI as BurnParams, aJ as RenewVtxosOptions, c as WalletBalance, ac as ContractSyncState, ah as ContractWithVtxos, aK as WatchedScript, aL as PathSelection, i as NewAddress, aM as ContractEvent, aN as AssetDetails, aO as IssuanceResult, aP as DelegateInfo, aQ as MigrationGlobalSkipReason, aR as MigrationLegSkipReason, aS as SignerStatus, a4 as IReadonlyWallet, e as ActivityRegistry, ab as IReadonlyAssetManager, aT as StorageConfig, f as Activity, g as IContractManager, n as IAssetManager, m as SendParams, j as IDelegateManager, aU as IVtxoManager, a6 as OnchainProvider, P as Network, ae as NetworkName, aj as Coin, aV as ExplorerTransaction, af as ArkInfo, aq as SignedIntent, ar as Intent, aW as TreeNonces, aX as TreePartialSigs, T as TxNotificationEvent, aY as PendingTx, u as TapLeafScript, aZ as EncodedVtxoScript, Q as CSVMultisigTapscript, t as RelativeTimelock, V as VtxoScript, a_ as Status, ag as ArkAddress, a$ as ChainTx, s as IndexerProvider, Y as TxTree, b0 as PathContext } from './index-Ctul0N3Y.js';
2
+ export { b1 as ActivityIntent, b2 as ActivityResolver, b3 as ArkIntentState, b4 as ArkTapscript, b5 as AssetMetadata, b6 as BITCOIN_EMULATOR_PUBKEY, b7 as BaseWalletConfig, a0 as BatchFailedEvent, _ as BatchFinalizationEvent, $ as BatchFinalizedEvent, b8 as BatchInfo, b9 as BatchSignableIdentity, U as BatchStartedEvent, ba as CLTVMultisigTapscript, bb as CandidateDeps, bc as ChainTxType, M as ChainedTxType, bd as CommitmentTx, be as ConditionCSVMultisigTapscript, bf as ConditionMultisigTapscript, bg as ContractBalance, bh as ContractEventCallback, bi as ContractHandler, ak as ContractManager, al as ContractManagerConfig, bj as ContractState, bk as ContractVtxo, bl as ContractVtxoEvent, bm as ContractWatcher, bn as DEFAULT_VTXO_PAGE_SIZE, bo as DelegateManagerImpl, bp as DelegateOptions, a7 as DelegateProvider, bq as DelegatorManagerImpl, br as DelegatorProvider, bs as DeprecatedSignerMigrationReport, bt as DeprecatedSignerReport, bu as DigestMismatchError, bv as Discoverable, bw as DiscoveredContract, bx as DiscoveryDeps, by as ESPLORA_URL, bz as EsploraProvider, bA as EventSourceCapable, bB as EventSourceFactory, bC as EventSourceLike, bD as EventSourceUnavailableError, a9 as ExitCaptureMode, bE as ExitChainResolver, aa as ExitDataSource, bF as ExtendedContractVtxo, bG as GroupMembership, bH as HandlerError, bI as IDelegatorManager, bJ as INTENT_TERMINAL_STATES, bK as IndexerTxType, bL as IntentCoin, bM as KnownMetadata, bN as MUTINYNET_EMULATOR_PUBKEY, bO as MigrateDeprecatedSignerOptions, bP as MigrationLegReport, bQ as MigrationVtxoRef, bR as MultisigTapscript, bS as NewAddressType, bT as Nonces, bU as Output, bV as PageResponse, bW as PaginationOptions, bX as PartialSig, bY as PrevTxSource, bZ as PrevTxUnavailableError, b_ as ProviderClass, b$ as REGTEST_EMULATOR_PUBKEY, c0 as RawTxSource, a8 as ReadonlyWalletConfig, o as RestArkProvider, c1 as RestDelegateProvider, c2 as RestDelegatorProvider, p as RestIndexerProvider, c3 as ScanContractsOptions, c4 as ScanResult, c5 as ScheduledSession, c6 as SettlementEventType, c7 as SignRequest, c8 as SignerClassification, c9 as SignerSet, ca as SubscriptionEvent, cb as SubscriptionHeartbeat, q as SubscriptionResponse, cc as SweepTxNotification, cd as TapLeaves, ce as TapTreeCoder, cf as TapscriptType, as as TimeHeight, Z as TreeNoncesEvent, a2 as TreeSignatureEvent, X as TreeSigningStartedEvent, a1 as TreeTxEvent, cg as Tx, ch as TxHistoryRecord, ci as TxKey, cj as TxNotification, ck as TxTag, cl as TxTreeNode, cm as TxType, cn as VirtualStatus, co as Vtxo, cp as VtxoChain, an as VtxoManager, cq as VtxoType, b as WalletConfig, cr as WalletMode, cs as WithPrevTx, ct as assertAllowedSighashTypes, cu as assetMintResolver, cv as attachPrevArkTxs, cw as attachPrevoutTxs, cx as boardingResolver, cy as canRecoverOnchain, cz as canSpendOffchain, cA as canSweepOnchain, cB as classifyAgainstSignerSet, cC as classifyContractSigner, cD as collabExitResolver, cE as configureEventSource, cF as createDefaultActivityRegistry, cG as createExitChainResolver, cH as decodeTapscript, cI as defaultEmulatorPubkey, cJ as getConfiguredEventSource, cK as getNetwork, cL as getRandomId, cM as getSequence, cN as hasCandidates, cO as hasTerminalSpend, cP as isBatchSignable, cQ as isContractVtxoEvent, cR as isCooperativelyMigratable, cS as isDiscoverable, cT as isEventSourceUnavailableError, cU as isExpired, cV as isPastExpiry, cW as isRecoverable, cX as isSigningIdentity, cY as isSpendable, cZ as isSubdust, c_ as isTerminalIntentState, c$ as isVirtualCoin, d0 as isVtxoExpiringSoon, d1 as isVtxoSpent, d2 as networks, d3 as resolveEmulatorPubkey, d4 as resolveEventSource, d5 as resolvePrevTxs, d6 as scriptFromTapLeafScript, d7 as signerSetFromInfo, d8 as toXOnlySignerHex, d9 as withPrevTxs } from './index-Ctul0N3Y.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-DJClhYMC.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-DJClhYMC.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, l as TweakedSigner, W as WitnessRef, m as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, n as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-D0qe2qVY.js';
6
+ export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-D0qe2qVY.js';
7
+ import { D as DefaultVtxo } from './delegate-C9lpdrb0.js';
8
+ export { a as DelegateVtxo } from './delegate-C9lpdrb0.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';
12
12
  import { ElectrumWS } from 'ws-electrumx-client';
13
13
  import { TransactionOutput, TransactionInputUpdate } from '@scure/btc-signer/psbt.js';
14
- import { Transaction as Transaction$2 } from '@scure/btc-signer/transaction.js';
15
14
  import { S as StorageAdapter } from './index-C0IanN1m.js';
16
15
  import * as P from 'micro-packed';
16
+ import '@scure/btc-signer/transaction.js';
17
17
 
18
18
  /**
19
19
  * Tagged envelope for a signing identity transported across the
@@ -5177,7 +5177,7 @@ declare const UnilateralExit: {
5177
5177
  declare function isRetryableProviderError(error: unknown): boolean;
5178
5178
 
5179
5179
  declare function validateConnectorsTxGraph(settlementTxB64: string, connectorsGraph: TxTree): void;
5180
- declare function validateVtxoTxGraph(graph: TxTree, roundTransaction: Transaction$2, sweepTapTreeRoot: Uint8Array): void;
5180
+ declare function validateVtxoTxGraph(graph: TxTree, roundTransaction: Transaction, sweepTapTreeRoot: Uint8Array): void;
5181
5181
 
5182
5182
  /**
5183
5183
  * Assert the commitment tx received at batch finalization is the one validated
@@ -5475,119 +5475,119 @@ declare const ARKADE_OPS: {
5475
5475
  readonly SIGHASH: 246;
5476
5476
  readonly TUNNEL: 247;
5477
5477
  readonly INSPECTINTENTMESSAGE: 248;
5478
- readonly OP_0: number;
5479
- readonly PUSHDATA1: number;
5480
- readonly PUSHDATA2: number;
5481
- readonly PUSHDATA4: number;
5482
- readonly '1NEGATE': number;
5483
- readonly RESERVED: number;
5484
- readonly OP_1: number;
5485
- readonly OP_2: number;
5486
- readonly OP_3: number;
5487
- readonly OP_4: number;
5488
- readonly OP_5: number;
5489
- readonly OP_6: number;
5490
- readonly OP_7: number;
5491
- readonly OP_8: number;
5492
- readonly OP_9: number;
5493
- readonly OP_10: number;
5494
- readonly OP_11: number;
5495
- readonly OP_12: number;
5496
- readonly OP_13: number;
5497
- readonly OP_14: number;
5498
- readonly OP_15: number;
5499
- readonly OP_16: number;
5500
- readonly NOP: number;
5501
- readonly VER: number;
5502
- readonly IF: number;
5503
- readonly NOTIF: number;
5504
- readonly VERIF: number;
5505
- readonly VERNOTIF: number;
5506
- readonly ELSE: number;
5507
- readonly ENDIF: number;
5508
- readonly VERIFY: number;
5509
- readonly RETURN: number;
5510
- readonly TOALTSTACK: number;
5511
- readonly FROMALTSTACK: number;
5512
- readonly '2DROP': number;
5513
- readonly '2DUP': number;
5514
- readonly '3DUP': number;
5515
- readonly '2OVER': number;
5516
- readonly '2ROT': number;
5517
- readonly '2SWAP': number;
5518
- readonly IFDUP: number;
5519
- readonly DEPTH: number;
5520
- readonly DROP: number;
5521
- readonly DUP: number;
5522
- readonly NIP: number;
5523
- readonly OVER: number;
5524
- readonly PICK: number;
5525
- readonly ROLL: number;
5526
- readonly ROT: number;
5527
- readonly SWAP: number;
5528
- readonly TUCK: number;
5529
- readonly CAT: number;
5530
- readonly SUBSTR: number;
5531
- readonly LEFT: number;
5532
- readonly RIGHT: number;
5533
- readonly SIZE: number;
5534
- readonly INVERT: number;
5535
- readonly AND: number;
5536
- readonly OR: number;
5537
- readonly XOR: number;
5538
- readonly EQUAL: number;
5539
- readonly EQUALVERIFY: number;
5540
- readonly RESERVED1: number;
5541
- readonly RESERVED2: number;
5542
- readonly '1ADD': number;
5543
- readonly '1SUB': number;
5544
- readonly '2MUL': number;
5545
- readonly '2DIV': number;
5546
- readonly NEGATE: number;
5547
- readonly ABS: number;
5548
- readonly NOT: number;
5549
- readonly '0NOTEQUAL': number;
5550
- readonly ADD: number;
5551
- readonly SUB: number;
5552
- readonly MUL: number;
5553
- readonly DIV: number;
5554
- readonly MOD: number;
5555
- readonly LSHIFT: number;
5556
- readonly RSHIFT: number;
5557
- readonly BOOLAND: number;
5558
- readonly BOOLOR: number;
5559
- readonly NUMEQUAL: number;
5560
- readonly NUMEQUALVERIFY: number;
5561
- readonly NUMNOTEQUAL: number;
5562
- readonly LESSTHAN: number;
5563
- readonly GREATERTHAN: number;
5564
- readonly LESSTHANOREQUAL: number;
5565
- readonly GREATERTHANOREQUAL: number;
5566
- readonly MIN: number;
5567
- readonly MAX: number;
5568
- readonly WITHIN: number;
5569
- readonly RIPEMD160: number;
5570
- readonly SHA1: number;
5571
- readonly SHA256: number;
5572
- readonly HASH160: number;
5573
- readonly HASH256: number;
5574
- readonly CODESEPARATOR: number;
5575
- readonly CHECKSIG: number;
5576
- readonly CHECKSIGVERIFY: number;
5577
- readonly CHECKMULTISIG: number;
5578
- readonly CHECKMULTISIGVERIFY: number;
5579
- readonly NOP1: number;
5580
- readonly CHECKLOCKTIMEVERIFY: number;
5581
- readonly CHECKSEQUENCEVERIFY: number;
5582
- readonly NOP4: number;
5583
- readonly NOP5: number;
5584
- readonly NOP6: number;
5585
- readonly NOP7: number;
5586
- readonly NOP8: number;
5587
- readonly NOP9: number;
5588
- readonly NOP10: number;
5589
- readonly CHECKSIGADD: number;
5590
- readonly INVALID: number;
5478
+ readonly OP_0: 0;
5479
+ readonly PUSHDATA1: 76;
5480
+ readonly PUSHDATA2: 77;
5481
+ readonly PUSHDATA4: 78;
5482
+ readonly '1NEGATE': 79;
5483
+ readonly RESERVED: 80;
5484
+ readonly OP_1: 81;
5485
+ readonly OP_2: 82;
5486
+ readonly OP_3: 83;
5487
+ readonly OP_4: 84;
5488
+ readonly OP_5: 85;
5489
+ readonly OP_6: 86;
5490
+ readonly OP_7: 87;
5491
+ readonly OP_8: 88;
5492
+ readonly OP_9: 89;
5493
+ readonly OP_10: 90;
5494
+ readonly OP_11: 91;
5495
+ readonly OP_12: 92;
5496
+ readonly OP_13: 93;
5497
+ readonly OP_14: 94;
5498
+ readonly OP_15: 95;
5499
+ readonly OP_16: 96;
5500
+ readonly NOP: 97;
5501
+ readonly VER: 98;
5502
+ readonly IF: 99;
5503
+ readonly NOTIF: 100;
5504
+ readonly VERIF: 101;
5505
+ readonly VERNOTIF: 102;
5506
+ readonly ELSE: 103;
5507
+ readonly ENDIF: 104;
5508
+ readonly VERIFY: 105;
5509
+ readonly RETURN: 106;
5510
+ readonly TOALTSTACK: 107;
5511
+ readonly FROMALTSTACK: 108;
5512
+ readonly '2DROP': 109;
5513
+ readonly '2DUP': 110;
5514
+ readonly '3DUP': 111;
5515
+ readonly '2OVER': 112;
5516
+ readonly '2ROT': 113;
5517
+ readonly '2SWAP': 114;
5518
+ readonly IFDUP: 115;
5519
+ readonly DEPTH: 116;
5520
+ readonly DROP: 117;
5521
+ readonly DUP: 118;
5522
+ readonly NIP: 119;
5523
+ readonly OVER: 120;
5524
+ readonly PICK: 121;
5525
+ readonly ROLL: 122;
5526
+ readonly ROT: 123;
5527
+ readonly SWAP: 124;
5528
+ readonly TUCK: 125;
5529
+ readonly CAT: 126;
5530
+ readonly SUBSTR: 127;
5531
+ readonly LEFT: 128;
5532
+ readonly RIGHT: 129;
5533
+ readonly SIZE: 130;
5534
+ readonly INVERT: 131;
5535
+ readonly AND: 132;
5536
+ readonly OR: 133;
5537
+ readonly XOR: 134;
5538
+ readonly EQUAL: 135;
5539
+ readonly EQUALVERIFY: 136;
5540
+ readonly RESERVED1: 137;
5541
+ readonly RESERVED2: 138;
5542
+ readonly '1ADD': 139;
5543
+ readonly '1SUB': 140;
5544
+ readonly '2MUL': 141;
5545
+ readonly '2DIV': 142;
5546
+ readonly NEGATE: 143;
5547
+ readonly ABS: 144;
5548
+ readonly NOT: 145;
5549
+ readonly '0NOTEQUAL': 146;
5550
+ readonly ADD: 147;
5551
+ readonly SUB: 148;
5552
+ readonly MUL: 149;
5553
+ readonly DIV: 150;
5554
+ readonly MOD: 151;
5555
+ readonly LSHIFT: 152;
5556
+ readonly RSHIFT: 153;
5557
+ readonly BOOLAND: 154;
5558
+ readonly BOOLOR: 155;
5559
+ readonly NUMEQUAL: 156;
5560
+ readonly NUMEQUALVERIFY: 157;
5561
+ readonly NUMNOTEQUAL: 158;
5562
+ readonly LESSTHAN: 159;
5563
+ readonly GREATERTHAN: 160;
5564
+ readonly LESSTHANOREQUAL: 161;
5565
+ readonly GREATERTHANOREQUAL: 162;
5566
+ readonly MIN: 163;
5567
+ readonly MAX: 164;
5568
+ readonly WITHIN: 165;
5569
+ readonly RIPEMD160: 166;
5570
+ readonly SHA1: 167;
5571
+ readonly SHA256: 168;
5572
+ readonly HASH160: 169;
5573
+ readonly HASH256: 170;
5574
+ readonly CODESEPARATOR: 171;
5575
+ readonly CHECKSIG: 172;
5576
+ readonly CHECKSIGVERIFY: 173;
5577
+ readonly CHECKMULTISIG: 174;
5578
+ readonly CHECKMULTISIGVERIFY: 175;
5579
+ readonly NOP1: 176;
5580
+ readonly CHECKLOCKTIMEVERIFY: 177;
5581
+ readonly CHECKSEQUENCEVERIFY: 178;
5582
+ readonly NOP4: 179;
5583
+ readonly NOP5: 180;
5584
+ readonly NOP6: 181;
5585
+ readonly NOP7: 182;
5586
+ readonly NOP8: 183;
5587
+ readonly NOP9: 184;
5588
+ readonly NOP10: 185;
5589
+ readonly CHECKSIGADD: 186;
5590
+ readonly INVALID: 255;
5591
5591
  };
5592
5592
  /** A single script operation: opcode string key, raw bytes, number, or bigint */
5593
5593
  type ArkadeScriptOP = keyof typeof ARKADE_OPS | Uint8Array | number | bigint;