@unhead/schema 1.9.14 → 1.9.16

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
@@ -535,7 +535,7 @@ interface UseScriptOptions<T> extends HeadEntryOptions {
535
535
  * Stub the script instance. Useful for SSR or testing.
536
536
  */
537
537
  stub?: ((ctx: {
538
- script: Promise<T> & ScriptInstance<T>;
538
+ script: ScriptInstance<T>;
539
539
  fn: string | symbol;
540
540
  }) => any);
541
541
  /**
package/dist/index.d.mts CHANGED
@@ -535,7 +535,7 @@ interface UseScriptOptions<T> extends HeadEntryOptions {
535
535
  * Stub the script instance. Useful for SSR or testing.
536
536
  */
537
537
  stub?: ((ctx: {
538
- script: Promise<T> & ScriptInstance<T>;
538
+ script: ScriptInstance<T>;
539
539
  fn: string | symbol;
540
540
  }) => any);
541
541
  /**
package/dist/index.d.ts CHANGED
@@ -535,7 +535,7 @@ interface UseScriptOptions<T> extends HeadEntryOptions {
535
535
  * Stub the script instance. Useful for SSR or testing.
536
536
  */
537
537
  stub?: ((ctx: {
538
- script: Promise<T> & ScriptInstance<T>;
538
+ script: ScriptInstance<T>;
539
539
  fn: string | symbol;
540
540
  }) => any);
541
541
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unhead/schema",
3
3
  "type": "module",
4
- "version": "1.9.14",
4
+ "version": "1.9.16",
5
5
  "author": "Harlan Wilton <harlan@harlanzw.com>",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",