@arkade-os/sdk 0.5.0-rc.12 → 0.5.0-rc.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- 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-ZJ0uB_km.d.cts → asyncStorageTaskQueue-0EeSeCAt.d.cts} +1 -1
- package/dist/{asyncStorageTaskQueue-DDVTySuO.d.ts → asyncStorageTaskQueue-DV94jhwq.d.ts} +1 -1
- package/dist/{chunk-KBXBS4WO.js → chunk-3JLYJ5KZ.js} +3 -3
- package/dist/{chunk-KBXBS4WO.js.map → chunk-3JLYJ5KZ.js.map} +1 -1
- package/dist/{chunk-C7ARQI5U.js → chunk-4EU2Q6YT.js} +4 -4
- package/dist/{chunk-C7ARQI5U.js.map → chunk-4EU2Q6YT.js.map} +1 -1
- package/dist/{chunk-6ZBLIJ3N.cjs → chunk-7BACS4XK.cjs} +10 -10
- package/dist/{chunk-6ZBLIJ3N.cjs.map → chunk-7BACS4XK.cjs.map} +1 -1
- package/dist/{chunk-VKM6VUOZ.cjs → chunk-7NK6XFC3.cjs} +3 -3
- package/dist/{chunk-VKM6VUOZ.cjs.map → chunk-7NK6XFC3.cjs.map} +1 -1
- package/dist/{chunk-XDT24LBQ.cjs → chunk-BFQX2KS3.cjs} +18 -18
- package/dist/{chunk-XDT24LBQ.cjs.map → chunk-BFQX2KS3.cjs.map} +1 -1
- package/dist/{chunk-QD3N3ZS7.js → chunk-D7JLTHSZ.js} +4 -4
- package/dist/{chunk-QD3N3ZS7.js.map → chunk-D7JLTHSZ.js.map} +1 -1
- package/dist/{chunk-2G3XR3E7.js → chunk-EJYWGTZ7.js} +3 -3
- package/dist/{chunk-2G3XR3E7.js.map → chunk-EJYWGTZ7.js.map} +1 -1
- package/dist/{chunk-73NPW5LY.cjs → chunk-FDQQOF3F.cjs} +47 -47
- package/dist/{chunk-73NPW5LY.cjs.map → chunk-FDQQOF3F.cjs.map} +1 -1
- package/dist/{chunk-HQTM6HLJ.cjs → chunk-I4YBVHAK.cjs} +457 -456
- package/dist/chunk-I4YBVHAK.cjs.map +1 -0
- package/dist/{chunk-F5P5V3XR.js → chunk-IV2252XM.js} +11 -10
- package/dist/chunk-IV2252XM.js.map +1 -0
- package/dist/{chunk-6UKMLPWP.js → chunk-JOUPIZ32.js} +3 -3
- package/dist/{chunk-6UKMLPWP.js.map → chunk-JOUPIZ32.js.map} +1 -1
- package/dist/{chunk-LG4B4CFA.cjs → chunk-RDQSVIXD.cjs} +15 -15
- package/dist/{chunk-LG4B4CFA.cjs.map → chunk-RDQSVIXD.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--_TwHqAa.d.cts → delegate-BgpUJW5B.d.cts} +1 -1
- package/dist/{delegate-DbYSf9lY.d.ts → delegate-BuagcGnG.d.ts} +1 -1
- package/dist/{index-D-zl1tea.d.cts → index-CKmB14Yu.d.cts} +7 -2
- package/dist/{index-D-zl1tea.d.ts → index-CKmB14Yu.d.ts} +7 -2
- package/dist/{index--rMssbOo.d.cts → index-D0BuYwhF.d.cts} +2 -2
- package/dist/{index-BwYXDgZM.d.ts → index-DbzyrqK7.d.ts} +2 -2
- package/dist/index.cjs +305 -305
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +4 -4
- package/dist/repositories/realm/index.cjs +36 -36
- package/dist/repositories/realm/index.cjs.map +1 -1
- package/dist/repositories/realm/index.d.cts +4 -4
- package/dist/repositories/realm/index.d.ts +4 -4
- package/dist/repositories/realm/index.js +7 -7
- package/dist/repositories/realm/index.js.map +1 -1
- package/dist/repositories/sqlite/index.cjs +34 -34
- package/dist/repositories/sqlite/index.cjs.map +1 -1
- package/dist/repositories/sqlite/index.d.cts +4 -4
- package/dist/repositories/sqlite/index.d.ts +4 -4
- package/dist/repositories/sqlite/index.js +7 -7
- package/dist/repositories/sqlite/index.js.map +1 -1
- package/dist/{taskRunner-ChQpqvfy.d.ts → taskRunner-BX-pB0sv.d.ts} +1 -1
- package/dist/{taskRunner-DjzP-n_3.d.cts → taskRunner-DJrFFyus.d.cts} +1 -1
- 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 +14 -14
- 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-DfYA1QzQ.d.cts → wallet-BsL2G3Qb.d.cts} +2 -2
- package/dist/{wallet-BwCcOWEI.d.ts → wallet-DXNiCmq8.d.ts} +2 -2
- 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-F5P5V3XR.js.map +0 -1
- package/dist/chunk-HQTM6HLJ.cjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
3
|
+
var chunk7BACS4XK_cjs = require('../../chunk-7BACS4XK.cjs');
|
|
4
|
+
var chunkI4YBVHAK_cjs = require('../../chunk-I4YBVHAK.cjs');
|
|
5
|
+
require('../../chunk-BFQX2KS3.cjs');
|
|
6
|
+
require('../../chunk-FDQQOF3F.cjs');
|
|
7
|
+
require('../../chunk-7NK6XFC3.cjs');
|
|
8
8
|
var base = require('@scure/base');
|
|
9
9
|
|
|
10
10
|
function warnOnRemovedBackgroundFields(bg) {
|
|
@@ -57,18 +57,18 @@ var ExpoWallet = class _ExpoWallet {
|
|
|
57
57
|
*/
|
|
58
58
|
static async setup(config) {
|
|
59
59
|
warnOnRemovedBackgroundFields(config.background);
|
|
60
|
-
const wallet = await
|
|
61
|
-
const processors = config.background.processors ?? [
|
|
60
|
+
const wallet = await chunkI4YBVHAK_cjs.Wallet.create(config);
|
|
61
|
+
const processors = config.background.processors ?? [chunk7BACS4XK_cjs.contractPollProcessor];
|
|
62
62
|
const deps = {
|
|
63
63
|
walletRepository: wallet.walletRepository,
|
|
64
64
|
contractRepository: wallet.contractRepository,
|
|
65
65
|
indexerProvider: wallet.indexerProvider,
|
|
66
66
|
arkProvider: wallet.arkProvider,
|
|
67
|
-
extendVtxo: (vtxo, contract) =>
|
|
67
|
+
extendVtxo: (vtxo, contract) => chunkI4YBVHAK_cjs.extendVirtualCoinForContract(vtxo, contract)
|
|
68
68
|
};
|
|
69
69
|
const { taskQueue } = config.background;
|
|
70
70
|
if ("persistConfig" in taskQueue) {
|
|
71
|
-
const arkServerUrl =
|
|
71
|
+
const arkServerUrl = chunkI4YBVHAK_cjs.extractArkProviderUrl(wallet.arkProvider);
|
|
72
72
|
if (typeof arkServerUrl === "string" && arkServerUrl.length > 0) {
|
|
73
73
|
const timelock = wallet.offchainTapscript.options.csvTimelock;
|
|
74
74
|
const bgConfig = {
|
|
@@ -99,7 +99,7 @@ var ExpoWallet = class _ExpoWallet {
|
|
|
99
99
|
}
|
|
100
100
|
async runForegroundPoll() {
|
|
101
101
|
if (this.cleared) return;
|
|
102
|
-
await
|
|
102
|
+
await chunk7BACS4XK_cjs.runTasks(this.taskQueue, this.processors, this.deps);
|
|
103
103
|
const results = await this.taskQueue.getResults();
|
|
104
104
|
if (results.length > 0) {
|
|
105
105
|
await this.taskQueue.acknowledgeResults(results.map((r) => r.id));
|
|
@@ -108,18 +108,18 @@ var ExpoWallet = class _ExpoWallet {
|
|
|
108
108
|
await this.seedContractPollTask();
|
|
109
109
|
}
|
|
110
110
|
async seedContractPollTask() {
|
|
111
|
-
const existing = await this.taskQueue.getTasks(
|
|
111
|
+
const existing = await this.taskQueue.getTasks(chunk7BACS4XK_cjs.CONTRACT_POLL_TASK_TYPE);
|
|
112
112
|
if (existing.length > 0) return;
|
|
113
113
|
const task = {
|
|
114
|
-
id:
|
|
115
|
-
type:
|
|
114
|
+
id: chunkI4YBVHAK_cjs.getRandomId(),
|
|
115
|
+
type: chunk7BACS4XK_cjs.CONTRACT_POLL_TASK_TYPE,
|
|
116
116
|
data: {},
|
|
117
117
|
createdAt: Date.now()
|
|
118
118
|
};
|
|
119
119
|
await this.taskQueue.addTask(task);
|
|
120
120
|
}
|
|
121
121
|
async removeContractPollTasks() {
|
|
122
|
-
const tasks = await this.taskQueue.getTasks(
|
|
122
|
+
const tasks = await this.taskQueue.getTasks(chunk7BACS4XK_cjs.CONTRACT_POLL_TASK_TYPE);
|
|
123
123
|
for (const task of tasks) {
|
|
124
124
|
await this.taskQueue.removeTask(task.id);
|
|
125
125
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../wallet-
|
|
2
|
-
import { I as IWallet, a as Identity, b as WalletConfig, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, d as ArkadeBroadcaster, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, E as ExtendedCoin, h as ArkTransaction, i as ActivityRegistry, j as Activity, k as IContractManager, l as GetNewAddressesOptions, m as NewAddress, n as IDelegateManager, S as SettleParams, o as SettlementEvent, p as SendParams, R as Recipient, q as IAssetManager } from '../../index-
|
|
3
|
-
import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-
|
|
1
|
+
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../wallet-BsL2G3Qb.cjs';
|
|
2
|
+
import { I as IWallet, a as Identity, b as WalletConfig, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, d as ArkadeBroadcaster, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, E as ExtendedCoin, h as ArkTransaction, i as ActivityRegistry, j as Activity, k as IContractManager, l as GetNewAddressesOptions, m as NewAddress, n as IDelegateManager, S as SettleParams, o as SettlementEvent, p as SendParams, R as Recipient, q as IAssetManager } from '../../index-CKmB14Yu.cjs';
|
|
3
|
+
import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-DJrFFyus.cjs';
|
|
4
4
|
import '@scure/btc-signer';
|
|
5
5
|
import '@scure/btc-signer/psbt.js';
|
|
6
6
|
import '@scure/btc-signer/utils.js';
|
|
7
|
-
import '../../delegate
|
|
7
|
+
import '../../delegate-BgpUJW5B.cjs';
|
|
8
8
|
import '@scure/btc-signer/transaction.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../wallet-
|
|
2
|
-
import { I as IWallet, a as Identity, b as WalletConfig, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, d as ArkadeBroadcaster, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, E as ExtendedCoin, h as ArkTransaction, i as ActivityRegistry, j as Activity, k as IContractManager, l as GetNewAddressesOptions, m as NewAddress, n as IDelegateManager, S as SettleParams, o as SettlementEvent, p as SendParams, R as Recipient, q as IAssetManager } from '../../index-
|
|
3
|
-
import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-
|
|
1
|
+
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../wallet-DXNiCmq8.js';
|
|
2
|
+
import { I as IWallet, a as Identity, b as WalletConfig, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, d as ArkadeBroadcaster, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, E as ExtendedCoin, h as ArkTransaction, i as ActivityRegistry, j as Activity, k as IContractManager, l as GetNewAddressesOptions, m as NewAddress, n as IDelegateManager, S as SettleParams, o as SettlementEvent, p as SendParams, R as Recipient, q as IAssetManager } from '../../index-CKmB14Yu.js';
|
|
3
|
+
import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-BX-pB0sv.js';
|
|
4
4
|
import '@scure/btc-signer';
|
|
5
5
|
import '@scure/btc-signer/psbt.js';
|
|
6
6
|
import '@scure/btc-signer/utils.js';
|
|
7
|
-
import '../../delegate-
|
|
7
|
+
import '../../delegate-BuagcGnG.js';
|
|
8
8
|
import '@scure/btc-signer/transaction.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-
|
|
2
|
-
import { Wallet, extractArkProviderUrl, getRandomId, extendVirtualCoinForContract } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-D7JLTHSZ.js';
|
|
2
|
+
import { Wallet, extractArkProviderUrl, getRandomId, extendVirtualCoinForContract } from '../../chunk-IV2252XM.js';
|
|
3
|
+
import '../../chunk-3JLYJ5KZ.js';
|
|
4
|
+
import '../../chunk-JOUPIZ32.js';
|
|
5
|
+
import '../../chunk-EJYWGTZ7.js';
|
|
6
6
|
import { hex } from '@scure/base';
|
|
7
7
|
|
|
8
8
|
function warnOnRemovedBackgroundFields(bg) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as GetNewAddressesOptions, m as NewAddress, a as Identity, a2 as DescriptorProvider, w as RelativeTimelock, a3 as Network, a4 as CSVMultisigTapscript, a5 as BatchStartedEvent, a6 as TreeSigningStartedEvent, a7 as TxTree, a8 as TreeNoncesEvent, a9 as BatchFinalizationEvent, aa as BatchFinalizedEvent, ab as BatchFailedEvent, ac as TreeTxEvent, ad as TreeSignatureEvent, o as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, k as IContractManager, ae as IReadonlyWallet, af as ReadonlyIdentity, ag as OnchainProvider, u as ArkProvider, v as IndexerProvider, ah as DelegateProvider, ai as ReadonlyWalletConfig, X as IntentRepository, _ as VirtualTxRepository, aj as ExitCaptureMode, ak as ExitDataSource, i as ActivityRegistry, al as IReadonlyAssetManager, am as ContractSyncState, an as RecipientArkadeAddressContext, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, ao as NetworkName, ap as ArkAddress, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, aq as ContractWithVtxos, ar as selectPendingRecoveryOutpoints, h as ArkTransaction, j as Activity, E as ExtendedCoin, as as Coin, B as ExtendedVirtualCoin, at as ContractManager, au as ContractManagerConfig, I as IWallet, av as SettlementConfig, d as ArkadeBroadcaster, q as IAssetManager, aw as VtxoManager, n as IDelegateManager, S as SettleParams, R as Recipient, ax as SignerSession, ay as SignedIntent, az as Intent, p as SendParams, aA as TimeHeight } from './index-
|
|
1
|
+
import { l as GetNewAddressesOptions, m as NewAddress, a as Identity, a2 as DescriptorProvider, w as RelativeTimelock, a3 as Network, a4 as CSVMultisigTapscript, a5 as BatchStartedEvent, a6 as TreeSigningStartedEvent, a7 as TxTree, a8 as TreeNoncesEvent, a9 as BatchFinalizationEvent, aa as BatchFinalizedEvent, ab as BatchFailedEvent, ac as TreeTxEvent, ad as TreeSignatureEvent, o as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, k as IContractManager, ae as IReadonlyWallet, af as ReadonlyIdentity, ag as OnchainProvider, u as ArkProvider, v as IndexerProvider, ah as DelegateProvider, ai as ReadonlyWalletConfig, X as IntentRepository, _ as VirtualTxRepository, aj as ExitCaptureMode, ak as ExitDataSource, i as ActivityRegistry, al as IReadonlyAssetManager, am as ContractSyncState, an as RecipientArkadeAddressContext, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, ao as NetworkName, ap as ArkAddress, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, aq as ContractWithVtxos, ar as selectPendingRecoveryOutpoints, h as ArkTransaction, j as Activity, E as ExtendedCoin, as as Coin, B as ExtendedVirtualCoin, at as ContractManager, au as ContractManagerConfig, I as IWallet, av as SettlementConfig, d as ArkadeBroadcaster, q as IAssetManager, aw as VtxoManager, n as IDelegateManager, S as SettleParams, R as Recipient, ax as SignerSession, ay as SignedIntent, az as Intent, p as SendParams, aA as TimeHeight } from './index-CKmB14Yu.cjs';
|
|
2
2
|
import { Transaction } from '@scure/btc-signer';
|
|
3
3
|
import { TransactionOutput } from '@scure/btc-signer/psbt.js';
|
|
4
4
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
5
|
-
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate
|
|
5
|
+
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-BgpUJW5B.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Capability a wallet exposes so descriptor-blind consumers (Boltz swaps, other plugins) can bind
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as GetNewAddressesOptions, m as NewAddress, a as Identity, a2 as DescriptorProvider, w as RelativeTimelock, a3 as Network, a4 as CSVMultisigTapscript, a5 as BatchStartedEvent, a6 as TreeSigningStartedEvent, a7 as TxTree, a8 as TreeNoncesEvent, a9 as BatchFinalizationEvent, aa as BatchFinalizedEvent, ab as BatchFailedEvent, ac as TreeTxEvent, ad as TreeSignatureEvent, o as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, k as IContractManager, ae as IReadonlyWallet, af as ReadonlyIdentity, ag as OnchainProvider, u as ArkProvider, v as IndexerProvider, ah as DelegateProvider, ai as ReadonlyWalletConfig, X as IntentRepository, _ as VirtualTxRepository, aj as ExitCaptureMode, ak as ExitDataSource, i as ActivityRegistry, al as IReadonlyAssetManager, am as ContractSyncState, an as RecipientArkadeAddressContext, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, ao as NetworkName, ap as ArkAddress, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, aq as ContractWithVtxos, ar as selectPendingRecoveryOutpoints, h as ArkTransaction, j as Activity, E as ExtendedCoin, as as Coin, B as ExtendedVirtualCoin, at as ContractManager, au as ContractManagerConfig, I as IWallet, av as SettlementConfig, d as ArkadeBroadcaster, q as IAssetManager, aw as VtxoManager, n as IDelegateManager, S as SettleParams, R as Recipient, ax as SignerSession, ay as SignedIntent, az as Intent, p as SendParams, aA as TimeHeight } from './index-
|
|
1
|
+
import { l as GetNewAddressesOptions, m as NewAddress, a as Identity, a2 as DescriptorProvider, w as RelativeTimelock, a3 as Network, a4 as CSVMultisigTapscript, a5 as BatchStartedEvent, a6 as TreeSigningStartedEvent, a7 as TxTree, a8 as TreeNoncesEvent, a9 as BatchFinalizationEvent, aa as BatchFinalizedEvent, ab as BatchFailedEvent, ac as TreeTxEvent, ad as TreeSignatureEvent, o as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, k as IContractManager, ae as IReadonlyWallet, af as ReadonlyIdentity, ag as OnchainProvider, u as ArkProvider, v as IndexerProvider, ah as DelegateProvider, ai as ReadonlyWalletConfig, X as IntentRepository, _ as VirtualTxRepository, aj as ExitCaptureMode, ak as ExitDataSource, i as ActivityRegistry, al as IReadonlyAssetManager, am as ContractSyncState, an as RecipientArkadeAddressContext, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, ao as NetworkName, ap as ArkAddress, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, aq as ContractWithVtxos, ar as selectPendingRecoveryOutpoints, h as ArkTransaction, j as Activity, E as ExtendedCoin, as as Coin, B as ExtendedVirtualCoin, at as ContractManager, au as ContractManagerConfig, I as IWallet, av as SettlementConfig, d as ArkadeBroadcaster, q as IAssetManager, aw as VtxoManager, n as IDelegateManager, S as SettleParams, R as Recipient, ax as SignerSession, ay as SignedIntent, az as Intent, p as SendParams, aA as TimeHeight } from './index-CKmB14Yu.js';
|
|
2
2
|
import { Transaction } from '@scure/btc-signer';
|
|
3
3
|
import { TransactionOutput } from '@scure/btc-signer/psbt.js';
|
|
4
4
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
5
|
-
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-
|
|
5
|
+
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-BuagcGnG.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Capability a wallet exposes so descriptor-blind consumers (Boltz swaps, other plugins) can bind
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
3
|
+
var chunk7BACS4XK_cjs = require('../../chunk-7BACS4XK.cjs');
|
|
4
|
+
require('../../chunk-I4YBVHAK.cjs');
|
|
5
|
+
require('../../chunk-BFQX2KS3.cjs');
|
|
6
|
+
require('../../chunk-FDQQOF3F.cjs');
|
|
7
|
+
require('../../chunk-7NK6XFC3.cjs');
|
|
8
8
|
|
|
9
9
|
// src/worker/expo/taskQueue.ts
|
|
10
10
|
var InMemoryTaskQueue = class {
|
|
@@ -120,19 +120,19 @@ var AsyncStorageTaskQueue = class {
|
|
|
120
120
|
|
|
121
121
|
Object.defineProperty(exports, "CONTRACT_POLL_TASK_TYPE", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunk7BACS4XK_cjs.CONTRACT_POLL_TASK_TYPE; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "contractPollProcessor", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunk7BACS4XK_cjs.contractPollProcessor; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "createTaskDependencies", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunk7BACS4XK_cjs.createTaskDependencies; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "runTasks", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunk7BACS4XK_cjs.runTasks; }
|
|
136
136
|
});
|
|
137
137
|
exports.AsyncStorageTaskQueue = AsyncStorageTaskQueue;
|
|
138
138
|
exports.InMemoryTaskQueue = InMemoryTaskQueue;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TaskProcessor } from '../../taskRunner-
|
|
2
|
-
export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, b as TaskDependencies, c as TaskItem, a as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-
|
|
3
|
-
export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-
|
|
4
|
-
import '../../index-
|
|
1
|
+
import { T as TaskProcessor } from '../../taskRunner-DJrFFyus.cjs';
|
|
2
|
+
export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, b as TaskDependencies, c as TaskItem, a as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-DJrFFyus.cjs';
|
|
3
|
+
export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-0EeSeCAt.cjs';
|
|
4
|
+
import '../../index-CKmB14Yu.cjs';
|
|
5
5
|
import '@scure/btc-signer/utils.js';
|
|
6
6
|
import '@scure/btc-signer/transaction.js';
|
|
7
7
|
import '@scure/btc-signer';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TaskProcessor } from '../../taskRunner-
|
|
2
|
-
export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, b as TaskDependencies, c as TaskItem, a as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-
|
|
3
|
-
export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-
|
|
4
|
-
import '../../index-
|
|
1
|
+
import { T as TaskProcessor } from '../../taskRunner-BX-pB0sv.js';
|
|
2
|
+
export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, b as TaskDependencies, c as TaskItem, a as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-BX-pB0sv.js';
|
|
3
|
+
export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-DV94jhwq.js';
|
|
4
|
+
import '../../index-CKmB14Yu.js';
|
|
5
5
|
import '@scure/btc-signer/utils.js';
|
|
6
6
|
import '@scure/btc-signer/transaction.js';
|
|
7
7
|
import '@scure/btc-signer';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { CONTRACT_POLL_TASK_TYPE, contractPollProcessor, createTaskDependencies, runTasks } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
export { CONTRACT_POLL_TASK_TYPE, contractPollProcessor, createTaskDependencies, runTasks } from '../../chunk-D7JLTHSZ.js';
|
|
2
|
+
import '../../chunk-IV2252XM.js';
|
|
3
|
+
import '../../chunk-3JLYJ5KZ.js';
|
|
4
|
+
import '../../chunk-JOUPIZ32.js';
|
|
5
|
+
import '../../chunk-EJYWGTZ7.js';
|
|
6
6
|
|
|
7
7
|
// src/worker/expo/taskQueue.ts
|
|
8
8
|
var InMemoryTaskQueue = class {
|