@arkade-os/sdk 0.5.0-rc.7 → 0.5.0-rc.8
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 +29 -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-BHOhjFiF.d.cts → asyncStorageTaskQueue-Bn3FoNkc.d.cts} +2 -2
- package/dist/{asyncStorageTaskQueue-BedBOEpT.d.ts → asyncStorageTaskQueue-CeYTmuGU.d.ts} +2 -2
- package/dist/{chunk-XOT73T36.cjs → chunk-2AWDPVZI.cjs} +18 -18
- package/dist/{chunk-XOT73T36.cjs.map → chunk-2AWDPVZI.cjs.map} +1 -1
- package/dist/{chunk-XIPWLWPU.cjs → chunk-56RCBKNF.cjs} +17 -17
- package/dist/{chunk-XIPWLWPU.cjs.map → chunk-56RCBKNF.cjs.map} +1 -1
- package/dist/{chunk-LFIORZO3.js → chunk-BIRUBLP3.js} +4 -4
- package/dist/{chunk-LFIORZO3.js.map → chunk-BIRUBLP3.js.map} +1 -1
- package/dist/{chunk-VUR6RP73.cjs → chunk-BMPGUGYZ.cjs} +10 -10
- package/dist/{chunk-VUR6RP73.cjs.map → chunk-BMPGUGYZ.cjs.map} +1 -1
- package/dist/{chunk-2JU54RGB.js → chunk-G6S4XSFI.js} +3 -3
- package/dist/{chunk-2JU54RGB.js.map → chunk-G6S4XSFI.js.map} +1 -1
- package/dist/{chunk-4MB3Z33G.js → chunk-INTEA7D3.js} +4 -4
- package/dist/{chunk-4MB3Z33G.js.map → chunk-INTEA7D3.js.map} +1 -1
- package/dist/{chunk-A2T3GGAK.cjs → chunk-K5RED5VE.cjs} +50 -50
- package/dist/{chunk-A2T3GGAK.cjs.map → chunk-K5RED5VE.cjs.map} +1 -1
- package/dist/{chunk-7B2QAHQU.js → chunk-LN4ZJZK4.js} +94 -11
- package/dist/chunk-LN4ZJZK4.js.map +1 -0
- package/dist/{chunk-H7KLBU6G.js → chunk-MTYQXZ2T.js} +4 -4
- package/dist/{chunk-H7KLBU6G.js.map → chunk-MTYQXZ2T.js.map} +1 -1
- package/dist/{chunk-GLLBSULU.cjs → chunk-NY5FN4VV.cjs} +3 -3
- package/dist/{chunk-GLLBSULU.cjs.map → chunk-NY5FN4VV.cjs.map} +1 -1
- package/dist/{chunk-L6MGV7ZA.js → chunk-XCNAGBFR.js} +3 -3
- package/dist/{chunk-L6MGV7ZA.js.map → chunk-XCNAGBFR.js.map} +1 -1
- package/dist/{chunk-EIMOVGBV.cjs → chunk-ZTCDT7KB.cjs} +523 -439
- package/dist/chunk-ZTCDT7KB.cjs.map +1 -0
- 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-Hl92NVgS.d.ts → delegate-CyBnNY9v.d.ts} +1 -1
- package/dist/{delegate-Dv8aEvSp.d.cts → delegate-Cyv2suFd.d.cts} +1 -1
- package/dist/{hdWalletCapable-QiCK1B9d.d.cts → hdWalletCapable-D1ImQqlu.d.cts} +3 -3
- package/dist/{hdWalletCapable-Bqcb-XtC.d.ts → hdWalletCapable-DvumVrKW.d.ts} +3 -3
- package/dist/{index-F-X4BWxi.d.cts → index-BIL9boGL.d.cts} +14 -1
- package/dist/{index-F-X4BWxi.d.ts → index-BIL9boGL.d.ts} +14 -1
- package/dist/{index-CeC9FiJt.d.cts → index-DleNQcz5.d.cts} +3 -3
- package/dist/{index-BwEO0Yb-.d.ts → index-QVhQgYvU.d.ts} +3 -3
- package/dist/index.cjs +294 -290
- package/dist/index.d.cts +17 -9
- package/dist/index.d.ts +17 -9
- package/dist/index.js +4 -4
- package/dist/repositories/realm/index.cjs +20 -20
- 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 +19 -19
- 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-BdU_d__J.d.ts → taskRunner-CRbuzUXR.d.ts} +2 -2
- package/dist/{taskRunner-CDCz7MTW.d.cts → taskRunner-z_BGID85.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 +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/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-7B2QAHQU.js.map +0 -1
- package/dist/chunk-EIMOVGBV.cjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WalletRepository, C as ContractRepository, u as IndexerProvider, t as ArkProvider, x as VirtualCoin, y as Contract, z as ExtendedVirtualCoin } from './index-
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository, u as IndexerProvider, t as ArkProvider, x as VirtualCoin, y as Contract, z as ExtendedVirtualCoin } from './index-BIL9boGL.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A task item represents a unit of work in the inbox.
|
|
@@ -111,4 +111,4 @@ interface CreateTaskDependenciesOptions {
|
|
|
111
111
|
*/
|
|
112
112
|
declare function createTaskDependencies(options: CreateTaskDependenciesOptions): TaskDependencies;
|
|
113
113
|
|
|
114
|
-
export { type CreateTaskDependenciesOptions as C, InMemoryTaskQueue as I, type TaskProcessor as T, type
|
|
114
|
+
export { type CreateTaskDependenciesOptions as C, InMemoryTaskQueue as I, type TaskProcessor as T, type TaskDependencies as a, type TaskItem as b, type TaskQueue as c, type TaskResult as d, createTaskDependencies as e, runTasks as r };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WalletRepository, C as ContractRepository, u as IndexerProvider, t as ArkProvider, x as VirtualCoin, y as Contract, z as ExtendedVirtualCoin } from './index-
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository, u as IndexerProvider, t as ArkProvider, x as VirtualCoin, y as Contract, z as ExtendedVirtualCoin } from './index-BIL9boGL.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A task item represents a unit of work in the inbox.
|
|
@@ -111,4 +111,4 @@ interface CreateTaskDependenciesOptions {
|
|
|
111
111
|
*/
|
|
112
112
|
declare function createTaskDependencies(options: CreateTaskDependenciesOptions): TaskDependencies;
|
|
113
113
|
|
|
114
|
-
export { type CreateTaskDependenciesOptions as C, InMemoryTaskQueue as I, type TaskProcessor as T, type
|
|
114
|
+
export { type CreateTaskDependenciesOptions as C, InMemoryTaskQueue as I, type TaskProcessor as T, type TaskDependencies as a, type TaskItem as b, type TaskQueue as c, type TaskResult as d, createTaskDependencies as e, runTasks as r };
|
|
@@ -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 chunk56RCBKNF_cjs = require('../../chunk-56RCBKNF.cjs');
|
|
4
|
+
var chunkBMPGUGYZ_cjs = require('../../chunk-BMPGUGYZ.cjs');
|
|
5
|
+
var chunkZTCDT7KB_cjs = require('../../chunk-ZTCDT7KB.cjs');
|
|
6
|
+
require('../../chunk-2AWDPVZI.cjs');
|
|
7
|
+
require('../../chunk-K5RED5VE.cjs');
|
|
8
|
+
require('../../chunk-NY5FN4VV.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 = [chunkBMPGUGYZ_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 chunk56RCBKNF_cjs.ExpoIndexerProvider(config.arkServerUrl);
|
|
47
|
+
const arkProvider = new chunk56RCBKNF_cjs.ExpoArkProvider(config.arkServerUrl);
|
|
48
|
+
const deps = chunkBMPGUGYZ_cjs.createTaskDependencies({
|
|
49
49
|
walletRepository,
|
|
50
50
|
contractRepository,
|
|
51
51
|
indexerProvider,
|
|
52
52
|
arkProvider
|
|
53
53
|
});
|
|
54
|
-
await
|
|
54
|
+
await chunkBMPGUGYZ_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(chunkBMPGUGYZ_cjs.CONTRACT_POLL_TASK_TYPE);
|
|
60
60
|
if (existing.length === 0) {
|
|
61
61
|
const task = {
|
|
62
|
-
id:
|
|
63
|
-
type:
|
|
62
|
+
id: chunkZTCDT7KB_cjs.getRandomId(),
|
|
63
|
+
type: chunkBMPGUGYZ_cjs.CONTRACT_POLL_TASK_TYPE,
|
|
64
64
|
data: {},
|
|
65
65
|
createdAt: Date.now()
|
|
66
66
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { W as WalletRepository, C as ContractRepository } from '../../index-
|
|
2
|
-
import {
|
|
3
|
-
import { T as TaskProcessor } from '../../taskRunner-
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository } from '../../index-BIL9boGL.cjs';
|
|
2
|
+
import { a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-Bn3FoNkc.cjs';
|
|
3
|
+
import { T as TaskProcessor } from '../../taskRunner-z_BGID85.cjs';
|
|
4
4
|
import '@scure/btc-signer/utils.js';
|
|
5
5
|
import '@scure/btc-signer/transaction.js';
|
|
6
6
|
import '@scure/btc-signer';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { W as WalletRepository, C as ContractRepository } from '../../index-
|
|
2
|
-
import {
|
|
3
|
-
import { T as TaskProcessor } from '../../taskRunner-
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository } from '../../index-BIL9boGL.js';
|
|
2
|
+
import { a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-CeYTmuGU.js';
|
|
3
|
+
import { T as TaskProcessor } from '../../taskRunner-CRbuzUXR.js';
|
|
4
4
|
import '@scure/btc-signer/utils.js';
|
|
5
5
|
import '@scure/btc-signer/transaction.js';
|
|
6
6
|
import '@scure/btc-signer';
|
|
@@ -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-INTEA7D3.js';
|
|
2
|
+
import { contractPollProcessor, createTaskDependencies, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-BIRUBLP3.js';
|
|
3
|
+
import { getRandomId } from '../../chunk-LN4ZJZK4.js';
|
|
4
|
+
import '../../chunk-G6S4XSFI.js';
|
|
5
|
+
import '../../chunk-XCNAGBFR.js';
|
|
6
|
+
import '../../chunk-MTYQXZ2T.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
|
-
require('../../chunk-
|
|
3
|
+
var chunkBMPGUGYZ_cjs = require('../../chunk-BMPGUGYZ.cjs');
|
|
4
|
+
var chunkZTCDT7KB_cjs = require('../../chunk-ZTCDT7KB.cjs');
|
|
5
|
+
require('../../chunk-2AWDPVZI.cjs');
|
|
6
|
+
require('../../chunk-K5RED5VE.cjs');
|
|
7
|
+
require('../../chunk-NY5FN4VV.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 chunkZTCDT7KB_cjs.Wallet.create(config);
|
|
61
|
+
const processors = config.background.processors ?? [chunkBMPGUGYZ_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) => chunkZTCDT7KB_cjs.extendVirtualCoinForContract(vtxo, contract)
|
|
68
68
|
};
|
|
69
69
|
const { taskQueue } = config.background;
|
|
70
70
|
if ("persistConfig" in taskQueue) {
|
|
71
|
-
const arkServerUrl =
|
|
71
|
+
const arkServerUrl = chunkZTCDT7KB_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 chunkBMPGUGYZ_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(chunkBMPGUGYZ_cjs.CONTRACT_POLL_TASK_TYPE);
|
|
112
112
|
if (existing.length > 0) return;
|
|
113
113
|
const task = {
|
|
114
|
-
id:
|
|
115
|
-
type:
|
|
114
|
+
id: chunkZTCDT7KB_cjs.getRandomId(),
|
|
115
|
+
type: chunkBMPGUGYZ_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(chunkBMPGUGYZ_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 '../../hdWalletCapable-
|
|
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, E as ExtendedCoin, g as ArkTransaction, h as ActivityRegistry, i as Activity, j as IContractManager, k as GetNewAddressesOptions, l as NewAddress, m as IDelegateManager, S as SettleParams, n as SettlementEvent, o as SendParams, R as Recipient, p as IAssetManager } from '../../index-
|
|
3
|
-
import {
|
|
1
|
+
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../hdWalletCapable-D1ImQqlu.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, E as ExtendedCoin, g as ArkTransaction, h as ActivityRegistry, i as Activity, j as IContractManager, k as GetNewAddressesOptions, l as NewAddress, m as IDelegateManager, S as SettleParams, n as SettlementEvent, o as SendParams, R as Recipient, p as IAssetManager } from '../../index-BIL9boGL.cjs';
|
|
3
|
+
import { c as TaskQueue, T as TaskProcessor } from '../../taskRunner-z_BGID85.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-Cyv2suFd.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 '../../hdWalletCapable-
|
|
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, E as ExtendedCoin, g as ArkTransaction, h as ActivityRegistry, i as Activity, j as IContractManager, k as GetNewAddressesOptions, l as NewAddress, m as IDelegateManager, S as SettleParams, n as SettlementEvent, o as SendParams, R as Recipient, p as IAssetManager } from '../../index-
|
|
3
|
-
import {
|
|
1
|
+
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../hdWalletCapable-DvumVrKW.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, E as ExtendedCoin, g as ArkTransaction, h as ActivityRegistry, i as Activity, j as IContractManager, k as GetNewAddressesOptions, l as NewAddress, m as IDelegateManager, S as SettleParams, n as SettlementEvent, o as SendParams, R as Recipient, p as IAssetManager } from '../../index-BIL9boGL.js';
|
|
3
|
+
import { c as TaskQueue, T as TaskProcessor } from '../../taskRunner-CRbuzUXR.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-CyBnNY9v.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,
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-BIRUBLP3.js';
|
|
2
|
+
import { Wallet, extractArkProviderUrl, getRandomId, extendVirtualCoinForContract } from '../../chunk-LN4ZJZK4.js';
|
|
3
|
+
import '../../chunk-G6S4XSFI.js';
|
|
4
|
+
import '../../chunk-XCNAGBFR.js';
|
|
5
|
+
import '../../chunk-MTYQXZ2T.js';
|
|
6
6
|
import { hex } from '@scure/base';
|
|
7
7
|
|
|
8
8
|
function warnOnRemovedBackgroundFields(bg) {
|
|
@@ -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 chunkBMPGUGYZ_cjs = require('../../chunk-BMPGUGYZ.cjs');
|
|
4
|
+
require('../../chunk-ZTCDT7KB.cjs');
|
|
5
|
+
require('../../chunk-2AWDPVZI.cjs');
|
|
6
|
+
require('../../chunk-K5RED5VE.cjs');
|
|
7
|
+
require('../../chunk-NY5FN4VV.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 chunkBMPGUGYZ_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 chunkBMPGUGYZ_cjs.contractPollProcessor; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "createTaskDependencies", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkBMPGUGYZ_cjs.createTaskDependencies; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "runTasks", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkBMPGUGYZ_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,
|
|
3
|
-
export {
|
|
4
|
-
import '../../index-
|
|
1
|
+
import { T as TaskProcessor } from '../../taskRunner-z_BGID85.cjs';
|
|
2
|
+
export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, a as TaskDependencies, b as TaskItem, c as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-z_BGID85.cjs';
|
|
3
|
+
export { A as AsyncStorageLike, a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-Bn3FoNkc.cjs';
|
|
4
|
+
import '../../index-BIL9boGL.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,
|
|
3
|
-
export {
|
|
4
|
-
import '../../index-
|
|
1
|
+
import { T as TaskProcessor } from '../../taskRunner-CRbuzUXR.js';
|
|
2
|
+
export { C as CreateTaskDependenciesOptions, I as InMemoryTaskQueue, a as TaskDependencies, b as TaskItem, c as TaskQueue, d as TaskResult, e as createTaskDependencies, r as runTasks } from '../../taskRunner-CRbuzUXR.js';
|
|
3
|
+
export { A as AsyncStorageLike, a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-CeYTmuGU.js';
|
|
4
|
+
import '../../index-BIL9boGL.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-BIRUBLP3.js';
|
|
2
|
+
import '../../chunk-LN4ZJZK4.js';
|
|
3
|
+
import '../../chunk-G6S4XSFI.js';
|
|
4
|
+
import '../../chunk-XCNAGBFR.js';
|
|
5
|
+
import '../../chunk-MTYQXZ2T.js';
|
|
6
6
|
|
|
7
7
|
// src/worker/expo/taskQueue.ts
|
|
8
8
|
var InMemoryTaskQueue = class {
|