@arkade-os/sdk 0.5.12 → 0.5.14
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/README.md +6 -0
- 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-DTNS2qfN.d.cts → asyncStorageTaskQueue-DzO5SBcm.d.cts} +2 -2
- package/dist/{asyncStorageTaskQueue-Bsty8W7d.d.ts → asyncStorageTaskQueue-p7zeFhA3.d.ts} +2 -2
- package/dist/{chunk-4OY5BCIE.js → chunk-4HZQSKWG.js} +628 -23
- package/dist/chunk-4HZQSKWG.js.map +1 -0
- package/dist/{chunk-4X4SY3RH.cjs → chunk-6J4GABF7.cjs} +28 -20
- package/dist/chunk-6J4GABF7.cjs.map +1 -0
- package/dist/{chunk-YAVF2PR6.cjs → chunk-6TBTL42M.cjs} +87 -2
- package/dist/chunk-6TBTL42M.cjs.map +1 -0
- package/dist/{chunk-5NY5EOS2.js → chunk-72EC3ASW.js} +4 -4
- package/dist/{chunk-5NY5EOS2.js.map → chunk-72EC3ASW.js.map} +1 -1
- package/dist/{chunk-QV7AOZZN.cjs → chunk-7LPT6AYH.cjs} +21 -21
- package/dist/{chunk-QV7AOZZN.cjs.map → chunk-7LPT6AYH.cjs.map} +1 -1
- package/dist/{chunk-JA4SYFC7.cjs → chunk-ACIQZLWL.cjs} +379 -20
- package/dist/chunk-ACIQZLWL.cjs.map +1 -0
- package/dist/{chunk-BA3GPO5C.js → chunk-AZHBGWVC.js} +5 -5
- package/dist/{chunk-BA3GPO5C.js.map → chunk-AZHBGWVC.js.map} +1 -1
- package/dist/{chunk-HNLC6F73.cjs → chunk-EVVLVFY7.cjs} +20 -20
- package/dist/{chunk-HNLC6F73.cjs.map → chunk-EVVLVFY7.cjs.map} +1 -1
- package/dist/{chunk-2YXVU5TK.js → chunk-GB67AGXG.js} +81 -3
- package/dist/chunk-GB67AGXG.js.map +1 -0
- package/dist/{chunk-WBZYYRAB.js → chunk-HWWSLCQN.js} +9724 -8151
- package/dist/chunk-HWWSLCQN.js.map +1 -0
- package/dist/{chunk-4TMJBLJT.js → chunk-J2JZZTOE.js} +20 -14
- package/dist/chunk-J2JZZTOE.js.map +1 -0
- package/dist/{chunk-3RO63OPW.js → chunk-LCGRZ24T.js} +4 -4
- package/dist/{chunk-3RO63OPW.js.map → chunk-LCGRZ24T.js.map} +1 -1
- package/dist/{chunk-CJUVKHK4.cjs → chunk-LQH7DACV.cjs} +10204 -8628
- package/dist/chunk-LQH7DACV.cjs.map +1 -0
- package/dist/{chunk-QDX2HUBK.cjs → chunk-MEIE2AEU.cjs} +11 -11
- package/dist/{chunk-QDX2HUBK.cjs.map → chunk-MEIE2AEU.cjs.map} +1 -1
- package/dist/{chunk-3ABF4EMM.js → chunk-X57WKONW.js} +369 -10
- package/dist/chunk-X57WKONW.js.map +1 -0
- package/dist/{chunk-C3NKBKRY.cjs → chunk-XZHTYYW5.cjs} +680 -68
- package/dist/chunk-XZHTYYW5.cjs.map +1 -0
- package/dist/compiler.cjs +3 -4
- package/dist/compiler.cjs.map +1 -1
- package/dist/compiler.d.cts +1 -1
- package/dist/compiler.d.ts +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-D_zLtU-F.d.ts → index-CaOBA9Ev.d.ts} +2 -2
- package/dist/{index-BBmZXXqk.d.cts → index-Cy57QdcL.d.cts} +589 -23
- package/dist/{index-DJ32LpfD.d.ts → index-Db5qzYRi.d.ts} +589 -23
- package/dist/{index-DenQfCn1.d.cts → index-Lq_u0hqj.d.cts} +2 -2
- package/dist/index.cjs +403 -368
- package/dist/index.d.cts +197 -117
- package/dist/index.d.ts +197 -117
- package/dist/index.js +6 -7
- package/dist/{program-DPzf5qsk.d.cts → program-ZWUAWy_9.d.cts} +1 -1
- package/dist/{program-38A2Twvj.d.ts → program-zdDO4cMt.d.ts} +1 -1
- 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-BBGaN4cq.d.cts → taskRunner-DhZ-KQBW.d.cts} +2 -2
- package/dist/{taskRunner-Cck24OnC.d.ts → taskRunner-amPuilMW.d.ts} +2 -2
- 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-2YXVU5TK.js.map +0 -1
- package/dist/chunk-3ABF4EMM.js.map +0 -1
- package/dist/chunk-4OY5BCIE.js.map +0 -1
- package/dist/chunk-4TMJBLJT.js.map +0 -1
- package/dist/chunk-4X4SY3RH.cjs.map +0 -1
- package/dist/chunk-C3NKBKRY.cjs.map +0 -1
- package/dist/chunk-CJUVKHK4.cjs.map +0 -1
- package/dist/chunk-JA4SYFC7.cjs.map +0 -1
- package/dist/chunk-PHOJF7OK.cjs +0 -376
- package/dist/chunk-PHOJF7OK.cjs.map +0 -1
- package/dist/chunk-UXLETBNK.js +0 -373
- package/dist/chunk-UXLETBNK.js.map +0 -1
- package/dist/chunk-WBZYYRAB.js.map +0 -1
- package/dist/chunk-YAVF2PR6.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
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,
|
|
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, K as Outpoint, a1 as BatchRegistrationRepository, a2 as BatchRegistration, a3 as BatchRegistrationPageFilter, J as PageRequest, L as PageResult, 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$1, bf as ContractVtxoEvent, bg as ExtendedContractVtxo, bh as ResolvedArkadeService$1, bi as resolveArkadeService, bj as PathContext } from './index-Cy57QdcL.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 ExecutorArtifact, cr as ExecutorContractHandler, cs as ExecutorContractKeys, ct as ExecutorContractParams, cu as ExecutorDefault, cv as ExecutorDelegation, cw as ExecutorDelegationDetails, cx as ExecutorInfo, cy as ExecutorManagerImpl, cz as ExecutorProvider, cA as ExecutorRequestError, cB as ExecutorTemplate, cC as ExecutorTemplateDetails, cD as ExecutorTemplateParam, cE as ExecutorWatchMetadata, cF as ExecutorWatchRegistration, cG as ExitCaptureMode, cH as ExitChainResolver, cI as ExitDataSource, cJ as ForeignDescriptorError, cK as GetArkadeInfoOptions, cL as GetUtxosOptions, cM as GroupMembership, cN as HandlerError, cO as HttpResponseError, cP as INTENT_TERMINAL_STATES, cQ as IncomingFunds, cR as IndexedDBWalletRepository, cS as IndexerTxType, cT as IndexerUtxo, cU as IndexerUtxosUnsupportedError, cV as Intent, cW as IntentCoin, cX as IntentFilter, cY as IntentPageFilter, cZ as IntentRepository, c_ as KeyringDescriptorProvider, c$ as KnownMetadata, d0 as MAX_PAGE_SIZE, d1 as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, d2 as MUTINYNET_EMULATOR_PUBKEY, d3 as MigrateDeprecatedSignerOptions, d4 as MigrationLegReport, d5 as MigrationVtxoRef, d6 as NewAddressType, d7 as Nonces, d8 as NotifiesIncomingFunds, d9 as OnchainCosignAmbiguousError, da as OnchainCosignRejectedError, db as OnchainCosignUnsupportedError, dc as Output, dd as PageResponse, de as PartialSig, df as PrevTxSource, dg as PrevTxUnavailableError, dh as ProofInput, di as ProviderClass, dj as ProviderKind, dk as ProviderUnavailableError, dl as REGTEST_EMULATOR_PUBKEY, dm as REGTEST_MIN_BATCH_EXPIRY_SECONDS, dn as RawTxSource, dp as ReadonlySingleKey, dq as ReadonlyWalletConfig, dr as RecipientArkadeAddressContext, ds as RegistrationOptions, dt as RenewalSplit, du as RenewalSplitContext, dv as RestArkProvider, dw as RestDelegateProvider, dx as RestEmulatorProvider, dy as RestExecutorProvider, v as RestIndexerProvider, u as RestOperatorProvider, dz as ScanContractsOptions, dA as ScanResult, dB as ScheduledSession, dC as ServerInfoSource, dD as ServerResponseMismatchError, dE as SettlementEventType, dF as SignRequest, dG as SignedIntent, dH as SignerClassification, dI as SignerSet, dJ as SingleKey, w as SubscriptionEvent, dK as SubscriptionFilter, x as SubscriptionHeartbeat, dL as SubscriptionResponse, dM as SweepTxNotification, dN as TapLeaves, dO as TimeHeight, dP as TreeNoncesEvent, dQ as TreeSignatureEvent, dR as TreeSignerSession, dS as TreeSigningStartedEvent, dT as TreeTxEvent, dU as Tx, dV as TxHistoryRecord, dW as TxKey, dX as TxNotification, dY as TxTag, dZ as TxTreeNode, d_ as TxType, d$ as Vtxo, e0 as VtxoChain, e1 as VtxoManager, e2 as VtxoReservedError, e3 as VtxoType, e4 as WaitForIncomingFundsOptions, e5 as WalletCannotAllocateAddressError, d as WalletConfig, e6 as WalletMode, e7 as WithPrevTx, e8 as addArkadeCashRecord, e9 as arkadeCashId, ea as arkadeCashResolver, eb as assertAllowedSighashTypes, ec as assertPageRequest, ed as assertRecipientArkadeAddress, ee as assertValidBatchExpiry, ef as assetMintResolver, eg as attachPrevArkTxs, eh as attachPrevoutTxs, ei as boardingResolver, ej as canRecoverOnchain, ek as canSpendOffchain, el as canSweepOnchain, em as classifyAgainstSignerSet, en as classifyContractSigner, eo as collabExitResolver, ep as collectBatchRegistrations, eq as collectContracts, er as collectIntents, es as collectPages, et as collectScriptVtxos, eu as collectTransactionHistory, ev as collectUtxos, ew as collectVtxos, ex as configureEventSource, ey as createArkadeCashTracker, ez as createDefaultActivityRegistry, eA as createExitChainResolver, eB as defaultBatchExpiryPolicy, eC as defaultEmulatorPubkey, eD as getAllNormalizedVtxos, eE as getConfiguredEventSource, eF as getNetwork, eG as getNormalizedVtxos, eH as getRandomId, eI as hasCandidates, eJ as isAddressAllocationCapable, eK as isArkError, eL as isBatchSignable, eM as isContractVtxoEvent, eN as isCooperativelyMigratable, eO as isDiscoverable, eP as isEventSourceUnavailableError, eQ as isHDAllocationCapable, eR as isHDWalletCapable, eS as isPastExpiry, eT as isSigningIdentity, eU as isSubdust, eV as isTerminalBatchRegistrationState, eW as isTerminalIntentState, eX as isVirtualCoin, eY as isVtxoExpiringSoon, eZ as isVtxoSpent, e_ as iteratePages, e$ as maybeArkError, f0 as mergeArkadeCashRecord, f1 as networkFromArkadeInfo, f2 as networkFromOperatorInfo, f3 as networks, f4 as pageResult, f5 as resolveBatchExpiryPolicy, f6 as resolveDescriptorSigner, f7 as resolveEmulatorPubkey, f8 as resolveEventSource, f9 as resolvePrevTxs, fa as selectVirtualCoins, fb as signerSetFromInfo, fc as signingDescriptorIndex, fd as strictSigningDescriptorIndex, fe as toOffchainInputFeeParams, ff as toXOnlySignerHex, fg as waitForIncomingFunds, fh as watchExecutorContracts, fi as withPrevTxs } from './index-Cy57QdcL.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-Lq_u0hqj.cjs';
|
|
6
6
|
import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
|
|
7
|
-
import { Transaction as Transaction$1, OP, Script
|
|
7
|
+
import { Transaction as Transaction$1, ScriptType as ScriptType$1, OP, Script } from '@scure/btc-signer';
|
|
8
8
|
import { P2TR } from '@scure/btc-signer/payment.js';
|
|
9
|
-
import { ElectrumWS } from 'ws-electrumx-client';
|
|
10
9
|
import { TransactionOutput, TransactionInputUpdate } from '@scure/btc-signer/psbt.js';
|
|
10
|
+
import { S as SourceRange$1, P as Program$1, A as ArkadeArgValue$1, a as ArkadeProgramScript, b as ProgramKeys$1, c as ArkadeParamValue$1, d as ArkadeFunction$1, I as InputDef$1, e as ArkadeValueType, C as CompiledProgramFunction$1, f as ArkadeArgType$1, g as ArkadeContractParams$1, h as ArkadeSegment$1, i as AsmToken$1, j as InputRef$1, k as SignerRef$1, T as TapscriptSegment$1, l as TweakedSigner$1, W as WitnessRef$1, m as SUPPORTED_PROGRAM_VERSION, U as UnsupportedProgramVersionError, n as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, o as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './program-ZWUAWy_9.cjs';
|
|
11
11
|
import * as P from 'micro-packed';
|
|
12
|
-
import { P as Program, A as ArkadeArgValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeParamValue, d as ArkadeFunction, I as InputDef, e as ArkadeValueType, C as CompiledProgramFunction, S as SourceRange, f as ArkadeArgType, g as ArkadeContractParams, h as ArkadeSegment, i as AsmToken, j as InputRef, k as SUPPORTED_PROGRAM_VERSION, l as SignerRef, T as TapscriptSegment, m as TweakedSigner, U as UnsupportedProgramVersionError, W as WitnessRef, n as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, o as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './program-DPzf5qsk.cjs';
|
|
13
12
|
import '@scure/btc-signer/transaction.js';
|
|
14
13
|
|
|
15
14
|
/** Validate an optional millisecond duration; zero retains its caller-defined meaning. */
|
|
@@ -319,12 +318,13 @@ declare class Estimator {
|
|
|
319
318
|
}
|
|
320
319
|
|
|
321
320
|
declare class IndexedDBVtxoReservationRepository implements VtxoReservationRepository, AsyncDisposable {
|
|
322
|
-
readonly version:
|
|
321
|
+
readonly version: 2;
|
|
323
322
|
private readonly connection;
|
|
324
323
|
constructor(dbName: string);
|
|
325
324
|
getReservations(): Promise<StoredVtxoReservation[]>;
|
|
326
325
|
saveReservation(reservation: StoredVtxoReservation): Promise<void>;
|
|
327
326
|
deleteReservation(id: string): Promise<void>;
|
|
327
|
+
deleteReservationIfMatches(id: string, expected: readonly Outpoint[]): Promise<boolean>;
|
|
328
328
|
[Symbol.asyncDispose](): Promise<void>;
|
|
329
329
|
}
|
|
330
330
|
|
|
@@ -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$1[];
|
|
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$1;
|
|
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
|
|
@@ -1271,6 +1329,12 @@ type ResponseGetContractSyncState = ResponseEnvelope & {
|
|
|
1271
1329
|
type RequestClear = RequestEnvelope & {
|
|
1272
1330
|
type: "CLEAR";
|
|
1273
1331
|
};
|
|
1332
|
+
type RequestDispose = RequestEnvelope & {
|
|
1333
|
+
type: "DISPOSE";
|
|
1334
|
+
};
|
|
1335
|
+
type ResponseDispose = ResponseEnvelope & {
|
|
1336
|
+
type: "DISPOSE_SUCCESS";
|
|
1337
|
+
};
|
|
1274
1338
|
type ResponseClear = ResponseEnvelope & {
|
|
1275
1339
|
type: "CLEAR_SUCCESS";
|
|
1276
1340
|
payload: {
|
|
@@ -1886,7 +1950,7 @@ type RequestRestoreWallet = RequestEnvelope & {
|
|
|
1886
1950
|
type ResponseRestoreWallet = ResponseEnvelope & {
|
|
1887
1951
|
type: "RESTORE_WALLET_SUCCESS";
|
|
1888
1952
|
};
|
|
1889
|
-
type WalletRequest = RequestInitWallet | RequestSettle | RequestGetAddress | RequestGetBoardingAddress | RequestGetOperatorInfo | RequestIndexerGetVtxos | RequestIndexerGetVirtualTxs | RequestSubmitTx | RequestFinalizeTx | RequestGetBalance | RequestGetVtxos | RequestGetSpendableVtxos | RequestGetBoardingUtxos | RequestGetTransactionHistory | RequestGetStatus | RequestGetContractSyncState | RequestClear | RequestReloadWallet | RequestSignTransaction | RequestCreateContract | RequestGetContracts | RequestGetContractsWithVtxos | RequestGetStoredContractsWithVtxos | RequestWatchScript | RequestUnwatchScript | RequestGetWatchedScripts | RequestAnnotateVtxos | RequestUpdateContract | RequestDeleteContract | RequestGetSpendablePaths | RequestGetAllSpendingPaths | RequestGetUnsupportedContracts | RequestIsContractManagerWatching | RequestRefreshVtxos | RequestRefreshOutpoints | RequestGetCurrentSigningDescriptor | RequestGetNextSigningDescriptor | RequestGetNewAddresses | RequestGetUsedSigningDescriptors | RequestAdvanceSigningDescriptorWatermark | RequestSend | RequestReserveVtxos | RequestReleaseVtxos | RequestSendWithDeadline | RequestSendWithInputExpiryFloor | RequestGetAssetDetails | RequestIssue | RequestReissue | RequestBurn | RequestDelegate | RequestGetDelegateInfo | RequestRecoverVtxos | RequestGetRecoverableBalance | RequestGetExpiringVtxos | RequestRenewVtxos | RequestGetExpiredBoardingUtxos | RequestSweepExpiredBoardingUtxos | RequestCosignOnchainTx | RequestSendOnchain | RequestMigrateDeprecatedSignerVtxos | RequestGetDeprecatedSignerStatus | RequestRestoreWallet | RequestArkadeCash;
|
|
1953
|
+
type WalletRequest = RequestInitWallet | RequestSettle | RequestGetAddress | RequestGetBoardingAddress | RequestGetOperatorInfo | RequestIndexerGetVtxos | RequestIndexerGetVirtualTxs | RequestSubmitTx | RequestFinalizeTx | RequestGetBalance | RequestGetVtxos | RequestGetSpendableVtxos | RequestGetBoardingUtxos | RequestGetTransactionHistory | RequestGetStatus | RequestGetContractSyncState | RequestClear | RequestDispose | RequestReloadWallet | RequestSignTransaction | RequestCreateContract | RequestGetContracts | RequestGetContractsWithVtxos | RequestGetStoredContractsWithVtxos | RequestWatchScript | RequestUnwatchScript | RequestGetWatchedScripts | RequestAnnotateVtxos | RequestUpdateContract | RequestDeleteContract | RequestGetSpendablePaths | RequestGetAllSpendingPaths | RequestGetUnsupportedContracts | RequestIsContractManagerWatching | RequestRefreshVtxos | RequestRefreshOutpoints | RequestGetCurrentSigningDescriptor | RequestGetNextSigningDescriptor | RequestGetNewAddresses | RequestGetUsedSigningDescriptors | RequestAdvanceSigningDescriptorWatermark | RequestSend | RequestReserveVtxos | RequestReleaseVtxos | RequestSendWithDeadline | RequestSendWithInputExpiryFloor | RequestGetAssetDetails | RequestIssue | RequestReissue | RequestBurn | RequestDelegate | RequestGetDelegateInfo | RequestRecoverVtxos | RequestGetRecoverableBalance | RequestGetExpiringVtxos | RequestRenewVtxos | RequestGetExpiredBoardingUtxos | RequestSweepExpiredBoardingUtxos | RequestCosignOnchainTx | RequestSendOnchain | RequestMigrateDeprecatedSignerVtxos | RequestGetDeprecatedSignerStatus | RequestRestoreWallet | RequestArkadeCash;
|
|
1890
1954
|
type ScopedWalletRequest = RequestEnvelope & {
|
|
1891
1955
|
type: "SCOPED_WALLET_REQUEST_V1";
|
|
1892
1956
|
payload: {
|
|
@@ -1897,7 +1961,7 @@ type ScopedWalletRequest = RequestEnvelope & {
|
|
|
1897
1961
|
type WalletUpdaterRequest = WalletRequest | ScopedWalletRequest;
|
|
1898
1962
|
type WalletUpdaterResponse = ResponseEnvelope & {
|
|
1899
1963
|
walletRequestBinding?: WalletRequestBinding;
|
|
1900
|
-
} & (ResponseInitWallet | ResponseSettle | ResponseSettleEvent | ResponseGetAddress | ResponseGetBoardingAddress | ResponseGetOperatorInfo | ResponseIndexerGetVtxos | ResponseIndexerGetVirtualTxs | ResponseSubmitTx | ResponseFinalizeTx | ResponseGetBalance | ResponseGetVtxos | ResponseGetSpendableVtxos | ResponseGetBoardingUtxos | ResponseGetTransactionHistory | ResponseGetStatus | ResponseGetContractSyncState | ResponseClear | ResponseReloadWallet | ResponseUtxoUpdate | ResponseVtxoUpdate | ResponseSignTransaction | ResponseCreateContract | ResponseGetContracts | ResponseGetContractsWithVtxos | ResponseGetStoredContractsWithVtxos | ResponseWatchScript | ResponseUnwatchScript | ResponseGetWatchedScripts | ResponseAnnotateVtxos | ResponseUpdateContract | ResponseContractWatchStateSet | ResponseDeleteContract | ResponseGetSpendablePaths | ResponseGetAllSpendingPaths | ResponseGetUnsupportedContracts | ResponseIsContractManagerWatching | ResponseRefreshVtxos | ResponseRefreshOutpoints | ResponseGetCurrentSigningDescriptor | ResponseGetNextSigningDescriptor | ResponseGetNewAddresses | ResponseGetUsedSigningDescriptors | ResponseAdvanceSigningDescriptorWatermark | ResponseContractEvent | ResponseSend | ResponseReserveVtxos | ResponseReleaseVtxos | ResponseSendDeadlineExceeded | ResponseGetAssetDetails | ResponseIssue | ResponseReissue | ResponseBurn | ResponseDelegate | ResponseGetDelegateInfo | ResponseRecoverVtxos | ResponseRecoverVtxosEvent | ResponseGetRecoverableBalance | ResponseGetExpiringVtxos | ResponseRenewVtxos | ResponseRenewVtxosEvent | ResponseGetExpiredBoardingUtxos | ResponseSweepExpiredBoardingUtxos | ResponseCosignOnchainTx | ResponseSendOnchain | ResponseMigrateDeprecatedSignerVtxos | ResponseMigrateDeprecatedSignerVtxosEvent | ResponseGetDeprecatedSignerStatus | ResponseRestoreWallet | ResponseArkadeCash);
|
|
1964
|
+
} & (ResponseInitWallet | ResponseSettle | ResponseSettleEvent | ResponseGetAddress | ResponseGetBoardingAddress | ResponseGetOperatorInfo | ResponseIndexerGetVtxos | ResponseIndexerGetVirtualTxs | ResponseSubmitTx | ResponseFinalizeTx | ResponseGetBalance | ResponseGetVtxos | ResponseGetSpendableVtxos | ResponseGetBoardingUtxos | ResponseGetTransactionHistory | ResponseGetStatus | ResponseGetContractSyncState | ResponseClear | ResponseDispose | ResponseReloadWallet | ResponseUtxoUpdate | ResponseVtxoUpdate | ResponseSignTransaction | ResponseCreateContract | ResponseGetContracts | ResponseGetContractsWithVtxos | ResponseGetStoredContractsWithVtxos | ResponseWatchScript | ResponseUnwatchScript | ResponseGetWatchedScripts | ResponseAnnotateVtxos | ResponseUpdateContract | ResponseContractWatchStateSet | ResponseDeleteContract | ResponseGetSpendablePaths | ResponseGetAllSpendingPaths | ResponseGetUnsupportedContracts | ResponseIsContractManagerWatching | ResponseRefreshVtxos | ResponseRefreshOutpoints | ResponseGetCurrentSigningDescriptor | ResponseGetNextSigningDescriptor | ResponseGetNewAddresses | ResponseGetUsedSigningDescriptors | ResponseAdvanceSigningDescriptorWatermark | ResponseContractEvent | ResponseSend | ResponseReserveVtxos | ResponseReleaseVtxos | ResponseSendDeadlineExceeded | ResponseGetAssetDetails | ResponseIssue | ResponseReissue | ResponseBurn | ResponseDelegate | ResponseGetDelegateInfo | ResponseRecoverVtxos | ResponseRecoverVtxosEvent | ResponseGetRecoverableBalance | ResponseGetExpiringVtxos | ResponseRenewVtxos | ResponseRenewVtxosEvent | ResponseGetExpiredBoardingUtxos | ResponseSweepExpiredBoardingUtxos | ResponseCosignOnchainTx | ResponseSendOnchain | ResponseMigrateDeprecatedSignerVtxos | ResponseMigrateDeprecatedSignerVtxosEvent | ResponseGetDeprecatedSignerStatus | ResponseRestoreWallet | ResponseArkadeCash);
|
|
1901
1965
|
declare class WalletMessageHandler implements MessageHandler<WalletUpdaterRequest, WalletUpdaterResponse> {
|
|
1902
1966
|
readonly messageTag: string;
|
|
1903
1967
|
private wallet;
|
|
@@ -1913,6 +1977,7 @@ declare class WalletMessageHandler implements MessageHandler<WalletUpdaterReques
|
|
|
1913
1977
|
private incomingFundsSubscription;
|
|
1914
1978
|
private incomingFundsRegistrations;
|
|
1915
1979
|
private contractEventsSubscription;
|
|
1980
|
+
private retryPendingTxs?;
|
|
1916
1981
|
private onNextTick;
|
|
1917
1982
|
private channel;
|
|
1918
1983
|
private incomingFundsEpoch;
|
|
@@ -1969,6 +2034,7 @@ declare class WalletMessageHandler implements MessageHandler<WalletUpdaterReques
|
|
|
1969
2034
|
private handleGetBalance;
|
|
1970
2035
|
private getBoardingUtxosForBalance;
|
|
1971
2036
|
private onWalletInitialized;
|
|
2037
|
+
private schedulePendingTxRecovery;
|
|
1972
2038
|
private registerIncomingFunds;
|
|
1973
2039
|
/**
|
|
1974
2040
|
* Refresh boarding inputs and transaction history. The virtual outputs come
|
|
@@ -2096,6 +2162,11 @@ interface MessageHandler<REQ extends RequestEnvelope = RequestEnvelope, RES exte
|
|
|
2096
2162
|
walletRepository: WalletRepository;
|
|
2097
2163
|
}, channel?: {
|
|
2098
2164
|
broadcast(response: RES): void;
|
|
2165
|
+
/**
|
|
2166
|
+
* Stop every handler and leave the bus uninitialized, as in a
|
|
2167
|
+
* fresh worker; a no-op once this generation has ended.
|
|
2168
|
+
*/
|
|
2169
|
+
release?(): Promise<void>;
|
|
2099
2170
|
}): Promise<void>;
|
|
2100
2171
|
/** Called once when the SW is shutting down */
|
|
2101
2172
|
stop(): Promise<void>;
|
|
@@ -2164,6 +2235,7 @@ type Initialize = {
|
|
|
2164
2235
|
publicKey?: string;
|
|
2165
2236
|
};
|
|
2166
2237
|
delegateUrl?: string;
|
|
2238
|
+
executorUrl?: string;
|
|
2167
2239
|
settlementConfig?: SettlementConfig | false;
|
|
2168
2240
|
/** @see WalletConfig.concurrentSpending */
|
|
2169
2241
|
concurrentSpending?: boolean;
|
|
@@ -2204,8 +2276,8 @@ declare class MessageBus {
|
|
|
2204
2276
|
*/
|
|
2205
2277
|
private initChain;
|
|
2206
2278
|
/**
|
|
2207
|
-
* Number of inits accepted but not yet settled (queued or
|
|
2208
|
-
* bus refuses ordinary wallet messages while this is > 0.
|
|
2279
|
+
* Number of inits and releases accepted but not yet settled (queued or
|
|
2280
|
+
* running). The bus refuses ordinary wallet messages while this is > 0.
|
|
2209
2281
|
*/
|
|
2210
2282
|
private pendingInitCount;
|
|
2211
2283
|
private readonly buildServicesFn;
|
|
@@ -2245,6 +2317,11 @@ declare class MessageBus {
|
|
|
2245
2317
|
* Returns this init's own result.
|
|
2246
2318
|
*/
|
|
2247
2319
|
private waitForInit;
|
|
2320
|
+
/**
|
|
2321
|
+
* Back to a fresh worker's state. On the init chain, so a later init
|
|
2322
|
+
* builds only after these handlers stop.
|
|
2323
|
+
*/
|
|
2324
|
+
private release;
|
|
2248
2325
|
/**
|
|
2249
2326
|
* The bus serves ordinary wallet messages only when it is initialized AND
|
|
2250
2327
|
* no init is in flight.
|
|
@@ -3060,6 +3137,12 @@ declare class Ramps {
|
|
|
3060
3137
|
*
|
|
3061
3138
|
* Returns the onchain txid instead when onchain coins alone cover `amount`
|
|
3062
3139
|
* and were spent via arkd cosigning.
|
|
3140
|
+
*
|
|
3141
|
+
* Rethrows a cosign that failed after the client signed (`OnchainCosignRejectedError`,
|
|
3142
|
+
* `OnchainCosignAmbiguousError`): the operator may still hold that signed tx and complete it,
|
|
3143
|
+
* so paying from other coins can pay twice. No batch here can conflict with it, as arkd
|
|
3144
|
+
* refuses an intent mixing onchain inputs and outputs. See "Onchain cosigning" in the README for
|
|
3145
|
+
* the caller's options.
|
|
3063
3146
|
*/
|
|
3064
3147
|
offboardExact(params: {
|
|
3065
3148
|
destinationAddress: string;
|
|
@@ -3210,6 +3293,12 @@ interface ServiceWorkerWalletOptions {
|
|
|
3210
3293
|
expectedNetwork?: NetworkName;
|
|
3211
3294
|
/** Optional delegation service URL. */
|
|
3212
3295
|
delegateUrl?: string;
|
|
3296
|
+
/**
|
|
3297
|
+
* URL of the Executor, the service that boards the wallet's deposits while it is offline. Only
|
|
3298
|
+
* a `ServiceWorkerWallet` registers watches; a readonly wallet reads them. Without one, the
|
|
3299
|
+
* wallet behaves as it does without the Executor.
|
|
3300
|
+
*/
|
|
3301
|
+
executorUrl?: string;
|
|
3213
3302
|
/**
|
|
3214
3303
|
* Override the default tag used for messages sent to and received from the service worker.
|
|
3215
3304
|
* @see DEFAULT_MESSAGE_TAG
|
|
@@ -3284,6 +3373,7 @@ type MessageBusInitConfig = {
|
|
|
3284
3373
|
publicKey?: string;
|
|
3285
3374
|
};
|
|
3286
3375
|
delegateUrl?: string;
|
|
3376
|
+
executorUrl?: string;
|
|
3287
3377
|
timeoutMs?: number;
|
|
3288
3378
|
settlementConfig?: SettlementConfig | false;
|
|
3289
3379
|
concurrentSpending?: boolean;
|
|
@@ -3312,6 +3402,8 @@ declare class ServiceWorkerReadonlyWallet implements IReadonlyWallet {
|
|
|
3312
3402
|
protected messageBusTimeoutMs?: number;
|
|
3313
3403
|
protected messageTimeouts: Record<RequestType, number>;
|
|
3314
3404
|
private reinitPromise;
|
|
3405
|
+
private disposed;
|
|
3406
|
+
private disposePromise?;
|
|
3315
3407
|
private pingPromise;
|
|
3316
3408
|
private inflightRequests;
|
|
3317
3409
|
get assetManager(): IReadonlyAssetManager;
|
|
@@ -3364,6 +3456,13 @@ declare class ServiceWorkerReadonlyWallet implements IReadonlyWallet {
|
|
|
3364
3456
|
* by the worker via GET_STATUS.
|
|
3365
3457
|
*/
|
|
3366
3458
|
protected assertWorkerIdentityMatches(): Promise<void>;
|
|
3459
|
+
private assertNotDisposed;
|
|
3460
|
+
/**
|
|
3461
|
+
* Revoke this worker wallet and proxy without deleting persisted data or
|
|
3462
|
+
* holds; call again after a failure to retry.
|
|
3463
|
+
*/
|
|
3464
|
+
dispose(): Promise<void>;
|
|
3465
|
+
private disposeWorker;
|
|
3367
3466
|
/** This tells the service worker to wipe all locally persisted wallet data. */
|
|
3368
3467
|
clear(): Promise<void>;
|
|
3369
3468
|
getAddress(): Promise<string>;
|
|
@@ -3430,11 +3529,12 @@ declare class ServiceWorkerWallet extends ServiceWorkerReadonlyWallet implements
|
|
|
3430
3529
|
readonly identity: Identity;
|
|
3431
3530
|
private readonly _assetManager;
|
|
3432
3531
|
private readonly hasDelegate;
|
|
3532
|
+
private readonly executorServiceUrl?;
|
|
3433
3533
|
private _restoreInFlight?;
|
|
3434
3534
|
private _concurrentSpending;
|
|
3435
3535
|
/** @see WalletConfig.concurrentSpending */
|
|
3436
3536
|
get concurrentSpending(): boolean;
|
|
3437
|
-
protected constructor(serviceWorker: ServiceWorker, identity: Identity, walletRepository: WalletRepository, contractRepository: ContractRepository, messageTag: string, hasDelegate: boolean, oneShotSubmit?: boolean | undefined);
|
|
3537
|
+
protected constructor(serviceWorker: ServiceWorker, identity: Identity, walletRepository: WalletRepository, contractRepository: ContractRepository, messageTag: string, hasDelegate: boolean, oneShotSubmit?: boolean | undefined, executorUrl?: string);
|
|
3438
3538
|
get assetManager(): IAssetManager;
|
|
3439
3539
|
static create(options: ServiceWorkerWalletCreateOptions): Promise<ServiceWorkerWallet>;
|
|
3440
3540
|
/**
|
|
@@ -3526,6 +3626,8 @@ declare class ServiceWorkerWallet extends ServiceWorkerReadonlyWallet implements
|
|
|
3526
3626
|
cosignOnchainTx(psbt: string | Transaction$1): Promise<string>;
|
|
3527
3627
|
sendOnchain(params: SendOnchainParams): Promise<string>;
|
|
3528
3628
|
getDelegateManager(): Promise<IDelegateManager | undefined>;
|
|
3629
|
+
/** Runs on the page: it talks to the service over REST and records watches through this wallet. */
|
|
3630
|
+
getExecutorManager(): Promise<IExecutorManager | undefined>;
|
|
3529
3631
|
getVtxoManager(): Promise<IVtxoManager>;
|
|
3530
3632
|
}
|
|
3531
3633
|
|
|
@@ -3666,6 +3768,17 @@ type SetupServiceWorkerOptions = {
|
|
|
3666
3768
|
*/
|
|
3667
3769
|
declare function setupServiceWorker(pathOrOptions: string | SetupServiceWorkerOptions): Promise<ServiceWorker>;
|
|
3668
3770
|
|
|
3771
|
+
/**
|
|
3772
|
+
* The Electrum client methods the providers call. `ElectrumWS` from
|
|
3773
|
+
* `ws-electrumx-client` satisfies it; naming the class would make the SDK's
|
|
3774
|
+
* declarations depend on its `ws` types, which pull in `@types/node`.
|
|
3775
|
+
*/
|
|
3776
|
+
interface ElectrumSocket {
|
|
3777
|
+
request<T = unknown>(method: string, ...params: (boolean | string | number | (string | number)[])[]): Promise<T>;
|
|
3778
|
+
subscribe(method: string, callback: (...payload: unknown[]) => unknown, ...params: (string | number)[]): Promise<void>;
|
|
3779
|
+
unsubscribe(method: string, ...params: (string | number)[]): Promise<unknown>;
|
|
3780
|
+
close(reason: string): Promise<boolean>;
|
|
3781
|
+
}
|
|
3669
3782
|
/**
|
|
3670
3783
|
* Default WebSocket Electrum endpoints. Mainnet, mutinynet, and signet
|
|
3671
3784
|
* point at Ark Labs–operated Fulcrum 2.1 deployments (which support
|
|
@@ -3765,7 +3878,7 @@ declare class WsElectrumChainSource {
|
|
|
3765
3878
|
private network;
|
|
3766
3879
|
private cachedTip;
|
|
3767
3880
|
private headersSubscribePromise;
|
|
3768
|
-
constructor(ws:
|
|
3881
|
+
constructor(ws: ElectrumSocket, network: Network);
|
|
3769
3882
|
/**
|
|
3770
3883
|
* Send N requests in parallel and aggregate the results, replacement
|
|
3771
3884
|
* for `ws.batchRequest`. The library's batchRequest is implemented as
|
|
@@ -3907,7 +4020,7 @@ declare class ElectrumOnchainProvider implements OnchainProvider {
|
|
|
3907
4020
|
private chain;
|
|
3908
4021
|
private mtpCache?;
|
|
3909
4022
|
private mtpInflight?;
|
|
3910
|
-
constructor(ws:
|
|
4023
|
+
constructor(ws: ElectrumSocket, network: Network);
|
|
3911
4024
|
getCoins(address: string): Promise<Coin[]>;
|
|
3912
4025
|
getFeeRate(): Promise<number | undefined>;
|
|
3913
4026
|
/**
|
|
@@ -5672,9 +5785,9 @@ declare namespace bignum {
|
|
|
5672
5785
|
* A scalar or whole struct/array value, flattened to dotted names (`owners.0.key`).
|
|
5673
5786
|
* Struct fields are checked at runtime so interface types need no index signature.
|
|
5674
5787
|
*/
|
|
5675
|
-
type ArkadeNestedValue = ArkadeArgValue | object;
|
|
5788
|
+
type ArkadeNestedValue = ArkadeArgValue$1 | object;
|
|
5676
5789
|
/** The argument tuple of a function, derived from its declared `inputs`. */
|
|
5677
|
-
type ArgsTuple<I extends readonly InputDef[]> = {
|
|
5790
|
+
type ArgsTuple<I extends readonly InputDef$1[]> = {
|
|
5678
5791
|
[K in keyof I]: ArkadeValueType[I[K]["type"]];
|
|
5679
5792
|
};
|
|
5680
5793
|
/**
|
|
@@ -5683,28 +5796,28 @@ type ArgsTuple<I extends readonly InputDef[]> = {
|
|
|
5683
5796
|
* stay loose.
|
|
5684
5797
|
*/
|
|
5685
5798
|
type SegmentArgs<S> = S extends {
|
|
5686
|
-
inputs: infer I extends readonly InputDef[];
|
|
5799
|
+
inputs: infer I extends readonly InputDef$1[];
|
|
5687
5800
|
} ? string extends I[number]["name"] ? ArkadeNestedValue[] : Extract<I[number]["name"], `${string}.${string}`> extends never ? ArgsTuple<I> : ArkadeNestedValue[] : [];
|
|
5688
5801
|
type WitnessSegment = "tapscript" | "arkadeScript";
|
|
5689
5802
|
/** A function's call argument: one key for each segment that declares non-empty `inputs`. */
|
|
5690
|
-
type CallArgs<F extends ArkadeFunction> = {
|
|
5803
|
+
type CallArgs<F extends ArkadeFunction$1> = {
|
|
5691
5804
|
[K in WitnessSegment as SegmentArgs<F[K]> extends readonly [] ? never : K]: SegmentArgs<F[K]>;
|
|
5692
5805
|
};
|
|
5693
5806
|
/** The call argument of a function of a widened {@link Program}. */
|
|
5694
5807
|
type LooseCallArgs = Partial<Record<WitnessSegment, readonly ArkadeNestedValue[]>>;
|
|
5695
5808
|
/** The call signature arguments for one function: nullary when no segment declares inputs. */
|
|
5696
|
-
type FnArgs<F extends ArkadeFunction> = keyof CallArgs<F> extends never ? [] : [args: CallArgs<F>];
|
|
5809
|
+
type FnArgs<F extends ArkadeFunction$1> = keyof CallArgs<F> extends never ? [] : [args: CallArgs<F>];
|
|
5697
5810
|
/** A contract's functions returning `R`: typed per function for a literal program, else loose. */
|
|
5698
|
-
type FunctionMap<P extends Program, R> = string extends keyof P["functions"] ? Record<string, (args?: LooseCallArgs) => R> : {
|
|
5811
|
+
type FunctionMap<P extends Program$1, R> = string extends keyof P["functions"] ? Record<string, (args?: LooseCallArgs) => R> : {
|
|
5699
5812
|
[K in keyof P["functions"]]: (...args: FnArgs<P["functions"][K]>) => R;
|
|
5700
5813
|
};
|
|
5701
5814
|
/**
|
|
5702
5815
|
* The statically-typed `functions` map of a contract: precisely typed per function for a literal
|
|
5703
5816
|
* program, the loose {@link CallableFunctions} for the widened {@link Program}.
|
|
5704
5817
|
*/
|
|
5705
|
-
type ContractFunctions<P extends Program> = FunctionMap<P, ArkadeTransactionBuilder>;
|
|
5818
|
+
type ContractFunctions<P extends Program$1> = FunctionMap<P, ArkadeTransactionBuilder>;
|
|
5706
5819
|
/** The statically-typed `unlock` map of a contract, typed like {@link ContractFunctions}. */
|
|
5707
|
-
type ContractUnlockers<P extends Program> = FunctionMap<P, ArkadeUnlocker>;
|
|
5820
|
+
type ContractUnlockers<P extends Program$1> = FunctionMap<P, ArkadeUnlocker>;
|
|
5708
5821
|
/** A spendable coin (VTXO) — outpoint + value. */
|
|
5709
5822
|
interface Utxo {
|
|
5710
5823
|
txid: string;
|
|
@@ -5745,9 +5858,9 @@ interface Utxo {
|
|
|
5745
5858
|
*/
|
|
5746
5859
|
interface ArkadeUnlocker {
|
|
5747
5860
|
readonly contract: ArkadeContract<any>;
|
|
5748
|
-
readonly fn: CompiledProgramFunction;
|
|
5861
|
+
readonly fn: CompiledProgramFunction$1;
|
|
5749
5862
|
/** Bound call inputs, by the segment whose witness names them. */
|
|
5750
|
-
readonly args: Readonly<Record<WitnessSegment, Record<string, ArkadeArgValue>>>;
|
|
5863
|
+
readonly args: Readonly<Record<WitnessSegment, Record<string, ArkadeArgValue$1>>>;
|
|
5751
5864
|
}
|
|
5752
5865
|
/**
|
|
5753
5866
|
* An asset-group transfer attached to a spend: which inputs supply the asset and
|
|
@@ -5819,7 +5932,7 @@ interface ArkadeConnectCommonOptions {
|
|
|
5819
5932
|
* `{ network: "bitcoin" }`, the emulator).
|
|
5820
5933
|
*/
|
|
5821
5934
|
interface ArkadeConnectServiceOptions extends ArkadeConnectCommonOptions {
|
|
5822
|
-
service: ArkadeService;
|
|
5935
|
+
service: ArkadeService$1;
|
|
5823
5936
|
/**
|
|
5824
5937
|
* Persist contracts here. The client builds and owns a contract manager over it (with an
|
|
5825
5938
|
* in-memory VTXO store), enabling {@link ArkadeContract.register} and
|
|
@@ -5942,7 +6055,7 @@ declare class Arkade {
|
|
|
5942
6055
|
* artifacts reserve the operator key and exit delay to the connected operator.
|
|
5943
6056
|
* Struct and array params are passed whole by name (see {@link ArkadeNestedValue}).
|
|
5944
6057
|
*/
|
|
5945
|
-
contract<const P extends Program>(program: P, args?: Record<string, ArkadeNestedValue>): ArkadeContract<P>;
|
|
6058
|
+
contract<const P extends Program$1>(program: P, args?: Record<string, ArkadeNestedValue>): ArkadeContract<P>;
|
|
5946
6059
|
/**
|
|
5947
6060
|
* Start a spend with no function of its own: each `.from(coins, contract.unlock.<name>(...))`
|
|
5948
6061
|
* names the function its coins are spent through.
|
|
@@ -5950,7 +6063,7 @@ declare class Arkade {
|
|
|
5950
6063
|
transaction(): ArkadeTransactionBuilder;
|
|
5951
6064
|
}
|
|
5952
6065
|
/** A resolved, instantiated Arkade contract. */
|
|
5953
|
-
declare class ArkadeContract<P extends Program = Program> {
|
|
6066
|
+
declare class ArkadeContract<P extends Program$1 = Program$1> {
|
|
5954
6067
|
readonly client: Arkade;
|
|
5955
6068
|
readonly program: P;
|
|
5956
6069
|
/** The compiled taproot tree of spending-path leaves. */
|
|
@@ -5958,12 +6071,12 @@ declare class ArkadeContract<P extends Program = Program> {
|
|
|
5958
6071
|
/** Encoded taproot tree (shared spend context for every path). */
|
|
5959
6072
|
readonly tapTree: Uint8Array;
|
|
5960
6073
|
/** The signer keys the program was compiled against. */
|
|
5961
|
-
readonly keys: ProgramKeys;
|
|
6074
|
+
readonly keys: ProgramKeys$1;
|
|
5962
6075
|
/** Spending paths in declaration order. */
|
|
5963
6076
|
private readonly compiled;
|
|
5964
6077
|
/** Constructor bindings by flattened name (`owners.0.key`), as persisted. */
|
|
5965
|
-
readonly args: Record<string, ArkadeParamValue>;
|
|
5966
|
-
constructor(client: Arkade, program: P, args?: Record<string, ArkadeNestedValue>, keys?: ProgramKeys);
|
|
6078
|
+
readonly args: Record<string, ArkadeParamValue$1>;
|
|
6079
|
+
constructor(client: Arkade, program: P, args?: Record<string, ArkadeNestedValue>, keys?: ProgramKeys$1);
|
|
5967
6080
|
/**
|
|
5968
6081
|
* Rebuild a callable contract from a persisted `"arkade"` row. Compiles with the stored keys,
|
|
5969
6082
|
* not the client's current ones, so script and address survive a rotation of the operator's signer.
|
|
@@ -6133,64 +6246,6 @@ declare function renewProgramContractOutputs(client: Arkade, targets: ProgramCon
|
|
|
6133
6246
|
intentId: string;
|
|
6134
6247
|
}>;
|
|
6135
6248
|
|
|
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
6249
|
/**
|
|
6195
6250
|
* Arkade Script Support
|
|
6196
6251
|
*
|
|
@@ -6207,6 +6262,27 @@ declare function programFromArtifact(artifact: ContractArtifact, debug?: Contrac
|
|
|
6207
6262
|
* @module arkade
|
|
6208
6263
|
*/
|
|
6209
6264
|
|
|
6265
|
+
type ScriptType = ScriptType$1;
|
|
6266
|
+
type ArkadeArgType = ArkadeArgType$1;
|
|
6267
|
+
type ArkadeArgValue = ArkadeArgValue$1;
|
|
6268
|
+
type ArkadeContractParams = ArkadeContractParams$1;
|
|
6269
|
+
type ArkadeFunction = ArkadeFunction$1;
|
|
6270
|
+
type ArkadeParamValue = ArkadeParamValue$1;
|
|
6271
|
+
type ArkadeSegment = ArkadeSegment$1;
|
|
6272
|
+
type AsmToken = AsmToken$1;
|
|
6273
|
+
type CompiledProgramFunction = CompiledProgramFunction$1;
|
|
6274
|
+
type InputDef = InputDef$1;
|
|
6275
|
+
type InputRef = InputRef$1;
|
|
6276
|
+
type Program = Program$1;
|
|
6277
|
+
type ProgramKeys = ProgramKeys$1;
|
|
6278
|
+
type SignerRef = SignerRef$1;
|
|
6279
|
+
type SourceRange = SourceRange$1;
|
|
6280
|
+
type TapscriptSegment = TapscriptSegment$1;
|
|
6281
|
+
type TweakedSigner = TweakedSigner$1;
|
|
6282
|
+
type WitnessRef = WitnessRef$1;
|
|
6283
|
+
type ArkadeService = ArkadeService$1;
|
|
6284
|
+
type ResolvedArkadeService = ResolvedArkadeService$1;
|
|
6285
|
+
|
|
6210
6286
|
declare const index_ARKADE_OP: typeof ARKADE_OP;
|
|
6211
6287
|
declare const index_ARKADE_OPCODES: typeof ARKADE_OPCODES;
|
|
6212
6288
|
declare const index_ARKADE_OPCODE_NAMES: typeof ARKADE_OPCODE_NAMES;
|
|
@@ -6214,61 +6290,61 @@ declare const index_ARKADE_OPCODE_VALUES: typeof ARKADE_OPCODE_VALUES;
|
|
|
6214
6290
|
declare const index_ARKADE_OPS: typeof ARKADE_OPS;
|
|
6215
6291
|
type index_Arkade = Arkade;
|
|
6216
6292
|
declare const index_Arkade: typeof Arkade;
|
|
6217
|
-
|
|
6218
|
-
|
|
6293
|
+
type index_ArkadeArgType = ArkadeArgType;
|
|
6294
|
+
type index_ArkadeArgValue = ArkadeArgValue;
|
|
6219
6295
|
type index_ArkadeBatchInput = ArkadeBatchInput;
|
|
6220
6296
|
type index_ArkadeConnectOptions = ArkadeConnectOptions;
|
|
6221
6297
|
type index_ArkadeConnectProviderOptions = ArkadeConnectProviderOptions;
|
|
6222
6298
|
type index_ArkadeConnectServiceOptions = ArkadeConnectServiceOptions;
|
|
6223
|
-
type index_ArkadeContract<P extends Program = Program> = ArkadeContract<P>;
|
|
6299
|
+
type index_ArkadeContract<P extends Program$1 = Program$1> = ArkadeContract<P>;
|
|
6224
6300
|
declare const index_ArkadeContract: typeof ArkadeContract;
|
|
6225
6301
|
type index_ArkadeContractEvent<T extends ArkadeContractEventType = ArkadeContractEventType> = ArkadeContractEvent<T>;
|
|
6226
6302
|
type index_ArkadeContractEventType = ArkadeContractEventType;
|
|
6227
|
-
|
|
6303
|
+
type index_ArkadeContractParams = ArkadeContractParams;
|
|
6228
6304
|
type index_ArkadeContractSubscription = ArkadeContractSubscription;
|
|
6229
6305
|
type index_ArkadeExtendedCoin = ArkadeExtendedCoin;
|
|
6230
6306
|
type index_ArkadeExtendedVirtualCoin = ArkadeExtendedVirtualCoin;
|
|
6231
|
-
|
|
6307
|
+
type index_ArkadeFunction = ArkadeFunction;
|
|
6232
6308
|
type index_ArkadeNestedValue = ArkadeNestedValue;
|
|
6233
|
-
|
|
6309
|
+
type index_ArkadeParamValue = ArkadeParamValue;
|
|
6234
6310
|
declare const index_ArkadeProgramScript: typeof ArkadeProgramScript;
|
|
6235
6311
|
declare const index_ArkadeScript: typeof ArkadeScript;
|
|
6236
6312
|
type index_ArkadeScriptOP = ArkadeScriptOP;
|
|
6237
6313
|
type index_ArkadeScriptType = ArkadeScriptType;
|
|
6238
|
-
|
|
6314
|
+
type index_ArkadeSegment = ArkadeSegment;
|
|
6239
6315
|
type index_ArkadeServerProvider = ArkadeServerProvider;
|
|
6240
|
-
|
|
6316
|
+
type index_ArkadeService = ArkadeService;
|
|
6241
6317
|
type index_ArkadeSpendResult = ArkadeSpendResult;
|
|
6242
6318
|
type index_ArkadeTransactionBuilder = ArkadeTransactionBuilder;
|
|
6243
6319
|
declare const index_ArkadeTransactionBuilder: typeof ArkadeTransactionBuilder;
|
|
6244
6320
|
type index_ArkadeUnlocker = ArkadeUnlocker;
|
|
6245
|
-
|
|
6321
|
+
type index_AsmToken = AsmToken;
|
|
6246
6322
|
type index_AssetSpec = AssetSpec;
|
|
6247
6323
|
type index_CallableFunctions = CallableFunctions;
|
|
6248
|
-
|
|
6324
|
+
type index_CompiledProgramFunction = CompiledProgramFunction;
|
|
6249
6325
|
type index_ContractArtifact = ContractArtifact;
|
|
6250
6326
|
type index_ContractDebugInfo = ContractDebugInfo;
|
|
6251
|
-
type index_ContractFunctions<P extends Program> = ContractFunctions<P>;
|
|
6252
|
-
type index_ContractUnlockers<P extends Program> = ContractUnlockers<P>;
|
|
6253
|
-
|
|
6254
|
-
|
|
6327
|
+
type index_ContractFunctions<P extends Program$1> = ContractFunctions<P>;
|
|
6328
|
+
type index_ContractUnlockers<P extends Program$1> = ContractUnlockers<P>;
|
|
6329
|
+
type index_InputDef = InputDef;
|
|
6330
|
+
type index_InputRef = InputRef;
|
|
6255
6331
|
declare const index_OP: typeof OP;
|
|
6256
6332
|
declare const index_OPCODE_NAMES: typeof OPCODE_NAMES;
|
|
6257
6333
|
declare const index_OPCODE_VALUES: typeof OPCODE_VALUES;
|
|
6258
|
-
|
|
6334
|
+
type index_Program = Program;
|
|
6259
6335
|
type index_ProgramContractRenewTarget = ProgramContractRenewTarget;
|
|
6260
|
-
|
|
6261
|
-
|
|
6336
|
+
type index_ProgramKeys = ProgramKeys;
|
|
6337
|
+
type index_ResolvedArkadeService = ResolvedArkadeService;
|
|
6262
6338
|
declare const index_SUPPORTED_PROGRAM_VERSION: typeof SUPPORTED_PROGRAM_VERSION;
|
|
6263
6339
|
declare const index_Script: typeof Script;
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6340
|
+
type index_ScriptType = ScriptType;
|
|
6341
|
+
type index_SignerRef = SignerRef;
|
|
6342
|
+
type index_SourceRange = SourceRange;
|
|
6343
|
+
type index_TapscriptSegment = TapscriptSegment;
|
|
6344
|
+
type index_TweakedSigner = TweakedSigner;
|
|
6269
6345
|
declare const index_UnsupportedProgramVersionError: typeof UnsupportedProgramVersionError;
|
|
6270
6346
|
type index_Utxo = Utxo;
|
|
6271
|
-
|
|
6347
|
+
type index_WitnessRef = WitnessRef;
|
|
6272
6348
|
declare const index_arkadeScriptHash: typeof arkadeScriptHash;
|
|
6273
6349
|
declare const index_arkadeWitnessHash: typeof arkadeWitnessHash;
|
|
6274
6350
|
declare const index_asmToBytes: typeof asmToBytes;
|
|
@@ -6291,7 +6367,7 @@ declare const index_toASM: typeof toASM;
|
|
|
6291
6367
|
declare const index_validateProgram: typeof validateProgram;
|
|
6292
6368
|
declare const index_witnessRefToBytes: typeof witnessRefToBytes;
|
|
6293
6369
|
declare namespace index {
|
|
6294
|
-
export { index_ARKADE_OP as ARKADE_OP, index_ARKADE_OPCODES as ARKADE_OPCODES, index_ARKADE_OPCODE_NAMES as ARKADE_OPCODE_NAMES, index_ARKADE_OPCODE_VALUES as ARKADE_OPCODE_VALUES, index_ARKADE_OPS as ARKADE_OPS, index_Arkade as Arkade, index_ArkadeArgType as ArkadeArgType, index_ArkadeArgValue as ArkadeArgValue, type index_ArkadeBatchInput as ArkadeBatchInput, type index_ArkadeConnectOptions as ArkadeConnectOptions, type index_ArkadeConnectProviderOptions as ArkadeConnectProviderOptions, type index_ArkadeConnectServiceOptions as ArkadeConnectServiceOptions, index_ArkadeContract as ArkadeContract, type index_ArkadeContractEvent as ArkadeContractEvent, type index_ArkadeContractEventType as ArkadeContractEventType, index_ArkadeContractParams as ArkadeContractParams, type index_ArkadeContractSubscription as ArkadeContractSubscription, type index_ArkadeExtendedCoin as ArkadeExtendedCoin, type index_ArkadeExtendedVirtualCoin as ArkadeExtendedVirtualCoin, index_ArkadeFunction as ArkadeFunction, type index_ArkadeNestedValue as ArkadeNestedValue, index_ArkadeParamValue as ArkadeParamValue, index_ArkadeProgramScript as ArkadeProgramScript, index_ArkadeScript as ArkadeScript, type index_ArkadeScriptOP as ArkadeScriptOP, type index_ArkadeScriptType as ArkadeScriptType, index_ArkadeSegment as ArkadeSegment, type index_ArkadeServerProvider as ArkadeServerProvider, index_ArkadeService as ArkadeService, type index_ArkadeSpendResult as ArkadeSpendResult, index_ArkadeTransactionBuilder as ArkadeTransactionBuilder, type index_ArkadeUnlocker as ArkadeUnlocker, index_AsmToken as AsmToken, type index_AssetSpec as AssetSpec, bignum as BigNum, type index_CallableFunctions as CallableFunctions, index_CompiledProgramFunction as CompiledProgramFunction, type index_ContractArtifact as ContractArtifact, type index_ContractDebugInfo as ContractDebugInfo, type index_ContractFunctions as ContractFunctions, type index_ContractUnlockers as ContractUnlockers, index_InputDef as InputDef, index_InputRef as InputRef, index_OP as OP, index_OPCODE_NAMES as OPCODE_NAMES, index_OPCODE_VALUES as OPCODE_VALUES, index_Program as Program, type index_ProgramContractRenewTarget as ProgramContractRenewTarget, index_ProgramKeys as ProgramKeys, index_ResolvedArkadeService as ResolvedArkadeService, index_SUPPORTED_PROGRAM_VERSION as SUPPORTED_PROGRAM_VERSION, index_Script as Script, index_ScriptType as ScriptType, index_SignerRef as SignerRef, index_SourceRange as SourceRange, index_TapscriptSegment as TapscriptSegment, index_TweakedSigner as TweakedSigner, index_UnsupportedProgramVersionError as UnsupportedProgramVersionError, type index_Utxo as Utxo, index_WitnessRef as WitnessRef, index_arkadeScriptHash as arkadeScriptHash, index_arkadeWitnessHash as arkadeWitnessHash, index_asmToBytes as asmToBytes, index_bytesToASM as bytesToASM, index_computeArkadeScriptPublicKey as computeArkadeScriptPublicKey, index_createArkadeBatchHandler as createArkadeBatchHandler, index_deserializeArkadeContractParams as deserializeArkadeContractParams, index_fromASM as fromASM, index_getOpcodeName as getOpcodeName, index_getOpcodeValue as getOpcodeValue, index_isContractArtifact as isContractArtifact, index_parseArtifact as parseArtifact, index_programFromArtifact as programFromArtifact, index_renewProgramContractOutputs as renewProgramContractOutputs, index_resolveArkadeService as resolveArkadeService, index_resolveAsm as resolveAsm, index_serializeArkadeContractParams as serializeArkadeContractParams, index_stringifyArtifact as stringifyArtifact, index_toASM as toASM, index_validateProgram as validateProgram, index_witnessRefToBytes as witnessRefToBytes };
|
|
6370
|
+
export { index_ARKADE_OP as ARKADE_OP, index_ARKADE_OPCODES as ARKADE_OPCODES, index_ARKADE_OPCODE_NAMES as ARKADE_OPCODE_NAMES, index_ARKADE_OPCODE_VALUES as ARKADE_OPCODE_VALUES, index_ARKADE_OPS as ARKADE_OPS, index_Arkade as Arkade, type index_ArkadeArgType as ArkadeArgType, type index_ArkadeArgValue as ArkadeArgValue, type index_ArkadeBatchInput as ArkadeBatchInput, type index_ArkadeConnectOptions as ArkadeConnectOptions, type index_ArkadeConnectProviderOptions as ArkadeConnectProviderOptions, type index_ArkadeConnectServiceOptions as ArkadeConnectServiceOptions, index_ArkadeContract as ArkadeContract, type index_ArkadeContractEvent as ArkadeContractEvent, type index_ArkadeContractEventType as ArkadeContractEventType, type index_ArkadeContractParams as ArkadeContractParams, type index_ArkadeContractSubscription as ArkadeContractSubscription, type index_ArkadeExtendedCoin as ArkadeExtendedCoin, type index_ArkadeExtendedVirtualCoin as ArkadeExtendedVirtualCoin, type index_ArkadeFunction as ArkadeFunction, type index_ArkadeNestedValue as ArkadeNestedValue, type index_ArkadeParamValue as ArkadeParamValue, index_ArkadeProgramScript as ArkadeProgramScript, index_ArkadeScript as ArkadeScript, type index_ArkadeScriptOP as ArkadeScriptOP, type index_ArkadeScriptType as ArkadeScriptType, type index_ArkadeSegment as ArkadeSegment, type index_ArkadeServerProvider as ArkadeServerProvider, type index_ArkadeService as ArkadeService, type index_ArkadeSpendResult as ArkadeSpendResult, index_ArkadeTransactionBuilder as ArkadeTransactionBuilder, type index_ArkadeUnlocker as ArkadeUnlocker, type index_AsmToken as AsmToken, type index_AssetSpec as AssetSpec, bignum as BigNum, type index_CallableFunctions as CallableFunctions, type index_CompiledProgramFunction as CompiledProgramFunction, type index_ContractArtifact as ContractArtifact, type index_ContractDebugInfo as ContractDebugInfo, type index_ContractFunctions as ContractFunctions, type index_ContractUnlockers as ContractUnlockers, type index_InputDef as InputDef, type index_InputRef as InputRef, index_OP as OP, index_OPCODE_NAMES as OPCODE_NAMES, index_OPCODE_VALUES as OPCODE_VALUES, type index_Program as Program, type index_ProgramContractRenewTarget as ProgramContractRenewTarget, type index_ProgramKeys as ProgramKeys, type index_ResolvedArkadeService as ResolvedArkadeService, index_SUPPORTED_PROGRAM_VERSION as SUPPORTED_PROGRAM_VERSION, index_Script as Script, type index_ScriptType as ScriptType, type index_SignerRef as SignerRef, type index_SourceRange as SourceRange, type index_TapscriptSegment as TapscriptSegment, type index_TweakedSigner as TweakedSigner, index_UnsupportedProgramVersionError as UnsupportedProgramVersionError, type index_Utxo as Utxo, type index_WitnessRef as WitnessRef, index_arkadeScriptHash as arkadeScriptHash, index_arkadeWitnessHash as arkadeWitnessHash, index_asmToBytes as asmToBytes, index_bytesToASM as bytesToASM, index_computeArkadeScriptPublicKey as computeArkadeScriptPublicKey, index_createArkadeBatchHandler as createArkadeBatchHandler, index_deserializeArkadeContractParams as deserializeArkadeContractParams, index_fromASM as fromASM, index_getOpcodeName as getOpcodeName, index_getOpcodeValue as getOpcodeValue, index_isContractArtifact as isContractArtifact, index_parseArtifact as parseArtifact, index_programFromArtifact as programFromArtifact, index_renewProgramContractOutputs as renewProgramContractOutputs, index_resolveArkadeService as resolveArkadeService, index_resolveAsm as resolveAsm, index_serializeArkadeContractParams as serializeArkadeContractParams, index_stringifyArtifact as stringifyArtifact, index_toASM as toASM, index_validateProgram as validateProgram, index_witnessRefToBytes as witnessRefToBytes };
|
|
6295
6371
|
}
|
|
6296
6372
|
|
|
6297
6373
|
/** Known BIP21 parameters including Arkade-specific extensions. */
|
|
@@ -6652,7 +6728,11 @@ declare class OnchainCosignPreflightError extends Error {
|
|
|
6652
6728
|
cause?: unknown;
|
|
6653
6729
|
});
|
|
6654
6730
|
}
|
|
6655
|
-
/**
|
|
6731
|
+
/**
|
|
6732
|
+
* True only when the coins were definitely not spent, so paying another way is safe, as
|
|
6733
|
+
* `sendOnchain` and `cosignOnchainTx` callers may. `Ramps.offboardExact` still rethrows every
|
|
6734
|
+
* `OnchainCosignRejectedError` after signing (see README "Onchain cosigning").
|
|
6735
|
+
*/
|
|
6656
6736
|
declare function isCosignFallback(e: unknown): boolean;
|
|
6657
6737
|
|
|
6658
6738
|
/**
|
|
@@ -6899,4 +6979,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
|
|
|
6899
6979
|
private burnWith;
|
|
6900
6980
|
}
|
|
6901
6981
|
|
|
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 };
|
|
6982
|
+
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$1 as ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, ArkadeInfo, ArkadeReader, ArkadeService$1 as 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 ElectrumSocket, 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 };
|