@jay-framework/stack-server-runtime 0.6.4 → 0.6.6

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -104,8 +104,8 @@ async function renderFastChangingData(pageParams, pageProps, carryForward, parts
104
104
  return Promise.resolve(fullstackComponent.partialRender(fastViewState, fastCarryForward));
105
105
  }
106
106
  function generateClientScript(defaultViewState, fastCarryForward, parts, jayHtmlPath) {
107
- const imports = parts.length > 1 ? parts.map((part) => part.clientImport).join("\n") + "\n" : "";
108
- const compositeParts = parts.length > 1 ? `[
107
+ const imports = parts.length > 0 ? parts.map((part) => part.clientImport).join("\n") + "\n" : "";
108
+ const compositeParts = parts.length > 0 ? `[
109
109
  ${parts.map((part) => " " + part.clientPart).join(",\n")}
110
110
  ]` : "[]";
111
111
  return `<!doctype html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jay-framework/stack-server-runtime",
3
- "version": "0.6.4",
3
+ "version": "0.6.6",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.mts",
@@ -25,16 +25,16 @@
25
25
  "test:watch": "vitest"
26
26
  },
27
27
  "dependencies": {
28
- "@jay-framework/compiler-jay-html": "^0.6.4",
29
- "@jay-framework/component": "^0.6.4",
30
- "@jay-framework/fullstack-component": "^0.6.4",
31
- "@jay-framework/runtime": "^0.6.4",
32
- "@jay-framework/stack-route-scanner": "^0.6.4"
28
+ "@jay-framework/compiler-jay-html": "^0.6.6",
29
+ "@jay-framework/component": "^0.6.6",
30
+ "@jay-framework/fullstack-component": "^0.6.6",
31
+ "@jay-framework/runtime": "^0.6.6",
32
+ "@jay-framework/stack-route-scanner": "^0.6.6"
33
33
  },
34
34
  "devDependencies": {
35
- "@jay-framework/dev-environment": "^0.6.4",
36
- "@jay-framework/jay-cli": "^0.6.4",
37
- "@jay-framework/stack-client-runtime": "^0.6.4",
35
+ "@jay-framework/dev-environment": "^0.6.6",
36
+ "@jay-framework/jay-cli": "^0.6.6",
37
+ "@jay-framework/stack-client-runtime": "^0.6.6",
38
38
  "@types/express": "^5.0.2",
39
39
  "@types/node": "^22.15.21",
40
40
  "nodemon": "^3.0.3",