@unhead/schema
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -35,3 +35,3 @@ import { MaybePromiseProps, MergeHead, BaseBodyAttributes, HtmlAttributes as HtmlAttributes$1, Meta as Meta$1, Stringable, Merge, Base as Base$1, DefinedValueOrEmptyObject, LinkBase, HttpEventAttributes, DataKeys, Style as Style$1, ScriptBase, Noscript as Noscript$1, BodyEvents, MetaFlatInput } from 'zhead'; | ||
}) => any); | ||
transform?: (script: Script) => Promise<Script> | Script; | ||
transform?: (script: UseScriptInput) => Promise<UseScriptInput> | UseScriptInput; | ||
trigger?: 'idle' | 'manual' | Promise<void>; | ||
@@ -93,3 +93,3 @@ } | ||
'script:transform': (ctx: { | ||
script: Script; | ||
script: UseScriptInput; | ||
}) => HookResult; | ||
@@ -96,0 +96,0 @@ 'script:updated': (ctx: { |
{ | ||
"name": "@unhead/schema", | ||
"type": "module", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"author": "Harlan Wilton <harlan@harlanzw.com>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
62338