@rivetkit/engine-runner 2.3.0-rc.8 → 2.3.0

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/mod.js CHANGED
@@ -1,5 +1,6 @@
1
1
  // src/mod.ts
2
2
  import * as protocol from "@rivetkit/engine-runner-protocol";
3
+ import { v4 as uuidv4 } from "uuid";
3
4
 
4
5
  // src/log.ts
5
6
  var LOGGER;
@@ -1537,7 +1538,6 @@ async function importWebSocket() {
1537
1538
  }
1538
1539
 
1539
1540
  // src/mod.ts
1540
- import { v4 as uuidv4 } from "uuid";
1541
1541
  var KV_EXPIRE = 3e4;
1542
1542
  var PROTOCOL_VERSION = 7;
1543
1543
  var EVENT_BACKLOG_WARN_THRESHOLD = 1e4;
@@ -2217,7 +2217,7 @@ var Runner = class {
2217
2217
  );
2218
2218
  for (const [_, actor] of this.#actors) {
2219
2219
  const checkpoint = ack.lastEventCheckpoints.find(
2220
- (x) => x.actorId == actor.actorId
2220
+ (x) => x.actorId === actor.actorId
2221
2221
  );
2222
2222
  if (checkpoint) actor.handleAckEvents(checkpoint.index);
2223
2223
  }
@@ -2317,7 +2317,7 @@ var Runner = class {
2317
2317
  }
2318
2318
  }
2319
2319
  async #handleCommandStopActor(commandWrapper) {
2320
- const stopCommand = commandWrapper.inner.val;
2320
+ const _stopCommand = commandWrapper.inner.val;
2321
2321
  const actorId = commandWrapper.checkpoint.actorId;
2322
2322
  const generation = commandWrapper.checkpoint.generation;
2323
2323
  await this.forceStopActor(actorId, generation);