Comparing version 2.0.0-alpha.8 to 2.0.0-alpha.9
import * as _unhead_schema from '@unhead/schema'; | ||
import { Head, CreateClientHeadOptions, Unhead, DomPluginOptions, RenderDomHeadOptions } from '@unhead/schema'; | ||
import { Head, CreateClientHeadOptions, DomPluginOptions, Unhead, RenderDomHeadOptions } from '@unhead/schema'; | ||
declare function createHead<T extends Record<string, any> = Head>(options?: CreateClientHeadOptions): _unhead_schema.Unhead<T>; | ||
/** | ||
* Queue a debounced update of the DOM head. | ||
*/ | ||
declare function debouncedRenderDOMHead<T extends Unhead<any>>(head: T, options?: DomPluginOptions): Promise<void>; | ||
declare function DomPlugin(options: DomPluginOptions): _unhead_schema.HeadPluginInput; | ||
declare function DomPlugin(options?: DomPluginOptions): _unhead_schema.HeadPluginInput; | ||
/** | ||
@@ -25,2 +20,4 @@ * Supports DOM event handlers (i.e `onload`) as functions. | ||
export { ClientEventHandlerPlugin, DomPlugin, createHead, debouncedRenderDOMHead, renderDOMHead }; | ||
declare function createDebouncedFn(callee: () => void, delayer: (fn: () => void) => void): () => void; | ||
export { ClientEventHandlerPlugin, DomPlugin, createDebouncedFn, createHead, renderDOMHead }; |
{ | ||
"name": "unhead", | ||
"type": "module", | ||
"version": "2.0.0-alpha.8", | ||
"version": "2.0.0-alpha.9", | ||
"description": "Full-stack <head> manager built for any framework.", | ||
@@ -82,4 +82,4 @@ "author": { | ||
"hookable": "^5.5.3", | ||
"@unhead/schema": "2.0.0-alpha.8", | ||
"@unhead/shared": "2.0.0-alpha.8" | ||
"@unhead/schema": "2.0.0-alpha.9", | ||
"@unhead/shared": "2.0.0-alpha.9" | ||
}, | ||
@@ -86,0 +86,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2785
119525
+ Added@unhead/schema@2.0.0-alpha.9(transitive)
+ Added@unhead/shared@2.0.0-alpha.9(transitive)
- Removed@unhead/schema@2.0.0-alpha.8(transitive)
- Removed@unhead/shared@2.0.0-alpha.8(transitive)
Updated@unhead/schema@2.0.0-alpha.9
Updated@unhead/shared@2.0.0-alpha.9