@arkade-os/sdk 0.5.8 → 0.5.10
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 +22 -4
- package/dist/adapters/expo.cjs +7 -7
- package/dist/adapters/expo.d.cts +2 -2
- package/dist/adapters/expo.d.ts +2 -2
- package/dist/adapters/expo.js +4 -4
- package/dist/{asyncStorageTaskQueue-B5NPtkXo.d.cts → asyncStorageTaskQueue-BSUY0Lz8.d.cts} +1 -1
- package/dist/{asyncStorageTaskQueue-YPwiJyVA.d.ts → asyncStorageTaskQueue-CXKwLEgC.d.ts} +1 -1
- package/dist/{chunk-XXNPX4MK.js → chunk-4DUTRRXF.js} +3 -3
- package/dist/{chunk-XXNPX4MK.js.map → chunk-4DUTRRXF.js.map} +1 -1
- package/dist/{chunk-OLKZUJIN.js → chunk-4HCV67LR.js} +3915 -2997
- package/dist/chunk-4HCV67LR.js.map +1 -0
- package/dist/{chunk-E7LKKEVR.js → chunk-4MC7NHQT.js} +17 -12
- package/dist/chunk-4MC7NHQT.js.map +1 -0
- package/dist/{chunk-EQ3JVVUR.cjs → chunk-6GEVB7AN.cjs} +4499 -3578
- package/dist/chunk-6GEVB7AN.cjs.map +1 -0
- package/dist/{chunk-FDJ734CH.js → chunk-DPFD5KBK.js} +5 -2
- package/dist/chunk-DPFD5KBK.js.map +1 -0
- package/dist/{chunk-F5O6JI2H.js → chunk-FMX2FMYH.js} +5 -5
- package/dist/{chunk-F5O6JI2H.js.map → chunk-FMX2FMYH.js.map} +1 -1
- package/dist/{chunk-JYQXB7OH.cjs → chunk-KOXW2WGD.cjs} +55 -57
- package/dist/chunk-KOXW2WGD.cjs.map +1 -0
- package/dist/{chunk-YTOABP6J.js → chunk-MPE7FTKE.js} +21 -12
- package/dist/chunk-MPE7FTKE.js.map +1 -0
- package/dist/{chunk-L7OOPAUG.cjs → chunk-OMZZQTDM.cjs} +22 -17
- package/dist/chunk-OMZZQTDM.cjs.map +1 -0
- package/dist/{chunk-U34GU5RM.js → chunk-PXEFYEKL.js} +16 -11
- package/dist/chunk-PXEFYEKL.js.map +1 -0
- package/dist/{chunk-3F5AJ235.js → chunk-QEREPVKU.js} +10 -12
- package/dist/chunk-QEREPVKU.js.map +1 -0
- package/dist/{chunk-4IDCSOP2.cjs → chunk-SJBQW6P4.cjs} +33 -28
- package/dist/chunk-SJBQW6P4.cjs.map +1 -0
- package/dist/{chunk-5PWL7WOT.cjs → chunk-UPIQZRNJ.cjs} +11 -11
- package/dist/{chunk-5PWL7WOT.cjs.map → chunk-UPIQZRNJ.cjs.map} +1 -1
- package/dist/{chunk-JQSHFSME.cjs → chunk-UU6GNWEC.cjs} +20 -20
- package/dist/{chunk-JQSHFSME.cjs.map → chunk-UU6GNWEC.cjs.map} +1 -1
- package/dist/{chunk-SOJDUKY6.cjs → chunk-UWPYUDO4.cjs} +28 -18
- package/dist/chunk-UWPYUDO4.cjs.map +1 -0
- package/dist/{chunk-FLPWNMX3.cjs → chunk-WIZCF5IX.cjs} +5 -2
- package/dist/chunk-WIZCF5IX.cjs.map +1 -0
- package/dist/{chunk-KWR37J6L.cjs → chunk-XWKQEAZE.cjs} +14 -18
- package/dist/chunk-XWKQEAZE.cjs.map +1 -0
- package/dist/{chunk-H7GT3QC4.js → chunk-ZTZH4KEF.js} +9 -13
- package/dist/chunk-ZTZH4KEF.js.map +1 -0
- package/dist/compiler.cjs +4 -4
- package/dist/compiler.js +3 -3
- package/dist/contracts/handlers/index.cjs +11 -11
- package/dist/contracts/handlers/index.d.cts +2 -3
- package/dist/contracts/handlers/index.d.ts +2 -3
- package/dist/contracts/handlers/index.js +4 -4
- package/dist/{index-Pk3i_MMU.d.ts → index-Bq349_ly.d.cts} +2322 -99
- package/dist/{index-CKzBYoDa.d.cts → index-D4ahI0W6.d.cts} +1 -2
- package/dist/{index-czozpKPT.d.cts → index-Mn2POBPj.d.ts} +2322 -99
- package/dist/{index-COs69e8T.d.ts → index-Yh5y9G4E.d.ts} +1 -2
- package/dist/index.cjs +359 -347
- package/dist/index.d.cts +1459 -1357
- package/dist/index.d.ts +1459 -1357
- package/dist/index.js +7 -7
- package/dist/repositories/realm/index.cjs +40 -40
- package/dist/repositories/realm/index.d.cts +2 -2
- package/dist/repositories/realm/index.d.ts +2 -2
- package/dist/repositories/realm/index.js +8 -8
- package/dist/repositories/sqlite/index.cjs +38 -38
- package/dist/repositories/sqlite/index.d.cts +2 -2
- package/dist/repositories/sqlite/index.d.ts +2 -2
- package/dist/repositories/sqlite/index.js +8 -8
- package/dist/{taskRunner-DXivOJHc.d.cts → taskRunner-1wolHThW.d.cts} +1 -1
- package/dist/{taskRunner-DBOqvP33.d.ts → taskRunner-C1maPp-c.d.ts} +1 -1
- package/dist/wallet/expo/background.cjs +17 -17
- package/dist/wallet/expo/background.d.cts +3 -3
- package/dist/wallet/expo/background.d.ts +3 -3
- package/dist/wallet/expo/background.js +9 -9
- package/dist/wallet/expo/index.cjs +18 -18
- package/dist/wallet/expo/index.d.cts +3 -5
- package/dist/wallet/expo/index.d.ts +3 -5
- package/dist/wallet/expo/index.js +8 -8
- package/dist/worker/expo/index.cjs +12 -12
- package/dist/worker/expo/index.d.cts +4 -4
- package/dist/worker/expo/index.d.ts +4 -4
- package/dist/worker/expo/index.js +8 -8
- package/package.json +1 -1
- package/dist/chunk-3F5AJ235.js.map +0 -1
- package/dist/chunk-4IDCSOP2.cjs.map +0 -1
- package/dist/chunk-E7LKKEVR.js.map +0 -1
- package/dist/chunk-EQ3JVVUR.cjs.map +0 -1
- package/dist/chunk-FDJ734CH.js.map +0 -1
- package/dist/chunk-FLPWNMX3.cjs.map +0 -1
- package/dist/chunk-H7GT3QC4.js.map +0 -1
- package/dist/chunk-JYQXB7OH.cjs.map +0 -1
- package/dist/chunk-KWR37J6L.cjs.map +0 -1
- package/dist/chunk-L7OOPAUG.cjs.map +0 -1
- package/dist/chunk-OLKZUJIN.js.map +0 -1
- package/dist/chunk-SOJDUKY6.cjs.map +0 -1
- package/dist/chunk-U34GU5RM.js.map +0 -1
- package/dist/chunk-YTOABP6J.js.map +0 -1
- package/dist/delegate-gGkUnYpi.d.cts +0 -92
- package/dist/delegate-iyDum4fw.d.ts +0 -92
- package/dist/keyringDescriptorProvider-CbNzWwbS.d.ts +0 -2095
- package/dist/keyringDescriptorProvider-nC8fIjBN.d.cts +0 -2095
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WalletRepository, C as ContractRepository,
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository, z as IndexerProvider, B as OperatorProvider, V as VirtualCoin, D as Contract, F as ExtendedVirtualCoin } from './index-Bq349_ly.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A task item represents a unit of work in the inbox.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WalletRepository, C as ContractRepository,
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository, z as IndexerProvider, B as OperatorProvider, V as VirtualCoin, D as Contract, F as ExtendedVirtualCoin } from './index-Mn2POBPj.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A task item represents a unit of work in the inbox.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
9
|
-
require('../../chunk-
|
|
10
|
-
require('../../chunk-
|
|
11
|
-
require('../../chunk-
|
|
3
|
+
var chunkUU6GNWEC_cjs = require('../../chunk-UU6GNWEC.cjs');
|
|
4
|
+
var chunkXWKQEAZE_cjs = require('../../chunk-XWKQEAZE.cjs');
|
|
5
|
+
var chunk6GEVB7AN_cjs = require('../../chunk-6GEVB7AN.cjs');
|
|
6
|
+
require('../../chunk-OMZZQTDM.cjs');
|
|
7
|
+
require('../../chunk-SJBQW6P4.cjs');
|
|
8
|
+
require('../../chunk-KOXW2WGD.cjs');
|
|
9
|
+
require('../../chunk-UPIQZRNJ.cjs');
|
|
10
|
+
require('../../chunk-UWPYUDO4.cjs');
|
|
11
|
+
require('../../chunk-WIZCF5IX.cjs');
|
|
12
12
|
var TaskManager = require('expo-task-manager');
|
|
13
13
|
var BackgroundTask = require('expo-background-task');
|
|
14
14
|
|
|
@@ -38,7 +38,7 @@ function defineExpoBackgroundTask(taskName, options) {
|
|
|
38
38
|
taskQueue,
|
|
39
39
|
walletRepository,
|
|
40
40
|
contractRepository,
|
|
41
|
-
processors = [
|
|
41
|
+
processors = [chunkXWKQEAZE_cjs.contractPollProcessor]
|
|
42
42
|
} = options;
|
|
43
43
|
TaskManager__namespace.defineTask(taskName, async () => {
|
|
44
44
|
try {
|
|
@@ -46,24 +46,24 @@ function defineExpoBackgroundTask(taskName, options) {
|
|
|
46
46
|
if (!config) {
|
|
47
47
|
return BackgroundTask__namespace.BackgroundTaskResult.Success;
|
|
48
48
|
}
|
|
49
|
-
const indexerProvider = new
|
|
50
|
-
const arkProvider = new
|
|
51
|
-
const deps =
|
|
49
|
+
const indexerProvider = new chunkUU6GNWEC_cjs.ExpoIndexerProvider(config.arkServerUrl);
|
|
50
|
+
const arkProvider = new chunkUU6GNWEC_cjs.ExpoOperatorProvider(config.arkServerUrl);
|
|
51
|
+
const deps = chunkXWKQEAZE_cjs.createTaskDependencies({
|
|
52
52
|
walletRepository,
|
|
53
53
|
contractRepository,
|
|
54
54
|
indexerProvider,
|
|
55
55
|
arkProvider
|
|
56
56
|
});
|
|
57
|
-
await
|
|
57
|
+
await chunkXWKQEAZE_cjs.runTasks(taskQueue, processors, deps);
|
|
58
58
|
const results = await taskQueue.getResults();
|
|
59
59
|
if (results.length > 0) {
|
|
60
60
|
await taskQueue.acknowledgeResults(results.map((r) => r.id));
|
|
61
61
|
}
|
|
62
|
-
const existing = await taskQueue.getTasks(
|
|
62
|
+
const existing = await taskQueue.getTasks(chunkXWKQEAZE_cjs.CONTRACT_POLL_TASK_TYPE);
|
|
63
63
|
if (existing.length === 0) {
|
|
64
64
|
const task = {
|
|
65
|
-
id:
|
|
66
|
-
type:
|
|
65
|
+
id: chunk6GEVB7AN_cjs.getRandomId(),
|
|
66
|
+
type: chunkXWKQEAZE_cjs.CONTRACT_POLL_TASK_TYPE,
|
|
67
67
|
data: {},
|
|
68
68
|
createdAt: Date.now()
|
|
69
69
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { W as WalletRepository, C as ContractRepository } from '../../index-
|
|
2
|
-
import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-
|
|
3
|
-
import { T as TaskProcessor } from '../../taskRunner-
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository } from '../../index-Bq349_ly.cjs';
|
|
2
|
+
import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-BSUY0Lz8.cjs';
|
|
3
|
+
import { T as TaskProcessor } from '../../taskRunner-1wolHThW.cjs';
|
|
4
4
|
import '@scure/btc-signer/utils.js';
|
|
5
5
|
import '@scure/btc-signer';
|
|
6
6
|
import '@scure/btc-signer/psbt.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { W as WalletRepository, C as ContractRepository } from '../../index-
|
|
2
|
-
import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-
|
|
3
|
-
import { T as TaskProcessor } from '../../taskRunner-
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository } from '../../index-Mn2POBPj.js';
|
|
2
|
+
import { A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-CXKwLEgC.js';
|
|
3
|
+
import { T as TaskProcessor } from '../../taskRunner-C1maPp-c.js';
|
|
4
4
|
import '@scure/btc-signer/utils.js';
|
|
5
5
|
import '@scure/btc-signer';
|
|
6
6
|
import '@scure/btc-signer/psbt.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ExpoIndexerProvider, ExpoOperatorProvider } 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-
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
1
|
+
import { ExpoIndexerProvider, ExpoOperatorProvider } from '../../chunk-FMX2FMYH.js';
|
|
2
|
+
import { contractPollProcessor, createTaskDependencies, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-ZTZH4KEF.js';
|
|
3
|
+
import { getRandomId } from '../../chunk-4HCV67LR.js';
|
|
4
|
+
import '../../chunk-PXEFYEKL.js';
|
|
5
|
+
import '../../chunk-4MC7NHQT.js';
|
|
6
|
+
import '../../chunk-QEREPVKU.js';
|
|
7
|
+
import '../../chunk-4DUTRRXF.js';
|
|
8
|
+
import '../../chunk-MPE7FTKE.js';
|
|
9
|
+
import '../../chunk-DPFD5KBK.js';
|
|
10
10
|
import * as TaskManager from 'expo-task-manager';
|
|
11
11
|
import * as BackgroundTask from 'expo-background-task';
|
|
12
12
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
9
|
-
var
|
|
10
|
-
require('../../chunk-
|
|
3
|
+
var chunkXWKQEAZE_cjs = require('../../chunk-XWKQEAZE.cjs');
|
|
4
|
+
var chunk6GEVB7AN_cjs = require('../../chunk-6GEVB7AN.cjs');
|
|
5
|
+
require('../../chunk-OMZZQTDM.cjs');
|
|
6
|
+
require('../../chunk-SJBQW6P4.cjs');
|
|
7
|
+
require('../../chunk-KOXW2WGD.cjs');
|
|
8
|
+
require('../../chunk-UPIQZRNJ.cjs');
|
|
9
|
+
var chunkUWPYUDO4_cjs = require('../../chunk-UWPYUDO4.cjs');
|
|
10
|
+
require('../../chunk-WIZCF5IX.cjs');
|
|
11
11
|
var base = require('@scure/base');
|
|
12
12
|
|
|
13
13
|
function warnOnRemovedBackgroundFields(bg) {
|
|
@@ -59,20 +59,20 @@ var ExpoWallet = class _ExpoWallet {
|
|
|
59
59
|
* by the consumer.
|
|
60
60
|
*/
|
|
61
61
|
static async setup(config) {
|
|
62
|
-
|
|
62
|
+
chunkUWPYUDO4_cjs.assertTimerMs("foregroundIntervalMs", config.background.foregroundIntervalMs);
|
|
63
63
|
warnOnRemovedBackgroundFields(config.background);
|
|
64
|
-
const wallet = await
|
|
65
|
-
const processors = config.background.processors ?? [
|
|
64
|
+
const wallet = await chunk6GEVB7AN_cjs.Wallet.create(config);
|
|
65
|
+
const processors = config.background.processors ?? [chunkXWKQEAZE_cjs.contractPollProcessor];
|
|
66
66
|
const deps = {
|
|
67
67
|
walletRepository: wallet.walletRepository,
|
|
68
68
|
contractRepository: wallet.contractRepository,
|
|
69
69
|
indexerProvider: wallet.indexerProvider,
|
|
70
70
|
arkProvider: wallet.arkProvider,
|
|
71
|
-
extendVtxo: (vtxo, contract) =>
|
|
71
|
+
extendVtxo: (vtxo, contract) => chunk6GEVB7AN_cjs.extendVirtualCoinForContract(vtxo, contract)
|
|
72
72
|
};
|
|
73
73
|
const { taskQueue } = config.background;
|
|
74
74
|
if ("persistConfig" in taskQueue) {
|
|
75
|
-
const arkServerUrl =
|
|
75
|
+
const arkServerUrl = chunk6GEVB7AN_cjs.extractOperatorProviderUrl(wallet.arkProvider);
|
|
76
76
|
if (typeof arkServerUrl === "string" && arkServerUrl.length > 0) {
|
|
77
77
|
const timelock = wallet.offchainTapscript.options.csvTimelock;
|
|
78
78
|
const bgConfig = {
|
|
@@ -103,7 +103,7 @@ var ExpoWallet = class _ExpoWallet {
|
|
|
103
103
|
}
|
|
104
104
|
async runForegroundPoll() {
|
|
105
105
|
if (this.cleared) return;
|
|
106
|
-
await
|
|
106
|
+
await chunkXWKQEAZE_cjs.runTasks(this.taskQueue, this.processors, this.deps);
|
|
107
107
|
const results = await this.taskQueue.getResults();
|
|
108
108
|
if (results.length > 0) {
|
|
109
109
|
await this.taskQueue.acknowledgeResults(results.map((r) => r.id));
|
|
@@ -112,18 +112,18 @@ var ExpoWallet = class _ExpoWallet {
|
|
|
112
112
|
await this.seedContractPollTask();
|
|
113
113
|
}
|
|
114
114
|
async seedContractPollTask() {
|
|
115
|
-
const existing = await this.taskQueue.getTasks(
|
|
115
|
+
const existing = await this.taskQueue.getTasks(chunkXWKQEAZE_cjs.CONTRACT_POLL_TASK_TYPE);
|
|
116
116
|
if (existing.length > 0) return;
|
|
117
117
|
const task = {
|
|
118
|
-
id:
|
|
119
|
-
type:
|
|
118
|
+
id: chunk6GEVB7AN_cjs.getRandomId(),
|
|
119
|
+
type: chunkXWKQEAZE_cjs.CONTRACT_POLL_TASK_TYPE,
|
|
120
120
|
data: {},
|
|
121
121
|
createdAt: Date.now()
|
|
122
122
|
};
|
|
123
123
|
await this.taskQueue.addTask(task);
|
|
124
124
|
}
|
|
125
125
|
async removeContractPollTasks() {
|
|
126
|
-
const tasks = await this.taskQueue.getTasks(
|
|
126
|
+
const tasks = await this.taskQueue.getTasks(chunkXWKQEAZE_cjs.CONTRACT_POLL_TASK_TYPE);
|
|
127
127
|
for (const task of tasks) {
|
|
128
128
|
await this.taskQueue.removeTask(task.id);
|
|
129
129
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Transaction } from '@scure/btc-signer';
|
|
2
|
-
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable,
|
|
3
|
-
import {
|
|
4
|
-
import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-DXivOJHc.cjs';
|
|
5
|
-
import '@scure/btc-signer/psbt.js';
|
|
2
|
+
import { I as IWallet, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, b as Identity, c as Wallet, d as WalletConfig, G as GetOperatorInfoOptions, O as OperatorInfo, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, h as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, i as GetSpendableVtxosFilter, E as ExtendedCoin, j as ArkTransaction, k as ActivityRegistry, l as Activity, m as IContractManager, n as GetNewAddressesOptions, o as NewAddress, P as ProviderConnectionState, p as IDelegateManager, S as SettleParams, q as SettlementEvent, r as SendParams, R as Recipient, s as SendOnchainParams, t as IAssetManager } from '../../index-Bq349_ly.cjs';
|
|
3
|
+
import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-1wolHThW.cjs';
|
|
6
4
|
import '@scure/btc-signer/utils.js';
|
|
5
|
+
import '@scure/btc-signer/psbt.js';
|
|
7
6
|
import '../../base-C-Y5t_0F.cjs';
|
|
8
|
-
import '../../delegate-gGkUnYpi.cjs';
|
|
9
7
|
import '@scure/btc-signer/transaction.js';
|
|
10
8
|
|
|
11
9
|
/**
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Transaction } from '@scure/btc-signer';
|
|
2
|
-
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable,
|
|
3
|
-
import {
|
|
4
|
-
import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-DBOqvP33.js';
|
|
5
|
-
import '@scure/btc-signer/psbt.js';
|
|
2
|
+
import { I as IWallet, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, b as Identity, c as Wallet, d as WalletConfig, G as GetOperatorInfoOptions, O as OperatorInfo, e as ArkadeReader, f as ArkadeBroadcaster, g as WalletBalance, h as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, i as GetSpendableVtxosFilter, E as ExtendedCoin, j as ArkTransaction, k as ActivityRegistry, l as Activity, m as IContractManager, n as GetNewAddressesOptions, o as NewAddress, P as ProviderConnectionState, p as IDelegateManager, S as SettleParams, q as SettlementEvent, r as SendParams, R as Recipient, s as SendOnchainParams, t as IAssetManager } from '../../index-Mn2POBPj.js';
|
|
3
|
+
import { a as TaskQueue, T as TaskProcessor } from '../../taskRunner-C1maPp-c.js';
|
|
6
4
|
import '@scure/btc-signer/utils.js';
|
|
5
|
+
import '@scure/btc-signer/psbt.js';
|
|
7
6
|
import '../../base-C-Y5t_0F.js';
|
|
8
|
-
import '../../delegate-iyDum4fw.js';
|
|
9
7
|
import '@scure/btc-signer/transaction.js';
|
|
10
8
|
|
|
11
9
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-
|
|
2
|
-
import { Wallet, extractOperatorProviderUrl, getRandomId, extendVirtualCoinForContract } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import { assertTimerMs } from '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
1
|
+
import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-ZTZH4KEF.js';
|
|
2
|
+
import { Wallet, extractOperatorProviderUrl, getRandomId, extendVirtualCoinForContract } from '../../chunk-4HCV67LR.js';
|
|
3
|
+
import '../../chunk-PXEFYEKL.js';
|
|
4
|
+
import '../../chunk-4MC7NHQT.js';
|
|
5
|
+
import '../../chunk-QEREPVKU.js';
|
|
6
|
+
import '../../chunk-4DUTRRXF.js';
|
|
7
|
+
import { assertTimerMs } from '../../chunk-MPE7FTKE.js';
|
|
8
|
+
import '../../chunk-DPFD5KBK.js';
|
|
9
9
|
import { hex } from '@scure/base';
|
|
10
10
|
|
|
11
11
|
function warnOnRemovedBackgroundFields(bg) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
9
|
-
require('../../chunk-
|
|
10
|
-
require('../../chunk-
|
|
3
|
+
var chunkXWKQEAZE_cjs = require('../../chunk-XWKQEAZE.cjs');
|
|
4
|
+
require('../../chunk-6GEVB7AN.cjs');
|
|
5
|
+
require('../../chunk-OMZZQTDM.cjs');
|
|
6
|
+
require('../../chunk-SJBQW6P4.cjs');
|
|
7
|
+
require('../../chunk-KOXW2WGD.cjs');
|
|
8
|
+
require('../../chunk-UPIQZRNJ.cjs');
|
|
9
|
+
require('../../chunk-UWPYUDO4.cjs');
|
|
10
|
+
require('../../chunk-WIZCF5IX.cjs');
|
|
11
11
|
|
|
12
12
|
// src/worker/expo/taskQueue.ts
|
|
13
13
|
var InMemoryTaskQueue = class {
|
|
@@ -123,19 +123,19 @@ var AsyncStorageTaskQueue = class {
|
|
|
123
123
|
|
|
124
124
|
Object.defineProperty(exports, "CONTRACT_POLL_TASK_TYPE", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkXWKQEAZE_cjs.CONTRACT_POLL_TASK_TYPE; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "contractPollProcessor", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkXWKQEAZE_cjs.contractPollProcessor; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "createTaskDependencies", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkXWKQEAZE_cjs.createTaskDependencies; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "runTasks", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkXWKQEAZE_cjs.runTasks; }
|
|
139
139
|
});
|
|
140
140
|
exports.AsyncStorageTaskQueue = AsyncStorageTaskQueue;
|
|
141
141
|
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-1wolHThW.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-1wolHThW.cjs';
|
|
3
|
+
export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-BSUY0Lz8.cjs';
|
|
4
|
+
import '../../index-Bq349_ly.cjs';
|
|
5
5
|
import '@scure/btc-signer/utils.js';
|
|
6
6
|
import '@scure/btc-signer';
|
|
7
7
|
import '@scure/btc-signer/psbt.js';
|
|
@@ -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-C1maPp-c.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-C1maPp-c.js';
|
|
3
|
+
export { a as AsyncStorageLike, A as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-CXKwLEgC.js';
|
|
4
|
+
import '../../index-Mn2POBPj.js';
|
|
5
5
|
import '@scure/btc-signer/utils.js';
|
|
6
6
|
import '@scure/btc-signer';
|
|
7
7
|
import '@scure/btc-signer/psbt.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { CONTRACT_POLL_TASK_TYPE, contractPollProcessor, createTaskDependencies, runTasks } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
1
|
+
export { CONTRACT_POLL_TASK_TYPE, contractPollProcessor, createTaskDependencies, runTasks } from '../../chunk-ZTZH4KEF.js';
|
|
2
|
+
import '../../chunk-4HCV67LR.js';
|
|
3
|
+
import '../../chunk-PXEFYEKL.js';
|
|
4
|
+
import '../../chunk-4MC7NHQT.js';
|
|
5
|
+
import '../../chunk-QEREPVKU.js';
|
|
6
|
+
import '../../chunk-4DUTRRXF.js';
|
|
7
|
+
import '../../chunk-MPE7FTKE.js';
|
|
8
|
+
import '../../chunk-DPFD5KBK.js';
|
|
9
9
|
|
|
10
10
|
// src/worker/expo/taskQueue.ts
|
|
11
11
|
var InMemoryTaskQueue = class {
|