@arkade-os/sdk 0.4.62 → 0.4.63
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 +20 -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/adapters/indexedDB.cjs +5 -5
- package/dist/adapters/indexedDB.js +4 -4
- package/dist/{asyncStorageTaskQueue-B53mOTCw.d.cts → asyncStorageTaskQueue-CIUEhv2t.d.cts} +2 -2
- package/dist/{asyncStorageTaskQueue-Df-CTfTE.d.ts → asyncStorageTaskQueue-LT-xvvDN.d.ts} +2 -2
- package/dist/{chunk-OH2XLTXE.cjs → chunk-AB67CMHS.cjs} +3 -3
- package/dist/{chunk-OH2XLTXE.cjs.map → chunk-AB67CMHS.cjs.map} +1 -1
- package/dist/{chunk-Z2OZMKFV.cjs → chunk-COOBS7ET.cjs} +405 -400
- package/dist/chunk-COOBS7ET.cjs.map +1 -0
- package/dist/{chunk-RMBI6P4N.js → chunk-CZFAMS57.js} +3 -3
- package/dist/{chunk-RMBI6P4N.js.map → chunk-CZFAMS57.js.map} +1 -1
- package/dist/{chunk-H2ZAJOQA.js → chunk-FKKERGKA.js} +4 -4
- package/dist/{chunk-H2ZAJOQA.js.map → chunk-FKKERGKA.js.map} +1 -1
- package/dist/{chunk-PWWA4DBL.cjs → chunk-K56BNZV3.cjs} +10 -10
- package/dist/{chunk-PWWA4DBL.cjs.map → chunk-K56BNZV3.cjs.map} +1 -1
- package/dist/{chunk-I7RLG6VX.js → chunk-KWW74O2F.js} +4 -4
- package/dist/{chunk-I7RLG6VX.js.map → chunk-KWW74O2F.js.map} +1 -1
- package/dist/{chunk-I6EDUE75.cjs → chunk-LG5GY73A.cjs} +17 -17
- package/dist/{chunk-I6EDUE75.cjs.map → chunk-LG5GY73A.cjs.map} +1 -1
- package/dist/{chunk-URT2RVGB.js → chunk-MA32NXUV.js} +3 -3
- package/dist/{chunk-URT2RVGB.js.map → chunk-MA32NXUV.js.map} +1 -1
- package/dist/{chunk-L7S5KC5B.js → chunk-OAESYVZQ.js} +3 -3
- package/dist/{chunk-L7S5KC5B.js.map → chunk-OAESYVZQ.js.map} +1 -1
- package/dist/{chunk-G53HASDV.cjs → chunk-OL7V43WS.cjs} +48 -48
- package/dist/{chunk-G53HASDV.cjs.map → chunk-OL7V43WS.cjs.map} +1 -1
- package/dist/{chunk-QRSR4HV4.cjs → chunk-P6XYE27K.cjs} +17 -17
- package/dist/{chunk-QRSR4HV4.cjs.map → chunk-P6XYE27K.cjs.map} +1 -1
- package/dist/{chunk-2IZW6AEK.js → chunk-X7MMBB7S.js} +10 -5
- package/dist/chunk-X7MMBB7S.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-CC1gcvuC.d.cts → delegate-BBQW61ym.d.cts} +1 -1
- package/dist/{delegate-BjYJJsml.d.ts → delegate-Dv_9OVHv.d.ts} +1 -1
- package/dist/{index-C888wFEV.d.ts → index-Bxe9kBFs.d.ts} +2 -2
- package/dist/{index-CwBr7qzV.d.ts → index-CFOMyVMt.d.cts} +19 -2
- package/dist/{index-CwBr7qzV.d.cts → index-CFOMyVMt.d.ts} +19 -2
- package/dist/{index-Cz5_WaQP.d.cts → index-aZycGEsQ.d.cts} +2 -2
- package/dist/index.cjs +268 -268
- package/dist/index.d.cts +19 -9
- package/dist/index.d.ts +19 -9
- 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 +27 -18
- package/dist/repositories/sqlite/index.cjs.map +1 -1
- package/dist/repositories/sqlite/index.d.cts +20 -3
- package/dist/repositories/sqlite/index.d.ts +20 -3
- package/dist/repositories/sqlite/index.js +13 -6
- package/dist/repositories/sqlite/index.js.map +1 -1
- package/dist/{taskRunner-BMUndClz.d.cts → taskRunner-BJ6_AnLq.d.cts} +2 -2
- package/dist/{taskRunner-DZWUsSzA.d.ts → taskRunner-BQb0W1XG.d.ts} +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/{wallet-H3f14est.d.cts → wallet-C2NvHjWB.d.cts} +2 -2
- package/dist/{wallet-Dpjx6CJ7.d.ts → wallet-DJUnN939.d.ts} +2 -2
- 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-2IZW6AEK.js.map +0 -1
- package/dist/chunk-Z2OZMKFV.cjs.map +0 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkOL7V43WS_cjs = require('../../chunk-OL7V43WS.cjs');
|
|
4
|
+
require('../../chunk-AB67CMHS.cjs');
|
|
5
5
|
require('../../chunk-5BLDMQED.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "ArkadeContractHandler", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkOL7V43WS_cjs.ArkadeContractHandler; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "BoardingContractHandler", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkOL7V43WS_cjs.BoardingContractHandler; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "DefaultContractHandler", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkOL7V43WS_cjs.DefaultContractHandler; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "DelegateContractHandler", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkOL7V43WS_cjs.DelegateContractHandler; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "VHTLCContractHandler", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkOL7V43WS_cjs.VHTLCContractHandler; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "VHTLCV2ContractHandler", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkOL7V43WS_cjs.VHTLCV2ContractHandler; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "contractHandlers", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkOL7V43WS_cjs.contractHandlers; }
|
|
36
36
|
});
|
|
37
37
|
//# sourceMappingURL=index.cjs.map
|
|
38
38
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from '../../index-
|
|
2
|
-
import '../../index-
|
|
1
|
+
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from '../../index-aZycGEsQ.cjs';
|
|
2
|
+
import '../../index-CFOMyVMt.cjs';
|
|
3
3
|
import '@scure/btc-signer/utils.js';
|
|
4
4
|
import '@scure/btc-signer/transaction.js';
|
|
5
5
|
import '@scure/btc-signer';
|
|
6
6
|
import '@scure/btc-signer/psbt.js';
|
|
7
|
-
import '../../delegate-
|
|
7
|
+
import '../../delegate-BBQW61ym.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from '../../index-
|
|
2
|
-
import '../../index-
|
|
1
|
+
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from '../../index-Bxe9kBFs.js';
|
|
2
|
+
import '../../index-CFOMyVMt.js';
|
|
3
3
|
import '@scure/btc-signer/utils.js';
|
|
4
4
|
import '@scure/btc-signer/transaction.js';
|
|
5
5
|
import '@scure/btc-signer';
|
|
6
6
|
import '@scure/btc-signer/psbt.js';
|
|
7
|
-
import '../../delegate-
|
|
7
|
+
import '../../delegate-Dv_9OVHv.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DelegateContractHandler, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DelegateContractHandler, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers } from '../../chunk-OAESYVZQ.js';
|
|
2
|
+
import '../../chunk-MA32NXUV.js';
|
|
3
3
|
import '../../chunk-NSBPE2FW.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
2
|
-
import { q as RelativeTimelock, V as VtxoScript, r as TapLeafScript } from './index-
|
|
2
|
+
import { q as RelativeTimelock, V as VtxoScript, r as TapLeafScript } from './index-CFOMyVMt.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* DefaultVtxo is the default implementation of a VtxoScript.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
2
|
-
import { q as RelativeTimelock, V as VtxoScript, r as TapLeafScript } from './index-
|
|
2
|
+
import { q as RelativeTimelock, V as VtxoScript, r as TapLeafScript } from './index-CFOMyVMt.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* DefaultVtxo is the default implementation of a VtxoScript.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bb as ContractHandler, q as RelativeTimelock, bm as Discoverable, V as VtxoScript, r as TapLeafScript, cP as TapscriptDeriving } from './index-
|
|
2
|
-
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { bb as ContractHandler, q as RelativeTimelock, bm as Discoverable, V as VtxoScript, r as TapLeafScript, cP as TapscriptDeriving } from './index-CFOMyVMt.js';
|
|
2
|
+
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-Dv_9OVHv.js';
|
|
3
3
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -2977,6 +2977,13 @@ interface GroupMembership {
|
|
|
2977
2977
|
label?: string;
|
|
2978
2978
|
/** App category for icon/filtering, e.g. "game". */
|
|
2979
2979
|
kind?: string;
|
|
2980
|
+
/**
|
|
2981
|
+
* Outcome of the action this membership belongs to, e.g. "failed",
|
|
2982
|
+
* "refunded" — an opaque machine token for the app to map to its own
|
|
2983
|
+
* copy or icon, not display text. Merged first-writer-wins across
|
|
2984
|
+
* resolvers sharing a `groupId`, like `label` and `kind`.
|
|
2985
|
+
*/
|
|
2986
|
+
outcome?: string;
|
|
2980
2987
|
/**
|
|
2981
2988
|
* Free-form row data. Same-group metadata is shallow-merged with
|
|
2982
2989
|
* earlier-resolver keys winning.
|
|
@@ -3013,6 +3020,12 @@ interface ActivityIntent {
|
|
|
3013
3020
|
label?: string;
|
|
3014
3021
|
/** App category for icon/filtering, e.g. "game". */
|
|
3015
3022
|
kind?: string;
|
|
3023
|
+
/**
|
|
3024
|
+
* Resolver-declared outcome for the group, e.g. "failed", "refunded" — an
|
|
3025
|
+
* opaque machine token for the app to map to its own copy or icon, not
|
|
3026
|
+
* display text.
|
|
3027
|
+
*/
|
|
3028
|
+
outcome?: string;
|
|
3016
3029
|
/** Free-form row data, shallow-merged across the group's resolvers (first-writer-wins). */
|
|
3017
3030
|
metadata?: Record<string, unknown>;
|
|
3018
3031
|
}
|
|
@@ -5240,8 +5253,12 @@ interface WalletBalance {
|
|
|
5240
5253
|
* reported here — it does not become available when the batch settles.
|
|
5241
5254
|
*
|
|
5242
5255
|
* Covers this bucket only: {@link recoverable} has the same owned-versus-
|
|
5243
|
-
* obtainable split under a different predicate and is not counted here
|
|
5244
|
-
*
|
|
5256
|
+
* obtainable split under a different predicate and is not counted here.
|
|
5257
|
+
*
|
|
5258
|
+
* Subtract this from `settled + preconfirmed`, never from `total`. `total`
|
|
5259
|
+
* also carries {@link boarding}, {@link recoverable} and
|
|
5260
|
+
* {@link pendingRecovery}, which are still the user's funds — netting a
|
|
5261
|
+
* bucket out of it drops them from the figure with no signal.
|
|
5245
5262
|
*/
|
|
5246
5263
|
gated: number;
|
|
5247
5264
|
/**
|
|
@@ -2977,6 +2977,13 @@ interface GroupMembership {
|
|
|
2977
2977
|
label?: string;
|
|
2978
2978
|
/** App category for icon/filtering, e.g. "game". */
|
|
2979
2979
|
kind?: string;
|
|
2980
|
+
/**
|
|
2981
|
+
* Outcome of the action this membership belongs to, e.g. "failed",
|
|
2982
|
+
* "refunded" — an opaque machine token for the app to map to its own
|
|
2983
|
+
* copy or icon, not display text. Merged first-writer-wins across
|
|
2984
|
+
* resolvers sharing a `groupId`, like `label` and `kind`.
|
|
2985
|
+
*/
|
|
2986
|
+
outcome?: string;
|
|
2980
2987
|
/**
|
|
2981
2988
|
* Free-form row data. Same-group metadata is shallow-merged with
|
|
2982
2989
|
* earlier-resolver keys winning.
|
|
@@ -3013,6 +3020,12 @@ interface ActivityIntent {
|
|
|
3013
3020
|
label?: string;
|
|
3014
3021
|
/** App category for icon/filtering, e.g. "game". */
|
|
3015
3022
|
kind?: string;
|
|
3023
|
+
/**
|
|
3024
|
+
* Resolver-declared outcome for the group, e.g. "failed", "refunded" — an
|
|
3025
|
+
* opaque machine token for the app to map to its own copy or icon, not
|
|
3026
|
+
* display text.
|
|
3027
|
+
*/
|
|
3028
|
+
outcome?: string;
|
|
3016
3029
|
/** Free-form row data, shallow-merged across the group's resolvers (first-writer-wins). */
|
|
3017
3030
|
metadata?: Record<string, unknown>;
|
|
3018
3031
|
}
|
|
@@ -5240,8 +5253,12 @@ interface WalletBalance {
|
|
|
5240
5253
|
* reported here — it does not become available when the batch settles.
|
|
5241
5254
|
*
|
|
5242
5255
|
* Covers this bucket only: {@link recoverable} has the same owned-versus-
|
|
5243
|
-
* obtainable split under a different predicate and is not counted here
|
|
5244
|
-
*
|
|
5256
|
+
* obtainable split under a different predicate and is not counted here.
|
|
5257
|
+
*
|
|
5258
|
+
* Subtract this from `settled + preconfirmed`, never from `total`. `total`
|
|
5259
|
+
* also carries {@link boarding}, {@link recoverable} and
|
|
5260
|
+
* {@link pendingRecovery}, which are still the user's funds — netting a
|
|
5261
|
+
* bucket out of it drops them from the figure with no signal.
|
|
5245
5262
|
*/
|
|
5246
5263
|
gated: number;
|
|
5247
5264
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bb as ContractHandler, q as RelativeTimelock, bm as Discoverable, V as VtxoScript, r as TapLeafScript, cP as TapscriptDeriving } from './index-
|
|
2
|
-
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { bb as ContractHandler, q as RelativeTimelock, bm as Discoverable, V as VtxoScript, r as TapLeafScript, cP as TapscriptDeriving } from './index-CFOMyVMt.cjs';
|
|
2
|
+
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-BBQW61ym.cjs';
|
|
3
3
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
4
4
|
|
|
5
5
|
/**
|