@unhead/dom
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -1,19 +0,3 @@ | ||
import { HeadClient, HeadTag, HookResult } from '@unhead/schema'; | ||
import { HeadClient } from '@unhead/schema'; | ||
interface DomRenderTagContext { | ||
head: HeadClient; | ||
tag: HeadTag; | ||
document: Document; | ||
} | ||
declare module '@unhead/schema' { | ||
interface HeadHooks { | ||
'dom:beforeRender': (ctx: { | ||
head: HeadClient; | ||
tags: HeadTag[]; | ||
document: Document; | ||
}) => HookResult; | ||
'dom:renderTag': (ctx: DomRenderTagContext) => HookResult; | ||
} | ||
} | ||
interface RenderDomHeadOptions { | ||
@@ -38,2 +22,2 @@ /** | ||
export { DomRenderTagContext, RenderDomHeadOptions, debouncedRenderDOMHead, domUpdatePromise, renderDOMHead }; | ||
export { RenderDomHeadOptions, debouncedRenderDOMHead, domUpdatePromise, renderDOMHead }; |
{ | ||
"name": "@unhead/dom", | ||
"type": "module", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"packageManager": "pnpm@7.14.0", | ||
@@ -31,3 +31,3 @@ "author": "Harlan Wilton <harlan@harlanzw.com>", | ||
"dependencies": { | ||
"@unhead/schema": "0.1.1" | ||
"@unhead/schema": "0.1.2" | ||
}, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
8889
4
222
+ Added@unhead/schema@0.1.2(transitive)
- Removed@unhead/schema@0.1.1(transitive)
Updated@unhead/schema@0.1.2