From af49dfd04fb9d52396ecc9309b40cf121e16c94f Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Thu, 25 Sep 2025 21:49:40 -0700 Subject: [PATCH] fix(core): fix getters on ActorConn proxy --- packages/rivetkit/src/client/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rivetkit/src/client/client.ts b/packages/rivetkit/src/client/client.ts index 8bb42f399..8ba0c2ee2 100644 --- a/packages/rivetkit/src/client/client.ts +++ b/packages/rivetkit/src/client/client.ts @@ -491,7 +491,7 @@ function createActorProxy( // Handle built-in Promise methods and existing properties if (prop === "constructor" || prop in target) { - const value = Reflect.get(target, prop, receiver); + const value = Reflect.get(target, prop, target); // Preserve method binding if (typeof value === "function") { return value.bind(target);