@arkade-os/sdk 0.5.0-rc.21 → 0.5.0-rc.23
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 +31 -0
- package/dist/adapters/expo.cjs +5 -5
- package/dist/adapters/expo.d.cts +2 -2
- package/dist/adapters/expo.d.ts +2 -2
- package/dist/adapters/expo.js +3 -3
- package/dist/{asyncStorageTaskQueue-x8ok3tJy.d.cts → asyncStorageTaskQueue-DUu3VwBE.d.cts} +2 -2
- package/dist/{asyncStorageTaskQueue-aL7K14e4.d.ts → asyncStorageTaskQueue-Dm71_6ID.d.ts} +2 -2
- package/dist/{chunk-LNJPVLIC.js → chunk-B4CZLBE6.js} +4 -4
- package/dist/{chunk-LNJPVLIC.js.map → chunk-B4CZLBE6.js.map} +1 -1
- package/dist/{chunk-EXFU6MTA.js → chunk-ENGV6VZF.js} +511 -89
- package/dist/chunk-ENGV6VZF.js.map +1 -0
- package/dist/{chunk-R5OFJ23O.cjs → chunk-H7W2KLN2.cjs} +990 -565
- package/dist/chunk-H7W2KLN2.cjs.map +1 -0
- package/dist/{chunk-VZMLADXQ.cjs → chunk-JETDFDWV.cjs} +10 -10
- package/dist/{chunk-VZMLADXQ.cjs.map → chunk-JETDFDWV.cjs.map} +1 -1
- package/dist/{chunk-5XBH5SAL.cjs → chunk-KR6FLFIH.cjs} +3 -3
- package/dist/{chunk-5XBH5SAL.cjs.map → chunk-KR6FLFIH.cjs.map} +1 -1
- package/dist/{chunk-GVF4OCTL.cjs → chunk-QLJXXVRO.cjs} +48 -48
- package/dist/{chunk-GVF4OCTL.cjs.map → chunk-QLJXXVRO.cjs.map} +1 -1
- package/dist/{chunk-JZAEFOE4.js → chunk-SPJA7XMU.js} +3 -3
- package/dist/{chunk-JZAEFOE4.js.map → chunk-SPJA7XMU.js.map} +1 -1
- package/dist/{chunk-CXHJGED6.js → chunk-UDQ3QE4C.js} +3 -3
- package/dist/{chunk-CXHJGED6.js.map → chunk-UDQ3QE4C.js.map} +1 -1
- package/dist/{chunk-S2WWOVFC.js → chunk-W2VYRZLB.js} +4 -4
- package/dist/{chunk-S2WWOVFC.js.map → chunk-W2VYRZLB.js.map} +1 -1
- package/dist/{chunk-4FDNOLBO.js → chunk-XZEQV5FE.js} +3 -3
- package/dist/{chunk-4FDNOLBO.js.map → chunk-XZEQV5FE.js.map} +1 -1
- package/dist/{chunk-Q7PC3NHX.cjs → chunk-YFHGGSII.cjs} +18 -18
- package/dist/{chunk-Q7PC3NHX.cjs.map → chunk-YFHGGSII.cjs.map} +1 -1
- package/dist/{chunk-HIZNPHB2.cjs → chunk-ZDLFQ7ZH.cjs} +15 -15
- package/dist/{chunk-HIZNPHB2.cjs.map → chunk-ZDLFQ7ZH.cjs.map} +1 -1
- package/dist/contracts/handlers/index.cjs +9 -9
- package/dist/contracts/handlers/index.d.cts +3 -3
- package/dist/contracts/handlers/index.d.ts +3 -3
- package/dist/contracts/handlers/index.js +2 -2
- package/dist/{delegate-BT5iON1T.d.ts → delegate-DATx5c2o.d.ts} +1 -1
- package/dist/{delegate-u6kXTtWY.d.cts → delegate-DRoyCz4n.d.cts} +1 -1
- package/dist/{index-CK5QbTmZ.d.ts → index-BKBoBSKX.d.cts} +83 -9
- package/dist/{index-CK5QbTmZ.d.cts → index-BKBoBSKX.d.ts} +83 -9
- package/dist/{index-D1D4cR-G.d.ts → index-BjDUwnH-.d.ts} +2 -2
- package/dist/{index-BCnhItOQ.d.cts → index-CLgF0km0.d.cts} +2 -2
- package/dist/index.cjs +321 -309
- package/dist/index.d.cts +78 -16
- package/dist/index.d.ts +78 -16
- package/dist/index.js +4 -4
- package/dist/repositories/realm/index.cjs +35 -35
- package/dist/repositories/realm/index.d.cts +2 -2
- package/dist/repositories/realm/index.d.ts +2 -2
- package/dist/repositories/realm/index.js +5 -5
- package/dist/repositories/sqlite/index.cjs +33 -33
- package/dist/repositories/sqlite/index.d.cts +2 -2
- package/dist/repositories/sqlite/index.d.ts +2 -2
- package/dist/repositories/sqlite/index.js +5 -5
- package/dist/{taskRunner-BeYR6NpQ.d.ts → taskRunner-B78rNRXB.d.ts} +2 -2
- package/dist/{taskRunner-Csey3EYJ.d.cts → taskRunner-CoGRmz1U.d.cts} +2 -2
- package/dist/wallet/expo/background.cjs +14 -14
- package/dist/wallet/expo/background.d.cts +3 -3
- package/dist/wallet/expo/background.d.ts +3 -3
- package/dist/wallet/expo/background.js +6 -6
- package/dist/wallet/expo/index.cjs +15 -15
- package/dist/wallet/expo/index.d.cts +4 -4
- package/dist/wallet/expo/index.d.ts +4 -4
- package/dist/wallet/expo/index.js +5 -5
- package/dist/{wallet-DzSLMxBZ.d.ts → wallet-CdUjdg15.d.cts} +23 -5
- package/dist/{wallet-DG3Qmbmt.d.cts → wallet-yKzfCUfY.d.ts} +23 -5
- package/dist/worker/expo/index.cjs +9 -9
- package/dist/worker/expo/index.d.cts +4 -4
- package/dist/worker/expo/index.d.ts +4 -4
- package/dist/worker/expo/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-EXFU6MTA.js.map +0 -1
- package/dist/chunk-R5OFJ23O.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ah as ReadonlyIdentity, a as Identity, a3 as DescriptorSigningRequest, a4 as Transaction, az as SignerSession, a2 as DescriptorProvider, aD as IntentFeeConfig, aE as OffchainInput, aF as FeeAmount, aG as OnchainInput, aH as FeeOutput, X as IntentRepository, Y as ArkIntent, Z as IntentPageFilter, P as PageRequest, D as PageResult, O as Outpoint, _ as VirtualTxRepository, $ as VirtualTx, a0 as VtxoBranch, W as WalletRepository, B as ExtendedVirtualCoin, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, E as ExtendedCoin, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, h as ArkTransaction, Q as WalletState, z as Contract, C as ContractRepository, U as ContractFilter, I as IWallet, u as ArkProvider, ax as SettlementConfig, aI as ContractWatcherConfig, aJ as Asset, R as Recipient, aK as FeeInfo, o as SettlementEvent, N as NormalizedExtendedVirtualCoin, S as SettleParams, G as GetArkadeInfoOptions, aL as GetVtxosOptions, aM as PaginationOptions, f as GetVtxosFilter, g as GetSpendableVtxosFilter, aN as CreateContractParams, aO as GetContractsFilter, y as VirtualCoin, aP as GetSpendablePathsOptions, aQ as GetAllSpendingPathsOptions, l as GetNewAddressesOptions, aR as
|
|
2
|
-
export {
|
|
3
|
-
import { W as Wallet, R as ReadonlyWallet, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './wallet-
|
|
4
|
-
export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashUnclaimedReason, l as ArkadeCashUnclaimedVtxo, m as ArkadeCashVtxoRef, n as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, o as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, p as IndexedDBWalletRepository, K as KeyringDescriptorProvider, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, q as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, r as ProviderKind, s as ProviderUnavailableError, t as REGTEST_MIN_BATCH_EXPIRY_SECONDS, u as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, v as ServerInfoSource, w as ServerResponseMismatchError, x as WaitForIncomingFundsOptions, y as WalletCannotAllocateAddressError, z as assertValidBatchExpiry, E as assertValidServerUnrollScript, G as defaultBatchExpiryPolicy, J as defaultCheckpointExitDelayPolicy, L as isAddressAllocationCapable, N as isArkError, O as isHDAllocationCapable, Q as isHDWalletCapable, T as maybeArkError, U as resolveBatchExpiryPolicy, V as resolveCheckpointExitDelayPolicy, X as resolveDescriptorSigner, Y as selectVirtualCoins, Z as signingDescriptorIndex, _ as strictSigningDescriptorIndex, $ as waitForIncomingFunds } from './wallet-
|
|
5
|
-
import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, l as TweakedSigner, W as WitnessRef, m as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, n as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-
|
|
6
|
-
export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-
|
|
7
|
-
import { D as DefaultVtxo } from './delegate-
|
|
8
|
-
export { a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { ah as ReadonlyIdentity, a as Identity, a3 as DescriptorSigningRequest, a4 as Transaction, az as SignerSession, a2 as DescriptorProvider, aD as IntentFeeConfig, aE as OffchainInput, aF as FeeAmount, aG as OnchainInput, aH as FeeOutput, X as IntentRepository, Y as ArkIntent, Z as IntentPageFilter, P as PageRequest, D as PageResult, O as Outpoint, _ as VirtualTxRepository, $ as VirtualTx, a0 as VtxoBranch, W as WalletRepository, B as ExtendedVirtualCoin, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, E as ExtendedCoin, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, h as ArkTransaction, Q as WalletState, z as Contract, C as ContractRepository, U as ContractFilter, I as IWallet, u as ArkProvider, ax as SettlementConfig, aI as ContractWatcherConfig, aJ as Asset, R as Recipient, aK as FeeInfo, o as SettlementEvent, N as NormalizedExtendedVirtualCoin, S as SettleParams, G as GetArkadeInfoOptions, aL as GetVtxosOptions, aM as PaginationOptions, f as GetVtxosFilter, g as GetSpendableVtxosFilter, aN as CreateContractParams, aO as GetContractsFilter, y as VirtualCoin, aP as GetSpendablePathsOptions, aQ as GetAllSpendingPathsOptions, l as GetNewAddressesOptions, aR as InputExpiryFloor, aS as IssuanceParams, aT as ReissuanceParams, aU as BurnParams, aV as RenewVtxosOptions, A as ArkadeInfo, aW as NormalizedVtxoPage, c as ArkadeReader, d as ArkadeBroadcaster, e as WalletBalance, ao as ContractSyncState, as as ContractWithVtxos, aX as WatchedScript, aY as PathSelection, m as NewAddress, aZ as ContractEvent, a_ as AssetDetails, a$ as IssuanceResult, b0 as DelegateInfo, b1 as MigrationGlobalSkipReason, b2 as MigrationLegSkipReason, b3 as SignerStatus, ag as IReadonlyWallet, i as ActivityRegistry, an as IReadonlyAssetManager, b4 as StorageConfig, j as Activity, k as IContractManager, q as IAssetManager, p as SendParams, n as IDelegateManager, b5 as IVtxoManager, ai as OnchainProvider, a5 as Network, aq as NetworkName, au as Coin, b6 as SendBitcoinParams, b7 as ExplorerTransaction, aA as SignedIntent, aB as Intent, b8 as TreeNonces, b9 as TreePartialSigs, T as TxNotificationEvent, ba as PendingTx, x as TapLeafScript, bb as EncodedVtxoScript, a6 as CSVMultisigTapscript, w as RelativeTimelock, V as VtxoScript, bc as Status, ar as ArkAddress, bd as ChainTx, v as IndexerProvider, a9 as TxTree, be as PathContext } from './index-BKBoBSKX.cjs';
|
|
2
|
+
export { bf as ActivityIntent, bg as ActivityResolver, bh as ArkIntentState, bi as ArkTapscript, bj as AssetMetadata, bk as BITCOIN_EMULATOR_PUBKEY, bl as BaseWalletConfig, ad as BatchFailedEvent, ab as BatchFinalizationEvent, ac as BatchFinalizedEvent, bm as BatchInfo, bn as BatchSignableIdentity, a7 as BatchStartedEvent, bo as CLTVMultisigTapscript, bp as CandidateDeps, bq as ChainTxType, a1 as ChainedTxType, br as CommitmentTx, bs as ConditionCSVMultisigTapscript, bt as ConditionMultisigTapscript, bu as ContractBalance, bv as ContractEventCallback, bw as ContractHandler, av as ContractManager, aw as ContractManagerConfig, bx as ContractState, by as ContractVtxo, bz as ContractVtxoEvent, bA as ContractWatcher, bB as DEFAULT_VTXO_PAGE_SIZE, bC as DelegateManagerImpl, bD as DelegateOptions, aj as DelegateProvider, bE as DeprecatedSignerMigrationReport, bF as DeprecatedSignerReport, bG as DigestMismatchError, bH as Discoverable, bI as DiscoveredContract, bJ as DiscoveryDeps, bK as ESPLORA_URL, bL as EsploraProvider, bM as EventSourceCapable, bN as EventSourceFactory, bO as EventSourceLike, bP as EventSourceUnavailableError, al as ExitCaptureMode, bQ as ExitChainResolver, am as ExitDataSource, bR as ExtendedContractVtxo, bS as GroupMembership, bT as HandlerError, bU as INTENT_TERMINAL_STATES, bV as IndexerTxType, bW as IntentCoin, bX as IntentFilter, bY as KnownMetadata, bZ as MAX_PAGE_SIZE, b_ as MUTINYNET_EMULATOR_PUBKEY, b$ as MigrateDeprecatedSignerOptions, c0 as MigrationLegReport, c1 as MigrationVtxoRef, c2 as MultisigTapscript, c3 as NewAddressType, c4 as Nonces, c5 as Output, c6 as PageResponse, c7 as PartialSig, c8 as PrevTxSource, c9 as PrevTxUnavailableError, ca as ProviderClass, cb as REGTEST_EMULATOR_PUBKEY, cc as RawTxSource, ak as ReadonlyWalletConfig, ap as RecipientArkadeAddressContext, cd as RenewalSplit, ce as RenewalSplitContext, r as RestArkProvider, cf as RestDelegateProvider, s as RestIndexerProvider, cg as ScanContractsOptions, ch as ScanResult, ci as ScheduledSession, cj as SettlementEventType, ck as SignRequest, cl as SignerClassification, cm as SignerSet, cn as SubscriptionEvent, co as SubscriptionHeartbeat, t as SubscriptionResponse, cp as SweepTxNotification, cq as TapLeaves, cr as TapTreeCoder, cs as TapscriptType, aC as TimeHeight, aa as TreeNoncesEvent, af as TreeSignatureEvent, a8 as TreeSigningStartedEvent, ae as TreeTxEvent, ct as Tx, cu as TxHistoryRecord, cv as TxKey, cw as TxNotification, cx as TxTag, cy as TxTreeNode, cz as TxType, cA as Vtxo, cB as VtxoChain, ay as VtxoManager, cC as VtxoType, b as WalletConfig, cD as WalletMode, cE as WithPrevTx, cF as assertAllowedSighashTypes, cG as assertPageRequest, cH as assertRecipientArkadeAddress, cI as assetMintResolver, cJ as attachPrevArkTxs, cK as attachPrevoutTxs, cL as boardingResolver, cM as canRecoverOnchain, cN as canSpendOffchain, cO as canSweepOnchain, cP as classifyAgainstSignerSet, cQ as classifyContractSigner, cR as collabExitResolver, cS as collectContracts, cT as collectIntents, cU as collectPages, cV as collectScriptVtxos, cW as collectTransactionHistory, cX as collectUtxos, cY as collectVtxos, cZ as configureEventSource, c_ as createDefaultActivityRegistry, c$ as createExitChainResolver, d0 as decodeTapscript, d1 as defaultEmulatorPubkey, d2 as getAllNormalizedVtxos, d3 as getConfiguredEventSource, d4 as getNetwork, d5 as getNormalizedVtxos, d6 as getRandomId, d7 as getSequence, d8 as hasCandidates, d9 as isBatchSignable, da as isContractVtxoEvent, db as isCooperativelyMigratable, dc as isDiscoverable, dd as isEventSourceUnavailableError, de as isPastExpiry, df as isSigningIdentity, dg as isSubdust, dh as isTerminalIntentState, di as isVirtualCoin, dj as isVtxoExpiringSoon, dk as isVtxoSpent, dl as iteratePages, dm as networkFromArkadeInfo, dn as networks, dp as pageResult, dq as resolveEmulatorPubkey, dr as resolveEventSource, ds as resolvePrevTxs, dt as scriptFromTapLeafScript, du as signerSetFromInfo, dv as toXOnlySignerHex, dw as withPrevTxs } from './index-BKBoBSKX.cjs';
|
|
3
|
+
import { W as Wallet, R as ReadonlyWallet, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './wallet-CdUjdg15.cjs';
|
|
4
|
+
export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashUnclaimedReason, l as ArkadeCashUnclaimedVtxo, m as ArkadeCashVtxoRef, n as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, o as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, p as IndexedDBWalletRepository, K as KeyringDescriptorProvider, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, q as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, r as ProviderKind, s as ProviderUnavailableError, t as REGTEST_MIN_BATCH_EXPIRY_SECONDS, u as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, v as ServerInfoSource, w as ServerResponseMismatchError, x as WaitForIncomingFundsOptions, y as WalletCannotAllocateAddressError, z as assertValidBatchExpiry, E as assertValidServerUnrollScript, G as defaultBatchExpiryPolicy, J as defaultCheckpointExitDelayPolicy, L as isAddressAllocationCapable, N as isArkError, O as isHDAllocationCapable, Q as isHDWalletCapable, T as maybeArkError, U as resolveBatchExpiryPolicy, V as resolveCheckpointExitDelayPolicy, X as resolveDescriptorSigner, Y as selectVirtualCoins, Z as signingDescriptorIndex, _ as strictSigningDescriptorIndex, $ as waitForIncomingFunds } from './wallet-CdUjdg15.cjs';
|
|
5
|
+
import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, l as TweakedSigner, W as WitnessRef, m as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, n as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-CLgF0km0.cjs';
|
|
6
|
+
export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-CLgF0km0.cjs';
|
|
7
|
+
import { D as DefaultVtxo } from './delegate-DRoyCz4n.cjs';
|
|
8
|
+
export { a as DelegateVtxo } from './delegate-DRoyCz4n.cjs';
|
|
9
9
|
import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
|
|
10
10
|
import { P2TR } from '@scure/btc-signer/payment.js';
|
|
11
11
|
import { Transaction as Transaction$1, OP, Script, ScriptType } from '@scure/btc-signer';
|
|
@@ -1056,6 +1056,7 @@ type Initialize = {
|
|
|
1056
1056
|
delegateUrl?: string;
|
|
1057
1057
|
settlementConfig?: SettlementConfig | false;
|
|
1058
1058
|
walletMode?: "auto" | "static" | "hd";
|
|
1059
|
+
lazyInitialization?: boolean;
|
|
1059
1060
|
watcherConfig?: Partial<Omit<ContractWatcherConfig, "indexerProvider">>;
|
|
1060
1061
|
/** @see WalletConfig.lookAheadWindow */
|
|
1061
1062
|
lookAheadWindow?: number;
|
|
@@ -2038,6 +2039,7 @@ type RequestInitWallet = RequestEnvelope & {
|
|
|
2038
2039
|
payload: {
|
|
2039
2040
|
arkServerUrl: string;
|
|
2040
2041
|
arkServerPublicKey?: string;
|
|
2042
|
+
lazyBoarding?: boolean;
|
|
2041
2043
|
};
|
|
2042
2044
|
};
|
|
2043
2045
|
type ResponseInitWallet = ResponseEnvelope & {
|
|
@@ -2502,6 +2504,34 @@ type RequestSend = RequestEnvelope & {
|
|
|
2502
2504
|
maxChangeFee?: number;
|
|
2503
2505
|
};
|
|
2504
2506
|
};
|
|
2507
|
+
type RequestSendWithDeadline = RequestEnvelope & {
|
|
2508
|
+
type: "SEND_WITH_DEADLINE";
|
|
2509
|
+
payload: {
|
|
2510
|
+
recipients: [Recipient, ...Recipient[]];
|
|
2511
|
+
selectedVtxos?: ExtendedVirtualCoin[];
|
|
2512
|
+
/** @see SendParams.maxChangeFee */
|
|
2513
|
+
maxChangeFee?: number;
|
|
2514
|
+
validUntil: number;
|
|
2515
|
+
};
|
|
2516
|
+
};
|
|
2517
|
+
type RequestSendWithInputExpiryFloor = RequestEnvelope & {
|
|
2518
|
+
type: "SEND_WITH_INPUT_EXPIRY_FLOOR";
|
|
2519
|
+
payload: {
|
|
2520
|
+
recipients: [Recipient, ...Recipient[]];
|
|
2521
|
+
selectedVtxos?: ExtendedVirtualCoin[];
|
|
2522
|
+
/** @see SendParams.maxChangeFee */
|
|
2523
|
+
maxChangeFee?: number;
|
|
2524
|
+
inputExpiryFloor: InputExpiryFloor;
|
|
2525
|
+
validUntil?: number;
|
|
2526
|
+
};
|
|
2527
|
+
};
|
|
2528
|
+
type ResponseSendDeadlineExceeded = ResponseEnvelope & {
|
|
2529
|
+
type: "SEND_DEADLINE_EXCEEDED";
|
|
2530
|
+
error: Error;
|
|
2531
|
+
payload: {
|
|
2532
|
+
validUntil: number;
|
|
2533
|
+
};
|
|
2534
|
+
};
|
|
2505
2535
|
type ResponseSend = ResponseEnvelope & {
|
|
2506
2536
|
type: "SEND_SUCCESS";
|
|
2507
2537
|
payload: {
|
|
@@ -2718,8 +2748,8 @@ type RequestRestoreWallet = RequestEnvelope & {
|
|
|
2718
2748
|
type ResponseRestoreWallet = ResponseEnvelope & {
|
|
2719
2749
|
type: "RESTORE_WALLET_SUCCESS";
|
|
2720
2750
|
};
|
|
2721
|
-
type WalletUpdaterRequest = RequestInitWallet | RequestSettle | RequestGetAddress | RequestGetBoardingAddress | RequestGetArkadeInfo | RequestIndexerGetVtxos | RequestIndexerGetVirtualTxs | RequestSubmitTx | RequestFinalizeTx | RequestGetBalance | RequestGetVtxos | RequestGetSpendableVtxos | RequestGetBoardingUtxos | RequestGetTransactionHistory | RequestGetStatus | RequestGetContractSyncState | RequestClear | RequestReloadWallet | RequestSignTransaction | RequestCreateContract | RequestGetContracts | RequestGetContractsWithVtxos | RequestWatchScript | RequestUnwatchScript | RequestGetWatchedScripts | RequestAnnotateVtxos | RequestUpdateContract | RequestDeleteContract | RequestGetSpendablePaths | RequestGetAllSpendingPaths | RequestIsContractManagerWatching | RequestRefreshVtxos | RequestRefreshOutpoints | RequestGetCurrentSigningDescriptor | RequestGetNextSigningDescriptor | RequestGetNewAddresses | RequestGetUsedSigningDescriptors | RequestAdvanceSigningDescriptorWatermark | RequestSend | RequestGetAssetDetails | RequestIssue | RequestReissue | RequestBurn | RequestDelegate | RequestGetDelegateInfo | RequestRecoverVtxos | RequestGetRecoverableBalance | RequestGetExpiringVtxos | RequestRenewVtxos | RequestGetExpiredBoardingUtxos | RequestSweepExpiredBoardingUtxos | RequestMigrateDeprecatedSignerVtxos | RequestGetDeprecatedSignerStatus | RequestRestoreWallet;
|
|
2722
|
-
type WalletUpdaterResponse = ResponseEnvelope & (ResponseInitWallet | ResponseSettle | ResponseSettleEvent | ResponseGetAddress | ResponseGetBoardingAddress | ResponseGetArkadeInfo | ResponseIndexerGetVtxos | ResponseIndexerGetVirtualTxs | ResponseSubmitTx | ResponseFinalizeTx | ResponseGetBalance | ResponseGetVtxos | ResponseGetSpendableVtxos | ResponseGetBoardingUtxos | ResponseGetTransactionHistory | ResponseGetStatus | ResponseGetContractSyncState | ResponseClear | ResponseReloadWallet | ResponseUtxoUpdate | ResponseVtxoUpdate | ResponseSignTransaction | ResponseCreateContract | ResponseGetContracts | ResponseGetContractsWithVtxos | ResponseWatchScript | ResponseUnwatchScript | ResponseGetWatchedScripts | ResponseAnnotateVtxos | ResponseUpdateContract | ResponseContractWatchStateSet | ResponseDeleteContract | ResponseGetSpendablePaths | ResponseGetAllSpendingPaths | ResponseIsContractManagerWatching | ResponseRefreshVtxos | ResponseRefreshOutpoints | ResponseGetCurrentSigningDescriptor | ResponseGetNextSigningDescriptor | ResponseGetNewAddresses | ResponseGetUsedSigningDescriptors | ResponseAdvanceSigningDescriptorWatermark | ResponseContractEvent | ResponseSend | ResponseGetAssetDetails | ResponseIssue | ResponseReissue | ResponseBurn | ResponseDelegate | ResponseGetDelegateInfo | ResponseRecoverVtxos | ResponseRecoverVtxosEvent | ResponseGetRecoverableBalance | ResponseGetExpiringVtxos | ResponseRenewVtxos | ResponseRenewVtxosEvent | ResponseGetExpiredBoardingUtxos | ResponseSweepExpiredBoardingUtxos | ResponseMigrateDeprecatedSignerVtxos | ResponseMigrateDeprecatedSignerVtxosEvent | ResponseGetDeprecatedSignerStatus | ResponseRestoreWallet);
|
|
2751
|
+
type WalletUpdaterRequest = RequestInitWallet | RequestSettle | RequestGetAddress | RequestGetBoardingAddress | RequestGetArkadeInfo | RequestIndexerGetVtxos | RequestIndexerGetVirtualTxs | RequestSubmitTx | RequestFinalizeTx | RequestGetBalance | RequestGetVtxos | RequestGetSpendableVtxos | RequestGetBoardingUtxos | RequestGetTransactionHistory | RequestGetStatus | RequestGetContractSyncState | RequestClear | RequestReloadWallet | RequestSignTransaction | RequestCreateContract | RequestGetContracts | RequestGetContractsWithVtxos | RequestWatchScript | RequestUnwatchScript | RequestGetWatchedScripts | RequestAnnotateVtxos | RequestUpdateContract | RequestDeleteContract | RequestGetSpendablePaths | RequestGetAllSpendingPaths | RequestIsContractManagerWatching | RequestRefreshVtxos | RequestRefreshOutpoints | RequestGetCurrentSigningDescriptor | RequestGetNextSigningDescriptor | RequestGetNewAddresses | RequestGetUsedSigningDescriptors | RequestAdvanceSigningDescriptorWatermark | RequestSend | RequestSendWithDeadline | RequestSendWithInputExpiryFloor | RequestGetAssetDetails | RequestIssue | RequestReissue | RequestBurn | RequestDelegate | RequestGetDelegateInfo | RequestRecoverVtxos | RequestGetRecoverableBalance | RequestGetExpiringVtxos | RequestRenewVtxos | RequestGetExpiredBoardingUtxos | RequestSweepExpiredBoardingUtxos | RequestMigrateDeprecatedSignerVtxos | RequestGetDeprecatedSignerStatus | RequestRestoreWallet;
|
|
2752
|
+
type WalletUpdaterResponse = ResponseEnvelope & (ResponseInitWallet | ResponseSettle | ResponseSettleEvent | ResponseGetAddress | ResponseGetBoardingAddress | ResponseGetArkadeInfo | ResponseIndexerGetVtxos | ResponseIndexerGetVirtualTxs | ResponseSubmitTx | ResponseFinalizeTx | ResponseGetBalance | ResponseGetVtxos | ResponseGetSpendableVtxos | ResponseGetBoardingUtxos | ResponseGetTransactionHistory | ResponseGetStatus | ResponseGetContractSyncState | ResponseClear | ResponseReloadWallet | ResponseUtxoUpdate | ResponseVtxoUpdate | ResponseSignTransaction | ResponseCreateContract | ResponseGetContracts | ResponseGetContractsWithVtxos | ResponseWatchScript | ResponseUnwatchScript | ResponseGetWatchedScripts | ResponseAnnotateVtxos | ResponseUpdateContract | ResponseContractWatchStateSet | ResponseDeleteContract | ResponseGetSpendablePaths | ResponseGetAllSpendingPaths | ResponseIsContractManagerWatching | ResponseRefreshVtxos | ResponseRefreshOutpoints | ResponseGetCurrentSigningDescriptor | ResponseGetNextSigningDescriptor | ResponseGetNewAddresses | ResponseGetUsedSigningDescriptors | ResponseAdvanceSigningDescriptorWatermark | ResponseContractEvent | ResponseSend | ResponseSendDeadlineExceeded | ResponseGetAssetDetails | ResponseIssue | ResponseReissue | ResponseBurn | ResponseDelegate | ResponseGetDelegateInfo | ResponseRecoverVtxos | ResponseRecoverVtxosEvent | ResponseGetRecoverableBalance | ResponseGetExpiringVtxos | ResponseRenewVtxos | ResponseRenewVtxosEvent | ResponseGetExpiredBoardingUtxos | ResponseSweepExpiredBoardingUtxos | ResponseMigrateDeprecatedSignerVtxos | ResponseMigrateDeprecatedSignerVtxosEvent | ResponseGetDeprecatedSignerStatus | ResponseRestoreWallet);
|
|
2723
2753
|
declare class WalletMessageHandler implements MessageHandler<WalletUpdaterRequest, WalletUpdaterResponse> {
|
|
2724
2754
|
readonly messageTag: string;
|
|
2725
2755
|
private wallet;
|
|
@@ -2733,6 +2763,7 @@ declare class WalletMessageHandler implements MessageHandler<WalletUpdaterReques
|
|
|
2733
2763
|
private channel;
|
|
2734
2764
|
private incomingFundsEpoch;
|
|
2735
2765
|
private contractEventsEpoch;
|
|
2766
|
+
private boardingEpoch;
|
|
2736
2767
|
/** Per-request progress callbacks: ends with the handler, not with a re-init. */
|
|
2737
2768
|
private requestEpoch;
|
|
2738
2769
|
/**
|
|
@@ -2759,6 +2790,10 @@ declare class WalletMessageHandler implements MessageHandler<WalletUpdaterReques
|
|
|
2759
2790
|
isLongRunning(message: WalletUpdaterRequest): boolean;
|
|
2760
2791
|
handleMessage(message: WalletUpdaterRequest): Promise<WalletUpdaterResponse>;
|
|
2761
2792
|
private handleInitWallet;
|
|
2793
|
+
/** @see RequestInitWallet.payload.lazyBoarding */
|
|
2794
|
+
private lazyBoardingInit;
|
|
2795
|
+
/** Set once this session has actually fetched the boarding addresses. */
|
|
2796
|
+
private boardingLoaded;
|
|
2762
2797
|
/**
|
|
2763
2798
|
* The worker's own balance. Same bucketing rules as `Wallet.getBalance` —
|
|
2764
2799
|
* both call {@link computeOffchainBalance} — but deliberately a different
|
|
@@ -2768,14 +2803,26 @@ declare class WalletMessageHandler implements MessageHandler<WalletUpdaterReques
|
|
|
2768
2803
|
* runs over this method's local snapshot instead.
|
|
2769
2804
|
*/
|
|
2770
2805
|
private handleGetBalance;
|
|
2771
|
-
private
|
|
2806
|
+
private getBoardingUtxosForBalance;
|
|
2772
2807
|
private onWalletInitialized;
|
|
2773
2808
|
/**
|
|
2774
|
-
* Refresh
|
|
2775
|
-
*
|
|
2776
|
-
* (post-refresh),
|
|
2809
|
+
* Refresh boarding inputs and transaction history. The virtual outputs come
|
|
2810
|
+
* from the contract manager, which runs before this. Shared by
|
|
2811
|
+
* onWalletInitialized (full bootstrap) and reloadWallet (post-refresh),
|
|
2812
|
+
* avoiding duplicate subscriptions and VtxoManager restarts.
|
|
2813
|
+
*
|
|
2814
|
+
* Both legs reach the onchain provider, so `lazyBoarding` moves them both
|
|
2815
|
+
* off the caller's path. @see RequestInitWallet.payload.lazyBoarding
|
|
2777
2816
|
*/
|
|
2778
2817
|
private refreshCachedData;
|
|
2818
|
+
/** @param gen - set by a background caller; each write is skipped once it goes stale. */
|
|
2819
|
+
private refreshHistoryCache;
|
|
2820
|
+
/**
|
|
2821
|
+
* @param gen - set by a background caller; each write here is skipped once it goes stale.
|
|
2822
|
+
* The fetch saves the fetched rows itself, before control returns, so that one write is
|
|
2823
|
+
* outside this check.
|
|
2824
|
+
*/
|
|
2825
|
+
private refreshBoardingCache;
|
|
2779
2826
|
/**
|
|
2780
2827
|
* Force a full VTXO refresh from the indexer, then refresh cached data.
|
|
2781
2828
|
* Used by RELOAD_WALLET to ensure fresh data without re-subscribing
|
|
@@ -2871,6 +2918,10 @@ declare const DEFAULT_MESSAGE_TIMEOUTS: Readonly<Record<RequestType, number>>;
|
|
|
2871
2918
|
* ```
|
|
2872
2919
|
*/
|
|
2873
2920
|
interface ServiceWorkerWalletOptions {
|
|
2921
|
+
/** Start contract synchronization in the background; inspect provider connection state. */
|
|
2922
|
+
lazyInitialization?: boolean;
|
|
2923
|
+
/** Defer boarding and history loading; render boarding.loaded=false as unknown. */
|
|
2924
|
+
lazyBoarding?: boolean;
|
|
2874
2925
|
/** Arkade server endpoint and optional public key. */
|
|
2875
2926
|
arkServer?: {
|
|
2876
2927
|
url: string;
|
|
@@ -2952,6 +3003,7 @@ type ServiceWorkerWalletSetupOptions = ServiceWorkerWalletOptions & {
|
|
|
2952
3003
|
serviceWorkerActivationTimeoutMs?: number;
|
|
2953
3004
|
};
|
|
2954
3005
|
type MessageBusInitConfig = {
|
|
3006
|
+
lazyInitialization?: boolean;
|
|
2955
3007
|
wallet: SerializedIdentity;
|
|
2956
3008
|
arkServer: {
|
|
2957
3009
|
url: string;
|
|
@@ -4081,7 +4133,7 @@ declare class ArkNote implements ExtendedCoin {
|
|
|
4081
4133
|
}
|
|
4082
4134
|
|
|
4083
4135
|
/**
|
|
4084
|
-
* ArkadeCash is a bearer instrument for the
|
|
4136
|
+
* ArkadeCash is a bearer instrument for the Arkade.
|
|
4085
4137
|
* It encodes a private key and contract parameters as a bech32m string,
|
|
4086
4138
|
* enabling wallet-to-wallet transfers without address exchange.
|
|
4087
4139
|
*
|
|
@@ -4748,6 +4800,13 @@ declare const UnilateralExit: {
|
|
|
4748
4800
|
*/
|
|
4749
4801
|
declare function isRetryableProviderError(error: unknown): boolean;
|
|
4750
4802
|
|
|
4803
|
+
/** Raised only before provider submission, so callers can release an unsent reservation. */
|
|
4804
|
+
declare class SendDeadlineExceededError extends Error {
|
|
4805
|
+
constructor(validUntil: number);
|
|
4806
|
+
}
|
|
4807
|
+
declare function captureSendDeadline(value: unknown, required?: boolean): number | undefined;
|
|
4808
|
+
declare function assertSendDeadline(validUntil?: number): void;
|
|
4809
|
+
|
|
4751
4810
|
declare function validateConnectorsTxGraph(settlementTxB64: string, connectorsGraph: TxTree): void;
|
|
4752
4811
|
declare function validateVtxoTxGraph(graph: TxTree, roundTransaction: Transaction, sweepTapTreeRoot: Uint8Array): void;
|
|
4753
4812
|
|
|
@@ -5585,6 +5644,7 @@ declare class ArkadeTransactionBuilder {
|
|
|
5585
5644
|
private readonly outputs;
|
|
5586
5645
|
private readonly fundingCoins;
|
|
5587
5646
|
private readonly assetSpecs;
|
|
5647
|
+
private readonly extraPackets;
|
|
5588
5648
|
private coin?;
|
|
5589
5649
|
private changeScript?;
|
|
5590
5650
|
/** @internal */
|
|
@@ -5597,6 +5657,8 @@ declare class ArkadeTransactionBuilder {
|
|
|
5597
5657
|
fund(coins: ArkTxInput[]): this;
|
|
5598
5658
|
/** Transfer an asset group: which inputs supply it and which outputs receive it. */
|
|
5599
5659
|
withAsset(spec: AssetSpec): this;
|
|
5660
|
+
/** Add an extension packet; reusing the asset or emulator packet's type fails at build. */
|
|
5661
|
+
withPacket(packet: ExtensionPacket): this;
|
|
5600
5662
|
/** Destination for any surplus (inputs − outputs). Required when the spend is not exact. */
|
|
5601
5663
|
change(script: Uint8Array): this;
|
|
5602
5664
|
/** Add an output — `(script, amount)` or a list of outputs. */
|
|
@@ -6297,4 +6359,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
|
|
|
6297
6359
|
burn(params: BurnParams): Promise<string>;
|
|
6298
6360
|
}
|
|
6299
6361
|
|
|
6300
|
-
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeBroadcaster, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, ArkadeInfo, ArkadeReader, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, CachingArkProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, type ConnectorTreeNode, Contract, ContractEvent, ContractFilter, ContractRepository, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DatabaseUpgradeBlockedError, DefaultVtxo, 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, type EmulatorInfo, EmulatorPacket, type EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExecutorOptions, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetArkadeInfoOptions, GetNewAddressesOptions, GetSpendableVtxosFilter, GetVtxosFilter, GetVtxosOptions, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexerProvider, Intent, IntentFeeConfig, IntentPageFilter, IntentRepository, 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, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, OversizedChangeError, P2A, PageRequest, PageResult, PaginationOptions, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, ScriptVtxoCursor, ScriptVtxoPageOptions, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedIntent, SignerSession, SignerStatus, SingleKey, StaticDescriptorProvider, Status, StorageConfig, StoredVtxo, TapLeafScript, Transaction, TransactionHistoryPageCursor, TransactionHistoryPageFilter, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, type WalletRestoreHook, WatchedScript, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertNonNegativeMs, assertSendableAmount, assertSubmittedArkTxid, assertTimerMs, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, decodeArkContract, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, resolveAssetAmount, resolveSendAmount, sdkVersion, selectCoinsWithAsset, selectionOf, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
|
|
6362
|
+
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeBroadcaster, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, ArkadeInfo, ArkadeReader, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, CachingArkProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, type ConnectorTreeNode, Contract, ContractEvent, ContractFilter, ContractRepository, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DatabaseUpgradeBlockedError, DefaultVtxo, 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, type EmulatorInfo, EmulatorPacket, type EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExecutorOptions, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetArkadeInfoOptions, GetNewAddressesOptions, GetSpendableVtxosFilter, GetVtxosFilter, GetVtxosOptions, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexerProvider, InputExpiryFloor, Intent, IntentFeeConfig, IntentPageFilter, IntentRepository, 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, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, OversizedChangeError, P2A, PageRequest, PageResult, PaginationOptions, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, ScriptVtxoCursor, ScriptVtxoPageOptions, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendDeadlineExceededError, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedIntent, SignerSession, SignerStatus, SingleKey, StaticDescriptorProvider, Status, StorageConfig, StoredVtxo, TapLeafScript, Transaction, TransactionHistoryPageCursor, TransactionHistoryPageFilter, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, type WalletRestoreHook, WatchedScript, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertNonNegativeMs, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertTimerMs, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, captureSendDeadline, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, decodeArkContract, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, resolveAssetAmount, resolveSendAmount, sdkVersion, selectCoinsWithAsset, selectionOf, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ah as ReadonlyIdentity, a as Identity, a3 as DescriptorSigningRequest, a4 as Transaction, az as SignerSession, a2 as DescriptorProvider, aD as IntentFeeConfig, aE as OffchainInput, aF as FeeAmount, aG as OnchainInput, aH as FeeOutput, X as IntentRepository, Y as ArkIntent, Z as IntentPageFilter, P as PageRequest, D as PageResult, O as Outpoint, _ as VirtualTxRepository, $ as VirtualTx, a0 as VtxoBranch, W as WalletRepository, B as ExtendedVirtualCoin, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, E as ExtendedCoin, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, h as ArkTransaction, Q as WalletState, z as Contract, C as ContractRepository, U as ContractFilter, I as IWallet, u as ArkProvider, ax as SettlementConfig, aI as ContractWatcherConfig, aJ as Asset, R as Recipient, aK as FeeInfo, o as SettlementEvent, N as NormalizedExtendedVirtualCoin, S as SettleParams, G as GetArkadeInfoOptions, aL as GetVtxosOptions, aM as PaginationOptions, f as GetVtxosFilter, g as GetSpendableVtxosFilter, aN as CreateContractParams, aO as GetContractsFilter, y as VirtualCoin, aP as GetSpendablePathsOptions, aQ as GetAllSpendingPathsOptions, l as GetNewAddressesOptions, aR as
|
|
2
|
-
export {
|
|
3
|
-
import { W as Wallet, R as ReadonlyWallet, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './wallet-
|
|
4
|
-
export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashUnclaimedReason, l as ArkadeCashUnclaimedVtxo, m as ArkadeCashVtxoRef, n as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, o as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, p as IndexedDBWalletRepository, K as KeyringDescriptorProvider, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, q as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, r as ProviderKind, s as ProviderUnavailableError, t as REGTEST_MIN_BATCH_EXPIRY_SECONDS, u as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, v as ServerInfoSource, w as ServerResponseMismatchError, x as WaitForIncomingFundsOptions, y as WalletCannotAllocateAddressError, z as assertValidBatchExpiry, E as assertValidServerUnrollScript, G as defaultBatchExpiryPolicy, J as defaultCheckpointExitDelayPolicy, L as isAddressAllocationCapable, N as isArkError, O as isHDAllocationCapable, Q as isHDWalletCapable, T as maybeArkError, U as resolveBatchExpiryPolicy, V as resolveCheckpointExitDelayPolicy, X as resolveDescriptorSigner, Y as selectVirtualCoins, Z as signingDescriptorIndex, _ as strictSigningDescriptorIndex, $ as waitForIncomingFunds } from './wallet-
|
|
5
|
-
import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, l as TweakedSigner, W as WitnessRef, m as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, n as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-
|
|
6
|
-
export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-
|
|
7
|
-
import { D as DefaultVtxo } from './delegate-
|
|
8
|
-
export { a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { ah as ReadonlyIdentity, a as Identity, a3 as DescriptorSigningRequest, a4 as Transaction, az as SignerSession, a2 as DescriptorProvider, aD as IntentFeeConfig, aE as OffchainInput, aF as FeeAmount, aG as OnchainInput, aH as FeeOutput, X as IntentRepository, Y as ArkIntent, Z as IntentPageFilter, P as PageRequest, D as PageResult, O as Outpoint, _ as VirtualTxRepository, $ as VirtualTx, a0 as VtxoBranch, W as WalletRepository, B as ExtendedVirtualCoin, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, E as ExtendedCoin, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, h as ArkTransaction, Q as WalletState, z as Contract, C as ContractRepository, U as ContractFilter, I as IWallet, u as ArkProvider, ax as SettlementConfig, aI as ContractWatcherConfig, aJ as Asset, R as Recipient, aK as FeeInfo, o as SettlementEvent, N as NormalizedExtendedVirtualCoin, S as SettleParams, G as GetArkadeInfoOptions, aL as GetVtxosOptions, aM as PaginationOptions, f as GetVtxosFilter, g as GetSpendableVtxosFilter, aN as CreateContractParams, aO as GetContractsFilter, y as VirtualCoin, aP as GetSpendablePathsOptions, aQ as GetAllSpendingPathsOptions, l as GetNewAddressesOptions, aR as InputExpiryFloor, aS as IssuanceParams, aT as ReissuanceParams, aU as BurnParams, aV as RenewVtxosOptions, A as ArkadeInfo, aW as NormalizedVtxoPage, c as ArkadeReader, d as ArkadeBroadcaster, e as WalletBalance, ao as ContractSyncState, as as ContractWithVtxos, aX as WatchedScript, aY as PathSelection, m as NewAddress, aZ as ContractEvent, a_ as AssetDetails, a$ as IssuanceResult, b0 as DelegateInfo, b1 as MigrationGlobalSkipReason, b2 as MigrationLegSkipReason, b3 as SignerStatus, ag as IReadonlyWallet, i as ActivityRegistry, an as IReadonlyAssetManager, b4 as StorageConfig, j as Activity, k as IContractManager, q as IAssetManager, p as SendParams, n as IDelegateManager, b5 as IVtxoManager, ai as OnchainProvider, a5 as Network, aq as NetworkName, au as Coin, b6 as SendBitcoinParams, b7 as ExplorerTransaction, aA as SignedIntent, aB as Intent, b8 as TreeNonces, b9 as TreePartialSigs, T as TxNotificationEvent, ba as PendingTx, x as TapLeafScript, bb as EncodedVtxoScript, a6 as CSVMultisigTapscript, w as RelativeTimelock, V as VtxoScript, bc as Status, ar as ArkAddress, bd as ChainTx, v as IndexerProvider, a9 as TxTree, be as PathContext } from './index-BKBoBSKX.js';
|
|
2
|
+
export { bf as ActivityIntent, bg as ActivityResolver, bh as ArkIntentState, bi as ArkTapscript, bj as AssetMetadata, bk as BITCOIN_EMULATOR_PUBKEY, bl as BaseWalletConfig, ad as BatchFailedEvent, ab as BatchFinalizationEvent, ac as BatchFinalizedEvent, bm as BatchInfo, bn as BatchSignableIdentity, a7 as BatchStartedEvent, bo as CLTVMultisigTapscript, bp as CandidateDeps, bq as ChainTxType, a1 as ChainedTxType, br as CommitmentTx, bs as ConditionCSVMultisigTapscript, bt as ConditionMultisigTapscript, bu as ContractBalance, bv as ContractEventCallback, bw as ContractHandler, av as ContractManager, aw as ContractManagerConfig, bx as ContractState, by as ContractVtxo, bz as ContractVtxoEvent, bA as ContractWatcher, bB as DEFAULT_VTXO_PAGE_SIZE, bC as DelegateManagerImpl, bD as DelegateOptions, aj as DelegateProvider, bE as DeprecatedSignerMigrationReport, bF as DeprecatedSignerReport, bG as DigestMismatchError, bH as Discoverable, bI as DiscoveredContract, bJ as DiscoveryDeps, bK as ESPLORA_URL, bL as EsploraProvider, bM as EventSourceCapable, bN as EventSourceFactory, bO as EventSourceLike, bP as EventSourceUnavailableError, al as ExitCaptureMode, bQ as ExitChainResolver, am as ExitDataSource, bR as ExtendedContractVtxo, bS as GroupMembership, bT as HandlerError, bU as INTENT_TERMINAL_STATES, bV as IndexerTxType, bW as IntentCoin, bX as IntentFilter, bY as KnownMetadata, bZ as MAX_PAGE_SIZE, b_ as MUTINYNET_EMULATOR_PUBKEY, b$ as MigrateDeprecatedSignerOptions, c0 as MigrationLegReport, c1 as MigrationVtxoRef, c2 as MultisigTapscript, c3 as NewAddressType, c4 as Nonces, c5 as Output, c6 as PageResponse, c7 as PartialSig, c8 as PrevTxSource, c9 as PrevTxUnavailableError, ca as ProviderClass, cb as REGTEST_EMULATOR_PUBKEY, cc as RawTxSource, ak as ReadonlyWalletConfig, ap as RecipientArkadeAddressContext, cd as RenewalSplit, ce as RenewalSplitContext, r as RestArkProvider, cf as RestDelegateProvider, s as RestIndexerProvider, cg as ScanContractsOptions, ch as ScanResult, ci as ScheduledSession, cj as SettlementEventType, ck as SignRequest, cl as SignerClassification, cm as SignerSet, cn as SubscriptionEvent, co as SubscriptionHeartbeat, t as SubscriptionResponse, cp as SweepTxNotification, cq as TapLeaves, cr as TapTreeCoder, cs as TapscriptType, aC as TimeHeight, aa as TreeNoncesEvent, af as TreeSignatureEvent, a8 as TreeSigningStartedEvent, ae as TreeTxEvent, ct as Tx, cu as TxHistoryRecord, cv as TxKey, cw as TxNotification, cx as TxTag, cy as TxTreeNode, cz as TxType, cA as Vtxo, cB as VtxoChain, ay as VtxoManager, cC as VtxoType, b as WalletConfig, cD as WalletMode, cE as WithPrevTx, cF as assertAllowedSighashTypes, cG as assertPageRequest, cH as assertRecipientArkadeAddress, cI as assetMintResolver, cJ as attachPrevArkTxs, cK as attachPrevoutTxs, cL as boardingResolver, cM as canRecoverOnchain, cN as canSpendOffchain, cO as canSweepOnchain, cP as classifyAgainstSignerSet, cQ as classifyContractSigner, cR as collabExitResolver, cS as collectContracts, cT as collectIntents, cU as collectPages, cV as collectScriptVtxos, cW as collectTransactionHistory, cX as collectUtxos, cY as collectVtxos, cZ as configureEventSource, c_ as createDefaultActivityRegistry, c$ as createExitChainResolver, d0 as decodeTapscript, d1 as defaultEmulatorPubkey, d2 as getAllNormalizedVtxos, d3 as getConfiguredEventSource, d4 as getNetwork, d5 as getNormalizedVtxos, d6 as getRandomId, d7 as getSequence, d8 as hasCandidates, d9 as isBatchSignable, da as isContractVtxoEvent, db as isCooperativelyMigratable, dc as isDiscoverable, dd as isEventSourceUnavailableError, de as isPastExpiry, df as isSigningIdentity, dg as isSubdust, dh as isTerminalIntentState, di as isVirtualCoin, dj as isVtxoExpiringSoon, dk as isVtxoSpent, dl as iteratePages, dm as networkFromArkadeInfo, dn as networks, dp as pageResult, dq as resolveEmulatorPubkey, dr as resolveEventSource, ds as resolvePrevTxs, dt as scriptFromTapLeafScript, du as signerSetFromInfo, dv as toXOnlySignerHex, dw as withPrevTxs } from './index-BKBoBSKX.js';
|
|
3
|
+
import { W as Wallet, R as ReadonlyWallet, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './wallet-yKzfCUfY.js';
|
|
4
|
+
export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashUnclaimedReason, l as ArkadeCashUnclaimedVtxo, m as ArkadeCashVtxoRef, n as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, o as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, p as IndexedDBWalletRepository, K as KeyringDescriptorProvider, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, q as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, r as ProviderKind, s as ProviderUnavailableError, t as REGTEST_MIN_BATCH_EXPIRY_SECONDS, u as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, v as ServerInfoSource, w as ServerResponseMismatchError, x as WaitForIncomingFundsOptions, y as WalletCannotAllocateAddressError, z as assertValidBatchExpiry, E as assertValidServerUnrollScript, G as defaultBatchExpiryPolicy, J as defaultCheckpointExitDelayPolicy, L as isAddressAllocationCapable, N as isArkError, O as isHDAllocationCapable, Q as isHDWalletCapable, T as maybeArkError, U as resolveBatchExpiryPolicy, V as resolveCheckpointExitDelayPolicy, X as resolveDescriptorSigner, Y as selectVirtualCoins, Z as signingDescriptorIndex, _ as strictSigningDescriptorIndex, $ as waitForIncomingFunds } from './wallet-yKzfCUfY.js';
|
|
5
|
+
import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, l as TweakedSigner, W as WitnessRef, m as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, n as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-BjDUwnH-.js';
|
|
6
|
+
export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-BjDUwnH-.js';
|
|
7
|
+
import { D as DefaultVtxo } from './delegate-DATx5c2o.js';
|
|
8
|
+
export { a as DelegateVtxo } from './delegate-DATx5c2o.js';
|
|
9
9
|
import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
|
|
10
10
|
import { P2TR } from '@scure/btc-signer/payment.js';
|
|
11
11
|
import { Transaction as Transaction$1, OP, Script, ScriptType } from '@scure/btc-signer';
|
|
@@ -1056,6 +1056,7 @@ type Initialize = {
|
|
|
1056
1056
|
delegateUrl?: string;
|
|
1057
1057
|
settlementConfig?: SettlementConfig | false;
|
|
1058
1058
|
walletMode?: "auto" | "static" | "hd";
|
|
1059
|
+
lazyInitialization?: boolean;
|
|
1059
1060
|
watcherConfig?: Partial<Omit<ContractWatcherConfig, "indexerProvider">>;
|
|
1060
1061
|
/** @see WalletConfig.lookAheadWindow */
|
|
1061
1062
|
lookAheadWindow?: number;
|
|
@@ -2038,6 +2039,7 @@ type RequestInitWallet = RequestEnvelope & {
|
|
|
2038
2039
|
payload: {
|
|
2039
2040
|
arkServerUrl: string;
|
|
2040
2041
|
arkServerPublicKey?: string;
|
|
2042
|
+
lazyBoarding?: boolean;
|
|
2041
2043
|
};
|
|
2042
2044
|
};
|
|
2043
2045
|
type ResponseInitWallet = ResponseEnvelope & {
|
|
@@ -2502,6 +2504,34 @@ type RequestSend = RequestEnvelope & {
|
|
|
2502
2504
|
maxChangeFee?: number;
|
|
2503
2505
|
};
|
|
2504
2506
|
};
|
|
2507
|
+
type RequestSendWithDeadline = RequestEnvelope & {
|
|
2508
|
+
type: "SEND_WITH_DEADLINE";
|
|
2509
|
+
payload: {
|
|
2510
|
+
recipients: [Recipient, ...Recipient[]];
|
|
2511
|
+
selectedVtxos?: ExtendedVirtualCoin[];
|
|
2512
|
+
/** @see SendParams.maxChangeFee */
|
|
2513
|
+
maxChangeFee?: number;
|
|
2514
|
+
validUntil: number;
|
|
2515
|
+
};
|
|
2516
|
+
};
|
|
2517
|
+
type RequestSendWithInputExpiryFloor = RequestEnvelope & {
|
|
2518
|
+
type: "SEND_WITH_INPUT_EXPIRY_FLOOR";
|
|
2519
|
+
payload: {
|
|
2520
|
+
recipients: [Recipient, ...Recipient[]];
|
|
2521
|
+
selectedVtxos?: ExtendedVirtualCoin[];
|
|
2522
|
+
/** @see SendParams.maxChangeFee */
|
|
2523
|
+
maxChangeFee?: number;
|
|
2524
|
+
inputExpiryFloor: InputExpiryFloor;
|
|
2525
|
+
validUntil?: number;
|
|
2526
|
+
};
|
|
2527
|
+
};
|
|
2528
|
+
type ResponseSendDeadlineExceeded = ResponseEnvelope & {
|
|
2529
|
+
type: "SEND_DEADLINE_EXCEEDED";
|
|
2530
|
+
error: Error;
|
|
2531
|
+
payload: {
|
|
2532
|
+
validUntil: number;
|
|
2533
|
+
};
|
|
2534
|
+
};
|
|
2505
2535
|
type ResponseSend = ResponseEnvelope & {
|
|
2506
2536
|
type: "SEND_SUCCESS";
|
|
2507
2537
|
payload: {
|
|
@@ -2718,8 +2748,8 @@ type RequestRestoreWallet = RequestEnvelope & {
|
|
|
2718
2748
|
type ResponseRestoreWallet = ResponseEnvelope & {
|
|
2719
2749
|
type: "RESTORE_WALLET_SUCCESS";
|
|
2720
2750
|
};
|
|
2721
|
-
type WalletUpdaterRequest = RequestInitWallet | RequestSettle | RequestGetAddress | RequestGetBoardingAddress | RequestGetArkadeInfo | RequestIndexerGetVtxos | RequestIndexerGetVirtualTxs | RequestSubmitTx | RequestFinalizeTx | RequestGetBalance | RequestGetVtxos | RequestGetSpendableVtxos | RequestGetBoardingUtxos | RequestGetTransactionHistory | RequestGetStatus | RequestGetContractSyncState | RequestClear | RequestReloadWallet | RequestSignTransaction | RequestCreateContract | RequestGetContracts | RequestGetContractsWithVtxos | RequestWatchScript | RequestUnwatchScript | RequestGetWatchedScripts | RequestAnnotateVtxos | RequestUpdateContract | RequestDeleteContract | RequestGetSpendablePaths | RequestGetAllSpendingPaths | RequestIsContractManagerWatching | RequestRefreshVtxos | RequestRefreshOutpoints | RequestGetCurrentSigningDescriptor | RequestGetNextSigningDescriptor | RequestGetNewAddresses | RequestGetUsedSigningDescriptors | RequestAdvanceSigningDescriptorWatermark | RequestSend | RequestGetAssetDetails | RequestIssue | RequestReissue | RequestBurn | RequestDelegate | RequestGetDelegateInfo | RequestRecoverVtxos | RequestGetRecoverableBalance | RequestGetExpiringVtxos | RequestRenewVtxos | RequestGetExpiredBoardingUtxos | RequestSweepExpiredBoardingUtxos | RequestMigrateDeprecatedSignerVtxos | RequestGetDeprecatedSignerStatus | RequestRestoreWallet;
|
|
2722
|
-
type WalletUpdaterResponse = ResponseEnvelope & (ResponseInitWallet | ResponseSettle | ResponseSettleEvent | ResponseGetAddress | ResponseGetBoardingAddress | ResponseGetArkadeInfo | ResponseIndexerGetVtxos | ResponseIndexerGetVirtualTxs | ResponseSubmitTx | ResponseFinalizeTx | ResponseGetBalance | ResponseGetVtxos | ResponseGetSpendableVtxos | ResponseGetBoardingUtxos | ResponseGetTransactionHistory | ResponseGetStatus | ResponseGetContractSyncState | ResponseClear | ResponseReloadWallet | ResponseUtxoUpdate | ResponseVtxoUpdate | ResponseSignTransaction | ResponseCreateContract | ResponseGetContracts | ResponseGetContractsWithVtxos | ResponseWatchScript | ResponseUnwatchScript | ResponseGetWatchedScripts | ResponseAnnotateVtxos | ResponseUpdateContract | ResponseContractWatchStateSet | ResponseDeleteContract | ResponseGetSpendablePaths | ResponseGetAllSpendingPaths | ResponseIsContractManagerWatching | ResponseRefreshVtxos | ResponseRefreshOutpoints | ResponseGetCurrentSigningDescriptor | ResponseGetNextSigningDescriptor | ResponseGetNewAddresses | ResponseGetUsedSigningDescriptors | ResponseAdvanceSigningDescriptorWatermark | ResponseContractEvent | ResponseSend | ResponseGetAssetDetails | ResponseIssue | ResponseReissue | ResponseBurn | ResponseDelegate | ResponseGetDelegateInfo | ResponseRecoverVtxos | ResponseRecoverVtxosEvent | ResponseGetRecoverableBalance | ResponseGetExpiringVtxos | ResponseRenewVtxos | ResponseRenewVtxosEvent | ResponseGetExpiredBoardingUtxos | ResponseSweepExpiredBoardingUtxos | ResponseMigrateDeprecatedSignerVtxos | ResponseMigrateDeprecatedSignerVtxosEvent | ResponseGetDeprecatedSignerStatus | ResponseRestoreWallet);
|
|
2751
|
+
type WalletUpdaterRequest = RequestInitWallet | RequestSettle | RequestGetAddress | RequestGetBoardingAddress | RequestGetArkadeInfo | RequestIndexerGetVtxos | RequestIndexerGetVirtualTxs | RequestSubmitTx | RequestFinalizeTx | RequestGetBalance | RequestGetVtxos | RequestGetSpendableVtxos | RequestGetBoardingUtxos | RequestGetTransactionHistory | RequestGetStatus | RequestGetContractSyncState | RequestClear | RequestReloadWallet | RequestSignTransaction | RequestCreateContract | RequestGetContracts | RequestGetContractsWithVtxos | RequestWatchScript | RequestUnwatchScript | RequestGetWatchedScripts | RequestAnnotateVtxos | RequestUpdateContract | RequestDeleteContract | RequestGetSpendablePaths | RequestGetAllSpendingPaths | RequestIsContractManagerWatching | RequestRefreshVtxos | RequestRefreshOutpoints | RequestGetCurrentSigningDescriptor | RequestGetNextSigningDescriptor | RequestGetNewAddresses | RequestGetUsedSigningDescriptors | RequestAdvanceSigningDescriptorWatermark | RequestSend | RequestSendWithDeadline | RequestSendWithInputExpiryFloor | RequestGetAssetDetails | RequestIssue | RequestReissue | RequestBurn | RequestDelegate | RequestGetDelegateInfo | RequestRecoverVtxos | RequestGetRecoverableBalance | RequestGetExpiringVtxos | RequestRenewVtxos | RequestGetExpiredBoardingUtxos | RequestSweepExpiredBoardingUtxos | RequestMigrateDeprecatedSignerVtxos | RequestGetDeprecatedSignerStatus | RequestRestoreWallet;
|
|
2752
|
+
type WalletUpdaterResponse = ResponseEnvelope & (ResponseInitWallet | ResponseSettle | ResponseSettleEvent | ResponseGetAddress | ResponseGetBoardingAddress | ResponseGetArkadeInfo | ResponseIndexerGetVtxos | ResponseIndexerGetVirtualTxs | ResponseSubmitTx | ResponseFinalizeTx | ResponseGetBalance | ResponseGetVtxos | ResponseGetSpendableVtxos | ResponseGetBoardingUtxos | ResponseGetTransactionHistory | ResponseGetStatus | ResponseGetContractSyncState | ResponseClear | ResponseReloadWallet | ResponseUtxoUpdate | ResponseVtxoUpdate | ResponseSignTransaction | ResponseCreateContract | ResponseGetContracts | ResponseGetContractsWithVtxos | ResponseWatchScript | ResponseUnwatchScript | ResponseGetWatchedScripts | ResponseAnnotateVtxos | ResponseUpdateContract | ResponseContractWatchStateSet | ResponseDeleteContract | ResponseGetSpendablePaths | ResponseGetAllSpendingPaths | ResponseIsContractManagerWatching | ResponseRefreshVtxos | ResponseRefreshOutpoints | ResponseGetCurrentSigningDescriptor | ResponseGetNextSigningDescriptor | ResponseGetNewAddresses | ResponseGetUsedSigningDescriptors | ResponseAdvanceSigningDescriptorWatermark | ResponseContractEvent | ResponseSend | ResponseSendDeadlineExceeded | ResponseGetAssetDetails | ResponseIssue | ResponseReissue | ResponseBurn | ResponseDelegate | ResponseGetDelegateInfo | ResponseRecoverVtxos | ResponseRecoverVtxosEvent | ResponseGetRecoverableBalance | ResponseGetExpiringVtxos | ResponseRenewVtxos | ResponseRenewVtxosEvent | ResponseGetExpiredBoardingUtxos | ResponseSweepExpiredBoardingUtxos | ResponseMigrateDeprecatedSignerVtxos | ResponseMigrateDeprecatedSignerVtxosEvent | ResponseGetDeprecatedSignerStatus | ResponseRestoreWallet);
|
|
2723
2753
|
declare class WalletMessageHandler implements MessageHandler<WalletUpdaterRequest, WalletUpdaterResponse> {
|
|
2724
2754
|
readonly messageTag: string;
|
|
2725
2755
|
private wallet;
|
|
@@ -2733,6 +2763,7 @@ declare class WalletMessageHandler implements MessageHandler<WalletUpdaterReques
|
|
|
2733
2763
|
private channel;
|
|
2734
2764
|
private incomingFundsEpoch;
|
|
2735
2765
|
private contractEventsEpoch;
|
|
2766
|
+
private boardingEpoch;
|
|
2736
2767
|
/** Per-request progress callbacks: ends with the handler, not with a re-init. */
|
|
2737
2768
|
private requestEpoch;
|
|
2738
2769
|
/**
|
|
@@ -2759,6 +2790,10 @@ declare class WalletMessageHandler implements MessageHandler<WalletUpdaterReques
|
|
|
2759
2790
|
isLongRunning(message: WalletUpdaterRequest): boolean;
|
|
2760
2791
|
handleMessage(message: WalletUpdaterRequest): Promise<WalletUpdaterResponse>;
|
|
2761
2792
|
private handleInitWallet;
|
|
2793
|
+
/** @see RequestInitWallet.payload.lazyBoarding */
|
|
2794
|
+
private lazyBoardingInit;
|
|
2795
|
+
/** Set once this session has actually fetched the boarding addresses. */
|
|
2796
|
+
private boardingLoaded;
|
|
2762
2797
|
/**
|
|
2763
2798
|
* The worker's own balance. Same bucketing rules as `Wallet.getBalance` —
|
|
2764
2799
|
* both call {@link computeOffchainBalance} — but deliberately a different
|
|
@@ -2768,14 +2803,26 @@ declare class WalletMessageHandler implements MessageHandler<WalletUpdaterReques
|
|
|
2768
2803
|
* runs over this method's local snapshot instead.
|
|
2769
2804
|
*/
|
|
2770
2805
|
private handleGetBalance;
|
|
2771
|
-
private
|
|
2806
|
+
private getBoardingUtxosForBalance;
|
|
2772
2807
|
private onWalletInitialized;
|
|
2773
2808
|
/**
|
|
2774
|
-
* Refresh
|
|
2775
|
-
*
|
|
2776
|
-
* (post-refresh),
|
|
2809
|
+
* Refresh boarding inputs and transaction history. The virtual outputs come
|
|
2810
|
+
* from the contract manager, which runs before this. Shared by
|
|
2811
|
+
* onWalletInitialized (full bootstrap) and reloadWallet (post-refresh),
|
|
2812
|
+
* avoiding duplicate subscriptions and VtxoManager restarts.
|
|
2813
|
+
*
|
|
2814
|
+
* Both legs reach the onchain provider, so `lazyBoarding` moves them both
|
|
2815
|
+
* off the caller's path. @see RequestInitWallet.payload.lazyBoarding
|
|
2777
2816
|
*/
|
|
2778
2817
|
private refreshCachedData;
|
|
2818
|
+
/** @param gen - set by a background caller; each write is skipped once it goes stale. */
|
|
2819
|
+
private refreshHistoryCache;
|
|
2820
|
+
/**
|
|
2821
|
+
* @param gen - set by a background caller; each write here is skipped once it goes stale.
|
|
2822
|
+
* The fetch saves the fetched rows itself, before control returns, so that one write is
|
|
2823
|
+
* outside this check.
|
|
2824
|
+
*/
|
|
2825
|
+
private refreshBoardingCache;
|
|
2779
2826
|
/**
|
|
2780
2827
|
* Force a full VTXO refresh from the indexer, then refresh cached data.
|
|
2781
2828
|
* Used by RELOAD_WALLET to ensure fresh data without re-subscribing
|
|
@@ -2871,6 +2918,10 @@ declare const DEFAULT_MESSAGE_TIMEOUTS: Readonly<Record<RequestType, number>>;
|
|
|
2871
2918
|
* ```
|
|
2872
2919
|
*/
|
|
2873
2920
|
interface ServiceWorkerWalletOptions {
|
|
2921
|
+
/** Start contract synchronization in the background; inspect provider connection state. */
|
|
2922
|
+
lazyInitialization?: boolean;
|
|
2923
|
+
/** Defer boarding and history loading; render boarding.loaded=false as unknown. */
|
|
2924
|
+
lazyBoarding?: boolean;
|
|
2874
2925
|
/** Arkade server endpoint and optional public key. */
|
|
2875
2926
|
arkServer?: {
|
|
2876
2927
|
url: string;
|
|
@@ -2952,6 +3003,7 @@ type ServiceWorkerWalletSetupOptions = ServiceWorkerWalletOptions & {
|
|
|
2952
3003
|
serviceWorkerActivationTimeoutMs?: number;
|
|
2953
3004
|
};
|
|
2954
3005
|
type MessageBusInitConfig = {
|
|
3006
|
+
lazyInitialization?: boolean;
|
|
2955
3007
|
wallet: SerializedIdentity;
|
|
2956
3008
|
arkServer: {
|
|
2957
3009
|
url: string;
|
|
@@ -4081,7 +4133,7 @@ declare class ArkNote implements ExtendedCoin {
|
|
|
4081
4133
|
}
|
|
4082
4134
|
|
|
4083
4135
|
/**
|
|
4084
|
-
* ArkadeCash is a bearer instrument for the
|
|
4136
|
+
* ArkadeCash is a bearer instrument for the Arkade.
|
|
4085
4137
|
* It encodes a private key and contract parameters as a bech32m string,
|
|
4086
4138
|
* enabling wallet-to-wallet transfers without address exchange.
|
|
4087
4139
|
*
|
|
@@ -4748,6 +4800,13 @@ declare const UnilateralExit: {
|
|
|
4748
4800
|
*/
|
|
4749
4801
|
declare function isRetryableProviderError(error: unknown): boolean;
|
|
4750
4802
|
|
|
4803
|
+
/** Raised only before provider submission, so callers can release an unsent reservation. */
|
|
4804
|
+
declare class SendDeadlineExceededError extends Error {
|
|
4805
|
+
constructor(validUntil: number);
|
|
4806
|
+
}
|
|
4807
|
+
declare function captureSendDeadline(value: unknown, required?: boolean): number | undefined;
|
|
4808
|
+
declare function assertSendDeadline(validUntil?: number): void;
|
|
4809
|
+
|
|
4751
4810
|
declare function validateConnectorsTxGraph(settlementTxB64: string, connectorsGraph: TxTree): void;
|
|
4752
4811
|
declare function validateVtxoTxGraph(graph: TxTree, roundTransaction: Transaction, sweepTapTreeRoot: Uint8Array): void;
|
|
4753
4812
|
|
|
@@ -5585,6 +5644,7 @@ declare class ArkadeTransactionBuilder {
|
|
|
5585
5644
|
private readonly outputs;
|
|
5586
5645
|
private readonly fundingCoins;
|
|
5587
5646
|
private readonly assetSpecs;
|
|
5647
|
+
private readonly extraPackets;
|
|
5588
5648
|
private coin?;
|
|
5589
5649
|
private changeScript?;
|
|
5590
5650
|
/** @internal */
|
|
@@ -5597,6 +5657,8 @@ declare class ArkadeTransactionBuilder {
|
|
|
5597
5657
|
fund(coins: ArkTxInput[]): this;
|
|
5598
5658
|
/** Transfer an asset group: which inputs supply it and which outputs receive it. */
|
|
5599
5659
|
withAsset(spec: AssetSpec): this;
|
|
5660
|
+
/** Add an extension packet; reusing the asset or emulator packet's type fails at build. */
|
|
5661
|
+
withPacket(packet: ExtensionPacket): this;
|
|
5600
5662
|
/** Destination for any surplus (inputs − outputs). Required when the spend is not exact. */
|
|
5601
5663
|
change(script: Uint8Array): this;
|
|
5602
5664
|
/** Add an output — `(script, amount)` or a list of outputs. */
|
|
@@ -6297,4 +6359,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
|
|
|
6297
6359
|
burn(params: BurnParams): Promise<string>;
|
|
6298
6360
|
}
|
|
6299
6361
|
|
|
6300
|
-
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeBroadcaster, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, ArkadeInfo, ArkadeReader, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, CachingArkProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, type ConnectorTreeNode, Contract, ContractEvent, ContractFilter, ContractRepository, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DatabaseUpgradeBlockedError, DefaultVtxo, 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, type EmulatorInfo, EmulatorPacket, type EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExecutorOptions, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetArkadeInfoOptions, GetNewAddressesOptions, GetSpendableVtxosFilter, GetVtxosFilter, GetVtxosOptions, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexerProvider, Intent, IntentFeeConfig, IntentPageFilter, IntentRepository, 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, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, OversizedChangeError, P2A, PageRequest, PageResult, PaginationOptions, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, ScriptVtxoCursor, ScriptVtxoPageOptions, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedIntent, SignerSession, SignerStatus, SingleKey, StaticDescriptorProvider, Status, StorageConfig, StoredVtxo, TapLeafScript, Transaction, TransactionHistoryPageCursor, TransactionHistoryPageFilter, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, type WalletRestoreHook, WatchedScript, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertNonNegativeMs, assertSendableAmount, assertSubmittedArkTxid, assertTimerMs, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, decodeArkContract, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, resolveAssetAmount, resolveSendAmount, sdkVersion, selectCoinsWithAsset, selectionOf, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
|
|
6362
|
+
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeBroadcaster, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, ArkadeInfo, ArkadeReader, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, CachingArkProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, type ConnectorTreeNode, Contract, ContractEvent, ContractFilter, ContractRepository, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DatabaseUpgradeBlockedError, DefaultVtxo, 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, type EmulatorInfo, EmulatorPacket, type EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExecutorOptions, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetArkadeInfoOptions, GetNewAddressesOptions, GetSpendableVtxosFilter, GetVtxosFilter, GetVtxosOptions, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexerProvider, InputExpiryFloor, Intent, IntentFeeConfig, IntentPageFilter, IntentRepository, 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, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, OversizedChangeError, P2A, PageRequest, PageResult, PaginationOptions, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, ScriptVtxoCursor, ScriptVtxoPageOptions, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendDeadlineExceededError, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedIntent, SignerSession, SignerStatus, SingleKey, StaticDescriptorProvider, Status, StorageConfig, StoredVtxo, TapLeafScript, Transaction, TransactionHistoryPageCursor, TransactionHistoryPageFilter, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, type WalletRestoreHook, WatchedScript, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertNonNegativeMs, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertTimerMs, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, captureSendDeadline, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, decodeArkContract, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, resolveAssetAmount, resolveSendAmount, sdkVersion, selectCoinsWithAsset, selectionOf, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, AbortError, ActivityRegistry, AmbiguousRouteError, ArkNote, ArkadeCash, ArkadeCashCreateError, AssetManager, BIP21, BIP21Error, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, CachingArkProvider, ChainedTxType, ConnectionDisposedError, ContractManager, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, DatabaseUpgradeBlockedError, DelegateManagerImpl, DelegateNotConfiguredError, DescriptorIdentity, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EmulatorPacket, EsploraProvider, Estimator, Extension, ExtensionNotFoundError, ForeignDescriptorError, HDDescriptorProvider, INTENT_TERMINAL_STATES, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, KeyringDescriptorProvider, MAX_PAGE_SIZE, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainWallet, OversizedChangeError, P2A, PaymentRouter, PrevTxUnavailableError, REGTEST_MIN_BATCH_EXPIRY_SECONDS, REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestEmulatorProvider, SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, SeedIdentity, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, StaticDescriptorProvider, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, Wallet, WalletCannotAllocateAddressError, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, arkade_exports as arkade, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertPageRequest, assertRecipientArkadeAddress, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, assetsOf, attachPrevArkTxs, attachPrevoutTxs, awaitTransaction, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, claimWithPreimageIdentity, classifyAgainstSignerSet, classifyContractSigner, closeDatabase, collabExitResolver, collectContracts, collectIntents, collectPages, collectScriptVtxos, collectTransactionHistory, collectUtxos, collectVtxos, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, createManagedConnection, decodeArkContract, defaultBatchExpiryPolicy, defaultCheckpointExitDelayPolicy, deleteByIndex, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isAddressAllocationCapable, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isContractVtxoEvent, isCooperativelyMigratable, isDeterministicSigner, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isSigningIdentity, isSubdust, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, iteratePages, logExcludedVtxos, makeHandle, matchServerCheckpoints, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, pageResult, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, resolveAssetAmount, resolveBatchExpiryPolicy, resolveCheckpointExitDelayPolicy, resolveDescriptorSigner, resolvePrevTxs, resolveSendAmount, selectCoinsWithAsset, selectVirtualCoins, selectionOf, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signerSetFromInfo, signingDescriptorIndex, strictSigningDescriptorIndex, toXOnlySignerHex, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds, walletFeeSource, withPrevTxs } from './chunk-
|
|
2
|
-
export { ChainTxType, DEFAULT_VTXO_PAGE_SIZE, IndexerTxType, RestIndexerProvider, asset_exports as asset } from './chunk-
|
|
3
|
-
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, identityDescriptor, isCltvSatisfied, isCsvSpendable, normalizeToDescriptor, parseHDDescriptor, toXOnly } from './chunk-
|
|
4
|
-
export { ArkAddress, ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, ConditionWitness, CosignerPublicKey, DigestMismatchError, EventSourceUnavailableError, FetchError, Intent, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, PrevArkTxField, PrevoutTxField, ProviderUnavailableError, READ_TIMEOUT_MS, REGTEST_EMULATOR_PUBKEY, RestArkProvider, ServerResponseMismatchError, SettlementEventType, TapTreeCoder, Transaction, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, assembleBtcdTaprootTree, assertAllowedSighashTypes, assertNonNegativeMs, assertTimerMs, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, decodeTapscript, defaultEmulatorPubkey, getAllNormalizedVtxos, getArkPsbtFields, getConfiguredEventSource, getNetwork, getNormalizedVtxos, getSequence, isArkError, isEventSourceUnavailableError, isPastExpiry, isRetryableProviderError, isVirtualCoin, isVtxoSpent, maybeArkError, networkFromArkadeInfo, networks, resolveEmulatorPubkey, resolveEventSource, scriptFromTapLeafScript, sdkVersion, sequenceToTimelock, setArkPsbtField, timelockToSequence } from './chunk-
|
|
1
|
+
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, AbortError, ActivityRegistry, AmbiguousRouteError, ArkNote, ArkadeCash, ArkadeCashCreateError, AssetManager, BIP21, BIP21Error, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, CachingArkProvider, ChainedTxType, ConnectionDisposedError, ContractManager, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, DatabaseUpgradeBlockedError, DelegateManagerImpl, DelegateNotConfiguredError, DescriptorIdentity, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EmulatorPacket, EsploraProvider, Estimator, Extension, ExtensionNotFoundError, ForeignDescriptorError, HDDescriptorProvider, INTENT_TERMINAL_STATES, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, KeyringDescriptorProvider, MAX_PAGE_SIZE, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainWallet, OversizedChangeError, P2A, PaymentRouter, PrevTxUnavailableError, REGTEST_MIN_BATCH_EXPIRY_SECONDS, REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestEmulatorProvider, SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, SeedIdentity, SendDeadlineExceededError, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, StaticDescriptorProvider, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, Wallet, WalletCannotAllocateAddressError, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, arkade_exports as arkade, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertPageRequest, assertRecipientArkadeAddress, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, assetsOf, attachPrevArkTxs, attachPrevoutTxs, awaitTransaction, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, captureSendDeadline, claimWithPreimageIdentity, classifyAgainstSignerSet, classifyContractSigner, closeDatabase, collabExitResolver, collectContracts, collectIntents, collectPages, collectScriptVtxos, collectTransactionHistory, collectUtxos, collectVtxos, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, createManagedConnection, decodeArkContract, defaultBatchExpiryPolicy, defaultCheckpointExitDelayPolicy, deleteByIndex, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isAddressAllocationCapable, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isContractVtxoEvent, isCooperativelyMigratable, isDeterministicSigner, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isSigningIdentity, isSubdust, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, iteratePages, logExcludedVtxos, makeHandle, matchServerCheckpoints, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, pageResult, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, resolveAssetAmount, resolveBatchExpiryPolicy, resolveCheckpointExitDelayPolicy, resolveDescriptorSigner, resolvePrevTxs, resolveSendAmount, selectCoinsWithAsset, selectVirtualCoins, selectionOf, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signerSetFromInfo, signingDescriptorIndex, strictSigningDescriptorIndex, toXOnlySignerHex, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds, walletFeeSource, withPrevTxs } from './chunk-ENGV6VZF.js';
|
|
2
|
+
export { ChainTxType, DEFAULT_VTXO_PAGE_SIZE, IndexerTxType, RestIndexerProvider, asset_exports as asset } from './chunk-SPJA7XMU.js';
|
|
3
|
+
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, identityDescriptor, isCltvSatisfied, isCsvSpendable, normalizeToDescriptor, parseHDDescriptor, toXOnly } from './chunk-UDQ3QE4C.js';
|
|
4
|
+
export { ArkAddress, ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, ConditionWitness, CosignerPublicKey, DigestMismatchError, EventSourceUnavailableError, FetchError, Intent, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, PrevArkTxField, PrevoutTxField, ProviderUnavailableError, READ_TIMEOUT_MS, REGTEST_EMULATOR_PUBKEY, RestArkProvider, ServerResponseMismatchError, SettlementEventType, TapTreeCoder, Transaction, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, assembleBtcdTaprootTree, assertAllowedSighashTypes, assertNonNegativeMs, assertTimerMs, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, decodeTapscript, defaultEmulatorPubkey, getAllNormalizedVtxos, getArkPsbtFields, getConfiguredEventSource, getNetwork, getNormalizedVtxos, getSequence, isArkError, isEventSourceUnavailableError, isPastExpiry, isRetryableProviderError, isVirtualCoin, isVtxoSpent, maybeArkError, networkFromArkadeInfo, networks, resolveEmulatorPubkey, resolveEventSource, scriptFromTapLeafScript, sdkVersion, sequenceToTimelock, setArkPsbtField, timelockToSequence } from './chunk-XZEQV5FE.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|