Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions clients/openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@
}
},
"put": {
"cors": [
null
],
"requestBody": {
"content": {
"application/json": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"react@^19": "^19.0.0",
"react-dom@^19": "^19.0.0",
"react@^18": "^18.3",
"hono": "4.8.3",
"hono": "4.9.8",
"zod": "3.25.76"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/rivetkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
"@rivetkit/engine-runner": "https://pkg.pr.new/rivet-dev/engine/@rivetkit/engine-runner@b72b232",
"@rivetkit/fast-json-patch": "^3.1.2",
"cbor-x": "^1.6.0",
"hono": "^4.7.0",
"hono": "^4.9.8",
"invariant": "^2.2.4",
"nanoevents": "^9.1.0",
"on-change": "^5.0.1",
Expand Down
4 changes: 3 additions & 1 deletion packages/rivetkit/src/actor/router-endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,9 @@ export async function handleAction(
responseData,
HTTP_ACTION_RESPONSE_VERSIONED,
);
return c.body(serialized as Uint8Array, 200, {

// TODO: Remvoe any, Hono is being a dumbass
return c.body(serialized as Uint8Array as any, 200, {
"Content-Type": contentTypeForEncoding(encoding),
});
}
Expand Down
3 changes: 2 additions & 1 deletion packages/rivetkit/src/common/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@ export function handleRouteError(error: unknown, c: HonoContext) {
HTTP_RESPONSE_ERROR_VERSIONED,
);

return c.body(output, { status: statusCode });
// TODO: Remove any
return c.body(output as any, { status: statusCode });
}
3 changes: 2 additions & 1 deletion packages/rivetkit/src/manager/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ export function createManagerRouter(
response = { err };
}

return c.body(cbor.encode(response));
// TODO: Remove any
return c.body(cbor.encode(response) as any);
});

router.get(".test/inline-driver/connect-websocket/*", async (c) => {
Expand Down
102 changes: 51 additions & 51 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading