@inglorious/web 4.2.0 → 4.2.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/types/mount.d.ts +1 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inglorious/web",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "A new web framework that leverages the power of the Inglorious Store combined with the performance and simplicity of lit-html.",
5
5
  "author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
6
6
  "license": "MIT",
@@ -68,8 +68,8 @@
68
68
  "dependencies": {
69
69
  "@lit-labs/ssr-client": "^1.1.8",
70
70
  "lit-html": "^3.3.1",
71
- "@inglorious/utils": "3.7.3",
72
- "@inglorious/store": "9.5.0"
71
+ "@inglorious/store": "9.5.0",
72
+ "@inglorious/utils": "3.7.3"
73
73
  },
74
74
  "devDependencies": {
75
75
  "prettier": "^3.6.2",
package/types/mount.d.ts CHANGED
@@ -5,13 +5,9 @@ export type Api = StoreApi & {
5
5
  /**
6
6
  * Renders an entity or a type component by its ID.
7
7
  * @param id The ID of the entity or type to render.
8
- * @param options Rendering options.
9
8
  * @returns The rendered template or an empty string if not found.
10
9
  */
11
- render: (
12
- id: string,
13
- options?: { allowType?: boolean },
14
- ) => TemplateResult | string
10
+ render: (id: string) => TemplateResult | string
15
11
  }
16
12
 
17
13
  /**