@arkade-os/sdk 0.4.57 → 0.4.58
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 +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/{ark-CJgH_pmn.d.cts → ark-ClaVUg4e.d.cts} +11 -0
- package/dist/{ark-CJgH_pmn.d.ts → ark-ClaVUg4e.d.ts} +11 -0
- package/dist/{asyncStorageTaskQueue-BeeZbf-Q.d.ts → asyncStorageTaskQueue-Bgau-mvD.d.ts} +1 -1
- package/dist/{asyncStorageTaskQueue-BlrsUUX_.d.cts → asyncStorageTaskQueue-CnYrhpS-.d.cts} +1 -1
- package/dist/{chunk-KEG4AAKX.cjs → chunk-6PY4WYXI.cjs} +485 -394
- package/dist/chunk-6PY4WYXI.cjs.map +1 -0
- package/dist/{chunk-CPS7V4A3.js → chunk-AGWZXGG2.js} +4 -4
- package/dist/{chunk-CPS7V4A3.js.map → chunk-AGWZXGG2.js.map} +1 -1
- package/dist/{chunk-OWTKOMJZ.cjs → chunk-COLJARV4.cjs} +40 -40
- package/dist/{chunk-OWTKOMJZ.cjs.map → chunk-COLJARV4.cjs.map} +1 -1
- package/dist/{chunk-KUN5ZRMW.cjs → chunk-D6RGHPZ5.cjs} +3 -3
- package/dist/{chunk-KUN5ZRMW.cjs.map → chunk-D6RGHPZ5.cjs.map} +1 -1
- package/dist/{chunk-YK6NP5KX.cjs → chunk-F4C67JYB.cjs} +15 -15
- package/dist/{chunk-YK6NP5KX.cjs.map → chunk-F4C67JYB.cjs.map} +1 -1
- package/dist/{chunk-EZBKSWEL.cjs → chunk-I4YEGI2R.cjs} +17 -17
- package/dist/{chunk-EZBKSWEL.cjs.map → chunk-I4YEGI2R.cjs.map} +1 -1
- package/dist/{chunk-P6L2W5IL.js → chunk-IPPASJE5.js} +3 -3
- package/dist/{chunk-P6L2W5IL.js.map → chunk-IPPASJE5.js.map} +1 -1
- package/dist/{chunk-NIZPFPUM.js → chunk-S3BFUTC5.js} +112 -21
- package/dist/chunk-S3BFUTC5.js.map +1 -0
- package/dist/{chunk-C4SVRVNM.js → chunk-SGWMB4W2.js} +4 -4
- package/dist/{chunk-C4SVRVNM.js.map → chunk-SGWMB4W2.js.map} +1 -1
- package/dist/{chunk-A7TOVUYG.cjs → chunk-SYZEQF5D.cjs} +9 -9
- package/dist/{chunk-A7TOVUYG.cjs.map → chunk-SYZEQF5D.cjs.map} +1 -1
- package/dist/{chunk-ASUJNZ63.js → chunk-TV2RLVOB.js} +3 -3
- package/dist/{chunk-ASUJNZ63.js.map → chunk-TV2RLVOB.js.map} +1 -1
- package/dist/{chunk-PUNBWFIV.js → chunk-VROHHJL4.js} +3 -3
- package/dist/{chunk-PUNBWFIV.js.map → chunk-VROHHJL4.js.map} +1 -1
- package/dist/contracts/handlers/index.cjs +8 -8
- 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-Dk-OJVdf.d.cts → delegate-CVrkEepn.d.cts} +1 -1
- package/dist/{delegate-DM3YECSY.d.ts → delegate-YDYq1El_.d.ts} +1 -1
- package/dist/{index-Cig0RkTf.d.cts → index-BmqkJBAf.d.cts} +2 -2
- package/dist/{index-CnE7Gnvb.d.ts → index-CuSHBkq7.d.ts} +2 -2
- package/dist/index.cjs +223 -223
- package/dist/index.d.cts +25 -8
- package/dist/index.d.ts +25 -8
- 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-F7tWzsrC.d.ts → taskRunner-CFN61bBM.d.ts} +1 -1
- package/dist/{taskRunner-CnGSTaAJ.d.cts → taskRunner-CFkGkD85.d.cts} +1 -1
- 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-D6_S0n6B.d.ts → wallet-DnK09TtT.d.ts} +2 -2
- package/dist/{wallet-DvRIQBBY.d.cts → wallet-hQp2qC_M.d.cts} +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 +2 -2
- package/dist/chunk-KEG4AAKX.cjs.map +0 -1
- package/dist/chunk-NIZPFPUM.js.map +0 -1
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 chunkI4YEGI2R_cjs = require('../chunk-I4YEGI2R.cjs');
|
|
4
|
+
require('../chunk-F4C67JYB.cjs');
|
|
5
|
+
require('../chunk-D6RGHPZ5.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 chunkI4YEGI2R_cjs.ExpoArkProvider; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "ExpoIndexerProvider", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkI4YEGI2R_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 { k as RestArkProvider, i as SettlementEvent, T as TxNotification, l as RestIndexerProvider, m as SubscriptionResponse } from '../ark-
|
|
2
|
-
export { n as ArkProvider, o as IndexerProvider } from '../ark-
|
|
1
|
+
import { k as RestArkProvider, i as SettlementEvent, T as TxNotification, l as RestIndexerProvider, m as SubscriptionResponse } from '../ark-ClaVUg4e.cjs';
|
|
2
|
+
export { n as ArkProvider, o as IndexerProvider } from '../ark-ClaVUg4e.cjs';
|
|
3
3
|
import '@scure/btc-signer/transaction.js';
|
|
4
4
|
import '@scure/btc-signer/utils.js';
|
|
5
5
|
import '@scure/btc-signer/psbt.js';
|
package/dist/adapters/expo.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as RestArkProvider, i as SettlementEvent, T as TxNotification, l as RestIndexerProvider, m as SubscriptionResponse } from '../ark-
|
|
2
|
-
export { n as ArkProvider, o as IndexerProvider } from '../ark-
|
|
1
|
+
import { k as RestArkProvider, i as SettlementEvent, T as TxNotification, l as RestIndexerProvider, m as SubscriptionResponse } from '../ark-ClaVUg4e.js';
|
|
2
|
+
export { n as ArkProvider, o as IndexerProvider } from '../ark-ClaVUg4e.js';
|
|
3
3
|
import '@scure/btc-signer/transaction.js';
|
|
4
4
|
import '@scure/btc-signer/utils.js';
|
|
5
5
|
import '@scure/btc-signer/psbt.js';
|
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-AGWZXGG2.js';
|
|
2
|
+
import '../chunk-TV2RLVOB.js';
|
|
3
|
+
import '../chunk-VROHHJL4.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 chunk6PY4WYXI_cjs = require('../chunk-6PY4WYXI.cjs');
|
|
4
|
+
require('../chunk-F4C67JYB.cjs');
|
|
5
|
+
require('../chunk-COLJARV4.cjs');
|
|
6
|
+
require('../chunk-D6RGHPZ5.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 = chunk6PY4WYXI_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-S3BFUTC5.js';
|
|
2
|
+
import '../chunk-TV2RLVOB.js';
|
|
3
|
+
import '../chunk-IPPASJE5.js';
|
|
4
|
+
import '../chunk-VROHHJL4.js';
|
|
5
5
|
import '../chunk-NSBPE2FW.js';
|
|
6
6
|
|
|
7
7
|
// src/storage/indexedDB.ts
|
|
@@ -1343,6 +1343,17 @@ declare class VtxoManager implements AsyncDisposable, IVtxoManager {
|
|
|
1343
1343
|
*
|
|
1344
1344
|
* Useful for displaying to users before they decide to recover funds.
|
|
1345
1345
|
*
|
|
1346
|
+
* Both amounts are net of the operator's intent fees, so `recoverable` is
|
|
1347
|
+
* what {@link recoverVtxos} would actually hand back rather than the gross
|
|
1348
|
+
* sum of the inputs. `subdust` is net of the per-input fees only — the
|
|
1349
|
+
* output fee is charged on the batch as a whole and is not attributed per
|
|
1350
|
+
* coin — so it reports what the subdust coins are worth once each has paid
|
|
1351
|
+
* its own way, and is not strictly a slice of `recoverable`. It can exceed
|
|
1352
|
+
* `recoverable` where a flat output fee meets a wholly subdust wallet.
|
|
1353
|
+
*
|
|
1354
|
+
* The batch size caps are not applied here: they defer the overflow to the
|
|
1355
|
+
* next cycle rather than reducing what is recoverable.
|
|
1356
|
+
*
|
|
1346
1357
|
* @returns Object containing recoverable amounts and subdust information
|
|
1347
1358
|
*
|
|
1348
1359
|
* @example
|
|
@@ -1343,6 +1343,17 @@ declare class VtxoManager implements AsyncDisposable, IVtxoManager {
|
|
|
1343
1343
|
*
|
|
1344
1344
|
* Useful for displaying to users before they decide to recover funds.
|
|
1345
1345
|
*
|
|
1346
|
+
* Both amounts are net of the operator's intent fees, so `recoverable` is
|
|
1347
|
+
* what {@link recoverVtxos} would actually hand back rather than the gross
|
|
1348
|
+
* sum of the inputs. `subdust` is net of the per-input fees only — the
|
|
1349
|
+
* output fee is charged on the batch as a whole and is not attributed per
|
|
1350
|
+
* coin — so it reports what the subdust coins are worth once each has paid
|
|
1351
|
+
* its own way, and is not strictly a slice of `recoverable`. It can exceed
|
|
1352
|
+
* `recoverable` where a flat output fee meets a wholly subdust wallet.
|
|
1353
|
+
*
|
|
1354
|
+
* The batch size caps are not applied here: they defer the overflow to the
|
|
1355
|
+
* next cycle rather than reducing what is recoverable.
|
|
1356
|
+
*
|
|
1346
1357
|
* @returns Object containing recoverable amounts and subdust information
|
|
1347
1358
|
*
|
|
1348
1359
|
* @example
|