@kuratchi/js 0.0.12 → 0.0.13

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.
@@ -1671,7 +1671,9 @@ function buildRouteObject(opts) {
1671
1671
  explicitLoadFunction = transpileTypeScript(explicitLoadFunction, `route-load:${pattern}.ts`);
1672
1672
  }
1673
1673
  const scriptReturnVars = parsed.script
1674
- ? parsed.dataVars.filter((v) => !queryVars.includes(v))
1674
+ ? parsed.dataVars.filter((v) => !queryVars.includes(v) &&
1675
+ !parsed.actionFunctions.includes(v) &&
1676
+ !parsed.pollFunctions.includes(v))
1675
1677
  : [];
1676
1678
  // Load function �" internal server prepass for async route script bodies
1677
1679
  // and data-get query state hydration.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuratchi/js",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "A thin, Cloudflare Workers-native web framework with Svelte-inspired syntax",
5
5
  "license": "MIT",
6
6
  "type": "module",