@checksum-ai/runtime 1.1.38 → 1.1.40
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/checksumlib.js +9 -1
- package/cli.js +55 -52
- package/index.d.helpers.ts +14 -0
- package/index.d.ts +4 -10
- package/index.js +65 -65
- package/package.json +1 -1
- package/test-run-monitor.js +5 -5
- package/vtg-build/asset-manifest.json +3 -3
- package/vtg-build/index.html +1 -1
- package/vtg-build/static/js/main.834cf05e.js +103 -0
- package/vtg-build/static/js/main.834cf05e.js.LICENSE.txt +118 -0
- package/vtg-build/static/js/main.834cf05e.js.map +1 -0
- package/vtg-build/static/js/main.c055edb4.js +103 -0
- package/vtg-build/static/js/main.c055edb4.js.LICENSE.txt +118 -0
- package/vtg-build/static/js/main.c055edb4.js.map +1 -0
package/checksumlib.js
CHANGED
|
@@ -29512,14 +29512,22 @@
|
|
|
29512
29512
|
}
|
|
29513
29513
|
async goLive(sleepAfter = 1e3) {
|
|
29514
29514
|
if (this.isLive) {
|
|
29515
|
+
console.log("Already live, nothing to do.");
|
|
29515
29516
|
return;
|
|
29516
29517
|
}
|
|
29518
|
+
console.log("Going live...");
|
|
29517
29519
|
this.stop();
|
|
29518
29520
|
this.currentTraveledNumberOfEvents = void 0;
|
|
29519
29521
|
const { trimmedEvents, castedEvents } = this.trimEventsToLastCheckout(
|
|
29520
29522
|
this.liveEvents
|
|
29521
29523
|
);
|
|
29522
|
-
this.start(
|
|
29524
|
+
this.start(
|
|
29525
|
+
{
|
|
29526
|
+
...this.startOptions,
|
|
29527
|
+
firstEventTimestamp: castedEvents.length ? castedEvents[0].timestamp : trimmedEvents[0].timestamp
|
|
29528
|
+
},
|
|
29529
|
+
castedEvents
|
|
29530
|
+
);
|
|
29523
29531
|
this.isLive = true;
|
|
29524
29532
|
await this.fastForward(trimmedEvents);
|
|
29525
29533
|
if (sleepAfter) {
|