@arkade-os/sdk 0.5.0-rc.26 → 0.5.0-rc.28
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 +37 -0
- package/dist/adapters/expo.cjs +5 -5
- package/dist/adapters/expo.d.cts +4 -4
- package/dist/adapters/expo.d.ts +4 -4
- package/dist/adapters/expo.js +3 -3
- package/dist/{index-BfvbSL0W.d.cts → ark-CgZYyMpf.d.cts} +4369 -4205
- package/dist/{index-BfvbSL0W.d.ts → ark-CgZYyMpf.d.ts} +4369 -4205
- package/dist/{asyncStorageTaskQueue-CFWscYpG.d.cts → asyncStorageTaskQueue-B099Jii3.d.cts} +1 -1
- package/dist/{asyncStorageTaskQueue-DrFapzPg.d.ts → asyncStorageTaskQueue-BeQji1Ee.d.ts} +1 -1
- package/dist/{chunk-K2YTDYQF.cjs → chunk-3P7SXAAC.cjs} +16 -16
- package/dist/{chunk-K2YTDYQF.cjs.map → chunk-3P7SXAAC.cjs.map} +1 -1
- package/dist/{chunk-B2YMUJD5.cjs → chunk-4BT6HBZQ.cjs} +1155 -701
- package/dist/chunk-4BT6HBZQ.cjs.map +1 -0
- package/dist/{chunk-FEBAG2K2.cjs → chunk-6BJJ47JM.cjs} +18 -18
- package/dist/{chunk-FEBAG2K2.cjs.map → chunk-6BJJ47JM.cjs.map} +1 -1
- package/dist/{chunk-HPUKFTZV.js → chunk-BDTASM5W.js} +4 -4
- package/dist/{chunk-HPUKFTZV.js.map → chunk-BDTASM5W.js.map} +1 -1
- package/dist/{chunk-U5ZRDVVB.js → chunk-BIN2DVKS.js} +675 -222
- package/dist/chunk-BIN2DVKS.js.map +1 -0
- package/dist/{chunk-HTCIPDVW.js → chunk-CG7S6CDR.js} +5 -4
- package/dist/chunk-CG7S6CDR.js.map +1 -0
- package/dist/{chunk-N2VM6V6K.js → chunk-CR5YHHEM.js} +154 -51
- package/dist/chunk-CR5YHHEM.js.map +1 -0
- package/dist/{chunk-VVFCCNU2.cjs → chunk-FGKBQH5S.cjs} +5 -3
- package/dist/chunk-FGKBQH5S.cjs.map +1 -0
- package/dist/{chunk-Y5VSJURH.js → chunk-FSSINCR6.js} +4 -4
- package/dist/{chunk-Y5VSJURH.js.map → chunk-FSSINCR6.js.map} +1 -1
- package/dist/{chunk-QCD3SJOL.cjs → chunk-HFSC7T5I.cjs} +10 -10
- package/dist/{chunk-QCD3SJOL.cjs.map → chunk-HFSC7T5I.cjs.map} +1 -1
- package/dist/{chunk-5JQ5EOYE.js → chunk-PHSUZSRH.js} +3 -3
- package/dist/{chunk-5JQ5EOYE.js.map → chunk-PHSUZSRH.js.map} +1 -1
- package/dist/{chunk-CFOIHLON.cjs → chunk-YFQOJTG3.cjs} +201 -96
- package/dist/chunk-YFQOJTG3.cjs.map +1 -0
- package/dist/contracts/handlers/index.cjs +9 -9
- package/dist/contracts/handlers/index.d.cts +5 -5
- package/dist/contracts/handlers/index.d.ts +5 -5
- package/dist/contracts/handlers/index.js +2 -2
- package/dist/{delegate-Cz8FnLqi.d.ts → delegate-B8KSoeVz.d.ts} +1 -1
- package/dist/{delegate-r3jh7UcH.d.cts → delegate-wuf6DBpr.d.cts} +1 -1
- package/dist/{index-DOION7Ta.d.cts → index-1pLGuueL.d.ts} +58 -52
- package/dist/{index-Chgwl4dO.d.ts → index-CP3v0PVS.d.cts} +58 -52
- package/dist/index.cjs +328 -316
- package/dist/index.d.cts +332 -286
- package/dist/index.d.ts +332 -286
- package/dist/index.js +4 -4
- package/dist/repositories/realm/index.cjs +35 -35
- package/dist/repositories/realm/index.d.cts +4 -4
- package/dist/repositories/realm/index.d.ts +4 -4
- package/dist/repositories/realm/index.js +5 -5
- package/dist/repositories/sqlite/index.cjs +33 -33
- package/dist/repositories/sqlite/index.d.cts +4 -4
- package/dist/repositories/sqlite/index.d.ts +4 -4
- package/dist/repositories/sqlite/index.js +5 -5
- package/dist/{taskRunner-CXAcjtdU.d.ts → taskRunner-D4IF7tc8.d.cts} +1 -1
- package/dist/{taskRunner-BO8a-SQh.d.cts → taskRunner-DzEg63qV.d.ts} +1 -1
- package/dist/wallet/expo/background.cjs +14 -14
- package/dist/wallet/expo/background.d.cts +5 -5
- package/dist/wallet/expo/background.d.ts +5 -5
- 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-CFIfUlQP.d.ts → walletRepository-BA5C6Slk.d.cts} +29 -29
- package/dist/{wallet-s90p-vIk.d.cts → walletRepository-BE2yiIHF.d.ts} +29 -29
- package/dist/worker/expo/index.cjs +9 -9
- package/dist/worker/expo/index.d.cts +6 -6
- package/dist/worker/expo/index.d.ts +6 -6
- package/dist/worker/expo/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-B2YMUJD5.cjs.map +0 -1
- package/dist/chunk-CFOIHLON.cjs.map +0 -1
- package/dist/chunk-HTCIPDVW.js.map +0 -1
- package/dist/chunk-N2VM6V6K.js.map +0 -1
- package/dist/chunk-U5ZRDVVB.js.map +0 -1
- package/dist/chunk-VVFCCNU2.cjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
3
|
+
var chunk3P7SXAAC_cjs = require('../../chunk-3P7SXAAC.cjs');
|
|
4
|
+
var chunkHFSC7T5I_cjs = require('../../chunk-HFSC7T5I.cjs');
|
|
5
|
+
var chunk4BT6HBZQ_cjs = require('../../chunk-4BT6HBZQ.cjs');
|
|
6
|
+
require('../../chunk-6BJJ47JM.cjs');
|
|
7
|
+
require('../../chunk-YFQOJTG3.cjs');
|
|
8
|
+
require('../../chunk-FGKBQH5S.cjs');
|
|
9
9
|
var TaskManager = require('expo-task-manager');
|
|
10
10
|
var BackgroundTask = require('expo-background-task');
|
|
11
11
|
|
|
@@ -35,7 +35,7 @@ function defineExpoBackgroundTask(taskName, options) {
|
|
|
35
35
|
taskQueue,
|
|
36
36
|
walletRepository,
|
|
37
37
|
contractRepository,
|
|
38
|
-
processors = [
|
|
38
|
+
processors = [chunkHFSC7T5I_cjs.contractPollProcessor]
|
|
39
39
|
} = options;
|
|
40
40
|
TaskManager__namespace.defineTask(taskName, async () => {
|
|
41
41
|
try {
|
|
@@ -43,24 +43,24 @@ function defineExpoBackgroundTask(taskName, options) {
|
|
|
43
43
|
if (!config) {
|
|
44
44
|
return BackgroundTask__namespace.BackgroundTaskResult.Success;
|
|
45
45
|
}
|
|
46
|
-
const indexerProvider = new
|
|
47
|
-
const arkProvider = new
|
|
48
|
-
const deps =
|
|
46
|
+
const indexerProvider = new chunk3P7SXAAC_cjs.ExpoIndexerProvider(config.arkServerUrl);
|
|
47
|
+
const arkProvider = new chunk3P7SXAAC_cjs.ExpoArkProvider(config.arkServerUrl);
|
|
48
|
+
const deps = chunkHFSC7T5I_cjs.createTaskDependencies({
|
|
49
49
|
walletRepository,
|
|
50
50
|
contractRepository,
|
|
51
51
|
indexerProvider,
|
|
52
52
|
arkProvider
|
|
53
53
|
});
|
|
54
|
-
await
|
|
54
|
+
await chunkHFSC7T5I_cjs.runTasks(taskQueue, processors, deps);
|
|
55
55
|
const results = await taskQueue.getResults();
|
|
56
56
|
if (results.length > 0) {
|
|
57
57
|
await taskQueue.acknowledgeResults(results.map((r) => r.id));
|
|
58
58
|
}
|
|
59
|
-
const existing = await taskQueue.getTasks(
|
|
59
|
+
const existing = await taskQueue.getTasks(chunkHFSC7T5I_cjs.CONTRACT_POLL_TASK_TYPE);
|
|
60
60
|
if (existing.length === 0) {
|
|
61
61
|
const task = {
|
|
62
|
-
id:
|
|
63
|
-
type:
|
|
62
|
+
id: chunk4BT6HBZQ_cjs.getRandomId(),
|
|
63
|
+
type: chunkHFSC7T5I_cjs.CONTRACT_POLL_TASK_TYPE,
|
|
64
64
|
data: {},
|
|
65
65
|
createdAt: Date.now()
|
|
66
66
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { W as WalletRepository, C as ContractRepository } from '../../
|
|
2
|
-
import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-
|
|
3
|
-
import { T as TaskProcessor } from '../../taskRunner-
|
|
4
|
-
import '@scure/btc-signer/utils.js';
|
|
5
|
-
import '@scure/btc-signer/psbt.js';
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository } from '../../ark-CgZYyMpf.cjs';
|
|
2
|
+
import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-B099Jii3.cjs';
|
|
3
|
+
import { T as TaskProcessor } from '../../taskRunner-D4IF7tc8.cjs';
|
|
6
4
|
import '@scure/btc-signer';
|
|
7
5
|
import '@scure/btc-signer/transaction.js';
|
|
6
|
+
import '@scure/btc-signer/utils.js';
|
|
7
|
+
import '@scure/btc-signer/psbt.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Wallet parameters persisted by @see ExpoWallet.setup and read
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { W as WalletRepository, C as ContractRepository } from '../../
|
|
2
|
-
import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-
|
|
3
|
-
import { T as TaskProcessor } from '../../taskRunner-
|
|
4
|
-
import '@scure/btc-signer/utils.js';
|
|
5
|
-
import '@scure/btc-signer/psbt.js';
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository } from '../../ark-CgZYyMpf.js';
|
|
2
|
+
import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-BeQji1Ee.js';
|
|
3
|
+
import { T as TaskProcessor } from '../../taskRunner-DzEg63qV.js';
|
|
6
4
|
import '@scure/btc-signer';
|
|
7
5
|
import '@scure/btc-signer/transaction.js';
|
|
6
|
+
import '@scure/btc-signer/utils.js';
|
|
7
|
+
import '@scure/btc-signer/psbt.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Wallet parameters persisted by @see ExpoWallet.setup and read
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ExpoIndexerProvider, ExpoArkProvider } from '../../chunk-
|
|
2
|
-
import { contractPollProcessor, createTaskDependencies, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-
|
|
3
|
-
import { getRandomId } from '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
1
|
+
import { ExpoIndexerProvider, ExpoArkProvider } from '../../chunk-FSSINCR6.js';
|
|
2
|
+
import { contractPollProcessor, createTaskDependencies, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-BDTASM5W.js';
|
|
3
|
+
import { getRandomId } from '../../chunk-BIN2DVKS.js';
|
|
4
|
+
import '../../chunk-PHSUZSRH.js';
|
|
5
|
+
import '../../chunk-CR5YHHEM.js';
|
|
6
|
+
import '../../chunk-CG7S6CDR.js';
|
|
7
7
|
import * as TaskManager from 'expo-task-manager';
|
|
8
8
|
import * as BackgroundTask from 'expo-background-task';
|
|
9
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
var
|
|
3
|
+
var chunkHFSC7T5I_cjs = require('../../chunk-HFSC7T5I.cjs');
|
|
4
|
+
var chunk4BT6HBZQ_cjs = require('../../chunk-4BT6HBZQ.cjs');
|
|
5
|
+
require('../../chunk-6BJJ47JM.cjs');
|
|
6
|
+
require('../../chunk-YFQOJTG3.cjs');
|
|
7
|
+
var chunkFGKBQH5S_cjs = require('../../chunk-FGKBQH5S.cjs');
|
|
8
8
|
var base = require('@scure/base');
|
|
9
9
|
|
|
10
10
|
function warnOnRemovedBackgroundFields(bg) {
|
|
@@ -56,20 +56,20 @@ var ExpoWallet = class _ExpoWallet {
|
|
|
56
56
|
* by the consumer.
|
|
57
57
|
*/
|
|
58
58
|
static async setup(config) {
|
|
59
|
-
|
|
59
|
+
chunkFGKBQH5S_cjs.assertTimerMs("foregroundIntervalMs", config.background.foregroundIntervalMs);
|
|
60
60
|
warnOnRemovedBackgroundFields(config.background);
|
|
61
|
-
const wallet = await
|
|
62
|
-
const processors = config.background.processors ?? [
|
|
61
|
+
const wallet = await chunk4BT6HBZQ_cjs.Wallet.create(config);
|
|
62
|
+
const processors = config.background.processors ?? [chunkHFSC7T5I_cjs.contractPollProcessor];
|
|
63
63
|
const deps = {
|
|
64
64
|
walletRepository: wallet.walletRepository,
|
|
65
65
|
contractRepository: wallet.contractRepository,
|
|
66
66
|
indexerProvider: wallet.indexerProvider,
|
|
67
67
|
arkProvider: wallet.arkProvider,
|
|
68
|
-
extendVtxo: (vtxo, contract) =>
|
|
68
|
+
extendVtxo: (vtxo, contract) => chunk4BT6HBZQ_cjs.extendVirtualCoinForContract(vtxo, contract)
|
|
69
69
|
};
|
|
70
70
|
const { taskQueue } = config.background;
|
|
71
71
|
if ("persistConfig" in taskQueue) {
|
|
72
|
-
const arkServerUrl =
|
|
72
|
+
const arkServerUrl = chunk4BT6HBZQ_cjs.extractArkProviderUrl(wallet.arkProvider);
|
|
73
73
|
if (typeof arkServerUrl === "string" && arkServerUrl.length > 0) {
|
|
74
74
|
const timelock = wallet.offchainTapscript.options.csvTimelock;
|
|
75
75
|
const bgConfig = {
|
|
@@ -100,7 +100,7 @@ var ExpoWallet = class _ExpoWallet {
|
|
|
100
100
|
}
|
|
101
101
|
async runForegroundPoll() {
|
|
102
102
|
if (this.cleared) return;
|
|
103
|
-
await
|
|
103
|
+
await chunkHFSC7T5I_cjs.runTasks(this.taskQueue, this.processors, this.deps);
|
|
104
104
|
const results = await this.taskQueue.getResults();
|
|
105
105
|
if (results.length > 0) {
|
|
106
106
|
await this.taskQueue.acknowledgeResults(results.map((r) => r.id));
|
|
@@ -109,18 +109,18 @@ var ExpoWallet = class _ExpoWallet {
|
|
|
109
109
|
await this.seedContractPollTask();
|
|
110
110
|
}
|
|
111
111
|
async seedContractPollTask() {
|
|
112
|
-
const existing = await this.taskQueue.getTasks(
|
|
112
|
+
const existing = await this.taskQueue.getTasks(chunkHFSC7T5I_cjs.CONTRACT_POLL_TASK_TYPE);
|
|
113
113
|
if (existing.length > 0) return;
|
|
114
114
|
const task = {
|
|
115
|
-
id:
|
|
116
|
-
type:
|
|
115
|
+
id: chunk4BT6HBZQ_cjs.getRandomId(),
|
|
116
|
+
type: chunkHFSC7T5I_cjs.CONTRACT_POLL_TASK_TYPE,
|
|
117
117
|
data: {},
|
|
118
118
|
createdAt: Date.now()
|
|
119
119
|
};
|
|
120
120
|
await this.taskQueue.addTask(task);
|
|
121
121
|
}
|
|
122
122
|
async removeContractPollTasks() {
|
|
123
|
-
const tasks = await this.taskQueue.getTasks(
|
|
123
|
+
const tasks = await this.taskQueue.getTasks(chunkHFSC7T5I_cjs.CONTRACT_POLL_TASK_TYPE);
|
|
124
124
|
for (const task of tasks) {
|
|
125
125
|
await this.taskQueue.removeTask(task.id);
|
|
126
126
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../
|
|
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 '../../
|
|
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 '../../walletRepository-BA5C6Slk.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 '../../ark-CgZYyMpf.cjs';
|
|
3
|
+
import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-D4IF7tc8.cjs';
|
|
4
4
|
import '@scure/btc-signer/psbt.js';
|
|
5
5
|
import '@scure/btc-signer/utils.js';
|
|
6
|
-
import '../../delegate-
|
|
6
|
+
import '../../delegate-wuf6DBpr.cjs';
|
|
7
7
|
import '@scure/btc-signer';
|
|
8
8
|
import '@scure/btc-signer/transaction.js';
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../
|
|
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 '../../
|
|
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 '../../walletRepository-BE2yiIHF.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 '../../ark-CgZYyMpf.js';
|
|
3
|
+
import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-DzEg63qV.js';
|
|
4
4
|
import '@scure/btc-signer/psbt.js';
|
|
5
5
|
import '@scure/btc-signer/utils.js';
|
|
6
|
-
import '../../delegate-
|
|
6
|
+
import '../../delegate-B8KSoeVz.js';
|
|
7
7
|
import '@scure/btc-signer';
|
|
8
8
|
import '@scure/btc-signer/transaction.js';
|
|
9
9
|
|
|
@@ -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 { assertTimerMs } from '../../chunk-
|
|
1
|
+
import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-BDTASM5W.js';
|
|
2
|
+
import { Wallet, extractArkProviderUrl, getRandomId, extendVirtualCoinForContract } from '../../chunk-BIN2DVKS.js';
|
|
3
|
+
import '../../chunk-PHSUZSRH.js';
|
|
4
|
+
import '../../chunk-CR5YHHEM.js';
|
|
5
|
+
import { assertTimerMs } from '../../chunk-CG7S6CDR.js';
|
|
6
6
|
import { hex } from '@scure/base';
|
|
7
7
|
|
|
8
8
|
function warnOnRemovedBackgroundFields(bg) {
|
|
@@ -1,34 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a2 as DescriptorProvider, W as WalletRepository, a3 as DescriptorSigningRequest, a4 as Transaction, l as GetNewAddressesOptions, m as NewAddress, a as Identity, w as RelativeTimelock, a5 as Network, a6 as CSVMultisigTapscript, a7 as BatchStartedEvent, a8 as TreeSigningStartedEvent, a9 as TxTree, aa as TreeNoncesEvent, ab as BatchFinalizationEvent, ac as BatchFinalizedEvent, ad as BatchFailedEvent, ae as TreeTxEvent, af as TreeSignatureEvent, o as SettlementEvent, b as WalletConfig, C as ContractRepository, k as IContractManager, ag as IReadonlyWallet, ah as ReadonlyIdentity, ai as OnchainProvider, u as ArkProvider, v as IndexerProvider, aj as DelegateProvider, ak as ReadonlyWalletConfig, X as IntentRepository, _ as VirtualTxRepository, al as ExitCaptureMode, am as ExitDataSource, i as ActivityRegistry, an as IReadonlyAssetManager, ao as ContractSyncState, ap as RecipientArkadeAddressContext, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, aq as NetworkName, ar as ArkAddress, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, as as ContractWithVtxos, at as selectPendingRecoveryOutpoints, h as ArkTransaction, j as Activity, E as ExtendedCoin, au as Coin, B as ExtendedVirtualCoin, av as ContractManager, aw as ContractManagerConfig, I as IWallet, O as Outpoint, ax as SettlementConfig, d as ArkadeBroadcaster, q as IAssetManager, ay as VtxoManager, n as IDelegateManager, S as SettleParams, R as Recipient, az as SignerSession, aA as SignedIntent, aB as Intent, p as SendParams, aC as TimeHeight, P as PageRequest, D as PageResult, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, Q as WalletState } from './ark-CgZYyMpf.cjs';
|
|
2
2
|
import { TransactionOutput } from '@scure/btc-signer/psbt.js';
|
|
3
3
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
4
|
-
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* IndexedDB-based implementation of WalletRepository.
|
|
8
|
-
*/
|
|
9
|
-
declare class IndexedDBWalletRepository implements WalletRepository {
|
|
10
|
-
readonly version: 2;
|
|
11
|
-
private readonly connection;
|
|
12
|
-
constructor(dbName?: string);
|
|
13
|
-
clear(): Promise<void>;
|
|
14
|
-
[Symbol.asyncDispose](): Promise<void>;
|
|
15
|
-
getVtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedVirtualCoin, Outpoint>>;
|
|
16
|
-
saveVtxos(address: string, vtxos: ExtendedVirtualCoin[]): Promise<void>;
|
|
17
|
-
deleteVtxos(address: string): Promise<void>;
|
|
18
|
-
getVtxosForScriptPage(script: string, page: PageRequest<ScriptVtxoCursor>, options?: ScriptVtxoPageOptions): Promise<PageResult<StoredVtxo, ScriptVtxoCursor>>;
|
|
19
|
-
saveVtxosForScript(key: VtxoRepositoryKey, vtxos: ExtendedVirtualCoin[]): Promise<void>;
|
|
20
|
-
deleteVtxosForScript(script: string): Promise<void>;
|
|
21
|
-
getUtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedCoin, Outpoint>>;
|
|
22
|
-
private pageByAddress;
|
|
23
|
-
saveUtxos(addressOrBatch: string | ReadonlyMap<string, ExtendedCoin[]>, utxos?: ExtendedCoin[]): Promise<void>;
|
|
24
|
-
deleteUtxos(address: string): Promise<void>;
|
|
25
|
-
getTransactionHistoryPage(filter: TransactionHistoryPageFilter, page: PageRequest<TransactionHistoryPageCursor>): Promise<PageResult<ArkTransaction, TransactionHistoryPageCursor>>;
|
|
26
|
-
saveTransactions(address: string, txs: ArkTransaction[]): Promise<void>;
|
|
27
|
-
deleteTransactions(address: string): Promise<void>;
|
|
28
|
-
getWalletState(): Promise<WalletState | null>;
|
|
29
|
-
saveWalletState(state: WalletState): Promise<void>;
|
|
30
|
-
private getDB;
|
|
31
|
-
}
|
|
4
|
+
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-wuf6DBpr.cjs';
|
|
32
5
|
|
|
33
6
|
/**
|
|
34
7
|
* A {@link DescriptorProvider} decorator that adds a **keyring**: raw
|
|
@@ -1931,4 +1904,31 @@ interface WaitForIncomingFundsOptions {
|
|
|
1931
1904
|
*/
|
|
1932
1905
|
declare function waitForIncomingFunds(wallet: Wallet, options?: WaitForIncomingFundsOptions): Promise<IncomingFunds>;
|
|
1933
1906
|
|
|
1907
|
+
/**
|
|
1908
|
+
* IndexedDB-based implementation of WalletRepository.
|
|
1909
|
+
*/
|
|
1910
|
+
declare class IndexedDBWalletRepository implements WalletRepository {
|
|
1911
|
+
readonly version: 2;
|
|
1912
|
+
private readonly connection;
|
|
1913
|
+
constructor(dbName?: string);
|
|
1914
|
+
clear(): Promise<void>;
|
|
1915
|
+
[Symbol.asyncDispose](): Promise<void>;
|
|
1916
|
+
getVtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedVirtualCoin, Outpoint>>;
|
|
1917
|
+
saveVtxos(address: string, vtxos: ExtendedVirtualCoin[]): Promise<void>;
|
|
1918
|
+
deleteVtxos(address: string): Promise<void>;
|
|
1919
|
+
getVtxosForScriptPage(script: string, page: PageRequest<ScriptVtxoCursor>, options?: ScriptVtxoPageOptions): Promise<PageResult<StoredVtxo, ScriptVtxoCursor>>;
|
|
1920
|
+
saveVtxosForScript(key: VtxoRepositoryKey, vtxos: ExtendedVirtualCoin[]): Promise<void>;
|
|
1921
|
+
deleteVtxosForScript(script: string): Promise<void>;
|
|
1922
|
+
getUtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedCoin, Outpoint>>;
|
|
1923
|
+
private pageByAddress;
|
|
1924
|
+
saveUtxos(addressOrBatch: string | ReadonlyMap<string, ExtendedCoin[]>, utxos?: ExtendedCoin[]): Promise<void>;
|
|
1925
|
+
deleteUtxos(address: string): Promise<void>;
|
|
1926
|
+
getTransactionHistoryPage(filter: TransactionHistoryPageFilter, page: PageRequest<TransactionHistoryPageCursor>): Promise<PageResult<ArkTransaction, TransactionHistoryPageCursor>>;
|
|
1927
|
+
saveTransactions(address: string, txs: ArkTransaction[]): Promise<void>;
|
|
1928
|
+
deleteTransactions(address: string): Promise<void>;
|
|
1929
|
+
getWalletState(): Promise<WalletState | null>;
|
|
1930
|
+
saveWalletState(state: WalletState): Promise<void>;
|
|
1931
|
+
private getDB;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
1934
|
export { selectVirtualCoins as $, type AddressAllocationCapable as A, type BatchExpiryPolicy as B, type CheckpointExitDelayPolicy as C, DEFAULT_MIN_BATCH_EXPIRY_SECONDS as D, WalletCannotAllocateAddressError as E, ForeignDescriptorError as F, assertValidBatchExpiry as G, type HDWalletCapable as H, type IncomingFunds as I, assertValidServerUnrollScript as J, KeyringDescriptorProvider as K, defaultBatchExpiryPolicy as L, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD as M, defaultCheckpointExitDelayPolicy as N, isAddressAllocationCapable as O, type ProviderConnectionState as P, isArkError as Q, ReadonlyWallet as R, SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as S, isHDAllocationCapable as T, isHDWalletCapable as U, type VtxoReservation as V, Wallet as W, maybeArkError as X, resolveBatchExpiryPolicy as Y, resolveCheckpointExitDelayPolicy as Z, resolveDescriptorSigner as _, type HDAllocationCapable as a, signingDescriptorIndex as a0, strictSigningDescriptorIndex as a1, waitForIncomingFunds as a2, type ReceiveRotatorFactory as b, type ReceiveRotatorBootOpts as c, type ReceiveRotatorBoot as d, Batch as e, AbortError as f, ArkError as g, ArkErrorName as h, type ArkadeCashClaimResult as i, ArkadeCashCreateError as j, ArkadeCashOperatorMismatchError as k, type ArkadeCashUnclaimedReason as l, type ArkadeCashUnclaimedVtxo as m, type ArkadeCashVtxoRef as n, type BoardingUtxoGroup as o, DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as p, IndexedDBWalletRepository as q, MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as r, type ProviderKind as s, ProviderUnavailableError as t, REGTEST_MIN_BATCH_EXPIRY_SECONDS as u, REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as v, type ServerInfoSource as w, ServerResponseMismatchError as x, VtxoReservedError as y, type WaitForIncomingFundsOptions as z };
|
|
@@ -1,34 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a2 as DescriptorProvider, W as WalletRepository, a3 as DescriptorSigningRequest, a4 as Transaction, l as GetNewAddressesOptions, m as NewAddress, a as Identity, w as RelativeTimelock, a5 as Network, a6 as CSVMultisigTapscript, a7 as BatchStartedEvent, a8 as TreeSigningStartedEvent, a9 as TxTree, aa as TreeNoncesEvent, ab as BatchFinalizationEvent, ac as BatchFinalizedEvent, ad as BatchFailedEvent, ae as TreeTxEvent, af as TreeSignatureEvent, o as SettlementEvent, b as WalletConfig, C as ContractRepository, k as IContractManager, ag as IReadonlyWallet, ah as ReadonlyIdentity, ai as OnchainProvider, u as ArkProvider, v as IndexerProvider, aj as DelegateProvider, ak as ReadonlyWalletConfig, X as IntentRepository, _ as VirtualTxRepository, al as ExitCaptureMode, am as ExitDataSource, i as ActivityRegistry, an as IReadonlyAssetManager, ao as ContractSyncState, ap as RecipientArkadeAddressContext, G as GetArkadeInfoOptions, A as ArkadeInfo, c as ArkadeReader, aq as NetworkName, ar as ArkAddress, e as WalletBalance, f as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, g as GetSpendableVtxosFilter, as as ContractWithVtxos, at as selectPendingRecoveryOutpoints, h as ArkTransaction, j as Activity, E as ExtendedCoin, au as Coin, B as ExtendedVirtualCoin, av as ContractManager, aw as ContractManagerConfig, I as IWallet, O as Outpoint, ax as SettlementConfig, d as ArkadeBroadcaster, q as IAssetManager, ay as VtxoManager, n as IDelegateManager, S as SettleParams, R as Recipient, az as SignerSession, aA as SignedIntent, aB as Intent, p as SendParams, aC as TimeHeight, P as PageRequest, D as PageResult, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, Q as WalletState } from './ark-CgZYyMpf.js';
|
|
2
2
|
import { TransactionOutput } from '@scure/btc-signer/psbt.js';
|
|
3
3
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
4
|
-
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* IndexedDB-based implementation of WalletRepository.
|
|
8
|
-
*/
|
|
9
|
-
declare class IndexedDBWalletRepository implements WalletRepository {
|
|
10
|
-
readonly version: 2;
|
|
11
|
-
private readonly connection;
|
|
12
|
-
constructor(dbName?: string);
|
|
13
|
-
clear(): Promise<void>;
|
|
14
|
-
[Symbol.asyncDispose](): Promise<void>;
|
|
15
|
-
getVtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedVirtualCoin, Outpoint>>;
|
|
16
|
-
saveVtxos(address: string, vtxos: ExtendedVirtualCoin[]): Promise<void>;
|
|
17
|
-
deleteVtxos(address: string): Promise<void>;
|
|
18
|
-
getVtxosForScriptPage(script: string, page: PageRequest<ScriptVtxoCursor>, options?: ScriptVtxoPageOptions): Promise<PageResult<StoredVtxo, ScriptVtxoCursor>>;
|
|
19
|
-
saveVtxosForScript(key: VtxoRepositoryKey, vtxos: ExtendedVirtualCoin[]): Promise<void>;
|
|
20
|
-
deleteVtxosForScript(script: string): Promise<void>;
|
|
21
|
-
getUtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedCoin, Outpoint>>;
|
|
22
|
-
private pageByAddress;
|
|
23
|
-
saveUtxos(addressOrBatch: string | ReadonlyMap<string, ExtendedCoin[]>, utxos?: ExtendedCoin[]): Promise<void>;
|
|
24
|
-
deleteUtxos(address: string): Promise<void>;
|
|
25
|
-
getTransactionHistoryPage(filter: TransactionHistoryPageFilter, page: PageRequest<TransactionHistoryPageCursor>): Promise<PageResult<ArkTransaction, TransactionHistoryPageCursor>>;
|
|
26
|
-
saveTransactions(address: string, txs: ArkTransaction[]): Promise<void>;
|
|
27
|
-
deleteTransactions(address: string): Promise<void>;
|
|
28
|
-
getWalletState(): Promise<WalletState | null>;
|
|
29
|
-
saveWalletState(state: WalletState): Promise<void>;
|
|
30
|
-
private getDB;
|
|
31
|
-
}
|
|
4
|
+
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-B8KSoeVz.js';
|
|
32
5
|
|
|
33
6
|
/**
|
|
34
7
|
* A {@link DescriptorProvider} decorator that adds a **keyring**: raw
|
|
@@ -1931,4 +1904,31 @@ interface WaitForIncomingFundsOptions {
|
|
|
1931
1904
|
*/
|
|
1932
1905
|
declare function waitForIncomingFunds(wallet: Wallet, options?: WaitForIncomingFundsOptions): Promise<IncomingFunds>;
|
|
1933
1906
|
|
|
1907
|
+
/**
|
|
1908
|
+
* IndexedDB-based implementation of WalletRepository.
|
|
1909
|
+
*/
|
|
1910
|
+
declare class IndexedDBWalletRepository implements WalletRepository {
|
|
1911
|
+
readonly version: 2;
|
|
1912
|
+
private readonly connection;
|
|
1913
|
+
constructor(dbName?: string);
|
|
1914
|
+
clear(): Promise<void>;
|
|
1915
|
+
[Symbol.asyncDispose](): Promise<void>;
|
|
1916
|
+
getVtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedVirtualCoin, Outpoint>>;
|
|
1917
|
+
saveVtxos(address: string, vtxos: ExtendedVirtualCoin[]): Promise<void>;
|
|
1918
|
+
deleteVtxos(address: string): Promise<void>;
|
|
1919
|
+
getVtxosForScriptPage(script: string, page: PageRequest<ScriptVtxoCursor>, options?: ScriptVtxoPageOptions): Promise<PageResult<StoredVtxo, ScriptVtxoCursor>>;
|
|
1920
|
+
saveVtxosForScript(key: VtxoRepositoryKey, vtxos: ExtendedVirtualCoin[]): Promise<void>;
|
|
1921
|
+
deleteVtxosForScript(script: string): Promise<void>;
|
|
1922
|
+
getUtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedCoin, Outpoint>>;
|
|
1923
|
+
private pageByAddress;
|
|
1924
|
+
saveUtxos(addressOrBatch: string | ReadonlyMap<string, ExtendedCoin[]>, utxos?: ExtendedCoin[]): Promise<void>;
|
|
1925
|
+
deleteUtxos(address: string): Promise<void>;
|
|
1926
|
+
getTransactionHistoryPage(filter: TransactionHistoryPageFilter, page: PageRequest<TransactionHistoryPageCursor>): Promise<PageResult<ArkTransaction, TransactionHistoryPageCursor>>;
|
|
1927
|
+
saveTransactions(address: string, txs: ArkTransaction[]): Promise<void>;
|
|
1928
|
+
deleteTransactions(address: string): Promise<void>;
|
|
1929
|
+
getWalletState(): Promise<WalletState | null>;
|
|
1930
|
+
saveWalletState(state: WalletState): Promise<void>;
|
|
1931
|
+
private getDB;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
1934
|
export { selectVirtualCoins as $, type AddressAllocationCapable as A, type BatchExpiryPolicy as B, type CheckpointExitDelayPolicy as C, DEFAULT_MIN_BATCH_EXPIRY_SECONDS as D, WalletCannotAllocateAddressError as E, ForeignDescriptorError as F, assertValidBatchExpiry as G, type HDWalletCapable as H, type IncomingFunds as I, assertValidServerUnrollScript as J, KeyringDescriptorProvider as K, defaultBatchExpiryPolicy as L, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD as M, defaultCheckpointExitDelayPolicy as N, isAddressAllocationCapable as O, type ProviderConnectionState as P, isArkError as Q, ReadonlyWallet as R, SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as S, isHDAllocationCapable as T, isHDWalletCapable as U, type VtxoReservation as V, Wallet as W, maybeArkError as X, resolveBatchExpiryPolicy as Y, resolveCheckpointExitDelayPolicy as Z, resolveDescriptorSigner as _, type HDAllocationCapable as a, signingDescriptorIndex as a0, strictSigningDescriptorIndex as a1, waitForIncomingFunds as a2, type ReceiveRotatorFactory as b, type ReceiveRotatorBootOpts as c, type ReceiveRotatorBoot as d, Batch as e, AbortError as f, ArkError as g, ArkErrorName as h, type ArkadeCashClaimResult as i, ArkadeCashCreateError as j, ArkadeCashOperatorMismatchError as k, type ArkadeCashUnclaimedReason as l, type ArkadeCashUnclaimedVtxo as m, type ArkadeCashVtxoRef as n, type BoardingUtxoGroup as o, DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as p, IndexedDBWalletRepository as q, MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as r, type ProviderKind as s, ProviderUnavailableError as t, REGTEST_MIN_BATCH_EXPIRY_SECONDS as u, REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS as v, type ServerInfoSource as w, ServerResponseMismatchError as x, VtxoReservedError as y, type WaitForIncomingFundsOptions as z };
|
|
@@ -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 chunkHFSC7T5I_cjs = require('../../chunk-HFSC7T5I.cjs');
|
|
4
|
+
require('../../chunk-4BT6HBZQ.cjs');
|
|
5
|
+
require('../../chunk-6BJJ47JM.cjs');
|
|
6
|
+
require('../../chunk-YFQOJTG3.cjs');
|
|
7
|
+
require('../../chunk-FGKBQH5S.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 chunkHFSC7T5I_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 chunkHFSC7T5I_cjs.contractPollProcessor; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "createTaskDependencies", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkHFSC7T5I_cjs.createTaskDependencies; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "runTasks", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkHFSC7T5I_cjs.runTasks; }
|
|
136
136
|
});
|
|
137
137
|
exports.AsyncStorageTaskQueue = AsyncStorageTaskQueue;
|
|
138
138
|
exports.InMemoryTaskQueue = InMemoryTaskQueue;
|
|
@@ -1,11 +1,11 @@
|
|
|
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 '../../
|
|
5
|
-
import '@scure/btc-signer/utils.js';
|
|
6
|
-
import '@scure/btc-signer/psbt.js';
|
|
1
|
+
import { T as TaskProcessor } from '../../taskRunner-D4IF7tc8.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-D4IF7tc8.cjs';
|
|
3
|
+
export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-B099Jii3.cjs';
|
|
4
|
+
import '../../ark-CgZYyMpf.cjs';
|
|
7
5
|
import '@scure/btc-signer';
|
|
8
6
|
import '@scure/btc-signer/transaction.js';
|
|
7
|
+
import '@scure/btc-signer/utils.js';
|
|
8
|
+
import '@scure/btc-signer/psbt.js';
|
|
9
9
|
|
|
10
10
|
declare const CONTRACT_POLL_TASK_TYPE = "contract-poll";
|
|
11
11
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
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 '../../
|
|
5
|
-
import '@scure/btc-signer/utils.js';
|
|
6
|
-
import '@scure/btc-signer/psbt.js';
|
|
1
|
+
import { T as TaskProcessor } from '../../taskRunner-DzEg63qV.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-DzEg63qV.js';
|
|
3
|
+
export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-BeQji1Ee.js';
|
|
4
|
+
import '../../ark-CgZYyMpf.js';
|
|
7
5
|
import '@scure/btc-signer';
|
|
8
6
|
import '@scure/btc-signer/transaction.js';
|
|
7
|
+
import '@scure/btc-signer/utils.js';
|
|
8
|
+
import '@scure/btc-signer/psbt.js';
|
|
9
9
|
|
|
10
10
|
declare const CONTRACT_POLL_TASK_TYPE = "contract-poll";
|
|
11
11
|
/**
|
|
@@ -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-BDTASM5W.js';
|
|
2
|
+
import '../../chunk-BIN2DVKS.js';
|
|
3
|
+
import '../../chunk-PHSUZSRH.js';
|
|
4
|
+
import '../../chunk-CR5YHHEM.js';
|
|
5
|
+
import '../../chunk-CG7S6CDR.js';
|
|
6
6
|
|
|
7
7
|
// src/worker/expo/taskQueue.ts
|
|
8
8
|
var InMemoryTaskQueue = class {
|