@unhead/schema 0.4.5 → 0.4.7

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.d.ts +4 -6
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -71,10 +71,6 @@ interface TagInternalProperties {
71
71
  * Position
72
72
  */
73
73
  _p?: number;
74
- /**
75
- * Hash id used as a selector
76
- */
77
- _s?: string;
78
74
  /**
79
75
  * Dedupe key
80
76
  */
@@ -231,7 +227,6 @@ interface DomRenderTagContext {
231
227
  }
232
228
  interface BeforeRenderContext {
233
229
  shouldRender: boolean;
234
- tags: HeadTag[];
235
230
  }
236
231
  interface SSRRenderContext {
237
232
  tags: HeadTag[];
@@ -252,7 +247,10 @@ interface HeadHooks {
252
247
  'dom:beforeRenderTag': (ctx: DomRenderTagContext) => HookResult;
253
248
  'dom:renderTag': (ctx: DomRenderTagContext) => HookResult;
254
249
  'ssr:beforeRender': (ctx: BeforeRenderContext) => HookResult;
255
- 'ssr:render': (ctx: SSRRenderContext) => HookResult;
250
+ 'ssr:render': (ctx: {
251
+ tags: HeadTag[];
252
+ }) => HookResult;
253
+ 'ssr:rendered': (ctx: SSRRenderContext) => HookResult;
256
254
  }
257
255
 
258
256
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unhead/schema",
3
3
  "type": "module",
4
- "version": "0.4.5",
4
+ "version": "0.4.7",
5
5
  "packageManager": "pnpm@7.14.0",
6
6
  "author": "Harlan Wilton <harlan@harlanzw.com>",
7
7
  "license": "MIT",
@@ -35,7 +35,7 @@
35
35
  "dist"
36
36
  ],
37
37
  "dependencies": {
38
- "@zhead/schema": "1.0.0-beta.11",
38
+ "@zhead/schema": "1.0.0-beta.13",
39
39
  "hookable": "^5.4.1"
40
40
  },
41
41
  "scripts": {