@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.
Files changed (76) hide show
  1. package/README.md +20 -0
  2. package/dist/adapters/expo.cjs +5 -5
  3. package/dist/adapters/expo.d.cts +2 -2
  4. package/dist/adapters/expo.d.ts +2 -2
  5. package/dist/adapters/expo.js +3 -3
  6. package/dist/adapters/indexedDB.cjs +5 -5
  7. package/dist/adapters/indexedDB.js +4 -4
  8. package/dist/{asyncStorageTaskQueue-B53mOTCw.d.cts → asyncStorageTaskQueue-CIUEhv2t.d.cts} +2 -2
  9. package/dist/{asyncStorageTaskQueue-Df-CTfTE.d.ts → asyncStorageTaskQueue-LT-xvvDN.d.ts} +2 -2
  10. package/dist/{chunk-OH2XLTXE.cjs → chunk-AB67CMHS.cjs} +3 -3
  11. package/dist/{chunk-OH2XLTXE.cjs.map → chunk-AB67CMHS.cjs.map} +1 -1
  12. package/dist/{chunk-Z2OZMKFV.cjs → chunk-COOBS7ET.cjs} +405 -400
  13. package/dist/chunk-COOBS7ET.cjs.map +1 -0
  14. package/dist/{chunk-RMBI6P4N.js → chunk-CZFAMS57.js} +3 -3
  15. package/dist/{chunk-RMBI6P4N.js.map → chunk-CZFAMS57.js.map} +1 -1
  16. package/dist/{chunk-H2ZAJOQA.js → chunk-FKKERGKA.js} +4 -4
  17. package/dist/{chunk-H2ZAJOQA.js.map → chunk-FKKERGKA.js.map} +1 -1
  18. package/dist/{chunk-PWWA4DBL.cjs → chunk-K56BNZV3.cjs} +10 -10
  19. package/dist/{chunk-PWWA4DBL.cjs.map → chunk-K56BNZV3.cjs.map} +1 -1
  20. package/dist/{chunk-I7RLG6VX.js → chunk-KWW74O2F.js} +4 -4
  21. package/dist/{chunk-I7RLG6VX.js.map → chunk-KWW74O2F.js.map} +1 -1
  22. package/dist/{chunk-I6EDUE75.cjs → chunk-LG5GY73A.cjs} +17 -17
  23. package/dist/{chunk-I6EDUE75.cjs.map → chunk-LG5GY73A.cjs.map} +1 -1
  24. package/dist/{chunk-URT2RVGB.js → chunk-MA32NXUV.js} +3 -3
  25. package/dist/{chunk-URT2RVGB.js.map → chunk-MA32NXUV.js.map} +1 -1
  26. package/dist/{chunk-L7S5KC5B.js → chunk-OAESYVZQ.js} +3 -3
  27. package/dist/{chunk-L7S5KC5B.js.map → chunk-OAESYVZQ.js.map} +1 -1
  28. package/dist/{chunk-G53HASDV.cjs → chunk-OL7V43WS.cjs} +48 -48
  29. package/dist/{chunk-G53HASDV.cjs.map → chunk-OL7V43WS.cjs.map} +1 -1
  30. package/dist/{chunk-QRSR4HV4.cjs → chunk-P6XYE27K.cjs} +17 -17
  31. package/dist/{chunk-QRSR4HV4.cjs.map → chunk-P6XYE27K.cjs.map} +1 -1
  32. package/dist/{chunk-2IZW6AEK.js → chunk-X7MMBB7S.js} +10 -5
  33. package/dist/chunk-X7MMBB7S.js.map +1 -0
  34. package/dist/contracts/handlers/index.cjs +9 -9
  35. package/dist/contracts/handlers/index.d.cts +3 -3
  36. package/dist/contracts/handlers/index.d.ts +3 -3
  37. package/dist/contracts/handlers/index.js +2 -2
  38. package/dist/{delegate-CC1gcvuC.d.cts → delegate-BBQW61ym.d.cts} +1 -1
  39. package/dist/{delegate-BjYJJsml.d.ts → delegate-Dv_9OVHv.d.ts} +1 -1
  40. package/dist/{index-C888wFEV.d.ts → index-Bxe9kBFs.d.ts} +2 -2
  41. package/dist/{index-CwBr7qzV.d.ts → index-CFOMyVMt.d.cts} +19 -2
  42. package/dist/{index-CwBr7qzV.d.cts → index-CFOMyVMt.d.ts} +19 -2
  43. package/dist/{index-Cz5_WaQP.d.cts → index-aZycGEsQ.d.cts} +2 -2
  44. package/dist/index.cjs +268 -268
  45. package/dist/index.d.cts +19 -9
  46. package/dist/index.d.ts +19 -9
  47. package/dist/index.js +4 -4
  48. package/dist/repositories/realm/index.cjs +19 -19
  49. package/dist/repositories/realm/index.d.cts +2 -2
  50. package/dist/repositories/realm/index.d.ts +2 -2
  51. package/dist/repositories/realm/index.js +5 -5
  52. package/dist/repositories/sqlite/index.cjs +27 -18
  53. package/dist/repositories/sqlite/index.cjs.map +1 -1
  54. package/dist/repositories/sqlite/index.d.cts +20 -3
  55. package/dist/repositories/sqlite/index.d.ts +20 -3
  56. package/dist/repositories/sqlite/index.js +13 -6
  57. package/dist/repositories/sqlite/index.js.map +1 -1
  58. package/dist/{taskRunner-BMUndClz.d.cts → taskRunner-BJ6_AnLq.d.cts} +2 -2
  59. package/dist/{taskRunner-DZWUsSzA.d.ts → taskRunner-BQb0W1XG.d.ts} +2 -2
  60. package/dist/wallet/expo/background.cjs +14 -14
  61. package/dist/wallet/expo/background.d.cts +3 -3
  62. package/dist/wallet/expo/background.d.ts +3 -3
  63. package/dist/wallet/expo/background.js +6 -6
  64. package/dist/wallet/expo/index.cjs +14 -14
  65. package/dist/wallet/expo/index.d.cts +4 -4
  66. package/dist/wallet/expo/index.d.ts +4 -4
  67. package/dist/wallet/expo/index.js +5 -5
  68. package/dist/{wallet-H3f14est.d.cts → wallet-C2NvHjWB.d.cts} +2 -2
  69. package/dist/{wallet-Dpjx6CJ7.d.ts → wallet-DJUnN939.d.ts} +2 -2
  70. package/dist/worker/expo/index.cjs +9 -9
  71. package/dist/worker/expo/index.d.cts +4 -4
  72. package/dist/worker/expo/index.d.ts +4 -4
  73. package/dist/worker/expo/index.js +5 -5
  74. package/package.json +1 -1
  75. package/dist/chunk-2IZW6AEK.js.map +0 -1
  76. package/dist/chunk-Z2OZMKFV.cjs.map +0 -1
