@inglorious/ssx 1.6.0 → 1.6.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inglorious/ssx",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Server-Side-X. Xecution? Xperience? Who knows.",
5
5
  "author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
6
6
  "license": "MIT",
@@ -57,7 +57,7 @@
57
57
  "svgo": "^4.0.0",
58
58
  "vite": "^7.1.3",
59
59
  "vite-plugin-image-optimizer": "^2.0.3",
60
- "@inglorious/web": "4.2.0"
60
+ "@inglorious/web": "4.2.1"
61
61
  },
62
62
  "devDependencies": {
63
63
  "prettier": "^3.6.2",
@@ -42,7 +42,7 @@ export async function renderPage(store, page, entity, options = {}) {
42
42
  ...getPageOption("scripts", DEFAULT_OPTIONS),
43
43
  ]
44
44
 
45
- return toHTML(store, (api) => api.render(moduleName, { allowType: true }), {
45
+ return toHTML(store, (api) => api.render(moduleName), {
46
46
  ...options,
47
47
  lang,
48
48
  charset,
@@ -62,7 +62,7 @@ const root = document.getElementById("root")
62
62
 
63
63
  mount(store, (api) => {
64
64
  const { route } = api.getEntity("router")
65
- return api.render(route, { allowType: true })
65
+ return api.render(route)
66
66
  }, root)
67
67
  `
68
68
  }