@arkade-os/sdk 0.5.0-rc.1 → 0.5.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/adapters/expo.cjs +5 -5
- package/dist/adapters/expo.d.cts +2 -2
- package/dist/adapters/expo.d.ts +2 -2
- package/dist/adapters/expo.js +3 -3
- package/dist/adapters/indexedDB.cjs +5 -5
- package/dist/adapters/indexedDB.js +4 -4
- package/dist/{asyncStorageTaskQueue-DqGRG66E.d.cts → asyncStorageTaskQueue-BuDvgWh6.d.cts} +2 -2
- package/dist/{asyncStorageTaskQueue-DAs_n1xr.d.ts → asyncStorageTaskQueue-C5rBYlru.d.ts} +2 -2
- package/dist/{chunk-ZPSUBAWQ.js → chunk-3R476TDV.js} +3 -3
- package/dist/{chunk-ZPSUBAWQ.js.map → chunk-3R476TDV.js.map} +1 -1
- package/dist/{chunk-Q5WQ4Y2I.cjs → chunk-43FKNLX4.cjs} +49 -49
- package/dist/{chunk-Q5WQ4Y2I.cjs.map → chunk-43FKNLX4.cjs.map} +1 -1
- package/dist/{chunk-SG4XYCS7.js → chunk-4PKLULWT.js} +3 -3
- package/dist/{chunk-SG4XYCS7.js.map → chunk-4PKLULWT.js.map} +1 -1
- package/dist/{chunk-LPK4UBNJ.js → chunk-6DNR46C7.js} +4 -4
- package/dist/{chunk-LPK4UBNJ.js.map → chunk-6DNR46C7.js.map} +1 -1
- package/dist/{chunk-MXY23OPP.cjs → chunk-D25O4EGY.cjs} +10 -10
- package/dist/{chunk-MXY23OPP.cjs.map → chunk-D25O4EGY.cjs.map} +1 -1
- package/dist/{chunk-YEUXBECG.cjs → chunk-GMZZQXV5.cjs} +512 -441
- package/dist/chunk-GMZZQXV5.cjs.map +1 -0
- package/dist/{chunk-KB7OP3FG.cjs → chunk-HLCGYOIH.cjs} +17 -17
- package/dist/{chunk-KB7OP3FG.cjs.map → chunk-HLCGYOIH.cjs.map} +1 -1
- package/dist/{chunk-6COJWPBO.js → chunk-ISO4TI5J.js} +4 -4
- package/dist/{chunk-6COJWPBO.js.map → chunk-ISO4TI5J.js.map} +1 -1
- package/dist/{chunk-RZ2NGS6A.cjs → chunk-JZWLXNHV.cjs} +3 -3
- package/dist/{chunk-RZ2NGS6A.cjs.map → chunk-JZWLXNHV.cjs.map} +1 -1
- package/dist/{chunk-WQIWUTYS.cjs → chunk-NVZJSKZS.cjs} +17 -17
- package/dist/{chunk-WQIWUTYS.cjs.map → chunk-NVZJSKZS.cjs.map} +1 -1
- package/dist/{chunk-MEJSBJVH.js → chunk-ZOTXDOS5.js} +4 -4
- package/dist/{chunk-MEJSBJVH.js.map → chunk-ZOTXDOS5.js.map} +1 -1
- package/dist/{chunk-VTE3NYVD.js → chunk-ZRNQV6HV.js} +74 -8
- package/dist/chunk-ZRNQV6HV.js.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-CZzIduW4.d.cts → delegate-1yp1HyP7.d.cts} +1 -1
- package/dist/{delegate-B9Bmrns7.d.ts → delegate-BAX5QftB.d.ts} +1 -1
- package/dist/{hdWalletCapable-Cr5nGpK5.d.ts → hdWalletCapable-CmEU0NP1.d.ts} +3 -3
- package/dist/{hdWalletCapable-BIl3yLVM.d.cts → hdWalletCapable-eJgaT-ec.d.cts} +3 -3
- package/dist/{index-DQ1Hb2w_.d.ts → index-Bem5vKzX.d.ts} +3 -3
- package/dist/{index-DnNIOqHS.d.cts → index-DUxufw76.d.cts} +1 -1
- package/dist/{index-DnNIOqHS.d.ts → index-DUxufw76.d.ts} +1 -1
- package/dist/{index-Ci5MmNnK.d.cts → index-W_oMcOmG.d.cts} +3 -3
- package/dist/index.cjs +315 -295
- package/dist/index.d.cts +64 -14
- package/dist/index.d.ts +64 -14
- package/dist/index.js +4 -4
- package/dist/repositories/realm/index.cjs +19 -19
- 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 +18 -18
- 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-F7wNJcF3.d.ts → taskRunner-D_iPiZIi.d.ts} +2 -2
- package/dist/{taskRunner-BDb5Ee2J.d.cts → taskRunner-Dr3NStc0.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-VTE3NYVD.js.map +0 -1
- package/dist/chunk-YEUXBECG.cjs.map +0 -1
package/README.md
CHANGED
|
@@ -1170,7 +1170,7 @@ The `StorageAdapter` API is deprecated. Use repositories instead. If you omit `s
|
|
|
1170
1170
|
|
|
1171
1171
|
#### Repository Versioning
|
|
1172
1172
|
|
|
1173
|
-
`WalletRepository`, `ContractRepository`, and `
|
|
1173
|
+
`WalletRepository`, `ContractRepository`, and `AssetSwapRepository` (in
|
|
1174
1174
|
`@arkade-os/swap`) each declare a `readonly version` field with a literal
|
|
1175
1175
|
type. All built-in implementations set this to the current version. If you
|
|
1176
1176
|
maintain a custom repository implementation, TypeScript will produce a compile
|
package/dist/adapters/expo.cjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkHLCGYOIH_cjs = require('../chunk-HLCGYOIH.cjs');
|
|
4
|
+
require('../chunk-NVZJSKZS.cjs');
|
|
5
|
+
require('../chunk-JZWLXNHV.cjs');
|
|
6
6
|
require('../chunk-5BLDMQED.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "ExpoArkProvider", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkHLCGYOIH_cjs.ExpoArkProvider; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "ExpoIndexerProvider", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkHLCGYOIH_cjs.ExpoIndexerProvider; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=expo.cjs.map
|
|
19
19
|
//# sourceMappingURL=expo.cjs.map
|
package/dist/adapters/expo.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as RestArkProvider, o as SettlementEvent, T as TxNotificationEvent, s as RestIndexerProvider, t as SubscriptionResponse } from '../index-
|
|
2
|
-
export { u as ArkProvider, v as IndexerProvider } from '../index-
|
|
1
|
+
import { r as RestArkProvider, o as SettlementEvent, T as TxNotificationEvent, s as RestIndexerProvider, t as SubscriptionResponse } from '../index-DUxufw76.cjs';
|
|
2
|
+
export { u as ArkProvider, v as IndexerProvider } from '../index-DUxufw76.cjs';
|
|
3
3
|
import '@scure/btc-signer/utils.js';
|
|
4
4
|
import '@scure/btc-signer/transaction.js';
|
|
5
5
|
import '@scure/btc-signer';
|
package/dist/adapters/expo.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as RestArkProvider, o as SettlementEvent, T as TxNotificationEvent, s as RestIndexerProvider, t as SubscriptionResponse } from '../index-
|
|
2
|
-
export { u as ArkProvider, v as IndexerProvider } from '../index-
|
|
1
|
+
import { r as RestArkProvider, o as SettlementEvent, T as TxNotificationEvent, s as RestIndexerProvider, t as SubscriptionResponse } from '../index-DUxufw76.js';
|
|
2
|
+
export { u as ArkProvider, v as IndexerProvider } from '../index-DUxufw76.js';
|
|
3
3
|
import '@scure/btc-signer/utils.js';
|
|
4
4
|
import '@scure/btc-signer/transaction.js';
|
|
5
5
|
import '@scure/btc-signer';
|
package/dist/adapters/expo.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ExpoArkProvider, ExpoIndexerProvider } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { ExpoArkProvider, ExpoIndexerProvider } from '../chunk-ZOTXDOS5.js';
|
|
2
|
+
import '../chunk-4PKLULWT.js';
|
|
3
|
+
import '../chunk-ISO4TI5J.js';
|
|
4
4
|
import '../chunk-NSBPE2FW.js';
|
|
5
5
|
//# sourceMappingURL=expo.js.map
|
|
6
6
|
//# sourceMappingURL=expo.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
3
|
+
var chunkGMZZQXV5_cjs = require('../chunk-GMZZQXV5.cjs');
|
|
4
|
+
require('../chunk-NVZJSKZS.cjs');
|
|
5
|
+
require('../chunk-43FKNLX4.cjs');
|
|
6
|
+
require('../chunk-JZWLXNHV.cjs');
|
|
7
7
|
require('../chunk-5BLDMQED.cjs');
|
|
8
8
|
|
|
9
9
|
// src/storage/indexedDB.ts
|
|
@@ -11,7 +11,7 @@ var IndexedDBStorageAdapter = class {
|
|
|
11
11
|
dbName;
|
|
12
12
|
version;
|
|
13
13
|
db = null;
|
|
14
|
-
constructor(dbName, version =
|
|
14
|
+
constructor(dbName, version = chunkGMZZQXV5_cjs.DB_VERSION) {
|
|
15
15
|
this.dbName = dbName;
|
|
16
16
|
this.version = version;
|
|
17
17
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DB_VERSION } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
import { DB_VERSION } from '../chunk-ZRNQV6HV.js';
|
|
2
|
+
import '../chunk-4PKLULWT.js';
|
|
3
|
+
import '../chunk-3R476TDV.js';
|
|
4
|
+
import '../chunk-ISO4TI5J.js';
|
|
5
5
|
import '../chunk-NSBPE2FW.js';
|
|
6
6
|
|
|
7
7
|
// src/storage/indexedDB.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as TaskQueue, c as TaskItem, d as TaskResult } from './taskRunner-Dr3NStc0.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Minimal async key-value storage interface.
|
|
@@ -46,4 +46,4 @@ declare class AsyncStorageTaskQueue implements TaskQueue {
|
|
|
46
46
|
private writeList;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { AsyncStorageTaskQueue as A, type AsyncStorageLike as a };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as TaskQueue, c as TaskItem, d as TaskResult } from './taskRunner-D_iPiZIi.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Minimal async key-value storage interface.
|
|
@@ -46,4 +46,4 @@ declare class AsyncStorageTaskQueue implements TaskQueue {
|
|
|
46
46
|
private writeList;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { AsyncStorageTaskQueue as A, type AsyncStorageLike as a };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VtxoScript, MultisigTapscript, CSVMultisigTapscript, timelockToSequence, sequenceToTimelock, ConditionMultisigTapscript, CLTVMultisigTapscript, ConditionCSVMultisigTapscript, SCRIPT_QUERY_CHUNK_SIZE, getNormalizedVtxos, DEFAULT_PAGE_SIZE } from './chunk-
|
|
1
|
+
import { VtxoScript, MultisigTapscript, CSVMultisigTapscript, timelockToSequence, sequenceToTimelock, ConditionMultisigTapscript, CLTVMultisigTapscript, ConditionCSVMultisigTapscript, SCRIPT_QUERY_CHUNK_SIZE, getNormalizedVtxos, DEFAULT_PAGE_SIZE } from './chunk-ISO4TI5J.js';
|
|
2
2
|
import { __export } from './chunk-NSBPE2FW.js';
|
|
3
3
|
import { hex } from '@scure/base';
|
|
4
4
|
import { networks, expand } from '@bitcoinerlab/descriptors-scure';
|
|
@@ -2987,5 +2987,5 @@ contractHandlers.register(BoardingContractHandler);
|
|
|
2987
2987
|
contractHandlers.register(ArkadeContractHandler);
|
|
2988
2988
|
|
|
2989
2989
|
export { ARKADE_OP, ARKADE_OPCODES, ARKADE_OPCODE_NAMES, ARKADE_OPCODE_VALUES, ARKADE_OPS, ArkadeContractHandler, ArkadeProgramScript, ArkadeScript, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, OPCODE_NAMES, OPCODE_VALUES, SUPPORTED_PROGRAM_VERSION, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, WALLET_RECEIVE_SOURCE, arkadeScriptHash, arkadeWitnessHash, asmToBytes, bignum_exports, bytesToASM, computeArkadeScriptPublicKey, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, descriptorIsOurs, deserializeArkadeContractParams, fromASM, getOpcodeName, getOpcodeValue, identityDescriptor, inputName, isCltvSatisfied, isCsvSpendable, isMainnetDescriptor, normalizeToDescriptor, parseArtifact, parseHDDescriptor, resolveAsm, serializeArkadeContractParams, speculativeReceiveMetadata, stringifyArtifact, toASM, toXOnly, validateProgram, witnessRefToBytes };
|
|
2990
|
-
//# sourceMappingURL=chunk-
|
|
2991
|
-
//# sourceMappingURL=chunk-
|
|
2990
|
+
//# sourceMappingURL=chunk-3R476TDV.js.map
|
|
2991
|
+
//# sourceMappingURL=chunk-3R476TDV.js.map
|