@arkade-os/sdk 0.5.11 → 0.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-Dhbe00Ya.d.ts} +1 -1
- package/dist/{asyncStorageTaskQueue-B6rFkXzW.d.cts → asyncStorageTaskQueue-Y4BlVm41.d.cts} +1 -1
- package/dist/{chunk-WIZCF5IX.cjs → chunk-6TBTL42M.cjs} +92 -5
- package/dist/chunk-6TBTL42M.cjs.map +1 -0
- package/dist/{chunk-DMYHAUTA.cjs → chunk-6WPP4UGN.cjs} +9962 -8635
- package/dist/chunk-6WPP4UGN.cjs.map +1 -0
- package/dist/{chunk-WZ2UHHQ7.cjs → chunk-6XVTGWQK.cjs} +20 -20
- package/dist/{chunk-WZ2UHHQ7.cjs.map → chunk-6XVTGWQK.cjs.map} +1 -1
- package/dist/{chunk-UPIQZRNJ.cjs → chunk-ACIQZLWL.cjs} +379 -20
- package/dist/chunk-ACIQZLWL.cjs.map +1 -0
- package/dist/{chunk-KRKREYKT.js → chunk-BA36SQY2.js} +4 -4
- package/dist/{chunk-KRKREYKT.js.map → chunk-BA36SQY2.js.map} +1 -1
- package/dist/{chunk-VJQMUKPZ.js → chunk-BP4NA7HK.js} +5 -5
- package/dist/{chunk-VJQMUKPZ.js.map → chunk-BP4NA7HK.js.map} +1 -1
- package/dist/{chunk-LKVVWCIW.js → chunk-D4QH6L54.js} +4 -4
- package/dist/{chunk-LKVVWCIW.js.map → chunk-D4QH6L54.js.map} +1 -1
- package/dist/{chunk-DPFD5KBK.js → chunk-GB67AGXG.js} +86 -6
- package/dist/chunk-GB67AGXG.js.map +1 -0
- package/dist/{chunk-5HCDXBBG.cjs → chunk-HS7TKVOZ.cjs} +30 -21
- package/dist/chunk-HS7TKVOZ.cjs.map +1 -0
- package/dist/{chunk-SS5BPVQL.js → chunk-LHLRG2BE.js} +23 -15
- package/dist/chunk-LHLRG2BE.js.map +1 -0
- package/dist/{chunk-HRFWODLP.js → chunk-QSERJPTT.js} +628 -23
- package/dist/chunk-QSERJPTT.js.map +1 -0
- package/dist/{chunk-VLO3JAP3.cjs → chunk-TD4PKK2I.cjs} +680 -68
- package/dist/chunk-TD4PKK2I.cjs.map +1 -0
- package/dist/{chunk-NC6TEEHZ.cjs → chunk-TYSUFG2K.cjs} +11 -11
- package/dist/{chunk-NC6TEEHZ.cjs.map → chunk-TYSUFG2K.cjs.map} +1 -1
- package/dist/{chunk-GEK6QBSY.cjs → chunk-WFJPLXOE.cjs} +21 -21
- package/dist/{chunk-GEK6QBSY.cjs.map → chunk-WFJPLXOE.cjs.map} +1 -1
- package/dist/{chunk-4DUTRRXF.js → chunk-X57WKONW.js} +369 -10
- package/dist/chunk-X57WKONW.js.map +1 -0
- package/dist/{chunk-W2C3KDQA.js → chunk-Y3AWLHQP.js} +9520 -8196
- package/dist/chunk-Y3AWLHQP.js.map +1 -0
- package/dist/compiler.cjs +3 -4
- package/dist/compiler.cjs.map +1 -1
- package/dist/compiler.js +2 -3
- package/dist/compiler.js.map +1 -1
- package/dist/contracts/handlers/index.cjs +15 -11
- package/dist/contracts/handlers/index.d.cts +5 -5
- package/dist/contracts/handlers/index.d.ts +5 -5
- package/dist/contracts/handlers/index.js +4 -4
- package/dist/{index-Bq349_ly.d.cts → index-BQwrHcOh.d.cts} +524 -23
- package/dist/{index-D4ahI0W6.d.cts → index-BaTItxPx.d.cts} +1 -1
- package/dist/{index-Yh5y9G4E.d.ts → index-BapVvuoI.d.ts} +1 -1
- package/dist/{index-Mn2POBPj.d.ts → index-DuXylQrN.d.ts} +524 -23
- package/dist/index.cjs +403 -368
- package/dist/index.d.cts +82 -71
- package/dist/index.d.ts +82 -71
- package/dist/index.js +6 -7
- package/dist/repositories/realm/index.cjs +39 -40
- package/dist/repositories/realm/index.cjs.map +1 -1
- package/dist/repositories/realm/index.d.cts +2 -2
- package/dist/repositories/realm/index.d.ts +2 -2
- package/dist/repositories/realm/index.js +7 -8
- package/dist/repositories/realm/index.js.map +1 -1
- package/dist/repositories/sqlite/index.cjs +37 -38
- package/dist/repositories/sqlite/index.cjs.map +1 -1
- package/dist/repositories/sqlite/index.d.cts +2 -2
- package/dist/repositories/sqlite/index.d.ts +2 -2
- package/dist/repositories/sqlite/index.js +7 -8
- package/dist/repositories/sqlite/index.js.map +1 -1
- package/dist/{taskRunner-BYxEgwM5.d.ts → taskRunner-BxOmg-O6.d.ts} +1 -1
- package/dist/{taskRunner-Z3LnHfgs.d.cts → taskRunner-D2itCXf6.d.cts} +1 -1
- package/dist/wallet/expo/background.cjs +16 -17
- package/dist/wallet/expo/background.cjs.map +1 -1
- package/dist/wallet/expo/background.d.cts +3 -3
- package/dist/wallet/expo/background.d.ts +3 -3
- package/dist/wallet/expo/background.js +8 -9
- package/dist/wallet/expo/background.js.map +1 -1
- package/dist/wallet/expo/index.cjs +17 -18
- package/dist/wallet/expo/index.cjs.map +1 -1
- package/dist/wallet/expo/index.d.cts +2 -2
- package/dist/wallet/expo/index.d.ts +2 -2
- package/dist/wallet/expo/index.js +7 -8
- package/dist/wallet/expo/index.js.map +1 -1
- package/dist/worker/expo/index.cjs +11 -12
- package/dist/worker/expo/index.cjs.map +1 -1
- package/dist/worker/expo/index.d.cts +4 -4
- package/dist/worker/expo/index.d.ts +4 -4
- package/dist/worker/expo/index.js +7 -8
- package/dist/worker/expo/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-4DUTRRXF.js.map +0 -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-HRFWODLP.js.map +0 -1
- package/dist/chunk-OMZZQTDM.cjs +0 -376
- package/dist/chunk-OMZZQTDM.cjs.map +0 -1
- package/dist/chunk-PXEFYEKL.js +0 -373
- package/dist/chunk-PXEFYEKL.js.map +0 -1
- package/dist/chunk-SS5BPVQL.js.map +0 -1
- package/dist/chunk-UPIQZRNJ.cjs.map +0 -1
- package/dist/chunk-VLO3JAP3.cjs.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,15 +1,15 @@
|
|
|
1
|
-
import { b as Identity, a8 as DescriptorProvider, a9 as Transaction, aa as SignerSession, ab as ReadonlyIdentity, ac as DescriptorSigningRequest, ad as IntentFeeConfig, ae as OffchainInput, af as FeeAmount, ag as OnchainInput, ah as FeeOutput, ai as VtxoReservationRepository, aj as StoredVtxoReservation, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, K as Outpoint, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch, W as WalletRepository, _ as AtomicWalletState, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, $ as WalletState, D as Contract, ak as ArkadeCashTx, z as IndexerProvider, al as ArkadeInfo, am as OnchainProvider, an as ArkadeCashRecord, ao as ArkadeCashClaimResult, l as Activity, C as ContractRepository, a0 as ContractFilter, I as IWallet, S as SettleParams, G as GetOperatorInfoOptions, ap as GetVtxosOptions, aq as PaginationOptions, h as GetVtxosFilter, i as GetSpendableVtxosFilter, ar as CreateContractParams, as as GetContractsFilter, V as VirtualCoin, at as GetSpendablePathsOptions, au as GetAllSpendingPathsOptions, n as GetNewAddressesOptions, R as Recipient, av as InputExpiryFloor, aw as IssuanceParams, ax as ReissuanceParams, ay as BurnParams, az as RenewVtxosOptions, s as SendOnchainParams, q as SettlementEvent, O as OperatorInfo, aA as NormalizedVtxoPage, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, P as ProviderConnectionState, aB as ContractSyncState, aC as ContractWithVtxos, aD as WatchedScript, aE as PathSelection, o as NewAddress, aF as ContractEvent, aG as AssetDetails, aH as IssuanceResult, aI as DelegateInfo, aJ as MigrationGlobalSkipReason, aK as MigrationLegSkipReason, aL as SignerStatus, aM as NetworkName, B as OperatorProvider, c as Wallet, aN as ReadonlyWallet, aO as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, aR as FeeInfo, N as NormalizedExtendedVirtualCoin, aS as ReceiveRotatorFactory, aT as ReceiveRotatorBootOpts, aU as ReceiveRotatorBoot, aV as IReadonlyWallet, k as ActivityRegistry, aW as IReadonlyAssetManager, aX as StorageConfig, m as IContractManager, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, t as IAssetManager, aY as VtxoReservation, r as SendParams, p as IDelegateManager, aZ as
|
|
2
|
-
export {
|
|
1
|
+
import { b as Identity, a8 as DescriptorProvider, a9 as Transaction, aa as SignerSession, ab as ReadonlyIdentity, ac as DescriptorSigningRequest, ad as IntentFeeConfig, ae as OffchainInput, af as FeeAmount, ag as OnchainInput, ah as FeeOutput, ai as VtxoReservationRepository, aj as StoredVtxoReservation, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, K as Outpoint, a4 as VirtualTxRepository, a5 as VirtualTx, a6 as VtxoBranch, W as WalletRepository, _ as AtomicWalletState, F as ExtendedVirtualCoin, M as ScriptVtxoCursor, Q as ScriptVtxoPageOptions, U as StoredVtxo, X as VtxoRepositoryKey, E as ExtendedCoin, Y as TransactionHistoryPageFilter, Z as TransactionHistoryPageCursor, j as ArkTransaction, $ as WalletState, D as Contract, ak as ArkadeCashTx, z as IndexerProvider, al as ArkadeInfo, am as OnchainProvider, an as ArkadeCashRecord, ao as ArkadeCashClaimResult, l as Activity, C as ContractRepository, a0 as ContractFilter, I as IWallet, S as SettleParams, G as GetOperatorInfoOptions, ap as GetVtxosOptions, aq as PaginationOptions, h as GetVtxosFilter, i as GetSpendableVtxosFilter, ar as CreateContractParams, as as GetContractsFilter, V as VirtualCoin, at as GetSpendablePathsOptions, au as GetAllSpendingPathsOptions, n as GetNewAddressesOptions, R as Recipient, av as InputExpiryFloor, aw as IssuanceParams, ax as ReissuanceParams, ay as BurnParams, az as RenewVtxosOptions, s as SendOnchainParams, q as SettlementEvent, O as OperatorInfo, aA as NormalizedVtxoPage, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, P as ProviderConnectionState, aB as ContractSyncState, aC as ContractWithVtxos, aD as WatchedScript, aE as PathSelection, o as NewAddress, aF as ContractEvent, aG as AssetDetails, aH as IssuanceResult, aI as DelegateInfo, aJ as MigrationGlobalSkipReason, aK as MigrationLegSkipReason, aL as SignerStatus, aM as NetworkName, B as OperatorProvider, c as Wallet, aN as ReadonlyWallet, aO as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, aR as FeeInfo, N as NormalizedExtendedVirtualCoin, aS as ReceiveRotatorFactory, aT as ReceiveRotatorBootOpts, aU as ReceiveRotatorBoot, aV as IReadonlyWallet, k as ActivityRegistry, aW as IReadonlyAssetManager, aX as StorageConfig, m as IContractManager, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, t as IAssetManager, aY as VtxoReservation, r as SendParams, p as IDelegateManager, aZ as IExecutorManager, a_ as IVtxoManager, a$ as Network, b0 as Coin, b1 as SendBitcoinParams, b2 as ExplorerTransaction, b3 as SignedProof, b4 as Proof, b5 as TreeNonces, b6 as TreePartialSigs, T as TxNotificationEvent, b7 as PendingTx, b8 as EmulatorProvider, b9 as Status, ba as BatchExpiryPolicy, bb as Batch, bc as ChainTx, bd as TxTree, be as ArkadeService, bf as ContractVtxoEvent, bg as ExtendedContractVtxo, bh as ResolvedArkadeService, bi as resolveArkadeService, bj as PathContext } from './index-BQwrHcOh.cjs';
|
|
2
|
+
export { bk as AbortError, bl as ActivityIntent, bm as ActivityResolver, bn as ArkError, bo as ArkErrorName, bp as ArkIntent, bq as ArkIntentState, y as ArkProvider, br as ArkadeCash, bs as ArkadeCashAction, bt as ArkadeCashCreateError, bu as ArkadeCashOperatorMismatchError, bv as ArkadeCashUnclaimedReason, bw as ArkadeCashUnclaimedVtxo, bx as ArkadeCashVtxoRef, by as AssetMetadata, bz as BATCH_REGISTRATION_TERMINAL_STATES, bA as BITCOIN_EMULATOR_PUBKEY, bB as BaseWalletConfig, bC as BatchFailedEvent, bD as BatchFinalizationEvent, bE as BatchFinalizedEvent, bF as BatchInfo, bG as BatchRegistrationFilter, bH as BatchRegistrationState, bI as BatchSignableIdentity, bJ as BatchStartedEvent, bK as BoardingUtxoGroup, bL as CandidateDeps, bM as ChainTxType, a7 as ChainedTxType, bN as CommitmentTx, bO as ConnectorTreeNode, bP as ContractBalance, bQ as ContractEventCallback, bR as ContractHandler, bS as ContractManager, bT as ContractManagerConfig, bU as ContractScope, bV as ContractState, bW as ContractVtxo, bX as ContractWatcher, bY as ContractWatcherEventCallback, bZ as DEFAULT_ARKADE_EMULATOR_URL, b_ as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, b$ as DEFAULT_VTXO_PAGE_SIZE, c0 as DELEGATION_EXPIRES_KEY, c1 as DELEGATION_LOCAL_STATUS, c2 as DELEGATION_REGISTERED_KEY, c3 as DELEGATION_STATUS_KEY, c4 as DefaultVtxo, c5 as DelegateManagerImpl, c6 as DelegateOptions, c7 as DelegateProvider, c8 as DelegateVtxo, c9 as DelegatedOutput, ca as DelegatedWallet, cb as DelegationOptions, cc as DelegationParams, cd as DeprecatedSignerMigrationReport, ce as DeprecatedSignerReport, cf as DigestMismatchError, cg as Discoverable, ch as DiscoveredContract, ci as DiscoveryDeps, cj as ESPLORA_URL, ck as EmulatorInfo, cl as EsploraProvider, cm as EventSourceCapable, cn as EventSourceFactory, co as EventSourceLike, cp as EventSourceUnavailableError, cq as ExecutorContractHandler, cr as ExecutorContractKeys, cs as ExecutorContractParams, ct as ExecutorDefault, cu as ExecutorDelegation, cv as ExecutorDelegationDetails, cw as ExecutorInfo, cx as ExecutorManagerImpl, cy as ExecutorProvider, cz as ExecutorRequestError, cA as ExecutorTemplate, cB as ExecutorWatchMetadata, cC as ExecutorWatchRegistration, cD as ExitCaptureMode, cE as ExitChainResolver, cF as ExitDataSource, cG as ForeignDescriptorError, cH as GetArkadeInfoOptions, cI as GetUtxosOptions, cJ as GroupMembership, cK as HandlerError, cL as HttpResponseError, cM as INTENT_TERMINAL_STATES, cN as IncomingFunds, cO as IndexedDBWalletRepository, cP as IndexerTxType, cQ as IndexerUtxo, cR as IndexerUtxosUnsupportedError, cS as Intent, cT as IntentCoin, cU as IntentFilter, cV as IntentPageFilter, cW as IntentRepository, cX as KeyringDescriptorProvider, cY as KnownMetadata, cZ as MAX_PAGE_SIZE, c_ as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, c$ as MUTINYNET_EMULATOR_PUBKEY, d0 as MigrateDeprecatedSignerOptions, d1 as MigrationLegReport, d2 as MigrationVtxoRef, d3 as NewAddressType, d4 as Nonces, d5 as NotifiesIncomingFunds, d6 as OnchainCosignAmbiguousError, d7 as OnchainCosignRejectedError, d8 as OnchainCosignUnsupportedError, d9 as Output, da as PageResponse, db as PartialSig, dc as PrevTxSource, dd as PrevTxUnavailableError, de as ProofInput, df as ProviderClass, dg as ProviderKind, dh as ProviderUnavailableError, di as REGTEST_EMULATOR_PUBKEY, dj as REGTEST_MIN_BATCH_EXPIRY_SECONDS, dk as RawTxSource, dl as ReadonlySingleKey, dm as ReadonlyWalletConfig, dn as RecipientArkadeAddressContext, dp as RegistrationOptions, dq as RenewalSplit, dr as RenewalSplitContext, ds as RestArkProvider, dt as RestDelegateProvider, du as RestEmulatorProvider, dv as RestExecutorProvider, v as RestIndexerProvider, u as RestOperatorProvider, dw as ScanContractsOptions, dx as ScanResult, dy as ScheduledSession, dz as ServerInfoSource, dA as ServerResponseMismatchError, dB as SettlementEventType, dC as SignRequest, dD as SignedIntent, dE as SignerClassification, dF as SignerSet, dG as SingleKey, w as SubscriptionEvent, dH as SubscriptionFilter, x as SubscriptionHeartbeat, dI as SubscriptionResponse, dJ as SweepTxNotification, dK as TapLeaves, dL as TimeHeight, dM as TreeNoncesEvent, dN as TreeSignatureEvent, dO as TreeSignerSession, dP as TreeSigningStartedEvent, dQ as TreeTxEvent, dR as Tx, dS as TxHistoryRecord, dT as TxKey, dU as TxNotification, dV as TxTag, dW as TxTreeNode, dX as TxType, dY as Vtxo, dZ as VtxoChain, d_ as VtxoManager, d$ as VtxoReservedError, e0 as VtxoType, e1 as WaitForIncomingFundsOptions, e2 as WalletCannotAllocateAddressError, d as WalletConfig, e3 as WalletMode, e4 as WithPrevTx, e5 as addArkadeCashRecord, e6 as arkadeCashId, e7 as arkadeCashResolver, e8 as assertAllowedSighashTypes, e9 as assertPageRequest, ea as assertRecipientArkadeAddress, eb as assertValidBatchExpiry, ec as assetMintResolver, ed as attachPrevArkTxs, ee as attachPrevoutTxs, ef as boardingResolver, eg as canRecoverOnchain, eh as canSpendOffchain, ei as canSweepOnchain, ej as classifyAgainstSignerSet, ek as classifyContractSigner, el as collabExitResolver, em as collectBatchRegistrations, en as collectContracts, eo as collectIntents, ep as collectPages, eq as collectScriptVtxos, er as collectTransactionHistory, es as collectUtxos, et as collectVtxos, eu as configureEventSource, ev as createArkadeCashTracker, ew as createDefaultActivityRegistry, ex as createExitChainResolver, ey as defaultBatchExpiryPolicy, ez as defaultEmulatorPubkey, eA as getAllNormalizedVtxos, eB as getConfiguredEventSource, eC as getNetwork, eD as getNormalizedVtxos, eE as getRandomId, eF as hasCandidates, eG as isAddressAllocationCapable, eH as isArkError, eI as isBatchSignable, eJ as isContractVtxoEvent, eK as isCooperativelyMigratable, eL as isDiscoverable, eM as isEventSourceUnavailableError, eN as isHDAllocationCapable, eO as isHDWalletCapable, eP as isPastExpiry, eQ as isSigningIdentity, eR as isSubdust, eS as isTerminalBatchRegistrationState, eT as isTerminalIntentState, eU as isVirtualCoin, eV as isVtxoExpiringSoon, eW as isVtxoSpent, eX as iteratePages, eY as maybeArkError, eZ as mergeArkadeCashRecord, e_ as networkFromArkadeInfo, e$ as networkFromOperatorInfo, f0 as networks, f1 as pageResult, f2 as resolveBatchExpiryPolicy, f3 as resolveDescriptorSigner, f4 as resolveEmulatorPubkey, f5 as resolveEventSource, f6 as resolvePrevTxs, f7 as selectVirtualCoins, f8 as signerSetFromInfo, f9 as signingDescriptorIndex, fa as strictSigningDescriptorIndex, fb as toOffchainInputFeeParams, fc as toXOnlySignerHex, fd as waitForIncomingFunds, fe as watchExecutorContracts, ff as withPrevTxs } from './index-BQwrHcOh.cjs';
|
|
3
3
|
import { T as TapLeafScript, E as EncodedVtxoScript, C as CSVMultisigTapscript, V as VtxoScript, R as RelativeTimelock } from './base-C-Y5t_0F.cjs';
|
|
4
4
|
export { A as ArkAddress, a as ArkTapscript, b as CLTVMultisigTapscript, c as ConditionCSVMultisigTapscript, d as ConditionMultisigTapscript, M as MultisigTapscript, e as TapTreeCoder, f as TapscriptType, g as decodeTapscript, h as getSequence, s as scriptFromTapLeafScript } from './base-C-Y5t_0F.cjs';
|
|
5
|
-
export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, V as VHTLC, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from './index-
|
|
5
|
+
export { A as ArkadeContractHandler, B as BoardingContractHandler, a as BoardingContractParams, D as DefaultContractHandler, b as DefaultContractParams, c as DelegateContractHandler, d as DelegateContractParams, V as VHTLC, e as VHTLCContractHandler, f as VHTLCContractParams, g as VHTLCV2ContractHandler, h as VHTLCV2ContractParams, i as contractHandlers } from './index-BaTItxPx.cjs';
|
|
6
6
|
import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
|
|
7
7
|
import { Transaction as Transaction$1, OP, Script, ScriptType } from '@scure/btc-signer';
|
|
8
8
|
import { P2TR } from '@scure/btc-signer/payment.js';
|
|
9
9
|
import { ElectrumWS } from 'ws-electrumx-client';
|
|
10
10
|
import { TransactionOutput, TransactionInputUpdate } from '@scure/btc-signer/psbt.js';
|
|
11
11
|
import * as P from 'micro-packed';
|
|
12
|
-
import { P as Program, A as ArkadeArgValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeParamValue, d as ArkadeFunction, I as InputDef, e as ArkadeValueType, C as CompiledProgramFunction,
|
|
12
|
+
import { S as SourceRange, P as Program, A as ArkadeArgValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeParamValue, d as ArkadeFunction, I as InputDef, e as ArkadeValueType, C as CompiledProgramFunction, f as ArkadeArgType, g as ArkadeContractParams, h as ArkadeSegment, i as AsmToken, j as InputRef, k as SUPPORTED_PROGRAM_VERSION, l as SignerRef, T as TapscriptSegment, m as TweakedSigner, U as UnsupportedProgramVersionError, W as WitnessRef, n as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, o as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './program-DPzf5qsk.cjs';
|
|
13
13
|
import '@scure/btc-signer/transaction.js';
|
|
14
14
|
|
|
15
15
|
/** Validate an optional millisecond duration; zero retains its caller-defined meaning. */
|
|
@@ -434,6 +434,64 @@ declare class InMemoryWalletRepository implements WalletRepository {
|
|
|
434
434
|
[Symbol.asyncDispose](): Promise<void>;
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
+
/**
|
|
438
|
+
* Read the JSON `arkadec` writes into a {@link Program}: `$param` placeholders,
|
|
439
|
+
* @scure opcode names, and one structured tapleaf per compiler leaf.
|
|
440
|
+
*/
|
|
441
|
+
|
|
442
|
+
interface ArtifactParameter {
|
|
443
|
+
name: string;
|
|
444
|
+
type: string;
|
|
445
|
+
}
|
|
446
|
+
interface ArtifactStruct {
|
|
447
|
+
name: string;
|
|
448
|
+
fields: ArtifactParameter[];
|
|
449
|
+
}
|
|
450
|
+
interface ArtifactWitnessElement {
|
|
451
|
+
name: string;
|
|
452
|
+
type: string;
|
|
453
|
+
encoding?: string;
|
|
454
|
+
injected?: boolean;
|
|
455
|
+
}
|
|
456
|
+
interface ArtifactLeaf {
|
|
457
|
+
name: string;
|
|
458
|
+
witness?: ArtifactWitnessElement[];
|
|
459
|
+
asm: string[];
|
|
460
|
+
}
|
|
461
|
+
interface ArtifactCovenant {
|
|
462
|
+
inputs: ArtifactParameter[];
|
|
463
|
+
asm: string[];
|
|
464
|
+
}
|
|
465
|
+
interface ArtifactGroup {
|
|
466
|
+
name: string;
|
|
467
|
+
arkade?: ArtifactCovenant;
|
|
468
|
+
leaves: ArtifactLeaf[];
|
|
469
|
+
}
|
|
470
|
+
interface ContractArtifact {
|
|
471
|
+
formatVersion?: number;
|
|
472
|
+
contractName: string;
|
|
473
|
+
constructorInputs: ArtifactParameter[];
|
|
474
|
+
structs?: ArtifactStruct[];
|
|
475
|
+
functions: ArtifactGroup[];
|
|
476
|
+
fingerprint?: string;
|
|
477
|
+
}
|
|
478
|
+
/** The compiler's debug file: each covenant's source map, keyed by spend group. */
|
|
479
|
+
interface ContractDebugInfo {
|
|
480
|
+
formatVersion: number;
|
|
481
|
+
/** The {@link ContractArtifact.fingerprint} of the build that wrote it. */
|
|
482
|
+
artifactFingerprint?: string;
|
|
483
|
+
functions: Record<string, {
|
|
484
|
+
sourceMap: SourceRange[];
|
|
485
|
+
}>;
|
|
486
|
+
}
|
|
487
|
+
/** `true` when `value` is an arkadec artifact rather than a Program. */
|
|
488
|
+
declare function isContractArtifact(value: unknown): value is ContractArtifact;
|
|
489
|
+
/**
|
|
490
|
+
* Adds `server`, and one param per child-output placeholder for the caller to bind to that output key.
|
|
491
|
+
* With the build's `debug` file, each covenant segment also carries its `sourceMap`.
|
|
492
|
+
*/
|
|
493
|
+
declare function programFromArtifact(artifact: ContractArtifact, debug?: ContractDebugInfo): Program;
|
|
494
|
+
|
|
437
495
|
/**
|
|
438
496
|
* Whether generic wallet spending may select this contract's VTXOs. Default closed: a type whose
|
|
439
497
|
* handler declares nothing, or has no handler registered here, is not spendable.
|
|
@@ -615,7 +673,7 @@ type ArkadeCashResponse = ({
|
|
|
615
673
|
};
|
|
616
674
|
|
|
617
675
|
/**
|
|
618
|
-
* Thrown when a descriptor-capable contract (default, delegate, or
|
|
676
|
+
* Thrown when a descriptor-capable contract (default, delegate, boarding or executor)
|
|
619
677
|
* cannot be routed to any signer: its owner key (`params.pubKey`) is not this
|
|
620
678
|
* wallet's baseline signing key, and the record carries no
|
|
621
679
|
* `metadata.signingDescriptor` to send it to a descriptor-aware signer.
|
|
@@ -624,9 +682,9 @@ type ArkadeCashResponse = ({
|
|
|
624
682
|
*/
|
|
625
683
|
declare class MissingSigningDescriptorError extends Error {
|
|
626
684
|
readonly contractScript: string;
|
|
627
|
-
readonly contractType: "default" | "delegate" | "boarding";
|
|
685
|
+
readonly contractType: "default" | "delegate" | "boarding" | "executor";
|
|
628
686
|
readonly name = "MissingSigningDescriptorError";
|
|
629
|
-
constructor(contractScript: string, contractType: "default" | "delegate" | "boarding");
|
|
687
|
+
constructor(contractScript: string, contractType: "default" | "delegate" | "boarding" | "executor");
|
|
630
688
|
}
|
|
631
689
|
/**
|
|
632
690
|
* Thrown when an input needs descriptor-aware signing but no
|
|
@@ -2164,6 +2222,7 @@ type Initialize = {
|
|
|
2164
2222
|
publicKey?: string;
|
|
2165
2223
|
};
|
|
2166
2224
|
delegateUrl?: string;
|
|
2225
|
+
executorUrl?: string;
|
|
2167
2226
|
settlementConfig?: SettlementConfig | false;
|
|
2168
2227
|
/** @see WalletConfig.concurrentSpending */
|
|
2169
2228
|
concurrentSpending?: boolean;
|
|
@@ -3193,9 +3252,10 @@ interface ServiceWorkerWalletOptions {
|
|
|
3193
3252
|
lazyInitialization?: boolean;
|
|
3194
3253
|
/** Defer boarding and history loading; render boarding.loaded=false as unknown. */
|
|
3195
3254
|
lazyBoarding?: boolean;
|
|
3196
|
-
/** The operator's endpoint
|
|
3255
|
+
/** The operator's endpoint. */
|
|
3197
3256
|
arkServer?: {
|
|
3198
3257
|
url: string;
|
|
3258
|
+
/** @deprecated Ignored, as `BaseWalletConfig.arkServerPublicKey`. */
|
|
3199
3259
|
publicKey?: string;
|
|
3200
3260
|
};
|
|
3201
3261
|
/**
|
|
@@ -3209,6 +3269,12 @@ interface ServiceWorkerWalletOptions {
|
|
|
3209
3269
|
expectedNetwork?: NetworkName;
|
|
3210
3270
|
/** Optional delegation service URL. */
|
|
3211
3271
|
delegateUrl?: string;
|
|
3272
|
+
/**
|
|
3273
|
+
* URL of the Executor, the service that boards the wallet's deposits while it is offline. Only
|
|
3274
|
+
* a `ServiceWorkerWallet` registers watches; a readonly wallet reads them. Without one, the
|
|
3275
|
+
* wallet behaves as it does without the Executor.
|
|
3276
|
+
*/
|
|
3277
|
+
executorUrl?: string;
|
|
3212
3278
|
/**
|
|
3213
3279
|
* Override the default tag used for messages sent to and received from the service worker.
|
|
3214
3280
|
* @see DEFAULT_MESSAGE_TAG
|
|
@@ -3283,6 +3349,7 @@ type MessageBusInitConfig = {
|
|
|
3283
3349
|
publicKey?: string;
|
|
3284
3350
|
};
|
|
3285
3351
|
delegateUrl?: string;
|
|
3352
|
+
executorUrl?: string;
|
|
3286
3353
|
timeoutMs?: number;
|
|
3287
3354
|
settlementConfig?: SettlementConfig | false;
|
|
3288
3355
|
concurrentSpending?: boolean;
|
|
@@ -3429,11 +3496,12 @@ declare class ServiceWorkerWallet extends ServiceWorkerReadonlyWallet implements
|
|
|
3429
3496
|
readonly identity: Identity;
|
|
3430
3497
|
private readonly _assetManager;
|
|
3431
3498
|
private readonly hasDelegate;
|
|
3499
|
+
private readonly executorServiceUrl?;
|
|
3432
3500
|
private _restoreInFlight?;
|
|
3433
3501
|
private _concurrentSpending;
|
|
3434
3502
|
/** @see WalletConfig.concurrentSpending */
|
|
3435
3503
|
get concurrentSpending(): boolean;
|
|
3436
|
-
protected constructor(serviceWorker: ServiceWorker, identity: Identity, walletRepository: WalletRepository, contractRepository: ContractRepository, messageTag: string, hasDelegate: boolean, oneShotSubmit?: boolean | undefined);
|
|
3504
|
+
protected constructor(serviceWorker: ServiceWorker, identity: Identity, walletRepository: WalletRepository, contractRepository: ContractRepository, messageTag: string, hasDelegate: boolean, oneShotSubmit?: boolean | undefined, executorUrl?: string);
|
|
3437
3505
|
get assetManager(): IAssetManager;
|
|
3438
3506
|
static create(options: ServiceWorkerWalletCreateOptions): Promise<ServiceWorkerWallet>;
|
|
3439
3507
|
/**
|
|
@@ -3525,6 +3593,8 @@ declare class ServiceWorkerWallet extends ServiceWorkerReadonlyWallet implements
|
|
|
3525
3593
|
cosignOnchainTx(psbt: string | Transaction$1): Promise<string>;
|
|
3526
3594
|
sendOnchain(params: SendOnchainParams): Promise<string>;
|
|
3527
3595
|
getDelegateManager(): Promise<IDelegateManager | undefined>;
|
|
3596
|
+
/** Runs on the page: it talks to the service over REST and records watches through this wallet. */
|
|
3597
|
+
getExecutorManager(): Promise<IExecutorManager | undefined>;
|
|
3528
3598
|
getVtxoManager(): Promise<IVtxoManager>;
|
|
3529
3599
|
}
|
|
3530
3600
|
|
|
@@ -3644,9 +3714,8 @@ declare class OnchainWallet implements AnchorBumper {
|
|
|
3644
3714
|
*/
|
|
3645
3715
|
bumpAnchor(parentHex: string, feeRate: number): Promise<[string, string]>;
|
|
3646
3716
|
/**
|
|
3647
|
-
* Shared core of {@link bumpP2A} and {@link bumpAnchor}:
|
|
3648
|
-
* fee
|
|
3649
|
-
* with the actual selection (the fee grows per extra input).
|
|
3717
|
+
* Shared core of {@link bumpP2A} and {@link bumpAnchor}: select coins that pay the
|
|
3718
|
+
* package fee at their own input count and leave dust-free change, then build and sign.
|
|
3650
3719
|
*/
|
|
3651
3720
|
private buildBumpPackage;
|
|
3652
3721
|
}
|
|
@@ -6133,64 +6202,6 @@ declare function renewProgramContractOutputs(client: Arkade, targets: ProgramCon
|
|
|
6133
6202
|
intentId: string;
|
|
6134
6203
|
}>;
|
|
6135
6204
|
|
|
6136
|
-
/**
|
|
6137
|
-
* Read the JSON `arkadec` writes into a {@link Program}: `$param` placeholders,
|
|
6138
|
-
* @scure opcode names, and one structured tapleaf per compiler leaf.
|
|
6139
|
-
*/
|
|
6140
|
-
|
|
6141
|
-
interface ArtifactParameter {
|
|
6142
|
-
name: string;
|
|
6143
|
-
type: string;
|
|
6144
|
-
}
|
|
6145
|
-
interface ArtifactStruct {
|
|
6146
|
-
name: string;
|
|
6147
|
-
fields: ArtifactParameter[];
|
|
6148
|
-
}
|
|
6149
|
-
interface ArtifactWitnessElement {
|
|
6150
|
-
name: string;
|
|
6151
|
-
type: string;
|
|
6152
|
-
encoding?: string;
|
|
6153
|
-
injected?: boolean;
|
|
6154
|
-
}
|
|
6155
|
-
interface ArtifactLeaf {
|
|
6156
|
-
name: string;
|
|
6157
|
-
witness?: ArtifactWitnessElement[];
|
|
6158
|
-
asm: string[];
|
|
6159
|
-
}
|
|
6160
|
-
interface ArtifactCovenant {
|
|
6161
|
-
inputs: ArtifactParameter[];
|
|
6162
|
-
asm: string[];
|
|
6163
|
-
}
|
|
6164
|
-
interface ArtifactGroup {
|
|
6165
|
-
name: string;
|
|
6166
|
-
arkade?: ArtifactCovenant;
|
|
6167
|
-
leaves: ArtifactLeaf[];
|
|
6168
|
-
}
|
|
6169
|
-
interface ContractArtifact {
|
|
6170
|
-
formatVersion?: number;
|
|
6171
|
-
contractName: string;
|
|
6172
|
-
constructorInputs: ArtifactParameter[];
|
|
6173
|
-
structs?: ArtifactStruct[];
|
|
6174
|
-
functions: ArtifactGroup[];
|
|
6175
|
-
fingerprint?: string;
|
|
6176
|
-
}
|
|
6177
|
-
/** The compiler's debug file: each covenant's source map, keyed by spend group. */
|
|
6178
|
-
interface ContractDebugInfo {
|
|
6179
|
-
formatVersion: number;
|
|
6180
|
-
/** The {@link ContractArtifact.fingerprint} of the build that wrote it. */
|
|
6181
|
-
artifactFingerprint?: string;
|
|
6182
|
-
functions: Record<string, {
|
|
6183
|
-
sourceMap: SourceRange[];
|
|
6184
|
-
}>;
|
|
6185
|
-
}
|
|
6186
|
-
/** `true` when `value` is an arkadec artifact rather than a Program. */
|
|
6187
|
-
declare function isContractArtifact(value: unknown): value is ContractArtifact;
|
|
6188
|
-
/**
|
|
6189
|
-
* Adds `server`, and one param per child-output placeholder for the caller to bind to that output key.
|
|
6190
|
-
* With the build's `debug` file, each covenant segment also carries its `sourceMap`.
|
|
6191
|
-
*/
|
|
6192
|
-
declare function programFromArtifact(artifact: ContractArtifact, debug?: ContractDebugInfo): Program;
|
|
6193
|
-
|
|
6194
6205
|
/**
|
|
6195
6206
|
* Arkade Script Support
|
|
6196
6207
|
*
|
|
@@ -6899,4 +6910,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
|
|
|
6899
6910
|
private burnWith;
|
|
6900
6911
|
}
|
|
6901
6912
|
|
|
6902
|
-
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkNote, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, Arkade, type ArkadeBatchInput, ArkadeBroadcaster, ArkadeCashClaimResult, ArkadeCashRecord, type ArkadeCashRequest, type ArkadeCashResponse, type ArkadeCashStatus, type ArkadeCashStatusReport, ArkadeCashTx, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, ArkadeInfo, ArkadeReader, ArkadeService, Asset, AssetDetails, AssetManager, AtomicWalletState, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BatchRegistration, BatchRegistrationPageFilter, BatchRegistrationRepository, type BoardingExpiry, BurnParams, CSVMultisigTapscript, CachingArkProvider, CachingOperatorProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, Contract, ContractEvent, ContractFilter, ContractRepository, ContractSyncState, ContractVtxoEvent, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_PASSKEY_LABEL, DatabaseUpgradeBlockedError, DelegateInfo, DelegateNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, DescriptorProvider, type DescriptorSigner, DescriptorSigningProviderMissingError, DescriptorSigningRequest, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, EmulatorPacket, EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExecutorOptions, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedContractVtxo, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetNewAddressesOptions, GetOperatorInfoOptions, GetSpendableVtxosFilter, GetVtxosFilter, GetVtxosOptions, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryBatchRegistrationRepository, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBBatchRegistrationRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBVtxoReservationRepository, IndexerProvider, InputExpiryFloor, IntentFeeConfig, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, type ManagedConnection, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, NewAddress, NormalizedExtendedVirtualCoin, NormalizedVtxoPage, OffchainInput, type OffchainTx, type OnExitObserved, OnchainCosignPreflightError, OnchainInput, OnchainProvider, OnchainWallet, OperatorInfo, OperatorProvider, Outpoint, OversizedChangeError, P2A, PageRequest, PageResult, PaginationOptions, type ParsedArkContract, PasskeyCancelled, type PasskeyMnemonic, type PasskeySource, PasskeyUnconfirmed, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, PrfUnavailable, type PrfUnavailableReason, Proof, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, ScriptVtxoCursor, ScriptVtxoPageOptions, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendDeadlineExceededError, SendOnchainParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedProof, SignerSession, SignerStatus, StaticDescriptorProvider, Status, StorageConfig, StoredVtxo, StoredVtxoReservation, TapLeafScript, Transaction, TransactionHistoryPageCursor, TransactionHistoryPageFilter, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, UnsupportedProgramVersionError, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoReservation, VtxoReservationRepository, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, type WalletRestoreHook, type WalletUpdate, WatchedScript, type WebAuthnClient, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertNonNegativeMs, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertTimerMs, assertValidServerUnrollScript, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, captureSendDeadline, claimWithPreimageIdentity, classifyBoardingExpiry, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, createPrfPasskey, decodeArkContract, decodeBoardingExit, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, evaluatePrf, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCosignFallback, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, mnemonicFromPrf, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, prfSupport, promisifyRequest, provisionClaimSecret, provisionRefundKey, readArkadeCash, registerWalletRestoreHook, resolveAssetAmount, resolveSendAmount, sdkVersion, selectCoinsWithAsset, selectionOf, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, submitViaEmulator, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
|
|
6913
|
+
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkNote, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, Arkade, type ArkadeBatchInput, ArkadeBroadcaster, ArkadeCashClaimResult, ArkadeCashRecord, type ArkadeCashRequest, type ArkadeCashResponse, type ArkadeCashStatus, type ArkadeCashStatusReport, ArkadeCashTx, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, ArkadeInfo, ArkadeReader, ArkadeService, Asset, AssetDetails, AssetManager, AtomicWalletState, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BatchRegistration, BatchRegistrationPageFilter, BatchRegistrationRepository, type BoardingExpiry, BurnParams, CSVMultisigTapscript, CachingArkProvider, CachingOperatorProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, Contract, ContractEvent, ContractFilter, ContractRepository, ContractSyncState, ContractVtxoEvent, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_PASSKEY_LABEL, DatabaseUpgradeBlockedError, DelegateInfo, DelegateNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, DescriptorProvider, type DescriptorSigner, DescriptorSigningProviderMissingError, DescriptorSigningRequest, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, EmulatorPacket, EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExecutorOptions, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedContractVtxo, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetNewAddressesOptions, GetOperatorInfoOptions, GetSpendableVtxosFilter, GetVtxosFilter, GetVtxosOptions, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IExecutorManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryBatchRegistrationRepository, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBBatchRegistrationRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBVtxoReservationRepository, IndexerProvider, InputExpiryFloor, IntentFeeConfig, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, type ManagedConnection, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, NewAddress, NormalizedExtendedVirtualCoin, NormalizedVtxoPage, OffchainInput, type OffchainTx, type OnExitObserved, OnchainCosignPreflightError, OnchainInput, OnchainProvider, OnchainWallet, OperatorInfo, OperatorProvider, Outpoint, OversizedChangeError, P2A, PageRequest, PageResult, PaginationOptions, type ParsedArkContract, PasskeyCancelled, type PasskeyMnemonic, type PasskeySource, PasskeyUnconfirmed, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, PrfUnavailable, type PrfUnavailableReason, Proof, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, ScriptVtxoCursor, ScriptVtxoPageOptions, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendDeadlineExceededError, SendOnchainParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedProof, SignerSession, SignerStatus, StaticDescriptorProvider, Status, StorageConfig, StoredVtxo, StoredVtxoReservation, TapLeafScript, Transaction, TransactionHistoryPageCursor, TransactionHistoryPageFilter, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, UnsupportedProgramVersionError, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoReservation, VtxoReservationRepository, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, type WalletRestoreHook, type WalletUpdate, WatchedScript, type WebAuthnClient, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertNonNegativeMs, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertTimerMs, assertValidServerUnrollScript, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, captureSendDeadline, claimWithPreimageIdentity, classifyBoardingExpiry, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, createPrfPasskey, decodeArkContract, decodeBoardingExit, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, evaluatePrf, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCosignFallback, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, mnemonicFromPrf, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, prfSupport, promisifyRequest, provisionClaimSecret, provisionRefundKey, readArkadeCash, registerWalletRestoreHook, resolveAssetAmount, resolveSendAmount, sdkVersion, selectCoinsWithAsset, selectionOf, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, submitViaEmulator, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
|