Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit e6785c6

Browse files
committed
chore: update sdk
1 parent 5a74e24 commit e6785c6

File tree

3 files changed

+58
-16
lines changed

3 files changed

+58
-16
lines changed

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
"@hono/node-server": "^1.18.2",
173173
"@hono/node-ws": "^1.1.1",
174174
"@rivet-gg/actor-core": "^25.1.0",
175-
"@rivetkit/engine-runner": "https://pkg.pr.new/rivet-gg/engine/@rivetkit/engine-runner@472",
175+
"@rivetkit/engine-runner": "https://pkg.pr.new/rivet-gg/engine/@rivetkit/engine-runner@7f23f3a",
176176
"@types/invariant": "^2",
177177
"@types/node": "^22.13.1",
178178
"@types/ws": "^8",

packages/core/src/drivers/engine/actor-driver.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import type {
3131
RegistryConfig,
3232
RunConfig,
3333
UniversalWebSocket,
34+
UpgradeWebSocketArgs,
3435
} from "@/mod";
3536
import {
3637
createActorRouter,
@@ -207,7 +208,7 @@ export class EngineActorDriver implements ActorDriver {
207208
});
208209

209210
// Deserialize input
210-
let input;
211+
let input: any;
211212
if (config.input) {
212213
input = cbor.decode(config.input);
213214
}
@@ -299,7 +300,7 @@ export class EngineActorDriver implements ActorDriver {
299300
// Fetch WS handler
300301
//
301302
// We store the promise since we need to add WebSocket event listeners immediately that will wait for the promise to resolve
302-
let wsHandlerPromise;
303+
let wsHandlerPromise: Promise<UpgradeWebSocketArgs>;
303304
if (url.pathname === PATH_CONNECT_WEBSOCKET) {
304305
wsHandlerPromise = handleWebSocketConnect(
305306
request,

pnpm-lock.yaml

Lines changed: 54 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)