@dvmkit/dvm-cli 0.2.0 → 0.2.1
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 +7 -1
- package/dist/{chunk-ECK465AY.js → chunk-5GIU2LBJ.js} +5 -5
- package/dist/{chunk-N7MGIK2U.js → chunk-7FUTMGAW.js} +57989 -54673
- package/dist/{chunk-OWJZYYMG.js → chunk-JHUMURHA.js} +1 -1
- package/dist/{chunk-4JXFXP4Y.js → chunk-V2BE4E5V.js} +5 -2
- package/dist/{chunk-G5C6E6PJ.js → chunk-XJN5ZDAL.js} +8196 -8189
- package/dist/{chunk-ZJYO7OLO.js → chunk-XN4YSEO6.js} +89 -11
- package/dist/dvm.js +1725 -26627
- package/dist/{internal-JDG52DJH.js → internal-URPZ64UG.js} +21 -21
- package/dist/{payout-reporter-3UB5WRCV-XTVZFIAO.js → payout-reporter-RG6XNGPI-KNY74HLM.js} +1 -1
- package/dist/{pocket-refill-QJMMD6QN.js → pocket-refill-DS6LOMFF.js} +6 -6
- package/dist/{revenue-reporter-JIKUPXOK-TYUBTF4P.js → revenue-reporter-ASZ7SHHH-ISAMJDZQ.js} +1 -1
- package/dist/{tempo-lifecycle-SQL3KLEZ-AATA2SKI.js → tempo-lifecycle-SQL3KLEZ-YZ2XAOOS.js} +2 -2
- package/dist/{tempo-wallet-QOLEIPCV-SWCXRBDS.js → tempo-wallet-QOLEIPCV-A6BUUBJS.js} +1 -1
- package/dist/{x402-FTG2GRAQ-UGAUMUL6.js → x402-T2C5MX3T-CMGC2CLF.js} +3 -3
- package/package.json +5 -6
- package/skills/dvm/SKILL.md +1 -1
|
@@ -82,7 +82,7 @@ async function generateTempoKey(opts = {}) {
|
|
|
82
82
|
);
|
|
83
83
|
}
|
|
84
84
|
if (existing && opts.force) {
|
|
85
|
-
const { assertTempoWalletIdle } = await import("./tempo-lifecycle-SQL3KLEZ-
|
|
85
|
+
const { assertTempoWalletIdle } = await import("./tempo-lifecycle-SQL3KLEZ-YZ2XAOOS.js");
|
|
86
86
|
await assertTempoWalletIdle("replace");
|
|
87
87
|
}
|
|
88
88
|
const { privateKeyToAccount, generatePrivateKey } = await import("./accounts-2WZE4N5F.js");
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
withSdkInitLock
|
|
6
6
|
} from "./chunk-3SWX5BQP.js";
|
|
7
7
|
|
|
8
|
-
// node_modules/@dvmkit/sdk/dist/chunk-
|
|
8
|
+
// node_modules/@dvmkit/sdk/dist/chunk-6BQM7TOW.js
|
|
9
9
|
import { createHash, randomUUID } from "crypto";
|
|
10
10
|
var MemoryX402BatchStore = class {
|
|
11
11
|
batches = /* @__PURE__ */ new Map();
|
|
@@ -143,6 +143,7 @@ var PayoutReporter = class {
|
|
|
143
143
|
ownsBatchStore;
|
|
144
144
|
intervalMs;
|
|
145
145
|
now;
|
|
146
|
+
lastX402SnapshotAt = 0;
|
|
146
147
|
x402;
|
|
147
148
|
tempo;
|
|
148
149
|
timer = null;
|
|
@@ -575,6 +576,8 @@ var PayoutReporter = class {
|
|
|
575
576
|
async snapshotX402() {
|
|
576
577
|
const ctx = this.x402;
|
|
577
578
|
if (!ctx) return;
|
|
579
|
+
const snapshotAt = Math.max(this.now(), this.lastX402SnapshotAt + 1);
|
|
580
|
+
this.lastX402SnapshotAt = snapshotAt;
|
|
578
581
|
try {
|
|
579
582
|
const pools = [];
|
|
580
583
|
const wedged = [];
|
|
@@ -630,7 +633,7 @@ var PayoutReporter = class {
|
|
|
630
633
|
items: pools.length,
|
|
631
634
|
pools,
|
|
632
635
|
wedged,
|
|
633
|
-
snapshotAt
|
|
636
|
+
snapshotAt
|
|
634
637
|
});
|
|
635
638
|
} catch (err) {
|
|
636
639
|
warn("payout_pending_snapshot_failed", { rail: "x402", error: message(err) });
|