@unhead/schema 1.11.3 → 1.11.5

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.
package/dist/index.d.cts CHANGED
@@ -578,7 +578,7 @@ interface UseScriptOptions<T extends BaseScriptApi = {}, U = {}> extends HeadEnt
578
578
  * - `Function` - Register a callback function to load the script, exists only on the client.
579
579
  * - `server` - Have the script injected on the server.
580
580
  */
581
- trigger?: 'client' | 'server' | 'manual' | Promise<void> | ((fn: any) => any) | null;
581
+ trigger?: 'client' | 'server' | 'manual' | Promise<boolean | void> | ((fn: any) => any) | null;
582
582
  /**
583
583
  * Context to run events with. This is useful in Vue to attach the current instance context before
584
584
  * calling the event, allowing the event to be reactive.
package/dist/index.d.mts CHANGED
@@ -578,7 +578,7 @@ interface UseScriptOptions<T extends BaseScriptApi = {}, U = {}> extends HeadEnt
578
578
  * - `Function` - Register a callback function to load the script, exists only on the client.
579
579
  * - `server` - Have the script injected on the server.
580
580
  */
581
- trigger?: 'client' | 'server' | 'manual' | Promise<void> | ((fn: any) => any) | null;
581
+ trigger?: 'client' | 'server' | 'manual' | Promise<boolean | void> | ((fn: any) => any) | null;
582
582
  /**
583
583
  * Context to run events with. This is useful in Vue to attach the current instance context before
584
584
  * calling the event, allowing the event to be reactive.
package/dist/index.d.ts CHANGED
@@ -578,7 +578,7 @@ interface UseScriptOptions<T extends BaseScriptApi = {}, U = {}> extends HeadEnt
578
578
  * - `Function` - Register a callback function to load the script, exists only on the client.
579
579
  * - `server` - Have the script injected on the server.
580
580
  */
581
- trigger?: 'client' | 'server' | 'manual' | Promise<void> | ((fn: any) => any) | null;
581
+ trigger?: 'client' | 'server' | 'manual' | Promise<boolean | void> | ((fn: any) => any) | null;
582
582
  /**
583
583
  * Context to run events with. This is useful in Vue to attach the current instance context before
584
584
  * calling the event, allowing the event to be reactive.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unhead/schema",
3
3
  "type": "module",
4
- "version": "1.11.3",
4
+ "version": "1.11.5",
5
5
  "author": "Harlan Wilton <harlan@harlanzw.com>",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",