@jay-framework/production-server 0.20.0 → 0.21.0
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.
- package/dist/index.js +6 -1
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -300,7 +300,12 @@ async function buildInstance(route, params, pageModule, ctx, routeServerElementP
|
|
|
300
300
|
if (pageParts.discoveredInstances.length > 0 && pageParts.headlessInstanceComponents.length > 0) {
|
|
301
301
|
const slowResult2 = await slowRenderInstances(
|
|
302
302
|
pageParts.discoveredInstances,
|
|
303
|
-
pageParts.headlessInstanceComponents
|
|
303
|
+
pageParts.headlessInstanceComponents,
|
|
304
|
+
{
|
|
305
|
+
pageViewState: slowViewState,
|
|
306
|
+
pageParams: params,
|
|
307
|
+
pageProps: { language: "en", url: "" }
|
|
308
|
+
}
|
|
304
309
|
);
|
|
305
310
|
if (slowResult2) {
|
|
306
311
|
const existingInstances = carryForward.__instances || {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jay-framework/production-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
"test:watch": "vitest"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@jay-framework/compiler-jay-html": "^0.
|
|
34
|
-
"@jay-framework/compiler-jay-stack": "^0.
|
|
35
|
-
"@jay-framework/compiler-shared": "^0.
|
|
36
|
-
"@jay-framework/fullstack-component": "^0.
|
|
37
|
-
"@jay-framework/logger": "^0.
|
|
38
|
-
"@jay-framework/ssr-runtime": "^0.
|
|
39
|
-
"@jay-framework/stack-route-scanner": "^0.
|
|
40
|
-
"@jay-framework/stack-server-runtime": "^0.
|
|
41
|
-
"@jay-framework/view-state-merge": "^0.
|
|
42
|
-
"@jay-framework/vite-plugin": "^0.
|
|
33
|
+
"@jay-framework/compiler-jay-html": "^0.21.0",
|
|
34
|
+
"@jay-framework/compiler-jay-stack": "^0.21.0",
|
|
35
|
+
"@jay-framework/compiler-shared": "^0.21.0",
|
|
36
|
+
"@jay-framework/fullstack-component": "^0.21.0",
|
|
37
|
+
"@jay-framework/logger": "^0.21.0",
|
|
38
|
+
"@jay-framework/ssr-runtime": "^0.21.0",
|
|
39
|
+
"@jay-framework/stack-route-scanner": "^0.21.0",
|
|
40
|
+
"@jay-framework/stack-server-runtime": "^0.21.0",
|
|
41
|
+
"@jay-framework/view-state-merge": "^0.21.0",
|
|
42
|
+
"@jay-framework/vite-plugin": "^0.21.0",
|
|
43
43
|
"vite": "^5.0.11"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@jay-framework/dev-environment": "^0.
|
|
46
|
+
"@jay-framework/dev-environment": "^0.21.0",
|
|
47
47
|
"@types/node": "^22.15.21",
|
|
48
48
|
"rimraf": "^5.0.5",
|
|
49
49
|
"tsup": "^8.0.1",
|