@@ -1,38 +1,38 @@
1
1
  'use strict';
2
2
 
3
- var chunkG53HASDV_cjs = require('../../chunk-G53HASDV.cjs');
4
- require('../../chunk-OH2XLTXE.cjs');
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 chunkG53HASDV_cjs.ArkadeContractHandler; }
11
+ get: function () { return chunkOL7V43WS_cjs.ArkadeContractHandler; }
12
12
  });
13
13
  Object.defineProperty(exports, "BoardingContractHandler", {
14
14
  enumerable: true,
15
- get: function () { return chunkG53HASDV_cjs.BoardingContractHandler; }
15
+ get: function () { return chunkOL7V43WS_cjs.BoardingContractHandler; }
16
16
  });
17
17
  Object.defineProperty(exports, "DefaultContractHandler", {
18
18
  enumerable: true,
19
- get: function () { return chunkG53HASDV_cjs.DefaultContractHandler; }
19
+ get: function () { return chunkOL7V43WS_cjs.DefaultContractHandler; }
20
20
  });
21
21
  Object.defineProperty(exports, "DelegateContractHandler", {
22
22
  enumerable: true,
23
- get: function () { return chunkG53HASDV_cjs.DelegateContractHandler; }
23
+ get: function () { return chunkOL7V43WS_cjs.DelegateContractHandler; }
24
24
  });
25
25
  Object.defineProperty(exports, "VHTLCContractHandler", {
26
26
  enumerable: true,
27
- get: function () { return chunkG53HASDV_cjs.VHTLCContractHandler; }
27
+ get: function () { return chunkOL7V43WS_cjs.VHTLCContractHandler; }
28
28
  });
29
29
  Object.defineProperty(exports, "VHTLCV2ContractHandler", {
30
30
  enumerable: true,
31
- get: function () { return chunkG53HASDV_cjs.VHTLCV2ContractHandler; }
31
+ get: function () { return chunkOL7V43WS_cjs.VHTLCV2ContractHandler; }
32
32
  });
33
33
  Object.defineProperty(exports, "contractHandlers", {
34
34
  enumerable: true,
35
- get: function () { return chunkG53HASDV_cjs.contractHandlers; }
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-Cz5_WaQP.cjs';
2
- import '../../index-CwBr7qzV.cjs';
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-CC1gcvuC.cjs';
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-C888wFEV.js';
2
- import '../../index-CwBr7qzV.js';
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-BjYJJsml.js';
7
+ import '../../delegate-Dv_9OVHv.js';
@@ -1,5 +1,5 @@
1
- export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DelegateContractHandler, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers } from '../../chunk-L7S5KC5B.js';
2
- import '../../chunk-URT2RVGB.js';
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-CwBr7qzV.cjs';
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-CwBr7qzV.js';
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-CwBr7qzV.js';
2
- import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-BjYJJsml.js';
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, so
5244
- * `total - gated` still carries a recoverable component.
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, so
5244
- * `total - gated` still carries a recoverable component.
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-CwBr7qzV.cjs';
2
- import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-CC1gcvuC.cjs';
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
  /**