@arkade-os/sdk 0.5.11 → 0.5.12
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.
- package/dist/adapters/expo.cjs +7 -7
- package/dist/adapters/expo.d.cts +2 -2
- package/dist/adapters/expo.d.ts +2 -2
- package/dist/adapters/expo.js +4 -4
- package/dist/{asyncStorageTaskQueue-C0irgPwJ.d.ts → asyncStorageTaskQueue-Bsty8W7d.d.ts} +1 -1
- package/dist/{asyncStorageTaskQueue-B6rFkXzW.d.cts → asyncStorageTaskQueue-DTNS2qfN.d.cts} +1 -1
- package/dist/{chunk-DPFD5KBK.js → chunk-2YXVU5TK.js} +7 -5
- package/dist/chunk-2YXVU5TK.js.map +1 -0
- package/dist/{chunk-4DUTRRXF.js → chunk-3ABF4EMM.js} +3 -3
- package/dist/{chunk-4DUTRRXF.js.map → chunk-3ABF4EMM.js.map} +1 -1
- package/dist/{chunk-LKVVWCIW.js → chunk-3RO63OPW.js} +4 -4
- package/dist/{chunk-LKVVWCIW.js.map → chunk-3RO63OPW.js.map} +1 -1
- package/dist/{chunk-HRFWODLP.js → chunk-4OY5BCIE.js} +5 -5
- package/dist/{chunk-HRFWODLP.js.map → chunk-4OY5BCIE.js.map} +1 -1
- package/dist/{chunk-SS5BPVQL.js → chunk-4TMJBLJT.js} +11 -6
- package/dist/chunk-4TMJBLJT.js.map +1 -0
- package/dist/{chunk-5HCDXBBG.cjs → chunk-4X4SY3RH.cjs} +18 -13
- package/dist/chunk-4X4SY3RH.cjs.map +1 -0
- package/dist/{chunk-KRKREYKT.js → chunk-5NY5EOS2.js} +4 -4
- package/dist/{chunk-KRKREYKT.js.map → chunk-5NY5EOS2.js.map} +1 -1
- package/dist/{chunk-VJQMUKPZ.js → chunk-BA3GPO5C.js} +5 -5
- package/dist/{chunk-VJQMUKPZ.js.map → chunk-BA3GPO5C.js.map} +1 -1
- package/dist/{chunk-VLO3JAP3.cjs → chunk-C3NKBKRY.cjs} +52 -52
- package/dist/{chunk-VLO3JAP3.cjs.map → chunk-C3NKBKRY.cjs.map} +1 -1
- package/dist/{chunk-DMYHAUTA.cjs → chunk-CJUVKHK4.cjs} +705 -618
- package/dist/chunk-CJUVKHK4.cjs.map +1 -0
- package/dist/{chunk-WZ2UHHQ7.cjs → chunk-HNLC6F73.cjs} +20 -20
- package/dist/{chunk-WZ2UHHQ7.cjs.map → chunk-HNLC6F73.cjs.map} +1 -1
- package/dist/{chunk-UPIQZRNJ.cjs → chunk-JA4SYFC7.cjs} +11 -11
- package/dist/{chunk-UPIQZRNJ.cjs.map → chunk-JA4SYFC7.cjs.map} +1 -1
- package/dist/{chunk-OMZZQTDM.cjs → chunk-PHOJF7OK.cjs} +10 -10
- package/dist/{chunk-OMZZQTDM.cjs.map → chunk-PHOJF7OK.cjs.map} +1 -1
- package/dist/{chunk-NC6TEEHZ.cjs → chunk-QDX2HUBK.cjs} +11 -11
- package/dist/{chunk-NC6TEEHZ.cjs.map → chunk-QDX2HUBK.cjs.map} +1 -1
- package/dist/{chunk-GEK6QBSY.cjs → chunk-QV7AOZZN.cjs} +21 -21
- package/dist/{chunk-GEK6QBSY.cjs.map → chunk-QV7AOZZN.cjs.map} +1 -1
- package/dist/{chunk-PXEFYEKL.js → chunk-UXLETBNK.js} +4 -4
- package/dist/{chunk-PXEFYEKL.js.map → chunk-UXLETBNK.js.map} +1 -1
- package/dist/{chunk-W2C3KDQA.js → chunk-WBZYYRAB.js} +127 -40
- package/dist/chunk-WBZYYRAB.js.map +1 -0
- package/dist/{chunk-WIZCF5IX.cjs → chunk-YAVF2PR6.cjs} +7 -5
- package/dist/chunk-YAVF2PR6.cjs.map +1 -0
- package/dist/compiler.cjs +4 -4
- package/dist/compiler.js +3 -3
- package/dist/contracts/handlers/index.cjs +11 -11
- package/dist/contracts/handlers/index.d.cts +2 -2
- package/dist/contracts/handlers/index.d.ts +2 -2
- package/dist/contracts/handlers/index.js +4 -4
- package/dist/{index-Bq349_ly.d.cts → index-BBmZXXqk.d.cts} +1 -1
- package/dist/{index-Mn2POBPj.d.ts → index-DJ32LpfD.d.ts} +1 -1
- package/dist/{index-Yh5y9G4E.d.ts → index-D_zLtU-F.d.ts} +1 -1
- package/dist/{index-D4ahI0W6.d.cts → index-DenQfCn1.d.cts} +1 -1
- package/dist/index.cjs +350 -350
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/dist/repositories/realm/index.cjs +40 -40
- package/dist/repositories/realm/index.d.cts +2 -2
- package/dist/repositories/realm/index.d.ts +2 -2
- package/dist/repositories/realm/index.js +8 -8
- package/dist/repositories/sqlite/index.cjs +38 -38
- package/dist/repositories/sqlite/index.d.cts +2 -2
- package/dist/repositories/sqlite/index.d.ts +2 -2
- package/dist/repositories/sqlite/index.js +8 -8
- package/dist/{taskRunner-Z3LnHfgs.d.cts → taskRunner-BBGaN4cq.d.cts} +1 -1
- package/dist/{taskRunner-BYxEgwM5.d.ts → taskRunner-Cck24OnC.d.ts} +1 -1
- package/dist/wallet/expo/background.cjs +17 -17
- package/dist/wallet/expo/background.d.cts +3 -3
- package/dist/wallet/expo/background.d.ts +3 -3
- package/dist/wallet/expo/background.js +9 -9
- package/dist/wallet/expo/index.cjs +18 -18
- package/dist/wallet/expo/index.d.cts +2 -2
- package/dist/wallet/expo/index.d.ts +2 -2
- package/dist/wallet/expo/index.js +8 -8
- package/dist/worker/expo/index.cjs +12 -12
- package/dist/worker/expo/index.d.cts +4 -4
- package/dist/worker/expo/index.d.ts +4 -4
- package/dist/worker/expo/index.js +8 -8
- package/package.json +1 -1
- package/dist/chunk-5HCDXBBG.cjs.map +0 -1
- package/dist/chunk-DMYHAUTA.cjs.map +0 -1
- package/dist/chunk-DPFD5KBK.js.map +0 -1
- package/dist/chunk-SS5BPVQL.js.map +0 -1
- package/dist/chunk-W2C3KDQA.js.map +0 -1
- package/dist/chunk-WIZCF5IX.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as Identity, a8 as DescriptorProvider, a9 as Transaction, aa as SignerSession, ab as ReadonlyIdentity, ac as DescriptorSigningRequest, ad as IntentFeeConfig, ae as OffchainInput, af as FeeAmount, ag as OnchainInput, ah as FeeOutput, ai as VtxoReservationRepository, aj as StoredVtxoReservation, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, K as Outpoint, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch, W as WalletRepository, _ as AtomicWalletState, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, $ as WalletState, D as Contract, ak as ArkadeCashTx, z as IndexerProvider, al as ArkadeInfo, am as OnchainProvider, an as ArkadeCashRecord, ao as ArkadeCashClaimResult, l as Activity, C as ContractRepository, a0 as ContractFilter, I as IWallet, S as SettleParams, G as GetOperatorInfoOptions, ap as GetVtxosOptions, aq as PaginationOptions, h as GetVtxosFilter, i as GetSpendableVtxosFilter, ar as CreateContractParams, as as GetContractsFilter, V as VirtualCoin, at as GetSpendablePathsOptions, au as GetAllSpendingPathsOptions, n as GetNewAddressesOptions, R as Recipient, av as InputExpiryFloor, aw as IssuanceParams, ax as ReissuanceParams, ay as BurnParams, az as RenewVtxosOptions, s as SendOnchainParams, q as SettlementEvent, O as OperatorInfo, aA as NormalizedVtxoPage, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, P as ProviderConnectionState, aB as ContractSyncState, aC as ContractWithVtxos, aD as WatchedScript, aE as PathSelection, o as NewAddress, aF as ContractEvent, aG as AssetDetails, aH as IssuanceResult, aI as DelegateInfo, aJ as MigrationGlobalSkipReason, aK as MigrationLegSkipReason, aL as SignerStatus, aM as NetworkName, B as OperatorProvider, c as Wallet, aN as ReadonlyWallet, aO as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, aR as FeeInfo, N as NormalizedExtendedVirtualCoin, aS as ReceiveRotatorFactory, aT as ReceiveRotatorBootOpts, aU as ReceiveRotatorBoot, aV as IReadonlyWallet, k as ActivityRegistry, aW as IReadonlyAssetManager, aX as StorageConfig, m as IContractManager, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, t as IAssetManager, aY as VtxoReservation, r as SendParams, p as IDelegateManager, aZ as IVtxoManager, a_ as Network, a$ as Coin, b0 as SendBitcoinParams, b1 as ExplorerTransaction, b2 as SignedProof, b3 as Proof, b4 as TreeNonces, b5 as TreePartialSigs, T as TxNotificationEvent, b6 as PendingTx, b7 as EmulatorProvider, b8 as Status, b9 as BatchExpiryPolicy, ba as Batch, bb as ChainTx, bc as TxTree, bd as ArkadeService, be as ContractVtxoEvent, bf as ExtendedContractVtxo, bg as ResolvedArkadeService, bh as resolveArkadeService, bi as PathContext } from './index-
|
|
2
|
-
export { bj as AbortError, bk as ActivityIntent, bl as ActivityResolver, bm as ArkError, bn as ArkErrorName, bo as ArkIntent, bp as ArkIntentState, y as ArkProvider, bq as ArkadeCash, br as ArkadeCashAction, bs as ArkadeCashCreateError, bt as ArkadeCashOperatorMismatchError, bu as ArkadeCashUnclaimedReason, bv as ArkadeCashUnclaimedVtxo, bw as ArkadeCashVtxoRef, bx as AssetMetadata, by as BATCH_REGISTRATION_TERMINAL_STATES, bz as BITCOIN_EMULATOR_PUBKEY, bA as BaseWalletConfig, bB as BatchFailedEvent, bC as BatchFinalizationEvent, bD as BatchFinalizedEvent, bE as BatchInfo, bF as BatchRegistrationFilter, bG as BatchRegistrationState, bH as BatchSignableIdentity, bI as BatchStartedEvent, bJ as BoardingUtxoGroup, bK as CandidateDeps, bL as ChainTxType, a7 as ChainedTxType, bM as CommitmentTx, bN as ConnectorTreeNode, bO as ContractBalance, bP as ContractEventCallback, bQ as ContractHandler, bR as ContractManager, bS as ContractManagerConfig, bT as ContractScope, bU as ContractState, bV as ContractVtxo, bW as ContractWatcher, bX as ContractWatcherEventCallback, bY as DEFAULT_ARKADE_EMULATOR_URL, bZ as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, b_ as DEFAULT_VTXO_PAGE_SIZE, b$ as DefaultVtxo, c0 as DelegateManagerImpl, c1 as DelegateOptions, c2 as DelegateProvider, c3 as DelegateVtxo, c4 as DeprecatedSignerMigrationReport, c5 as DeprecatedSignerReport, c6 as DigestMismatchError, c7 as Discoverable, c8 as DiscoveredContract, c9 as DiscoveryDeps, ca as ESPLORA_URL, cb as EmulatorInfo, cc as EsploraProvider, cd as EventSourceCapable, ce as EventSourceFactory, cf as EventSourceLike, cg as EventSourceUnavailableError, ch as ExitCaptureMode, ci as ExitChainResolver, cj as ExitDataSource, ck as ForeignDescriptorError, cl as GetArkadeInfoOptions, cm as GetUtxosOptions, cn as GroupMembership, co as HandlerError, cp as HttpResponseError, cq as INTENT_TERMINAL_STATES, cr as IncomingFunds, cs as IndexedDBWalletRepository, ct as IndexerTxType, cu as IndexerUtxo, cv as IndexerUtxosUnsupportedError, cw as Intent, cx as IntentCoin, cy as IntentFilter, cz as IntentPageFilter, cA as IntentRepository, cB as KeyringDescriptorProvider, cC as KnownMetadata, cD as MAX_PAGE_SIZE, cE as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, cF as MUTINYNET_EMULATOR_PUBKEY, cG as MigrateDeprecatedSignerOptions, cH as MigrationLegReport, cI as MigrationVtxoRef, cJ as NewAddressType, cK as Nonces, cL as NotifiesIncomingFunds, cM as OnchainCosignAmbiguousError, cN as OnchainCosignRejectedError, cO as OnchainCosignUnsupportedError, cP as Output, cQ as PageResponse, cR as PartialSig, cS as PrevTxSource, cT as PrevTxUnavailableError, cU as ProofInput, cV as ProviderClass, cW as ProviderKind, cX as ProviderUnavailableError, cY as REGTEST_EMULATOR_PUBKEY, cZ as REGTEST_MIN_BATCH_EXPIRY_SECONDS, c_ as RawTxSource, c$ as ReadonlySingleKey, d0 as ReadonlyWalletConfig, d1 as RecipientArkadeAddressContext, d2 as RenewalSplit, d3 as RenewalSplitContext, d4 as RestArkProvider, d5 as RestDelegateProvider, d6 as RestEmulatorProvider, v as RestIndexerProvider, u as RestOperatorProvider, d7 as ScanContractsOptions, d8 as ScanResult, d9 as ScheduledSession, da as ServerInfoSource, db as ServerResponseMismatchError, dc as SettlementEventType, dd as SignRequest, de as SignedIntent, df as SignerClassification, dg as SignerSet, dh as SingleKey, w as SubscriptionEvent, di as SubscriptionFilter, x as SubscriptionHeartbeat, dj as SubscriptionResponse, dk as SweepTxNotification, dl as TapLeaves, dm as TimeHeight, dn as TreeNoncesEvent, dp as TreeSignatureEvent, dq as TreeSignerSession, dr as TreeSigningStartedEvent, ds as TreeTxEvent, dt as Tx, du as TxHistoryRecord, dv as TxKey, dw as TxNotification, dx as TxTag, dy as TxTreeNode, dz as TxType, dA as Vtxo, dB as VtxoChain, dC as VtxoManager, dD as VtxoReservedError, dE as VtxoType, dF as WaitForIncomingFundsOptions, dG as WalletCannotAllocateAddressError, d as WalletConfig, dH as WalletMode, dI as WithPrevTx, dJ as addArkadeCashRecord, dK as arkadeCashId, dL as arkadeCashResolver, dM as assertAllowedSighashTypes, dN as assertPageRequest, dO as assertRecipientArkadeAddress, dP as assertValidBatchExpiry, dQ as assetMintResolver, dR as attachPrevArkTxs, dS as attachPrevoutTxs, dT as boardingResolver, dU as canRecoverOnchain, dV as canSpendOffchain, dW as canSweepOnchain, dX as classifyAgainstSignerSet, dY as classifyContractSigner, dZ as collabExitResolver, d_ as collectBatchRegistrations, d$ as collectContracts, e0 as collectIntents, e1 as collectPages, e2 as collectScriptVtxos, e3 as collectTransactionHistory, e4 as collectUtxos, e5 as collectVtxos, e6 as configureEventSource, e7 as createArkadeCashTracker, e8 as createDefaultActivityRegistry, e9 as createExitChainResolver, ea as defaultBatchExpiryPolicy, eb as defaultEmulatorPubkey, ec as getAllNormalizedVtxos, ed as getConfiguredEventSource, ee as getNetwork, ef as getNormalizedVtxos, eg as getRandomId, eh as hasCandidates, ei as isAddressAllocationCapable, ej as isArkError, ek as isBatchSignable, el as isContractVtxoEvent, em as isCooperativelyMigratable, en as isDiscoverable, eo as isEventSourceUnavailableError, ep as isHDAllocationCapable, eq as isHDWalletCapable, er as isPastExpiry, es as isSigningIdentity, et as isSubdust, eu as isTerminalBatchRegistrationState, ev as isTerminalIntentState, ew as isVirtualCoin, ex as isVtxoExpiringSoon, ey as isVtxoSpent, ez as iteratePages, eA as maybeArkError, eB as mergeArkadeCashRecord, eC as networkFromArkadeInfo, eD as networkFromOperatorInfo, eE as networks, eF as pageResult, eG as resolveBatchExpiryPolicy, eH as resolveDescriptorSigner, eI as resolveEmulatorPubkey, eJ as resolveEventSource, eK as resolvePrevTxs, eL as selectVirtualCoins, eM as signerSetFromInfo, eN as signingDescriptorIndex, eO as strictSigningDescriptorIndex, eP as toOffchainInputFeeParams, eQ as toXOnlySignerHex, eR as waitForIncomingFunds, eS as withPrevTxs } from './index-
|
|
1
|
+
import { b as Identity, a8 as DescriptorProvider, a9 as Transaction, aa as SignerSession, ab as ReadonlyIdentity, ac as DescriptorSigningRequest, ad as IntentFeeConfig, ae as OffchainInput, af as FeeAmount, ag as OnchainInput, ah as FeeOutput, ai as VtxoReservationRepository, aj as StoredVtxoReservation, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, K as Outpoint, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch, W as WalletRepository, _ as AtomicWalletState, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, $ as WalletState, D as Contract, ak as ArkadeCashTx, z as IndexerProvider, al as ArkadeInfo, am as OnchainProvider, an as ArkadeCashRecord, ao as ArkadeCashClaimResult, l as Activity, C as ContractRepository, a0 as ContractFilter, I as IWallet, S as SettleParams, G as GetOperatorInfoOptions, ap as GetVtxosOptions, aq as PaginationOptions, h as GetVtxosFilter, i as GetSpendableVtxosFilter, ar as CreateContractParams, as as GetContractsFilter, V as VirtualCoin, at as GetSpendablePathsOptions, au as GetAllSpendingPathsOptions, n as GetNewAddressesOptions, R as Recipient, av as InputExpiryFloor, aw as IssuanceParams, ax as ReissuanceParams, ay as BurnParams, az as RenewVtxosOptions, s as SendOnchainParams, q as SettlementEvent, O as OperatorInfo, aA as NormalizedVtxoPage, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, P as ProviderConnectionState, aB as ContractSyncState, aC as ContractWithVtxos, aD as WatchedScript, aE as PathSelection, o as NewAddress, aF as ContractEvent, aG as AssetDetails, aH as IssuanceResult, aI as DelegateInfo, aJ as MigrationGlobalSkipReason, aK as MigrationLegSkipReason, aL as SignerStatus, aM as NetworkName, B as OperatorProvider, c as Wallet, aN as ReadonlyWallet, aO as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, aR as FeeInfo, N as NormalizedExtendedVirtualCoin, aS as ReceiveRotatorFactory, aT as ReceiveRotatorBootOpts, aU as ReceiveRotatorBoot, aV as IReadonlyWallet, k as ActivityRegistry, aW as IReadonlyAssetManager, aX as StorageConfig, m as IContractManager, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, t as IAssetManager, aY as VtxoReservation, r as SendParams, p as IDelegateManager, aZ as IVtxoManager, a_ as Network, a$ as Coin, b0 as SendBitcoinParams, b1 as ExplorerTransaction, b2 as SignedProof, b3 as Proof, b4 as TreeNonces, b5 as TreePartialSigs, T as TxNotificationEvent, b6 as PendingTx, b7 as EmulatorProvider, b8 as Status, b9 as BatchExpiryPolicy, ba as Batch, bb as ChainTx, bc as TxTree, bd as ArkadeService, be as ContractVtxoEvent, bf as ExtendedContractVtxo, bg as ResolvedArkadeService, bh as resolveArkadeService, bi as PathContext } from './index-BBmZXXqk.cjs';
|
|
2
|
+
export { bj as AbortError, bk as ActivityIntent, bl as ActivityResolver, bm as ArkError, bn as ArkErrorName, bo as ArkIntent, bp as ArkIntentState, y as ArkProvider, bq as ArkadeCash, br as ArkadeCashAction, bs as ArkadeCashCreateError, bt as ArkadeCashOperatorMismatchError, bu as ArkadeCashUnclaimedReason, bv as ArkadeCashUnclaimedVtxo, bw as ArkadeCashVtxoRef, bx as AssetMetadata, by as BATCH_REGISTRATION_TERMINAL_STATES, bz as BITCOIN_EMULATOR_PUBKEY, bA as BaseWalletConfig, bB as BatchFailedEvent, bC as BatchFinalizationEvent, bD as BatchFinalizedEvent, bE as BatchInfo, bF as BatchRegistrationFilter, bG as BatchRegistrationState, bH as BatchSignableIdentity, bI as BatchStartedEvent, bJ as BoardingUtxoGroup, bK as CandidateDeps, bL as ChainTxType, a7 as ChainedTxType, bM as CommitmentTx, bN as ConnectorTreeNode, bO as ContractBalance, bP as ContractEventCallback, bQ as ContractHandler, bR as ContractManager, bS as ContractManagerConfig, bT as ContractScope, bU as ContractState, bV as ContractVtxo, bW as ContractWatcher, bX as ContractWatcherEventCallback, bY as DEFAULT_ARKADE_EMULATOR_URL, bZ as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, b_ as DEFAULT_VTXO_PAGE_SIZE, b$ as DefaultVtxo, c0 as DelegateManagerImpl, c1 as DelegateOptions, c2 as DelegateProvider, c3 as DelegateVtxo, c4 as DeprecatedSignerMigrationReport, c5 as DeprecatedSignerReport, c6 as DigestMismatchError, c7 as Discoverable, c8 as DiscoveredContract, c9 as DiscoveryDeps, ca as ESPLORA_URL, cb as EmulatorInfo, cc as EsploraProvider, cd as EventSourceCapable, ce as EventSourceFactory, cf as EventSourceLike, cg as EventSourceUnavailableError, ch as ExitCaptureMode, ci as ExitChainResolver, cj as ExitDataSource, ck as ForeignDescriptorError, cl as GetArkadeInfoOptions, cm as GetUtxosOptions, cn as GroupMembership, co as HandlerError, cp as HttpResponseError, cq as INTENT_TERMINAL_STATES, cr as IncomingFunds, cs as IndexedDBWalletRepository, ct as IndexerTxType, cu as IndexerUtxo, cv as IndexerUtxosUnsupportedError, cw as Intent, cx as IntentCoin, cy as IntentFilter, cz as IntentPageFilter, cA as IntentRepository, cB as KeyringDescriptorProvider, cC as KnownMetadata, cD as MAX_PAGE_SIZE, cE as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, cF as MUTINYNET_EMULATOR_PUBKEY, cG as MigrateDeprecatedSignerOptions, cH as MigrationLegReport, cI as MigrationVtxoRef, cJ as NewAddressType, cK as Nonces, cL as NotifiesIncomingFunds, cM as OnchainCosignAmbiguousError, cN as OnchainCosignRejectedError, cO as OnchainCosignUnsupportedError, cP as Output, cQ as PageResponse, cR as PartialSig, cS as PrevTxSource, cT as PrevTxUnavailableError, cU as ProofInput, cV as ProviderClass, cW as ProviderKind, cX as ProviderUnavailableError, cY as REGTEST_EMULATOR_PUBKEY, cZ as REGTEST_MIN_BATCH_EXPIRY_SECONDS, c_ as RawTxSource, c$ as ReadonlySingleKey, d0 as ReadonlyWalletConfig, d1 as RecipientArkadeAddressContext, d2 as RenewalSplit, d3 as RenewalSplitContext, d4 as RestArkProvider, d5 as RestDelegateProvider, d6 as RestEmulatorProvider, v as RestIndexerProvider, u as RestOperatorProvider, d7 as ScanContractsOptions, d8 as ScanResult, d9 as ScheduledSession, da as ServerInfoSource, db as ServerResponseMismatchError, dc as SettlementEventType, dd as SignRequest, de as SignedIntent, df as SignerClassification, dg as SignerSet, dh as SingleKey, w as SubscriptionEvent, di as SubscriptionFilter, x as SubscriptionHeartbeat, dj as SubscriptionResponse, dk as SweepTxNotification, dl as TapLeaves, dm as TimeHeight, dn as TreeNoncesEvent, dp as TreeSignatureEvent, dq as TreeSignerSession, dr as TreeSigningStartedEvent, ds as TreeTxEvent, dt as Tx, du as TxHistoryRecord, dv as TxKey, dw as TxNotification, dx as TxTag, dy as TxTreeNode, dz as TxType, dA as Vtxo, dB as VtxoChain, dC as VtxoManager, dD as VtxoReservedError, dE as VtxoType, dF as WaitForIncomingFundsOptions, dG as WalletCannotAllocateAddressError, d as WalletConfig, dH as WalletMode, dI as WithPrevTx, dJ as addArkadeCashRecord, dK as arkadeCashId, dL as arkadeCashResolver, dM as assertAllowedSighashTypes, dN as assertPageRequest, dO as assertRecipientArkadeAddress, dP as assertValidBatchExpiry, dQ as assetMintResolver, dR as attachPrevArkTxs, dS as attachPrevoutTxs, dT as boardingResolver, dU as canRecoverOnchain, dV as canSpendOffchain, dW as canSweepOnchain, dX as classifyAgainstSignerSet, dY as classifyContractSigner, dZ as collabExitResolver, d_ as collectBatchRegistrations, d$ as collectContracts, e0 as collectIntents, e1 as collectPages, e2 as collectScriptVtxos, e3 as collectTransactionHistory, e4 as collectUtxos, e5 as collectVtxos, e6 as configureEventSource, e7 as createArkadeCashTracker, e8 as createDefaultActivityRegistry, e9 as createExitChainResolver, ea as defaultBatchExpiryPolicy, eb as defaultEmulatorPubkey, ec as getAllNormalizedVtxos, ed as getConfiguredEventSource, ee as getNetwork, ef as getNormalizedVtxos, eg as getRandomId, eh as hasCandidates, ei as isAddressAllocationCapable, ej as isArkError, ek as isBatchSignable, el as isContractVtxoEvent, em as isCooperativelyMigratable, en as isDiscoverable, eo as isEventSourceUnavailableError, ep as isHDAllocationCapable, eq as isHDWalletCapable, er as isPastExpiry, es as isSigningIdentity, et as isSubdust, eu as isTerminalBatchRegistrationState, ev as isTerminalIntentState, ew as isVirtualCoin, ex as isVtxoExpiringSoon, ey as isVtxoSpent, ez as iteratePages, eA as maybeArkError, eB as mergeArkadeCashRecord, eC as networkFromArkadeInfo, eD as networkFromOperatorInfo, eE as networks, eF as pageResult, eG as resolveBatchExpiryPolicy, eH as resolveDescriptorSigner, eI as resolveEmulatorPubkey, eJ as resolveEventSource, eK as resolvePrevTxs, eL as selectVirtualCoins, eM as signerSetFromInfo, eN as signingDescriptorIndex, eO as strictSigningDescriptorIndex, eP as toOffchainInputFeeParams, eQ as toXOnlySignerHex, eR as waitForIncomingFunds, eS as withPrevTxs } from './index-BBmZXXqk.cjs';
|
|
3
3
|
import { T as TapLeafScript, E as EncodedVtxoScript, C as CSVMultisigTapscript, V as VtxoScript, R as RelativeTimelock } from './base-C-Y5t_0F.cjs';
|
|
4
4
|
export { A as ArkAddress, a as ArkTapscript, b as CLTVMultisigTapscript, c as ConditionCSVMultisigTapscript, d as ConditionMultisigTapscript, M as MultisigTapscript, e as TapTreeCoder, f as TapscriptType, g as decodeTapscript, h as getSequence, s as scriptFromTapLeafScript } from './base-C-Y5t_0F.cjs';
|
|
5
|
-
export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, V as VHTLC, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from './index-
|
|
5
|
+
export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, V as VHTLC, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from './index-DenQfCn1.cjs';
|
|
6
6
|
import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
|
|
7
7
|
import { Transaction as Transaction$1, OP, Script, ScriptType } from '@scure/btc-signer';
|
|
8
8
|
import { P2TR } from '@scure/btc-signer/payment.js';
|
|
@@ -3193,9 +3193,10 @@ interface ServiceWorkerWalletOptions {
|
|
|
3193
3193
|
lazyInitialization?: boolean;
|
|
3194
3194
|
/** Defer boarding and history loading; render boarding.loaded=false as unknown. */
|
|
3195
3195
|
lazyBoarding?: boolean;
|
|
3196
|
-
/** The operator's endpoint
|
|
3196
|
+
/** The operator's endpoint. */
|
|
3197
3197
|
arkServer?: {
|
|
3198
3198
|
url: string;
|
|
3199
|
+
/** @deprecated Ignored, as `BaseWalletConfig.arkServerPublicKey`. */
|
|
3199
3200
|
publicKey?: string;
|
|
3200
3201
|
};
|
|
3201
3202
|
/**
|
|
@@ -3644,9 +3645,8 @@ declare class OnchainWallet implements AnchorBumper {
|
|
|
3644
3645
|
*/
|
|
3645
3646
|
bumpAnchor(parentHex: string, feeRate: number): Promise<[string, string]>;
|
|
3646
3647
|
/**
|
|
3647
|
-
* Shared core of {@link bumpP2A} and {@link bumpAnchor}:
|
|
3648
|
-
* fee
|
|
3649
|
-
* with the actual selection (the fee grows per extra input).
|
|
3648
|
+
* Shared core of {@link bumpP2A} and {@link bumpAnchor}: select coins that pay the
|
|
3649
|
+
* package fee at their own input count and leave dust-free change, then build and sign.
|
|
3650
3650
|
*/
|
|
3651
3651
|
private buildBumpPackage;
|
|
3652
3652
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as Identity, a8 as DescriptorProvider, a9 as Transaction, aa as SignerSession, ab as ReadonlyIdentity, ac as DescriptorSigningRequest, ad as IntentFeeConfig, ae as OffchainInput, af as FeeAmount, ag as OnchainInput, ah as FeeOutput, ai as VtxoReservationRepository, aj as StoredVtxoReservation, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, K as Outpoint, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch, W as WalletRepository, _ as AtomicWalletState, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, $ as WalletState, D as Contract, ak as ArkadeCashTx, z as IndexerProvider, al as ArkadeInfo, am as OnchainProvider, an as ArkadeCashRecord, ao as ArkadeCashClaimResult, l as Activity, C as ContractRepository, a0 as ContractFilter, I as IWallet, S as SettleParams, G as GetOperatorInfoOptions, ap as GetVtxosOptions, aq as PaginationOptions, h as GetVtxosFilter, i as GetSpendableVtxosFilter, ar as CreateContractParams, as as GetContractsFilter, V as VirtualCoin, at as GetSpendablePathsOptions, au as GetAllSpendingPathsOptions, n as GetNewAddressesOptions, R as Recipient, av as InputExpiryFloor, aw as IssuanceParams, ax as ReissuanceParams, ay as BurnParams, az as RenewVtxosOptions, s as SendOnchainParams, q as SettlementEvent, O as OperatorInfo, aA as NormalizedVtxoPage, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, P as ProviderConnectionState, aB as ContractSyncState, aC as ContractWithVtxos, aD as WatchedScript, aE as PathSelection, o as NewAddress, aF as ContractEvent, aG as AssetDetails, aH as IssuanceResult, aI as DelegateInfo, aJ as MigrationGlobalSkipReason, aK as MigrationLegSkipReason, aL as SignerStatus, aM as NetworkName, B as OperatorProvider, c as Wallet, aN as ReadonlyWallet, aO as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, aR as FeeInfo, N as NormalizedExtendedVirtualCoin, aS as ReceiveRotatorFactory, aT as ReceiveRotatorBootOpts, aU as ReceiveRotatorBoot, aV as IReadonlyWallet, k as ActivityRegistry, aW as IReadonlyAssetManager, aX as StorageConfig, m as IContractManager, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, t as IAssetManager, aY as VtxoReservation, r as SendParams, p as IDelegateManager, aZ as IVtxoManager, a_ as Network, a$ as Coin, b0 as SendBitcoinParams, b1 as ExplorerTransaction, b2 as SignedProof, b3 as Proof, b4 as TreeNonces, b5 as TreePartialSigs, T as TxNotificationEvent, b6 as PendingTx, b7 as EmulatorProvider, b8 as Status, b9 as BatchExpiryPolicy, ba as Batch, bb as ChainTx, bc as TxTree, bd as ArkadeService, be as ContractVtxoEvent, bf as ExtendedContractVtxo, bg as ResolvedArkadeService, bh as resolveArkadeService, bi as PathContext } from './index-
|
|
2
|
-
export { bj as AbortError, bk as ActivityIntent, bl as ActivityResolver, bm as ArkError, bn as ArkErrorName, bo as ArkIntent, bp as ArkIntentState, y as ArkProvider, bq as ArkadeCash, br as ArkadeCashAction, bs as ArkadeCashCreateError, bt as ArkadeCashOperatorMismatchError, bu as ArkadeCashUnclaimedReason, bv as ArkadeCashUnclaimedVtxo, bw as ArkadeCashVtxoRef, bx as AssetMetadata, by as BATCH_REGISTRATION_TERMINAL_STATES, bz as BITCOIN_EMULATOR_PUBKEY, bA as BaseWalletConfig, bB as BatchFailedEvent, bC as BatchFinalizationEvent, bD as BatchFinalizedEvent, bE as BatchInfo, bF as BatchRegistrationFilter, bG as BatchRegistrationState, bH as BatchSignableIdentity, bI as BatchStartedEvent, bJ as BoardingUtxoGroup, bK as CandidateDeps, bL as ChainTxType, a7 as ChainedTxType, bM as CommitmentTx, bN as ConnectorTreeNode, bO as ContractBalance, bP as ContractEventCallback, bQ as ContractHandler, bR as ContractManager, bS as ContractManagerConfig, bT as ContractScope, bU as ContractState, bV as ContractVtxo, bW as ContractWatcher, bX as ContractWatcherEventCallback, bY as DEFAULT_ARKADE_EMULATOR_URL, bZ as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, b_ as DEFAULT_VTXO_PAGE_SIZE, b$ as DefaultVtxo, c0 as DelegateManagerImpl, c1 as DelegateOptions, c2 as DelegateProvider, c3 as DelegateVtxo, c4 as DeprecatedSignerMigrationReport, c5 as DeprecatedSignerReport, c6 as DigestMismatchError, c7 as Discoverable, c8 as DiscoveredContract, c9 as DiscoveryDeps, ca as ESPLORA_URL, cb as EmulatorInfo, cc as EsploraProvider, cd as EventSourceCapable, ce as EventSourceFactory, cf as EventSourceLike, cg as EventSourceUnavailableError, ch as ExitCaptureMode, ci as ExitChainResolver, cj as ExitDataSource, ck as ForeignDescriptorError, cl as GetArkadeInfoOptions, cm as GetUtxosOptions, cn as GroupMembership, co as HandlerError, cp as HttpResponseError, cq as INTENT_TERMINAL_STATES, cr as IncomingFunds, cs as IndexedDBWalletRepository, ct as IndexerTxType, cu as IndexerUtxo, cv as IndexerUtxosUnsupportedError, cw as Intent, cx as IntentCoin, cy as IntentFilter, cz as IntentPageFilter, cA as IntentRepository, cB as KeyringDescriptorProvider, cC as KnownMetadata, cD as MAX_PAGE_SIZE, cE as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, cF as MUTINYNET_EMULATOR_PUBKEY, cG as MigrateDeprecatedSignerOptions, cH as MigrationLegReport, cI as MigrationVtxoRef, cJ as NewAddressType, cK as Nonces, cL as NotifiesIncomingFunds, cM as OnchainCosignAmbiguousError, cN as OnchainCosignRejectedError, cO as OnchainCosignUnsupportedError, cP as Output, cQ as PageResponse, cR as PartialSig, cS as PrevTxSource, cT as PrevTxUnavailableError, cU as ProofInput, cV as ProviderClass, cW as ProviderKind, cX as ProviderUnavailableError, cY as REGTEST_EMULATOR_PUBKEY, cZ as REGTEST_MIN_BATCH_EXPIRY_SECONDS, c_ as RawTxSource, c$ as ReadonlySingleKey, d0 as ReadonlyWalletConfig, d1 as RecipientArkadeAddressContext, d2 as RenewalSplit, d3 as RenewalSplitContext, d4 as RestArkProvider, d5 as RestDelegateProvider, d6 as RestEmulatorProvider, v as RestIndexerProvider, u as RestOperatorProvider, d7 as ScanContractsOptions, d8 as ScanResult, d9 as ScheduledSession, da as ServerInfoSource, db as ServerResponseMismatchError, dc as SettlementEventType, dd as SignRequest, de as SignedIntent, df as SignerClassification, dg as SignerSet, dh as SingleKey, w as SubscriptionEvent, di as SubscriptionFilter, x as SubscriptionHeartbeat, dj as SubscriptionResponse, dk as SweepTxNotification, dl as TapLeaves, dm as TimeHeight, dn as TreeNoncesEvent, dp as TreeSignatureEvent, dq as TreeSignerSession, dr as TreeSigningStartedEvent, ds as TreeTxEvent, dt as Tx, du as TxHistoryRecord, dv as TxKey, dw as TxNotification, dx as TxTag, dy as TxTreeNode, dz as TxType, dA as Vtxo, dB as VtxoChain, dC as VtxoManager, dD as VtxoReservedError, dE as VtxoType, dF as WaitForIncomingFundsOptions, dG as WalletCannotAllocateAddressError, d as WalletConfig, dH as WalletMode, dI as WithPrevTx, dJ as addArkadeCashRecord, dK as arkadeCashId, dL as arkadeCashResolver, dM as assertAllowedSighashTypes, dN as assertPageRequest, dO as assertRecipientArkadeAddress, dP as assertValidBatchExpiry, dQ as assetMintResolver, dR as attachPrevArkTxs, dS as attachPrevoutTxs, dT as boardingResolver, dU as canRecoverOnchain, dV as canSpendOffchain, dW as canSweepOnchain, dX as classifyAgainstSignerSet, dY as classifyContractSigner, dZ as collabExitResolver, d_ as collectBatchRegistrations, d$ as collectContracts, e0 as collectIntents, e1 as collectPages, e2 as collectScriptVtxos, e3 as collectTransactionHistory, e4 as collectUtxos, e5 as collectVtxos, e6 as configureEventSource, e7 as createArkadeCashTracker, e8 as createDefaultActivityRegistry, e9 as createExitChainResolver, ea as defaultBatchExpiryPolicy, eb as defaultEmulatorPubkey, ec as getAllNormalizedVtxos, ed as getConfiguredEventSource, ee as getNetwork, ef as getNormalizedVtxos, eg as getRandomId, eh as hasCandidates, ei as isAddressAllocationCapable, ej as isArkError, ek as isBatchSignable, el as isContractVtxoEvent, em as isCooperativelyMigratable, en as isDiscoverable, eo as isEventSourceUnavailableError, ep as isHDAllocationCapable, eq as isHDWalletCapable, er as isPastExpiry, es as isSigningIdentity, et as isSubdust, eu as isTerminalBatchRegistrationState, ev as isTerminalIntentState, ew as isVirtualCoin, ex as isVtxoExpiringSoon, ey as isVtxoSpent, ez as iteratePages, eA as maybeArkError, eB as mergeArkadeCashRecord, eC as networkFromArkadeInfo, eD as networkFromOperatorInfo, eE as networks, eF as pageResult, eG as resolveBatchExpiryPolicy, eH as resolveDescriptorSigner, eI as resolveEmulatorPubkey, eJ as resolveEventSource, eK as resolvePrevTxs, eL as selectVirtualCoins, eM as signerSetFromInfo, eN as signingDescriptorIndex, eO as strictSigningDescriptorIndex, eP as toOffchainInputFeeParams, eQ as toXOnlySignerHex, eR as waitForIncomingFunds, eS as withPrevTxs } from './index-
|
|
1
|
+
import { b as Identity, a8 as DescriptorProvider, a9 as Transaction, aa as SignerSession, ab as ReadonlyIdentity, ac as DescriptorSigningRequest, ad as IntentFeeConfig, ae as OffchainInput, af as FeeAmount, ag as OnchainInput, ah as FeeOutput, ai as VtxoReservationRepository, aj as StoredVtxoReservation, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, K as Outpoint, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch, W as WalletRepository, _ as AtomicWalletState, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, $ as WalletState, D as Contract, ak as ArkadeCashTx, z as IndexerProvider, al as ArkadeInfo, am as OnchainProvider, an as ArkadeCashRecord, ao as ArkadeCashClaimResult, l as Activity, C as ContractRepository, a0 as ContractFilter, I as IWallet, S as SettleParams, G as GetOperatorInfoOptions, ap as GetVtxosOptions, aq as PaginationOptions, h as GetVtxosFilter, i as GetSpendableVtxosFilter, ar as CreateContractParams, as as GetContractsFilter, V as VirtualCoin, at as GetSpendablePathsOptions, au as GetAllSpendingPathsOptions, n as GetNewAddressesOptions, R as Recipient, av as InputExpiryFloor, aw as IssuanceParams, ax as ReissuanceParams, ay as BurnParams, az as RenewVtxosOptions, s as SendOnchainParams, q as SettlementEvent, O as OperatorInfo, aA as NormalizedVtxoPage, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, P as ProviderConnectionState, aB as ContractSyncState, aC as ContractWithVtxos, aD as WatchedScript, aE as PathSelection, o as NewAddress, aF as ContractEvent, aG as AssetDetails, aH as IssuanceResult, aI as DelegateInfo, aJ as MigrationGlobalSkipReason, aK as MigrationLegSkipReason, aL as SignerStatus, aM as NetworkName, B as OperatorProvider, c as Wallet, aN as ReadonlyWallet, aO as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, aR as FeeInfo, N as NormalizedExtendedVirtualCoin, aS as ReceiveRotatorFactory, aT as ReceiveRotatorBootOpts, aU as ReceiveRotatorBoot, aV as IReadonlyWallet, k as ActivityRegistry, aW as IReadonlyAssetManager, aX as StorageConfig, m as IContractManager, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, t as IAssetManager, aY as VtxoReservation, r as SendParams, p as IDelegateManager, aZ as IVtxoManager, a_ as Network, a$ as Coin, b0 as SendBitcoinParams, b1 as ExplorerTransaction, b2 as SignedProof, b3 as Proof, b4 as TreeNonces, b5 as TreePartialSigs, T as TxNotificationEvent, b6 as PendingTx, b7 as EmulatorProvider, b8 as Status, b9 as BatchExpiryPolicy, ba as Batch, bb as ChainTx, bc as TxTree, bd as ArkadeService, be as ContractVtxoEvent, bf as ExtendedContractVtxo, bg as ResolvedArkadeService, bh as resolveArkadeService, bi as PathContext } from './index-DJ32LpfD.js';
|
|
2
|
+
export { bj as AbortError, bk as ActivityIntent, bl as ActivityResolver, bm as ArkError, bn as ArkErrorName, bo as ArkIntent, bp as ArkIntentState, y as ArkProvider, bq as ArkadeCash, br as ArkadeCashAction, bs as ArkadeCashCreateError, bt as ArkadeCashOperatorMismatchError, bu as ArkadeCashUnclaimedReason, bv as ArkadeCashUnclaimedVtxo, bw as ArkadeCashVtxoRef, bx as AssetMetadata, by as BATCH_REGISTRATION_TERMINAL_STATES, bz as BITCOIN_EMULATOR_PUBKEY, bA as BaseWalletConfig, bB as BatchFailedEvent, bC as BatchFinalizationEvent, bD as BatchFinalizedEvent, bE as BatchInfo, bF as BatchRegistrationFilter, bG as BatchRegistrationState, bH as BatchSignableIdentity, bI as BatchStartedEvent, bJ as BoardingUtxoGroup, bK as CandidateDeps, bL as ChainTxType, a7 as ChainedTxType, bM as CommitmentTx, bN as ConnectorTreeNode, bO as ContractBalance, bP as ContractEventCallback, bQ as ContractHandler, bR as ContractManager, bS as ContractManagerConfig, bT as ContractScope, bU as ContractState, bV as ContractVtxo, bW as ContractWatcher, bX as ContractWatcherEventCallback, bY as DEFAULT_ARKADE_EMULATOR_URL, bZ as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, b_ as DEFAULT_VTXO_PAGE_SIZE, b$ as DefaultVtxo, c0 as DelegateManagerImpl, c1 as DelegateOptions, c2 as DelegateProvider, c3 as DelegateVtxo, c4 as DeprecatedSignerMigrationReport, c5 as DeprecatedSignerReport, c6 as DigestMismatchError, c7 as Discoverable, c8 as DiscoveredContract, c9 as DiscoveryDeps, ca as ESPLORA_URL, cb as EmulatorInfo, cc as EsploraProvider, cd as EventSourceCapable, ce as EventSourceFactory, cf as EventSourceLike, cg as EventSourceUnavailableError, ch as ExitCaptureMode, ci as ExitChainResolver, cj as ExitDataSource, ck as ForeignDescriptorError, cl as GetArkadeInfoOptions, cm as GetUtxosOptions, cn as GroupMembership, co as HandlerError, cp as HttpResponseError, cq as INTENT_TERMINAL_STATES, cr as IncomingFunds, cs as IndexedDBWalletRepository, ct as IndexerTxType, cu as IndexerUtxo, cv as IndexerUtxosUnsupportedError, cw as Intent, cx as IntentCoin, cy as IntentFilter, cz as IntentPageFilter, cA as IntentRepository, cB as KeyringDescriptorProvider, cC as KnownMetadata, cD as MAX_PAGE_SIZE, cE as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, cF as MUTINYNET_EMULATOR_PUBKEY, cG as MigrateDeprecatedSignerOptions, cH as MigrationLegReport, cI as MigrationVtxoRef, cJ as NewAddressType, cK as Nonces, cL as NotifiesIncomingFunds, cM as OnchainCosignAmbiguousError, cN as OnchainCosignRejectedError, cO as OnchainCosignUnsupportedError, cP as Output, cQ as PageResponse, cR as PartialSig, cS as PrevTxSource, cT as PrevTxUnavailableError, cU as ProofInput, cV as ProviderClass, cW as ProviderKind, cX as ProviderUnavailableError, cY as REGTEST_EMULATOR_PUBKEY, cZ as REGTEST_MIN_BATCH_EXPIRY_SECONDS, c_ as RawTxSource, c$ as ReadonlySingleKey, d0 as ReadonlyWalletConfig, d1 as RecipientArkadeAddressContext, d2 as RenewalSplit, d3 as RenewalSplitContext, d4 as RestArkProvider, d5 as RestDelegateProvider, d6 as RestEmulatorProvider, v as RestIndexerProvider, u as RestOperatorProvider, d7 as ScanContractsOptions, d8 as ScanResult, d9 as ScheduledSession, da as ServerInfoSource, db as ServerResponseMismatchError, dc as SettlementEventType, dd as SignRequest, de as SignedIntent, df as SignerClassification, dg as SignerSet, dh as SingleKey, w as SubscriptionEvent, di as SubscriptionFilter, x as SubscriptionHeartbeat, dj as SubscriptionResponse, dk as SweepTxNotification, dl as TapLeaves, dm as TimeHeight, dn as TreeNoncesEvent, dp as TreeSignatureEvent, dq as TreeSignerSession, dr as TreeSigningStartedEvent, ds as TreeTxEvent, dt as Tx, du as TxHistoryRecord, dv as TxKey, dw as TxNotification, dx as TxTag, dy as TxTreeNode, dz as TxType, dA as Vtxo, dB as VtxoChain, dC as VtxoManager, dD as VtxoReservedError, dE as VtxoType, dF as WaitForIncomingFundsOptions, dG as WalletCannotAllocateAddressError, d as WalletConfig, dH as WalletMode, dI as WithPrevTx, dJ as addArkadeCashRecord, dK as arkadeCashId, dL as arkadeCashResolver, dM as assertAllowedSighashTypes, dN as assertPageRequest, dO as assertRecipientArkadeAddress, dP as assertValidBatchExpiry, dQ as assetMintResolver, dR as attachPrevArkTxs, dS as attachPrevoutTxs, dT as boardingResolver, dU as canRecoverOnchain, dV as canSpendOffchain, dW as canSweepOnchain, dX as classifyAgainstSignerSet, dY as classifyContractSigner, dZ as collabExitResolver, d_ as collectBatchRegistrations, d$ as collectContracts, e0 as collectIntents, e1 as collectPages, e2 as collectScriptVtxos, e3 as collectTransactionHistory, e4 as collectUtxos, e5 as collectVtxos, e6 as configureEventSource, e7 as createArkadeCashTracker, e8 as createDefaultActivityRegistry, e9 as createExitChainResolver, ea as defaultBatchExpiryPolicy, eb as defaultEmulatorPubkey, ec as getAllNormalizedVtxos, ed as getConfiguredEventSource, ee as getNetwork, ef as getNormalizedVtxos, eg as getRandomId, eh as hasCandidates, ei as isAddressAllocationCapable, ej as isArkError, ek as isBatchSignable, el as isContractVtxoEvent, em as isCooperativelyMigratable, en as isDiscoverable, eo as isEventSourceUnavailableError, ep as isHDAllocationCapable, eq as isHDWalletCapable, er as isPastExpiry, es as isSigningIdentity, et as isSubdust, eu as isTerminalBatchRegistrationState, ev as isTerminalIntentState, ew as isVirtualCoin, ex as isVtxoExpiringSoon, ey as isVtxoSpent, ez as iteratePages, eA as maybeArkError, eB as mergeArkadeCashRecord, eC as networkFromArkadeInfo, eD as networkFromOperatorInfo, eE as networks, eF as pageResult, eG as resolveBatchExpiryPolicy, eH as resolveDescriptorSigner, eI as resolveEmulatorPubkey, eJ as resolveEventSource, eK as resolvePrevTxs, eL as selectVirtualCoins, eM as signerSetFromInfo, eN as signingDescriptorIndex, eO as strictSigningDescriptorIndex, eP as toOffchainInputFeeParams, eQ as toXOnlySignerHex, eR as waitForIncomingFunds, eS as withPrevTxs } from './index-DJ32LpfD.js';
|
|
3
3
|
import { T as TapLeafScript, E as EncodedVtxoScript, C as CSVMultisigTapscript, V as VtxoScript, R as RelativeTimelock } from './base-C-Y5t_0F.js';
|
|
4
4
|
export { A as ArkAddress, a as ArkTapscript, b as CLTVMultisigTapscript, c as ConditionCSVMultisigTapscript, d as ConditionMultisigTapscript, M as MultisigTapscript, e as TapTreeCoder, f as TapscriptType, g as decodeTapscript, h as getSequence, s as scriptFromTapLeafScript } from './base-C-Y5t_0F.js';
|
|
5
|
-
export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, V as VHTLC, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from './index-
|
|
5
|
+
export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, V as VHTLC, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from './index-D_zLtU-F.js';
|
|
6
6
|
import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
|
|
7
7
|
import { Transaction as Transaction$1, OP, Script, ScriptType } from '@scure/btc-signer';
|
|
8
8
|
import { P2TR } from '@scure/btc-signer/payment.js';
|
|
@@ -3193,9 +3193,10 @@ interface ServiceWorkerWalletOptions {
|
|
|
3193
3193
|
lazyInitialization?: boolean;
|
|
3194
3194
|
/** Defer boarding and history loading; render boarding.loaded=false as unknown. */
|
|
3195
3195
|
lazyBoarding?: boolean;
|
|
3196
|
-
/** The operator's endpoint
|
|
3196
|
+
/** The operator's endpoint. */
|
|
3197
3197
|
arkServer?: {
|
|
3198
3198
|
url: string;
|
|
3199
|
+
/** @deprecated Ignored, as `BaseWalletConfig.arkServerPublicKey`. */
|
|
3199
3200
|
publicKey?: string;
|
|
3200
3201
|
};
|
|
3201
3202
|
/**
|
|
@@ -3644,9 +3645,8 @@ declare class OnchainWallet implements AnchorBumper {
|
|
|
3644
3645
|
*/
|
|
3645
3646
|
bumpAnchor(parentHex: string, feeRate: number): Promise<[string, string]>;
|
|
3646
3647
|
/**
|
|
3647
|
-
* Shared core of {@link bumpP2A} and {@link bumpAnchor}:
|
|
3648
|
-
* fee
|
|
3649
|
-
* with the actual selection (the fee grows per extra input).
|
|
3648
|
+
* Shared core of {@link bumpP2A} and {@link bumpAnchor}: select coins that pay the
|
|
3649
|
+
* package fee at their own input count and leave dust-free change, then build and sign.
|
|
3650
3650
|
*/
|
|
3651
3651
|
private buildBumpPackage;
|
|
3652
3652
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, AbortError, ActivityRegistry, AmbiguousRouteError, ArkNote, Arkade, ArkadeCash, ArkadeCashCreateError, ArkadeCashOperatorMismatchError, AssetManager, BATCH_REGISTRATION_TERMINAL_STATES, BIP21, BIP21Error, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, CachingArkProvider, CachingOperatorProvider, ChainedTxType, ConnectionDisposedError, ContractManager, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DEFAULT_PASSKEY_LABEL, DatabaseUpgradeBlockedError, DelegateManagerImpl, DelegateNotConfiguredError, DescriptorIdentity, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EmulatorPacket, EsploraProvider, Estimator, Extension, ExtensionNotFoundError, ForeignDescriptorError, HDDescriptorProvider, INTENT_TERMINAL_STATES, InMemoryBatchRegistrationRepository, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBBatchRegistrationRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBVtxoReservationRepository, IndexedDBWalletRepository, KeyringDescriptorProvider, MAX_PAGE_SIZE, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainCosignPreflightError, OnchainWallet, OversizedChangeError, P2A, PasskeyCancelled, PasskeyUnconfirmed, PaymentRouter, PrevTxUnavailableError, PrfUnavailable, REGTEST_MIN_BATCH_EXPIRY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestEmulatorProvider, SeedIdentity, SendDeadlineExceededError, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, StaticDescriptorProvider, TreeSignerSession, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, VtxoReservedError, Wallet, WalletCannotAllocateAddressError, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WsElectrumChainSource, addArkadeCashRecord, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, arkade_exports as arkade, arkadeCashId, arkadeCashResolver, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertPageRequest, assertRecipientArkadeAddress, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, assetsOf, attachPrevArkTxs, attachPrevoutTxs, awaitTransaction, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, captureSendDeadline, claimWithPreimageIdentity, classifyAgainstSignerSet, classifyBoardingExpiry, classifyContractSigner, closeDatabase, collabExitResolver, collectBatchRegistrations, collectContracts, collectIntents, collectPages, collectScriptVtxos, collectTransactionHistory, collectUtxos, collectVtxos, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createArkadeCashTracker, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, createManagedConnection, createPrfPasskey, decodeArkContract, decodeBoardingExit, defaultBatchExpiryPolicy, deleteByIndex, deserializeExitPackage, encodeArkContract, evaluatePrf, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isAddressAllocationCapable, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isContractVtxoEvent, isCooperativelyMigratable, isCosignFallback, isDeterministicSigner, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isSigningIdentity, isSubdust, isTerminalBatchRegistrationState, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, iteratePages, logExcludedVtxos, makeHandle, matchServerCheckpoints, mergeArkadeCashRecord, mnemonicFromPrf, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, pageResult, prfSupport, promisifyRequest, provisionClaimSecret, provisionRefundKey, readArkadeCash, registerWalletRestoreHook, resolveAssetAmount, resolveBatchExpiryPolicy, resolveDescriptorSigner, resolvePrevTxs, resolveSendAmount, selectCoinsWithAsset, selectVirtualCoins, selectionOf, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signerSetFromInfo, signingDescriptorIndex, strictSigningDescriptorIndex, submitViaEmulator, toXOnlySignerHex, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds, walletFeeSource, withPrevTxs } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
export { ChainTxType, DEFAULT_VTXO_PAGE_SIZE, IndexerTxType, IndexerUtxosUnsupportedError, RestIndexerProvider, asset_exports as asset } from './chunk-
|
|
4
|
-
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, identityDescriptor, isCltvSatisfied, isCsvSpendable, normalizeToDescriptor, parseHDDescriptor } from './chunk-
|
|
5
|
-
export { UnsupportedProgramVersionError, toXOnly } from './chunk-
|
|
6
|
-
export { ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ConditionWitness, CosignerPublicKey, DigestMismatchError, EventSourceUnavailableError, FetchError, HttpResponseError, Intent, OnchainCosignAmbiguousError, OnchainCosignRejectedError, OnchainCosignUnsupportedError, PrevArkTxField, PrevoutTxField, Proof, ProviderUnavailableError, READ_TIMEOUT_MS, RestArkProvider, RestOperatorProvider, ServerResponseMismatchError, SettlementEventType, Transaction, VtxoTaprootTree, VtxoTreeExpiry, assertAllowedSighashTypes, assertNonNegativeMs, assertTimerMs, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, getAllNormalizedVtxos, getArkPsbtFields, getConfiguredEventSource, getNormalizedVtxos, isArkError, isEventSourceUnavailableError, isPastExpiry, isRetryableProviderError, isVirtualCoin, isVtxoSpent, maybeArkError, resolveEventSource, sdkVersion, setArkPsbtField, toOffchainInputFeeParams } from './chunk-
|
|
7
|
-
export { ArkAddress, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, DEFAULT_ARKADE_EMULATOR_URL, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, REGTEST_EMULATOR_PUBKEY, TapTreeCoder, VtxoScript, assembleBtcdTaprootTree, decodeTapscript, defaultEmulatorPubkey, getNetwork, getSequence, networkFromArkadeInfo, networkFromOperatorInfo, networks, resolveEmulatorPubkey, scriptFromTapLeafScript, sequenceToTimelock, timelockToSequence } from './chunk-
|
|
1
|
+
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, AbortError, ActivityRegistry, AmbiguousRouteError, ArkNote, Arkade, ArkadeCash, ArkadeCashCreateError, ArkadeCashOperatorMismatchError, AssetManager, BATCH_REGISTRATION_TERMINAL_STATES, BIP21, BIP21Error, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, CachingArkProvider, CachingOperatorProvider, ChainedTxType, ConnectionDisposedError, ContractManager, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DEFAULT_PASSKEY_LABEL, DatabaseUpgradeBlockedError, DelegateManagerImpl, DelegateNotConfiguredError, DescriptorIdentity, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EmulatorPacket, EsploraProvider, Estimator, Extension, ExtensionNotFoundError, ForeignDescriptorError, HDDescriptorProvider, INTENT_TERMINAL_STATES, InMemoryBatchRegistrationRepository, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBBatchRegistrationRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBVtxoReservationRepository, IndexedDBWalletRepository, KeyringDescriptorProvider, MAX_PAGE_SIZE, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainCosignPreflightError, OnchainWallet, OversizedChangeError, P2A, PasskeyCancelled, PasskeyUnconfirmed, PaymentRouter, PrevTxUnavailableError, PrfUnavailable, REGTEST_MIN_BATCH_EXPIRY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestEmulatorProvider, SeedIdentity, SendDeadlineExceededError, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, StaticDescriptorProvider, TreeSignerSession, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, VtxoReservedError, Wallet, WalletCannotAllocateAddressError, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WsElectrumChainSource, addArkadeCashRecord, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, arkade_exports as arkade, arkadeCashId, arkadeCashResolver, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertPageRequest, assertRecipientArkadeAddress, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, assetsOf, attachPrevArkTxs, attachPrevoutTxs, awaitTransaction, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, captureSendDeadline, claimWithPreimageIdentity, classifyAgainstSignerSet, classifyBoardingExpiry, classifyContractSigner, closeDatabase, collabExitResolver, collectBatchRegistrations, collectContracts, collectIntents, collectPages, collectScriptVtxos, collectTransactionHistory, collectUtxos, collectVtxos, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createArkadeCashTracker, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, createManagedConnection, createPrfPasskey, decodeArkContract, decodeBoardingExit, defaultBatchExpiryPolicy, deleteByIndex, deserializeExitPackage, encodeArkContract, evaluatePrf, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isAddressAllocationCapable, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isContractVtxoEvent, isCooperativelyMigratable, isCosignFallback, isDeterministicSigner, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isSigningIdentity, isSubdust, isTerminalBatchRegistrationState, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, iteratePages, logExcludedVtxos, makeHandle, matchServerCheckpoints, mergeArkadeCashRecord, mnemonicFromPrf, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, pageResult, prfSupport, promisifyRequest, provisionClaimSecret, provisionRefundKey, readArkadeCash, registerWalletRestoreHook, resolveAssetAmount, resolveBatchExpiryPolicy, resolveDescriptorSigner, resolvePrevTxs, resolveSendAmount, selectCoinsWithAsset, selectVirtualCoins, selectionOf, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signerSetFromInfo, signingDescriptorIndex, strictSigningDescriptorIndex, submitViaEmulator, toXOnlySignerHex, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds, walletFeeSource, withPrevTxs } from './chunk-WBZYYRAB.js';
|
|
2
|
+
import './chunk-UXLETBNK.js';
|
|
3
|
+
export { ChainTxType, DEFAULT_VTXO_PAGE_SIZE, IndexerTxType, IndexerUtxosUnsupportedError, RestIndexerProvider, asset_exports as asset } from './chunk-5NY5EOS2.js';
|
|
4
|
+
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, identityDescriptor, isCltvSatisfied, isCsvSpendable, normalizeToDescriptor, parseHDDescriptor } from './chunk-4OY5BCIE.js';
|
|
5
|
+
export { UnsupportedProgramVersionError, toXOnly } from './chunk-3ABF4EMM.js';
|
|
6
|
+
export { ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ConditionWitness, CosignerPublicKey, DigestMismatchError, EventSourceUnavailableError, FetchError, HttpResponseError, Intent, OnchainCosignAmbiguousError, OnchainCosignRejectedError, OnchainCosignUnsupportedError, PrevArkTxField, PrevoutTxField, Proof, ProviderUnavailableError, READ_TIMEOUT_MS, RestArkProvider, RestOperatorProvider, ServerResponseMismatchError, SettlementEventType, Transaction, VtxoTaprootTree, VtxoTreeExpiry, assertAllowedSighashTypes, assertNonNegativeMs, assertTimerMs, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, getAllNormalizedVtxos, getArkPsbtFields, getConfiguredEventSource, getNormalizedVtxos, isArkError, isEventSourceUnavailableError, isPastExpiry, isRetryableProviderError, isVirtualCoin, isVtxoSpent, maybeArkError, resolveEventSource, sdkVersion, setArkPsbtField, toOffchainInputFeeParams } from './chunk-4TMJBLJT.js';
|
|
7
|
+
export { ArkAddress, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, DEFAULT_ARKADE_EMULATOR_URL, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, REGTEST_EMULATOR_PUBKEY, TapTreeCoder, VtxoScript, assembleBtcdTaprootTree, decodeTapscript, defaultEmulatorPubkey, getNetwork, getSequence, networkFromArkadeInfo, networkFromOperatorInfo, networks, resolveEmulatorPubkey, scriptFromTapLeafScript, sequenceToTimelock, timelockToSequence } from './chunk-2YXVU5TK.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
var
|
|
9
|
-
require('../../chunk-
|
|
3
|
+
var chunkCJUVKHK4_cjs = require('../../chunk-CJUVKHK4.cjs');
|
|
4
|
+
require('../../chunk-PHOJF7OK.cjs');
|
|
5
|
+
require('../../chunk-QV7AOZZN.cjs');
|
|
6
|
+
require('../../chunk-C3NKBKRY.cjs');
|
|
7
|
+
require('../../chunk-JA4SYFC7.cjs');
|
|
8
|
+
var chunk4X4SY3RH_cjs = require('../../chunk-4X4SY3RH.cjs');
|
|
9
|
+
require('../../chunk-YAVF2PR6.cjs');
|
|
10
10
|
|
|
11
11
|
// src/repositories/realm/walletRepository.ts
|
|
12
12
|
var RealmWalletRepository = class {
|
|
@@ -42,7 +42,7 @@ var RealmWalletRepository = class {
|
|
|
42
42
|
await this.ensureInit();
|
|
43
43
|
this.realm.write(() => {
|
|
44
44
|
for (const vtxo of vtxos) {
|
|
45
|
-
const s =
|
|
45
|
+
const s = chunkCJUVKHK4_cjs.serializeVtxo(vtxo);
|
|
46
46
|
this.realm.create(
|
|
47
47
|
"ArkVtxo",
|
|
48
48
|
{
|
|
@@ -57,7 +57,7 @@ var RealmWalletRepository = class {
|
|
|
57
57
|
intentCb: s.intentTapLeafScript.cb,
|
|
58
58
|
intentS: s.intentTapLeafScript.s,
|
|
59
59
|
statusJson: JSON.stringify(s.status),
|
|
60
|
-
createdAt:
|
|
60
|
+
createdAt: chunkCJUVKHK4_cjs.createdAtToIso(s.createdAt),
|
|
61
61
|
isUnrolled: s.isUnrolled ?? false,
|
|
62
62
|
isSpent: s.isSpent === void 0 ? null : s.isSpent,
|
|
63
63
|
isSwept: s.isSwept === void 0 ? null : s.isSwept,
|
|
@@ -81,7 +81,7 @@ var RealmWalletRepository = class {
|
|
|
81
81
|
return this.deleteWhere("ArkVtxo", "address", address);
|
|
82
82
|
}
|
|
83
83
|
async getVtxosForScriptPage(script, page, options) {
|
|
84
|
-
|
|
84
|
+
chunkCJUVKHK4_cjs.assertPageRequest(page);
|
|
85
85
|
await this.ensureInit();
|
|
86
86
|
let results = this.realm.objects("ArkVtxo").filtered("script == $0", script);
|
|
87
87
|
if (options?.unspentOnly) {
|
|
@@ -108,15 +108,15 @@ var RealmWalletRepository = class {
|
|
|
108
108
|
rows.push({ address: row.address, vtxo: vtxoObjectToDomain(row) });
|
|
109
109
|
if (rows.length > page.limit) break;
|
|
110
110
|
}
|
|
111
|
-
const result =
|
|
111
|
+
const result = chunkCJUVKHK4_cjs.pageResult(rows, page.limit, (row) => ({
|
|
112
112
|
address: row.address,
|
|
113
113
|
txid: row.vtxo.txid,
|
|
114
114
|
vout: row.vtxo.vout
|
|
115
115
|
}));
|
|
116
|
-
return options?.unspentOnly ? { ...result, items: result.items.filter((row) => !
|
|
116
|
+
return options?.unspentOnly ? { ...result, items: result.items.filter((row) => !chunk4X4SY3RH_cjs.isVtxoSpent(row.vtxo)) } : result;
|
|
117
117
|
}
|
|
118
118
|
async saveVtxosForScript(key, vtxos) {
|
|
119
|
-
return this.saveVtxos(
|
|
119
|
+
return this.saveVtxos(chunkCJUVKHK4_cjs.checkSaveVtxosForScript("RealmWalletRepository", key, vtxos), vtxos);
|
|
120
120
|
}
|
|
121
121
|
async deleteVtxosForScript(script) {
|
|
122
122
|
return this.deleteWhere("ArkVtxo", "script", script);
|
|
@@ -126,7 +126,7 @@ var RealmWalletRepository = class {
|
|
|
126
126
|
return this.pageByAddress("ArkUtxo", address, page, utxoObjectToDomain);
|
|
127
127
|
}
|
|
128
128
|
async pageByAddress(schema, address, page, deserialize) {
|
|
129
|
-
|
|
129
|
+
chunkCJUVKHK4_cjs.assertPageRequest(page);
|
|
130
130
|
await this.ensureInit();
|
|
131
131
|
let results = this.realm.objects(schema).filtered("address == $0", address);
|
|
132
132
|
if (page.after) {
|
|
@@ -144,18 +144,18 @@ var RealmWalletRepository = class {
|
|
|
144
144
|
rows.push({ key: { txid: row.txid, vout: row.vout }, item: deserialize(row) });
|
|
145
145
|
if (rows.length > page.limit) break;
|
|
146
146
|
}
|
|
147
|
-
const result =
|
|
147
|
+
const result = chunkCJUVKHK4_cjs.pageResult(rows, page.limit, (row) => row.key);
|
|
148
148
|
return { items: result.items.map((row) => row.item), nextCursor: result.nextCursor };
|
|
149
149
|
}
|
|
150
150
|
async saveUtxos(addressOrBatch, utxos) {
|
|
151
151
|
await this.ensureInit();
|
|
152
|
-
const rows =
|
|
152
|
+
const rows = chunkCJUVKHK4_cjs.utxoEntries(addressOrBatch, utxos).flatMap(
|
|
153
153
|
([address, list]) => list.map((utxo) => ({ address, utxo }))
|
|
154
154
|
);
|
|
155
155
|
if (rows.length === 0) return;
|
|
156
156
|
this.realm.write(() => {
|
|
157
157
|
for (const { address, utxo } of rows) {
|
|
158
|
-
const s =
|
|
158
|
+
const s = chunkCJUVKHK4_cjs.serializeUtxo(utxo);
|
|
159
159
|
this.realm.create(
|
|
160
160
|
"ArkUtxo",
|
|
161
161
|
{
|
|
@@ -182,8 +182,8 @@ var RealmWalletRepository = class {
|
|
|
182
182
|
}
|
|
183
183
|
// ── Transaction history ────────────────────────────────────────────
|
|
184
184
|
async getTransactionHistoryPage(filter, page) {
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
chunkCJUVKHK4_cjs.assertPageRequest(page);
|
|
186
|
+
chunkCJUVKHK4_cjs.assertHistoryPageFilter(filter);
|
|
187
187
|
let results = this.realm.objects("ArkTransaction").filtered("address == $0", filter.address);
|
|
188
188
|
results = results.filtered(
|
|
189
189
|
"createdAt >= $0",
|
|
@@ -197,12 +197,12 @@ var RealmWalletRepository = class {
|
|
|
197
197
|
["arkTxid", false]
|
|
198
198
|
])) {
|
|
199
199
|
const tx = txObjectToDomain(row);
|
|
200
|
-
if (page.after !== void 0 &&
|
|
200
|
+
if (page.after !== void 0 && chunkCJUVKHK4_cjs.compareHistoryCursors({ createdAt: tx.createdAt, key: tx.key }, page.after) <= 0)
|
|
201
201
|
continue;
|
|
202
202
|
rows.push(tx);
|
|
203
203
|
if (rows.length > page.limit) break;
|
|
204
204
|
}
|
|
205
|
-
return
|
|
205
|
+
return chunkCJUVKHK4_cjs.pageResult(rows, page.limit, (tx) => ({ createdAt: tx.createdAt, key: tx.key }));
|
|
206
206
|
}
|
|
207
207
|
async saveTransactions(address, txs) {
|
|
208
208
|
await this.ensureInit();
|
|
@@ -220,7 +220,7 @@ var RealmWalletRepository = class {
|
|
|
220
220
|
amount: tx.amount,
|
|
221
221
|
settled: tx.settled,
|
|
222
222
|
createdAt: tx.createdAt,
|
|
223
|
-
assetsJson: tx.assets ? JSON.stringify(
|
|
223
|
+
assetsJson: tx.assets ? JSON.stringify(chunkCJUVKHK4_cjs.serializeAssets(tx.assets)) : null
|
|
224
224
|
},
|
|
225
225
|
"modified"
|
|
226
226
|
);
|
|
@@ -250,7 +250,7 @@ var RealmWalletRepository = class {
|
|
|
250
250
|
settings: row.settingsJson ? JSON.parse(row.settingsJson) : void 0,
|
|
251
251
|
lastSyncTime: row.lastSyncTime ?? void 0
|
|
252
252
|
} : {};
|
|
253
|
-
const state =
|
|
253
|
+
const state = chunkCJUVKHK4_cjs.applyWalletStateUpdate(current, updater);
|
|
254
254
|
this.realm.create(
|
|
255
255
|
"ArkWalletState",
|
|
256
256
|
{
|
|
@@ -322,9 +322,9 @@ function vtxoObjectToDomain(obj) {
|
|
|
322
322
|
// Post-migration every row has `script`, but the backfill is
|
|
323
323
|
// idempotent: derive from `address` if the legacy column is still
|
|
324
324
|
// null (e.g. the migration hasn't run yet on this handle).
|
|
325
|
-
script: obj.script ??
|
|
325
|
+
script: obj.script ?? chunkCJUVKHK4_cjs.scriptFromArkAddress(obj.address)
|
|
326
326
|
};
|
|
327
|
-
return
|
|
327
|
+
return chunkCJUVKHK4_cjs.deserializeVtxo(serialized);
|
|
328
328
|
}
|
|
329
329
|
function utxoObjectToDomain(obj) {
|
|
330
330
|
const serialized = {
|
|
@@ -343,7 +343,7 @@ function utxoObjectToDomain(obj) {
|
|
|
343
343
|
status: JSON.parse(obj.statusJson),
|
|
344
344
|
extraWitness: obj.extraWitnessJson ? JSON.parse(obj.extraWitnessJson) : void 0
|
|
345
345
|
};
|
|
346
|
-
return
|
|
346
|
+
return chunkCJUVKHK4_cjs.deserializeUtxo(serialized);
|
|
347
347
|
}
|
|
348
348
|
function txObjectToDomain(obj) {
|
|
349
349
|
const tx = {
|
|
@@ -358,7 +358,7 @@ function txObjectToDomain(obj) {
|
|
|
358
358
|
createdAt: obj.createdAt
|
|
359
359
|
};
|
|
360
360
|
if (obj.assetsJson) {
|
|
361
|
-
tx.assets =
|
|
361
|
+
tx.assets = chunkCJUVKHK4_cjs.deserializeAssets(JSON.parse(obj.assetsJson));
|
|
362
362
|
}
|
|
363
363
|
return tx;
|
|
364
364
|
}
|
|
@@ -384,9 +384,9 @@ var RealmContractRepository = class {
|
|
|
384
384
|
}
|
|
385
385
|
// ── Contract management ────────────────────────────────────────────
|
|
386
386
|
async getContractsPage(filter, page) {
|
|
387
|
-
|
|
388
|
-
if (
|
|
389
|
-
const toPage = (rows) =>
|
|
387
|
+
chunkCJUVKHK4_cjs.assertPageRequest(page);
|
|
388
|
+
if (chunkCJUVKHK4_cjs.contractFilterMatchesNothing(filter)) return { items: [] };
|
|
389
|
+
const toPage = (rows) => chunkCJUVKHK4_cjs.pageResult(rows.map(contractObjectToDomain), page.limit, (contract) => contract.script);
|
|
390
390
|
if (filter?.watch === void 0 || filter.script !== void 0) {
|
|
391
391
|
return toPage(this.readRows(filter, page));
|
|
392
392
|
}
|
|
@@ -420,7 +420,7 @@ var RealmContractRepository = class {
|
|
|
420
420
|
if (query) results = results.filtered(query, ...args);
|
|
421
421
|
const rows = [];
|
|
422
422
|
for (const row of results.sorted("script")) {
|
|
423
|
-
if (filter?.scope !== void 0 && ![filter.scope].flat().includes(
|
|
423
|
+
if (filter?.scope !== void 0 && ![filter.scope].flat().includes(chunkCJUVKHK4_cjs.scopeOf(contractObjectToDomain(row))))
|
|
424
424
|
continue;
|
|
425
425
|
rows.push(row);
|
|
426
426
|
if (rows.length > page.limit) break;
|
|
@@ -550,7 +550,7 @@ var RealmBatchRegistrationRepository = class {
|
|
|
550
550
|
const clashes = [
|
|
551
551
|
...this.realm.objects("ArkIntent").filtered("intentId == $0", intent.registrationId)
|
|
552
552
|
].map(toIntent);
|
|
553
|
-
|
|
553
|
+
chunkCJUVKHK4_cjs.assertIntentIdUnique(intent, clashes);
|
|
554
554
|
}
|
|
555
555
|
this.realm.create(
|
|
556
556
|
"ArkIntent",
|
|
@@ -578,22 +578,22 @@ var RealmBatchRegistrationRepository = class {
|
|
|
578
578
|
});
|
|
579
579
|
}
|
|
580
580
|
async getBatchRegistrationsPage(filter, page) {
|
|
581
|
-
|
|
581
|
+
chunkCJUVKHK4_cjs.assertPageRequest(page);
|
|
582
582
|
let results = this.realm.objects("ArkIntent");
|
|
583
583
|
if (page.after !== void 0) results = results.filtered("intentTxId > $0", page.after);
|
|
584
584
|
const rows = [];
|
|
585
585
|
for (const row of results.sorted("intentTxId")) {
|
|
586
586
|
const intent = toIntent(row);
|
|
587
|
-
if (filter && !
|
|
587
|
+
if (filter && !chunkCJUVKHK4_cjs.intentMatchesFilter(intent, filter)) continue;
|
|
588
588
|
rows.push(intent);
|
|
589
589
|
if (rows.length > page.limit) break;
|
|
590
590
|
}
|
|
591
|
-
return
|
|
591
|
+
return chunkCJUVKHK4_cjs.pageResult(rows, page.limit, (intent) => intent.proofTxId);
|
|
592
592
|
}
|
|
593
593
|
async getLockedVtxoOutpoints() {
|
|
594
594
|
const out = [];
|
|
595
595
|
for (const o of [...this.realm.objects("ArkIntent")].map(toIntent))
|
|
596
|
-
if (!
|
|
596
|
+
if (!chunkCJUVKHK4_cjs.isTerminalBatchRegistrationState(o.state)) out.push(...o.proofInputs);
|
|
597
597
|
return out;
|
|
598
598
|
}
|
|
599
599
|
/** @deprecated Use {@link saveBatchRegistration}. */
|
|
@@ -644,7 +644,7 @@ var RealmVirtualTxRepository = class {
|
|
|
644
644
|
txid: t.txid,
|
|
645
645
|
psbt: t.psbt ?? prev?.psbt ?? null,
|
|
646
646
|
expiresAt: t.expiresAt ?? prev?.expiresAt ?? null,
|
|
647
|
-
type:
|
|
647
|
+
type: chunkCJUVKHK4_cjs.mergeChainedTxType(t.type, prev?.type)
|
|
648
648
|
},
|
|
649
649
|
"modified"
|
|
650
650
|
);
|
|
@@ -890,9 +890,9 @@ function runArkRealmMigrations(oldRealm, newRealm) {
|
|
|
890
890
|
for (let i = 0; i < newVtxos.length; i++) {
|
|
891
891
|
const newVtxo = newVtxos[i];
|
|
892
892
|
if (!newVtxo.script) {
|
|
893
|
-
newVtxo.script =
|
|
893
|
+
newVtxo.script = chunkCJUVKHK4_cjs.scriptFromArkAddress(newVtxo.address);
|
|
894
894
|
}
|
|
895
|
-
const facts =
|
|
895
|
+
const facts = chunkCJUVKHK4_cjs.legacyVtxoFacts(legacyByPk.get(newVtxo.pk));
|
|
896
896
|
if (facts) {
|
|
897
897
|
if (newVtxo.isSpent == null) newVtxo.isSpent = facts.isSpent;
|
|
898
898
|
if (newVtxo.isSwept == null) newVtxo.isSwept = facts.isSwept;
|
|
@@ -922,7 +922,7 @@ function runArkRealmMigrations(oldRealm, newRealm) {
|
|
|
922
922
|
|
|
923
923
|
Object.defineProperty(exports, "ChainedTxType", {
|
|
924
924
|
enumerable: true,
|
|
925
|
-
get: function () { return
|
|
925
|
+
get: function () { return chunkCJUVKHK4_cjs.ChainedTxType; }
|
|
926
926
|
});
|
|
927
927
|
exports.ARK_REALM_SCHEMA_VERSION = ARK_REALM_SCHEMA_VERSION;
|
|
928
928
|
exports.ArkExperimentalRealmSchemas = ArkExperimentalRealmSchemas;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as WalletRepository, J as PageRequest, K as Outpoint, L as PageResult, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, _ as AtomicWalletState, $ as WalletState, C as ContractRepository, a0 as ContractFilter, D as Contract, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch } from '../../index-
|
|
2
|
-
export { a7 as ChainedTxType } from '../../index-
|
|
1
|
+
import { W as WalletRepository, J as PageRequest, K as Outpoint, L as PageResult, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, _ as AtomicWalletState, $ as WalletState, C as ContractRepository, a0 as ContractFilter, D as Contract, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch } from '../../index-BBmZXXqk.cjs';
|
|
2
|
+
export { a7 as ChainedTxType } from '../../index-BBmZXXqk.cjs';
|
|
3
3
|
import '@scure/btc-signer/utils.js';
|
|
4
4
|
import '@scure/btc-signer';
|
|
5
5
|
import '@scure/btc-signer/psbt.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as WalletRepository, J as PageRequest, K as Outpoint, L as PageResult, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, _ as AtomicWalletState, $ as WalletState, C as ContractRepository, a0 as ContractFilter, D as Contract, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch } from '../../index-
|
|
2
|
-
export { a7 as ChainedTxType } from '../../index-
|
|
1
|
+
import { W as WalletRepository, J as PageRequest, K as Outpoint, L as PageResult, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, _ as AtomicWalletState, $ as WalletState, C as ContractRepository, a0 as ContractFilter, D as Contract, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch } from '../../index-DJ32LpfD.js';
|
|
2
|
+
export { a7 as ChainedTxType } from '../../index-DJ32LpfD.js';
|
|
3
3
|
import '@scure/btc-signer/utils.js';
|
|
4
4
|
import '@scure/btc-signer';
|
|
5
5
|
import '@scure/btc-signer/psbt.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { serializeVtxo, createdAtToIso, assertPageRequest, pageResult, checkSaveVtxosForScript, utxoEntries, serializeUtxo, assertHistoryPageFilter, compareHistoryCursors, serializeAssets, applyWalletStateUpdate, scriptFromArkAddress, deserializeVtxo, deserializeUtxo, deserializeAssets, contractFilterMatchesNothing, scopeOf, assertIntentIdUnique, intentMatchesFilter, isTerminalBatchRegistrationState, mergeChainedTxType, legacyVtxoFacts } from '../../chunk-
|
|
2
|
-
export { ChainedTxType } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import { isVtxoSpent } from '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
1
|
+
import { serializeVtxo, createdAtToIso, assertPageRequest, pageResult, checkSaveVtxosForScript, utxoEntries, serializeUtxo, assertHistoryPageFilter, compareHistoryCursors, serializeAssets, applyWalletStateUpdate, scriptFromArkAddress, deserializeVtxo, deserializeUtxo, deserializeAssets, contractFilterMatchesNothing, scopeOf, assertIntentIdUnique, intentMatchesFilter, isTerminalBatchRegistrationState, mergeChainedTxType, legacyVtxoFacts } from '../../chunk-WBZYYRAB.js';
|
|
2
|
+
export { ChainedTxType } from '../../chunk-WBZYYRAB.js';
|
|
3
|
+
import '../../chunk-UXLETBNK.js';
|
|
4
|
+
import '../../chunk-5NY5EOS2.js';
|
|
5
|
+
import '../../chunk-4OY5BCIE.js';
|
|
6
|
+
import '../../chunk-3ABF4EMM.js';
|
|
7
|
+
import { isVtxoSpent } from '../../chunk-4TMJBLJT.js';
|
|
8
|
+
import '../../chunk-2YXVU5TK.js';
|
|
9
9
|
|
|
10
10
|
// src/repositories/realm/walletRepository.ts
|
|
11
11
|
var RealmWalletRepository = class {
|