@arkade-os/sdk 0.5.6 → 0.5.7
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/dist/adapters/expo.cjs +6 -6
- 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-Bh2n0msM.d.cts → asyncStorageTaskQueue-B9byr6ij.d.cts} +2 -2
- package/dist/{asyncStorageTaskQueue-CpkstKZ5.d.ts → asyncStorageTaskQueue-XP4CCdRY.d.ts} +2 -2
- package/dist/{chunk-HKEPJBTY.cjs → chunk-3NALVGMJ.cjs} +16 -16
- package/dist/{chunk-HKEPJBTY.cjs.map → chunk-3NALVGMJ.cjs.map} +1 -1
- package/dist/{chunk-VWW2ZBPI.js → chunk-4AJRIM44.js} +4 -4
- package/dist/{chunk-VWW2ZBPI.js.map → chunk-4AJRIM44.js.map} +1 -1
- package/dist/{chunk-NDQ4LB4X.cjs → chunk-MQUATTIM.cjs} +8 -8
- package/dist/{chunk-NDQ4LB4X.cjs.map → chunk-MQUATTIM.cjs.map} +1 -1
- package/dist/{chunk-DJYX73W2.js → chunk-MWEDDWFU.js} +4 -4
- package/dist/{chunk-DJYX73W2.js.map → chunk-MWEDDWFU.js.map} +1 -1
- package/dist/{chunk-C7NY6WSA.js → chunk-MWMO2ZQP.js} +3 -3
- package/dist/{chunk-C7NY6WSA.js.map → chunk-MWMO2ZQP.js.map} +1 -1
- package/dist/{chunk-4X67IB2V.cjs → chunk-MXCB6EVM.cjs} +15 -15
- package/dist/{chunk-4X67IB2V.cjs.map → chunk-MXCB6EVM.cjs.map} +1 -1
- package/dist/{chunk-LZAINCGU.cjs → chunk-OMPDPBT5.cjs} +3 -3
- package/dist/chunk-OMPDPBT5.cjs.map +1 -0
- package/dist/{chunk-YKT4NAQG.js → chunk-RLD7DRSZ.js} +341 -25
- package/dist/chunk-RLD7DRSZ.js.map +1 -0
- package/dist/{chunk-Y3CDDPWI.cjs → chunk-URGVQ5TQ.cjs} +756 -434
- package/dist/chunk-URGVQ5TQ.cjs.map +1 -0
- package/dist/{chunk-47Z4LEIW.js → chunk-V2DDN4MV.js} +3 -3
- package/dist/{chunk-47Z4LEIW.js.map → chunk-V2DDN4MV.js.map} +1 -1
- package/dist/{chunk-YS76JSGP.cjs → chunk-V5WRO3P6.cjs} +10 -10
- package/dist/{chunk-YS76JSGP.cjs.map → chunk-V5WRO3P6.cjs.map} +1 -1
- package/dist/{chunk-QTMK34TP.js → chunk-VMVFRTF4.js} +3 -3
- package/dist/chunk-VMVFRTF4.js.map +1 -0
- package/dist/contracts/handlers/index.cjs +9 -9
- package/dist/contracts/handlers/index.d.cts +2 -2
- package/dist/contracts/handlers/index.d.ts +2 -2
- package/dist/contracts/handlers/index.js +2 -2
- package/dist/{index-C66rjxz2.d.ts → index-18cDMayF.d.ts} +1 -1
- package/dist/{index-2wKMrT0a.d.ts → index-B_kcptF8.d.ts} +1 -1
- package/dist/{index-46g577Ka.d.cts → index-Ccfhdfvj.d.cts} +1 -1
- package/dist/{index-Dqk07NwJ.d.cts → index-DDJFHfba.d.cts} +1 -1
- package/dist/index.cjs +335 -311
- package/dist/index.d.cts +72 -121
- package/dist/index.d.ts +72 -121
- package/dist/index.js +4 -4
- package/dist/{keyringDescriptorProvider-DiBM4GmB.d.ts → keyringDescriptorProvider-DL-jAiRO.d.ts} +150 -2
- package/dist/{keyringDescriptorProvider-DnaLUC7v.d.cts → keyringDescriptorProvider-Dtv0JWrT.d.cts} +150 -2
- package/dist/repositories/realm/index.cjs +37 -37
- 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 +35 -35
- 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-BM6IAKlS.d.ts → taskRunner-DUafWu0o.d.ts} +2 -2
- package/dist/{taskRunner-BmDIZiSl.d.cts → taskRunner-JYHaLPne.d.cts} +2 -2
- package/dist/wallet/expo/background.cjs +14 -14
- package/dist/wallet/expo/background.d.cts +3 -3
- package/dist/wallet/expo/background.d.ts +3 -3
- package/dist/wallet/expo/background.js +6 -6
- package/dist/wallet/expo/index.cjs +15 -15
- package/dist/wallet/expo/index.d.cts +3 -3
- package/dist/wallet/expo/index.d.ts +3 -3
- 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 +2 -2
- package/dist/chunk-LZAINCGU.cjs.map +0 -1
- package/dist/chunk-QTMK34TP.js.map +0 -1
- package/dist/chunk-Y3CDDPWI.cjs.map +0 -1
- package/dist/chunk-YKT4NAQG.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkURGVQ5TQ_cjs = require('../../chunk-URGVQ5TQ.cjs');
|
|
4
4
|
require('../../chunk-X6ZI53DZ.cjs');
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
5
|
+
require('../../chunk-3NALVGMJ.cjs');
|
|
6
|
+
require('../../chunk-MQUATTIM.cjs');
|
|
7
7
|
require('../../chunk-JFJNB7ZH.cjs');
|
|
8
|
-
var
|
|
8
|
+
var chunkOMPDPBT5_cjs = require('../../chunk-OMPDPBT5.cjs');
|
|
9
9
|
require('../../chunk-FLPWNMX3.cjs');
|
|
10
10
|
|
|
11
11
|
// src/repositories/sqlite/transaction.ts
|
|
@@ -242,7 +242,7 @@ var SQLiteWalletRepository = class {
|
|
|
242
242
|
for (const row of nullRows) {
|
|
243
243
|
await tx.run(
|
|
244
244
|
`UPDATE ${this.tables.vtxos} SET script = ? WHERE txid = ? AND vout = ?`,
|
|
245
|
-
[
|
|
245
|
+
[chunkURGVQ5TQ_cjs.scriptFromArkAddress(row.address), row.txid, row.vout]
|
|
246
246
|
);
|
|
247
247
|
}
|
|
248
248
|
const tempName = `${this.tables.vtxos}__migrate_tmp`;
|
|
@@ -283,7 +283,7 @@ var SQLiteWalletRepository = class {
|
|
|
283
283
|
WHERE virtual_status_json IS NOT NULL AND is_swept IS NULL`
|
|
284
284
|
);
|
|
285
285
|
for (const row of rows) {
|
|
286
|
-
const facts =
|
|
286
|
+
const facts = chunkURGVQ5TQ_cjs.legacyVtxoFacts(row.virtual_status_json);
|
|
287
287
|
if (!facts) continue;
|
|
288
288
|
await tx.run(
|
|
289
289
|
`UPDATE ${this.tables.vtxos}
|
|
@@ -375,7 +375,7 @@ var SQLiteWalletRepository = class {
|
|
|
375
375
|
expires_at, expires_at_height,
|
|
376
376
|
spent_by, settled_by, ark_tx_id, extra_witness_json, assets_json, script`,
|
|
377
377
|
vtxos.map((vtxo) => {
|
|
378
|
-
const s =
|
|
378
|
+
const s = chunkURGVQ5TQ_cjs.serializeVtxo(vtxo);
|
|
379
379
|
return [
|
|
380
380
|
s.txid,
|
|
381
381
|
s.vout,
|
|
@@ -387,7 +387,7 @@ var SQLiteWalletRepository = class {
|
|
|
387
387
|
s.intentTapLeafScript.cb,
|
|
388
388
|
s.intentTapLeafScript.s,
|
|
389
389
|
JSON.stringify(s.status),
|
|
390
|
-
|
|
390
|
+
chunkURGVQ5TQ_cjs.createdAtToIso(s.createdAt),
|
|
391
391
|
s.isUnrolled ? 1 : 0,
|
|
392
392
|
s.isSpent === void 0 ? null : s.isSpent ? 1 : 0,
|
|
393
393
|
s.isSwept === void 0 ? null : s.isSwept ? 1 : 0,
|
|
@@ -410,7 +410,7 @@ var SQLiteWalletRepository = class {
|
|
|
410
410
|
await this.db.run(`DELETE FROM ${this.tables.vtxos} WHERE address = ?`, [address]);
|
|
411
411
|
}
|
|
412
412
|
async getVtxosForScriptPage(script, page, options) {
|
|
413
|
-
|
|
413
|
+
chunkURGVQ5TQ_cjs.assertPageRequest(page);
|
|
414
414
|
await this.ensureInit();
|
|
415
415
|
const after = page.after;
|
|
416
416
|
const rows = await this.db.all(
|
|
@@ -428,15 +428,15 @@ var SQLiteWalletRepository = class {
|
|
|
428
428
|
page.limit + 1
|
|
429
429
|
] : [script, page.limit + 1]
|
|
430
430
|
);
|
|
431
|
-
const result =
|
|
431
|
+
const result = chunkURGVQ5TQ_cjs.pageResult(
|
|
432
432
|
rows.map((row) => ({ address: row.address, vtxo: vtxoRowToDomain(row) })),
|
|
433
433
|
page.limit,
|
|
434
434
|
(row) => ({ address: row.address, txid: row.vtxo.txid, vout: row.vtxo.vout })
|
|
435
435
|
);
|
|
436
|
-
return options?.unspentOnly ? { ...result, items: result.items.filter((row) => !
|
|
436
|
+
return options?.unspentOnly ? { ...result, items: result.items.filter((row) => !chunkOMPDPBT5_cjs.isVtxoSpent(row.vtxo)) } : result;
|
|
437
437
|
}
|
|
438
438
|
async saveVtxosForScript(key, vtxos) {
|
|
439
|
-
return this.saveVtxos(
|
|
439
|
+
return this.saveVtxos(chunkURGVQ5TQ_cjs.checkSaveVtxosForScript("SQLiteWalletRepository", key, vtxos), vtxos);
|
|
440
440
|
}
|
|
441
441
|
async deleteVtxosForScript(script) {
|
|
442
442
|
await this.ensureInit();
|
|
@@ -447,21 +447,21 @@ var SQLiteWalletRepository = class {
|
|
|
447
447
|
return this.pageByAddress(this.tables.utxos, address, page, utxoRowToDomain);
|
|
448
448
|
}
|
|
449
449
|
async pageByAddress(table, address, page, deserialize) {
|
|
450
|
-
|
|
450
|
+
chunkURGVQ5TQ_cjs.assertPageRequest(page);
|
|
451
451
|
await this.ensureInit();
|
|
452
452
|
const rows = await this.db.all(
|
|
453
453
|
`SELECT * FROM ${table} WHERE address = ? AND (txid, vout) > (?, ?)
|
|
454
454
|
ORDER BY txid, vout LIMIT ?`,
|
|
455
455
|
[address, page.after?.txid ?? "", page.after?.vout ?? -1, page.limit + 1]
|
|
456
456
|
);
|
|
457
|
-
const result =
|
|
457
|
+
const result = chunkURGVQ5TQ_cjs.pageResult(rows, page.limit, ({ txid, vout }) => ({ txid, vout }));
|
|
458
458
|
return { items: result.items.map(deserialize), nextCursor: result.nextCursor };
|
|
459
459
|
}
|
|
460
460
|
async saveUtxos(addressOrBatch, utxos) {
|
|
461
461
|
await this.ensureInit();
|
|
462
|
-
const rows =
|
|
462
|
+
const rows = chunkURGVQ5TQ_cjs.utxoEntries(addressOrBatch, utxos).flatMap(
|
|
463
463
|
([address, list]) => list.map((utxo) => {
|
|
464
|
-
const s =
|
|
464
|
+
const s = chunkURGVQ5TQ_cjs.serializeUtxo(utxo);
|
|
465
465
|
return [
|
|
466
466
|
s.txid,
|
|
467
467
|
s.vout,
|
|
@@ -491,8 +491,8 @@ var SQLiteWalletRepository = class {
|
|
|
491
491
|
}
|
|
492
492
|
// ── Transaction history ────────────────────────────────────────────
|
|
493
493
|
async getTransactionHistoryPage(filter, page) {
|
|
494
|
-
|
|
495
|
-
|
|
494
|
+
chunkURGVQ5TQ_cjs.assertPageRequest(page);
|
|
495
|
+
chunkURGVQ5TQ_cjs.assertHistoryPageFilter(filter);
|
|
496
496
|
await this.ensureInit();
|
|
497
497
|
const conditions = ["address = ?"];
|
|
498
498
|
const params = [filter.address];
|
|
@@ -516,7 +516,7 @@ var SQLiteWalletRepository = class {
|
|
|
516
516
|
ORDER BY created_at, boarding_txid, commitment_txid, ark_txid LIMIT ?`,
|
|
517
517
|
[...params, page.limit + 1]
|
|
518
518
|
);
|
|
519
|
-
return
|
|
519
|
+
return chunkURGVQ5TQ_cjs.pageResult(rows.map(txRowToDomain), page.limit, (tx) => ({
|
|
520
520
|
createdAt: tx.createdAt,
|
|
521
521
|
key: tx.key
|
|
522
522
|
}));
|
|
@@ -536,7 +536,7 @@ var SQLiteWalletRepository = class {
|
|
|
536
536
|
tx.amount,
|
|
537
537
|
tx.settled ? 1 : 0,
|
|
538
538
|
tx.createdAt,
|
|
539
|
-
tx.assets ? JSON.stringify(
|
|
539
|
+
tx.assets ? JSON.stringify(chunkURGVQ5TQ_cjs.serializeAssets(tx.assets)) : null
|
|
540
540
|
])
|
|
541
541
|
);
|
|
542
542
|
}
|
|
@@ -558,7 +558,7 @@ var SQLiteWalletRepository = class {
|
|
|
558
558
|
settings: row.settings_json ? JSON.parse(row.settings_json) : void 0,
|
|
559
559
|
lastSyncTime: row.last_sync_time ?? void 0
|
|
560
560
|
} : {};
|
|
561
|
-
const state =
|
|
561
|
+
const state = chunkURGVQ5TQ_cjs.applyWalletStateUpdate(current, updater);
|
|
562
562
|
await tx.run(
|
|
563
563
|
`INSERT OR REPLACE INTO ${this.tables.walletState}
|
|
564
564
|
(key, settings_json, last_sync_time) VALUES (?, ?, ?)`,
|
|
@@ -631,9 +631,9 @@ function vtxoRowToDomain(row) {
|
|
|
631
631
|
// Post-migration every row has `script`, but the backfill is
|
|
632
632
|
// idempotent: derive from `address` if the legacy column is still
|
|
633
633
|
// null (e.g. the migration hasn't run yet on this handle).
|
|
634
|
-
script: row.script ??
|
|
634
|
+
script: row.script ?? chunkURGVQ5TQ_cjs.scriptFromArkAddress(row.address)
|
|
635
635
|
};
|
|
636
|
-
return
|
|
636
|
+
return chunkURGVQ5TQ_cjs.deserializeVtxo(serialized);
|
|
637
637
|
}
|
|
638
638
|
function utxoRowToDomain(row) {
|
|
639
639
|
const serialized = {
|
|
@@ -652,7 +652,7 @@ function utxoRowToDomain(row) {
|
|
|
652
652
|
status: JSON.parse(row.status_json),
|
|
653
653
|
extraWitness: row.extra_witness_json ? JSON.parse(row.extra_witness_json) : void 0
|
|
654
654
|
};
|
|
655
|
-
return
|
|
655
|
+
return chunkURGVQ5TQ_cjs.deserializeUtxo(serialized);
|
|
656
656
|
}
|
|
657
657
|
function txRowToDomain(row) {
|
|
658
658
|
const tx = {
|
|
@@ -667,7 +667,7 @@ function txRowToDomain(row) {
|
|
|
667
667
|
createdAt: row.created_at
|
|
668
668
|
};
|
|
669
669
|
if (row.assets_json) {
|
|
670
|
-
tx.assets =
|
|
670
|
+
tx.assets = chunkURGVQ5TQ_cjs.deserializeAssets(JSON.parse(row.assets_json));
|
|
671
671
|
}
|
|
672
672
|
return tx;
|
|
673
673
|
}
|
|
@@ -737,9 +737,9 @@ var SQLiteContractRepository = class {
|
|
|
737
737
|
}
|
|
738
738
|
// ── Contract management ────────────────────────────────────────────
|
|
739
739
|
async getContractsPage(filter, page) {
|
|
740
|
-
|
|
740
|
+
chunkURGVQ5TQ_cjs.assertPageRequest(page);
|
|
741
741
|
await this.ensureInit();
|
|
742
|
-
if (
|
|
742
|
+
if (chunkURGVQ5TQ_cjs.contractFilterMatchesNothing(filter)) return { items: [] };
|
|
743
743
|
const conditions = [];
|
|
744
744
|
const params = [];
|
|
745
745
|
if (filter) {
|
|
@@ -758,12 +758,12 @@ var SQLiteContractRepository = class {
|
|
|
758
758
|
[...params, ...after === void 0 ? [] : [after], page.limit + 1]
|
|
759
759
|
);
|
|
760
760
|
for (const contract of rows.map(contractRowToDomain)) {
|
|
761
|
-
if (!wanted || wanted.includes(
|
|
761
|
+
if (!wanted || wanted.includes(chunkURGVQ5TQ_cjs.scopeOf(contract))) matches.push(contract);
|
|
762
762
|
}
|
|
763
763
|
if (!wanted || rows.length <= page.limit || matches.length > page.limit) break;
|
|
764
764
|
after = rows[rows.length - 1].script;
|
|
765
765
|
}
|
|
766
|
-
return
|
|
766
|
+
return chunkURGVQ5TQ_cjs.pageResult(matches, page.limit, (contract) => contract.script);
|
|
767
767
|
}
|
|
768
768
|
async saveContract(contract) {
|
|
769
769
|
await this.ensureInit();
|
|
@@ -930,7 +930,7 @@ var SQLiteBatchRegistrationRepository = class {
|
|
|
930
930
|
});
|
|
931
931
|
}
|
|
932
932
|
async getBatchRegistrationsPage(filter, page) {
|
|
933
|
-
|
|
933
|
+
chunkURGVQ5TQ_cjs.assertPageRequest(page);
|
|
934
934
|
await this.ensureInit();
|
|
935
935
|
if (filter?.states?.length === 0) return { items: [] };
|
|
936
936
|
const stateSql = filter?.states ? ` AND state IN (${filter.states.map(() => "?").join(", ")})` : "";
|
|
@@ -947,19 +947,19 @@ var SQLiteBatchRegistrationRepository = class {
|
|
|
947
947
|
for (const row of batch) {
|
|
948
948
|
after = row.intent_tx_id;
|
|
949
949
|
const intent = rowToIntent(row);
|
|
950
|
-
if (!filter ||
|
|
950
|
+
if (!filter || chunkURGVQ5TQ_cjs.intentMatchesFilter(intent, filter)) rows.push(intent);
|
|
951
951
|
if (rows.length > page.limit) break;
|
|
952
952
|
}
|
|
953
953
|
if (batch.length < batchSize) break;
|
|
954
954
|
}
|
|
955
|
-
return
|
|
955
|
+
return chunkURGVQ5TQ_cjs.pageResult(rows, page.limit, (intent) => intent.proofTxId);
|
|
956
956
|
}
|
|
957
957
|
async getLockedVtxoOutpoints() {
|
|
958
958
|
await this.ensureInit();
|
|
959
959
|
const rows = await this.db.all(`SELECT * FROM ${this.t}`);
|
|
960
960
|
const out = [];
|
|
961
961
|
for (const r of rows) {
|
|
962
|
-
if (
|
|
962
|
+
if (chunkURGVQ5TQ_cjs.isTerminalBatchRegistrationState(r.state)) continue;
|
|
963
963
|
for (const o of JSON.parse(r.intent_vtxos_json)) out.push(o);
|
|
964
964
|
}
|
|
965
965
|
return out;
|
|
@@ -1055,7 +1055,7 @@ var SQLiteVirtualTxRepository = class {
|
|
|
1055
1055
|
const prev = prevByTxid.get(t.txid);
|
|
1056
1056
|
const psbt = t.psbt ?? prev?.psbt ?? null;
|
|
1057
1057
|
const expires = t.expiresAt ?? prev?.expires_at ?? null;
|
|
1058
|
-
const type =
|
|
1058
|
+
const type = chunkURGVQ5TQ_cjs.mergeChainedTxType(t.type, prev?.type);
|
|
1059
1059
|
await tx.run(
|
|
1060
1060
|
`INSERT OR REPLACE INTO ${this.tTx} (txid, psbt, expires_at, type) VALUES (?, ?, ?, ?)`,
|
|
1061
1061
|
[t.txid, psbt, expires, type]
|
|
@@ -1141,7 +1141,7 @@ function rowToTx(r) {
|
|
|
1141
1141
|
|
|
1142
1142
|
Object.defineProperty(exports, "ChainedTxType", {
|
|
1143
1143
|
enumerable: true,
|
|
1144
|
-
get: function () { return
|
|
1144
|
+
get: function () { return chunkURGVQ5TQ_cjs.ChainedTxType; }
|
|
1145
1145
|
});
|
|
1146
1146
|
exports.SQLiteBatchRegistrationRepository = SQLiteBatchRegistrationRepository;
|
|
1147
1147
|
exports.SQLiteContractRepository = SQLiteContractRepository;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as WalletRepository, Q as AtomicWalletState, P as PageRequest, B as Outpoint, D as PageResult, z as ExtendedVirtualCoin, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, E as ExtendedCoin, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, g as ArkTransaction, U as WalletState, C as ContractRepository, X as ContractFilter, y as Contract, Y as BatchRegistrationRepository, Z as BatchRegistration, _ as BatchRegistrationPageFilter, $ as VirtualTxRepository, a0 as VirtualTx, a1 as VtxoBranch } from '../../index-
|
|
2
|
-
export { a2 as ChainedTxType } from '../../index-
|
|
1
|
+
import { W as WalletRepository, Q as AtomicWalletState, P as PageRequest, B as Outpoint, D as PageResult, z as ExtendedVirtualCoin, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, E as ExtendedCoin, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, g as ArkTransaction, U as WalletState, C as ContractRepository, X as ContractFilter, y as Contract, Y as BatchRegistrationRepository, Z as BatchRegistration, _ as BatchRegistrationPageFilter, $ as VirtualTxRepository, a0 as VirtualTx, a1 as VtxoBranch } from '../../index-DDJFHfba.cjs';
|
|
2
|
+
export { a2 as ChainedTxType } from '../../index-DDJFHfba.cjs';
|
|
3
3
|
import '@scure/btc-signer/utils.js';
|
|
4
4
|
import '@scure/btc-signer';
|
|
5
5
|
import '@scure/btc-signer/psbt.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as WalletRepository, Q as AtomicWalletState, P as PageRequest, B as Outpoint, D as PageResult, z as ExtendedVirtualCoin, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, E as ExtendedCoin, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, g as ArkTransaction, U as WalletState, C as ContractRepository, X as ContractFilter, y as Contract, Y as BatchRegistrationRepository, Z as BatchRegistration, _ as BatchRegistrationPageFilter, $ as VirtualTxRepository, a0 as VirtualTx, a1 as VtxoBranch } from '../../index-
|
|
2
|
-
export { a2 as ChainedTxType } from '../../index-
|
|
1
|
+
import { W as WalletRepository, Q as AtomicWalletState, P as PageRequest, B as Outpoint, D as PageResult, z as ExtendedVirtualCoin, F as ScriptVtxoCursor, H as ScriptVtxoPageOptions, J as StoredVtxo, K as VtxoRepositoryKey, E as ExtendedCoin, L as TransactionHistoryPageFilter, M as TransactionHistoryPageCursor, g as ArkTransaction, U as WalletState, C as ContractRepository, X as ContractFilter, y as Contract, Y as BatchRegistrationRepository, Z as BatchRegistration, _ as BatchRegistrationPageFilter, $ as VirtualTxRepository, a0 as VirtualTx, a1 as VtxoBranch } from '../../index-18cDMayF.js';
|
|
2
|
+
export { a2 as ChainedTxType } from '../../index-18cDMayF.js';
|
|
3
3
|
import '@scure/btc-signer/utils.js';
|
|
4
4
|
import '@scure/btc-signer';
|
|
5
5
|
import '@scure/btc-signer/psbt.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { legacyVtxoFacts, serializeVtxo, createdAtToIso, assertPageRequest, pageResult, checkSaveVtxosForScript, utxoEntries, serializeUtxo, assertHistoryPageFilter, serializeAssets, scriptFromArkAddress, deserializeVtxo, deserializeUtxo, deserializeAssets, contractFilterMatchesNothing, scopeOf, intentMatchesFilter, isTerminalBatchRegistrationState, applyWalletStateUpdate, mergeChainedTxType } from '../../chunk-
|
|
2
|
-
export { ChainedTxType } from '../../chunk-
|
|
1
|
+
import { legacyVtxoFacts, serializeVtxo, createdAtToIso, assertPageRequest, pageResult, checkSaveVtxosForScript, utxoEntries, serializeUtxo, assertHistoryPageFilter, serializeAssets, scriptFromArkAddress, deserializeVtxo, deserializeUtxo, deserializeAssets, contractFilterMatchesNothing, scopeOf, intentMatchesFilter, isTerminalBatchRegistrationState, applyWalletStateUpdate, mergeChainedTxType } from '../../chunk-RLD7DRSZ.js';
|
|
2
|
+
export { ChainedTxType } from '../../chunk-RLD7DRSZ.js';
|
|
3
3
|
import '../../chunk-V3ZLL5VY.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-MWMO2ZQP.js';
|
|
5
|
+
import '../../chunk-V2DDN4MV.js';
|
|
6
6
|
import '../../chunk-DNFTHG73.js';
|
|
7
|
-
import { isVtxoSpent } from '../../chunk-
|
|
7
|
+
import { isVtxoSpent } from '../../chunk-VMVFRTF4.js';
|
|
8
8
|
import '../../chunk-FDJ734CH.js';
|
|
9
9
|
|
|
10
10
|
// src/repositories/sqlite/transaction.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WalletRepository, C as ContractRepository, w as IndexerProvider, x as OperatorProvider, V as VirtualCoin, y as Contract, z as ExtendedVirtualCoin } from './index-
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository, w as IndexerProvider, x as OperatorProvider, V as VirtualCoin, y as Contract, z as ExtendedVirtualCoin } from './index-18cDMayF.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, w as IndexerProvider, x as OperatorProvider, V as VirtualCoin, y as Contract, z as ExtendedVirtualCoin } from './index-
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository, w as IndexerProvider, x as OperatorProvider, V as VirtualCoin, y as Contract, z as ExtendedVirtualCoin } from './index-DDJFHfba.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,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkMXCB6EVM_cjs = require('../../chunk-MXCB6EVM.cjs');
|
|
4
|
+
var chunkV5WRO3P6_cjs = require('../../chunk-V5WRO3P6.cjs');
|
|
5
|
+
var chunkURGVQ5TQ_cjs = require('../../chunk-URGVQ5TQ.cjs');
|
|
6
6
|
require('../../chunk-X6ZI53DZ.cjs');
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
7
|
+
require('../../chunk-3NALVGMJ.cjs');
|
|
8
|
+
require('../../chunk-MQUATTIM.cjs');
|
|
9
9
|
require('../../chunk-JFJNB7ZH.cjs');
|
|
10
|
-
require('../../chunk-
|
|
10
|
+
require('../../chunk-OMPDPBT5.cjs');
|
|
11
11
|
require('../../chunk-FLPWNMX3.cjs');
|
|
12
12
|
var TaskManager = require('expo-task-manager');
|
|
13
13
|
var BackgroundTask = require('expo-background-task');
|
|
@@ -38,7 +38,7 @@ function defineExpoBackgroundTask(taskName, options) {
|
|
|
38
38
|
taskQueue,
|
|
39
39
|
walletRepository,
|
|
40
40
|
contractRepository,
|
|
41
|
-
processors = [
|
|
41
|
+
processors = [chunkV5WRO3P6_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 chunkMXCB6EVM_cjs.ExpoIndexerProvider(config.arkServerUrl);
|
|
50
|
+
const arkProvider = new chunkMXCB6EVM_cjs.ExpoOperatorProvider(config.arkServerUrl);
|
|
51
|
+
const deps = chunkV5WRO3P6_cjs.createTaskDependencies({
|
|
52
52
|
walletRepository,
|
|
53
53
|
contractRepository,
|
|
54
54
|
indexerProvider,
|
|
55
55
|
arkProvider
|
|
56
56
|
});
|
|
57
|
-
await
|
|
57
|
+
await chunkV5WRO3P6_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(chunkV5WRO3P6_cjs.CONTRACT_POLL_TASK_TYPE);
|
|
63
63
|
if (existing.length === 0) {
|
|
64
64
|
const task = {
|
|
65
|
-
id:
|
|
66
|
-
type:
|
|
65
|
+
id: chunkURGVQ5TQ_cjs.getRandomId(),
|
|
66
|
+
type: chunkV5WRO3P6_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 {
|
|
3
|
-
import { T as TaskProcessor } from '../../taskRunner-
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository } from '../../index-DDJFHfba.cjs';
|
|
2
|
+
import { a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-B9byr6ij.cjs';
|
|
3
|
+
import { T as TaskProcessor } from '../../taskRunner-JYHaLPne.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 {
|
|
3
|
-
import { T as TaskProcessor } from '../../taskRunner-
|
|
1
|
+
import { W as WalletRepository, C as ContractRepository } from '../../index-18cDMayF.js';
|
|
2
|
+
import { a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-XP4CCdRY.js';
|
|
3
|
+
import { T as TaskProcessor } from '../../taskRunner-DUafWu0o.js';
|
|
4
4
|
import '@scure/btc-signer/utils.js';
|
|
5
5
|
import '@scure/btc-signer';
|
|
6
6
|
import '@scure/btc-signer/psbt.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ExpoIndexerProvider, ExpoOperatorProvider } from '../../chunk-
|
|
2
|
-
import { contractPollProcessor, createTaskDependencies, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-
|
|
3
|
-
import { getRandomId } from '../../chunk-
|
|
1
|
+
import { ExpoIndexerProvider, ExpoOperatorProvider } from '../../chunk-MWEDDWFU.js';
|
|
2
|
+
import { contractPollProcessor, createTaskDependencies, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-4AJRIM44.js';
|
|
3
|
+
import { getRandomId } from '../../chunk-RLD7DRSZ.js';
|
|
4
4
|
import '../../chunk-V3ZLL5VY.js';
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-MWMO2ZQP.js';
|
|
6
|
+
import '../../chunk-V2DDN4MV.js';
|
|
7
7
|
import '../../chunk-DNFTHG73.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-VMVFRTF4.js';
|
|
9
9
|
import '../../chunk-FDJ734CH.js';
|
|
10
10
|
import * as TaskManager from 'expo-task-manager';
|
|
11
11
|
import * as BackgroundTask from 'expo-background-task';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkV5WRO3P6_cjs = require('../../chunk-V5WRO3P6.cjs');
|
|
4
|
+
var chunkURGVQ5TQ_cjs = require('../../chunk-URGVQ5TQ.cjs');
|
|
5
5
|
require('../../chunk-X6ZI53DZ.cjs');
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-3NALVGMJ.cjs');
|
|
7
|
+
require('../../chunk-MQUATTIM.cjs');
|
|
8
8
|
require('../../chunk-JFJNB7ZH.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunkOMPDPBT5_cjs = require('../../chunk-OMPDPBT5.cjs');
|
|
10
10
|
require('../../chunk-FLPWNMX3.cjs');
|
|
11
11
|
var base = require('@scure/base');
|
|
12
12
|
|
|
@@ -59,20 +59,20 @@ var ExpoWallet = class _ExpoWallet {
|
|
|
59
59
|
* by the consumer.
|
|
60
60
|
*/
|
|
61
61
|
static async setup(config) {
|
|
62
|
-
|
|
62
|
+
chunkOMPDPBT5_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 chunkURGVQ5TQ_cjs.Wallet.create(config);
|
|
65
|
+
const processors = config.background.processors ?? [chunkV5WRO3P6_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) => chunkURGVQ5TQ_cjs.extendVirtualCoinForContract(vtxo, contract)
|
|
72
72
|
};
|
|
73
73
|
const { taskQueue } = config.background;
|
|
74
74
|
if ("persistConfig" in taskQueue) {
|
|
75
|
-
const arkServerUrl =
|
|
75
|
+
const arkServerUrl = chunkURGVQ5TQ_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 chunkV5WRO3P6_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(chunkV5WRO3P6_cjs.CONTRACT_POLL_TASK_TYPE);
|
|
116
116
|
if (existing.length > 0) return;
|
|
117
117
|
const task = {
|
|
118
|
-
id:
|
|
119
|
-
type:
|
|
118
|
+
id: chunkURGVQ5TQ_cjs.getRandomId(),
|
|
119
|
+
type: chunkV5WRO3P6_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(chunkV5WRO3P6_cjs.CONTRACT_POLL_TASK_TYPE);
|
|
127
127
|
for (const task of tasks) {
|
|
128
128
|
await this.taskQueue.removeTask(task.id);
|
|
129
129
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Transaction } from '@scure/btc-signer';
|
|
2
|
-
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../keyringDescriptorProvider-
|
|
3
|
-
import { I as IWallet, a as Identity, b as WalletConfig, G as GetOperatorInfoOptions, O as OperatorInfo, A as ArkadeReader, c as ArkadeBroadcaster, d as WalletBalance, e as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, f as GetSpendableVtxosFilter, 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 SendOnchainParams, q as IAssetManager } from '../../index-
|
|
4
|
-
import {
|
|
2
|
+
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../keyringDescriptorProvider-Dtv0JWrT.cjs';
|
|
3
|
+
import { I as IWallet, a as Identity, b as WalletConfig, G as GetOperatorInfoOptions, O as OperatorInfo, A as ArkadeReader, c as ArkadeBroadcaster, d as WalletBalance, e as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, f as GetSpendableVtxosFilter, 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 SendOnchainParams, q as IAssetManager } from '../../index-DDJFHfba.cjs';
|
|
4
|
+
import { c as TaskQueue, T as TaskProcessor } from '../../taskRunner-JYHaLPne.cjs';
|
|
5
5
|
import '@scure/btc-signer/psbt.js';
|
|
6
6
|
import '@scure/btc-signer/utils.js';
|
|
7
7
|
import '../../base-C-Y5t_0F.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Transaction } from '@scure/btc-signer';
|
|
2
|
-
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../keyringDescriptorProvider-
|
|
3
|
-
import { I as IWallet, a as Identity, b as WalletConfig, G as GetOperatorInfoOptions, O as OperatorInfo, A as ArkadeReader, c as ArkadeBroadcaster, d as WalletBalance, e as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, f as GetSpendableVtxosFilter, 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 SendOnchainParams, q as IAssetManager } from '../../index-
|
|
4
|
-
import {
|
|
2
|
+
import { H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, W as Wallet, P as ProviderConnectionState } from '../../keyringDescriptorProvider-DL-jAiRO.js';
|
|
3
|
+
import { I as IWallet, a as Identity, b as WalletConfig, G as GetOperatorInfoOptions, O as OperatorInfo, A as ArkadeReader, c as ArkadeBroadcaster, d as WalletBalance, e as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, f as GetSpendableVtxosFilter, 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 SendOnchainParams, q as IAssetManager } from '../../index-18cDMayF.js';
|
|
4
|
+
import { c as TaskQueue, T as TaskProcessor } from '../../taskRunner-DUafWu0o.js';
|
|
5
5
|
import '@scure/btc-signer/psbt.js';
|
|
6
6
|
import '@scure/btc-signer/utils.js';
|
|
7
7
|
import '../../base-C-Y5t_0F.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-
|
|
2
|
-
import { Wallet, extractOperatorProviderUrl, getRandomId, extendVirtualCoinForContract } from '../../chunk-
|
|
1
|
+
import { contractPollProcessor, runTasks, CONTRACT_POLL_TASK_TYPE } from '../../chunk-4AJRIM44.js';
|
|
2
|
+
import { Wallet, extractOperatorProviderUrl, getRandomId, extendVirtualCoinForContract } from '../../chunk-RLD7DRSZ.js';
|
|
3
3
|
import '../../chunk-V3ZLL5VY.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-MWMO2ZQP.js';
|
|
5
|
+
import '../../chunk-V2DDN4MV.js';
|
|
6
6
|
import '../../chunk-DNFTHG73.js';
|
|
7
|
-
import { assertTimerMs } from '../../chunk-
|
|
7
|
+
import { assertTimerMs } from '../../chunk-VMVFRTF4.js';
|
|
8
8
|
import '../../chunk-FDJ734CH.js';
|
|
9
9
|
import { hex } from '@scure/base';
|
|
10
10
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkV5WRO3P6_cjs = require('../../chunk-V5WRO3P6.cjs');
|
|
4
|
+
require('../../chunk-URGVQ5TQ.cjs');
|
|
5
5
|
require('../../chunk-X6ZI53DZ.cjs');
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-3NALVGMJ.cjs');
|
|
7
|
+
require('../../chunk-MQUATTIM.cjs');
|
|
8
8
|
require('../../chunk-JFJNB7ZH.cjs');
|
|
9
|
-
require('../../chunk-
|
|
9
|
+
require('../../chunk-OMPDPBT5.cjs');
|
|
10
10
|
require('../../chunk-FLPWNMX3.cjs');
|
|
11
11
|
|
|
12
12
|
// src/worker/expo/taskQueue.ts
|
|
@@ -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 chunkV5WRO3P6_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 chunkV5WRO3P6_cjs.contractPollProcessor; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "createTaskDependencies", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkV5WRO3P6_cjs.createTaskDependencies; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "runTasks", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkV5WRO3P6_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,
|
|
3
|
-
export {
|
|
4
|
-
import '../../index-
|
|
1
|
+
import { T as TaskProcessor } from '../../taskRunner-JYHaLPne.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-JYHaLPne.cjs';
|
|
3
|
+
export { A as AsyncStorageLike, a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-B9byr6ij.cjs';
|
|
4
|
+
import '../../index-DDJFHfba.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,
|
|
3
|
-
export {
|
|
4
|
-
import '../../index-
|
|
1
|
+
import { T as TaskProcessor } from '../../taskRunner-DUafWu0o.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-DUafWu0o.js';
|
|
3
|
+
export { A as AsyncStorageLike, a as AsyncStorageTaskQueue } from '../../asyncStorageTaskQueue-XP4CCdRY.js';
|
|
4
|
+
import '../../index-18cDMayF.js';
|
|
5
5
|
import '@scure/btc-signer/utils.js';
|
|
6
6
|
import '@scure/btc-signer';
|
|
7
7
|
import '@scure/btc-signer/psbt.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { CONTRACT_POLL_TASK_TYPE, contractPollProcessor, createTaskDependencies, runTasks } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { CONTRACT_POLL_TASK_TYPE, contractPollProcessor, createTaskDependencies, runTasks } from '../../chunk-4AJRIM44.js';
|
|
2
|
+
import '../../chunk-RLD7DRSZ.js';
|
|
3
3
|
import '../../chunk-V3ZLL5VY.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-MWMO2ZQP.js';
|
|
5
|
+
import '../../chunk-V2DDN4MV.js';
|
|
6
6
|
import '../../chunk-DNFTHG73.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-VMVFRTF4.js';
|
|
8
8
|
import '../../chunk-FDJ734CH.js';
|
|
9
9
|
|
|
10
10
|
// src/worker/expo/taskQueue.ts
|