rwsdk 0.1.33 → 0.1.34

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.
@@ -98,7 +98,7 @@ export function defineRoutes(routes) {
98
98
  if (isRouteComponent(h)) {
99
99
  const requestInfo = getRequestInfo();
100
100
  const WrappedComponent = wrapWithLayouts(wrapHandlerToThrowResponses(h), layouts || [], requestInfo);
101
- if (!isClientReference(WrappedComponent)) {
101
+ if (!isClientReference(h)) {
102
102
  // context(justinvdm, 31 Jul 2025): We now know we're dealing with a page route,
103
103
  // so we create a deferred so that we can signal when we're done determining whether
104
104
  // we're returning a response or a react element
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rwsdk",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "description": "Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime",
5
5
  "type": "module",
6
6
  "bin": {