@unhead/schema 1.10.0-beta.2 → 1.10.0-beta.4

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
@@ -537,8 +537,8 @@ interface ScriptInstance<T extends BaseScriptApi> {
537
537
  * @internal
538
538
  */
539
539
  _cbs: {
540
- loaded: ((instance: T) => void | Promise<void>)[];
541
- error: ((err?: Error) => void | Promise<void>)[];
540
+ loaded: null | ((instance: T) => void | Promise<void>)[];
541
+ error: null | ((err?: Error) => void | Promise<void>)[];
542
542
  };
543
543
  }
544
544
  type UseFunctionType<T, U> = T extends {
package/dist/index.d.mts CHANGED
@@ -537,8 +537,8 @@ interface ScriptInstance<T extends BaseScriptApi> {
537
537
  * @internal
538
538
  */
539
539
  _cbs: {
540
- loaded: ((instance: T) => void | Promise<void>)[];
541
- error: ((err?: Error) => void | Promise<void>)[];
540
+ loaded: null | ((instance: T) => void | Promise<void>)[];
541
+ error: null | ((err?: Error) => void | Promise<void>)[];
542
542
  };
543
543
  }
544
544
  type UseFunctionType<T, U> = T extends {
package/dist/index.d.ts CHANGED
@@ -537,8 +537,8 @@ interface ScriptInstance<T extends BaseScriptApi> {
537
537
  * @internal
538
538
  */
539
539
  _cbs: {
540
- loaded: ((instance: T) => void | Promise<void>)[];
541
- error: ((err?: Error) => void | Promise<void>)[];
540
+ loaded: null | ((instance: T) => void | Promise<void>)[];
541
+ error: null | ((err?: Error) => void | Promise<void>)[];
542
542
  };
543
543
  }
544
544
  type UseFunctionType<T, U> = T extends {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unhead/schema",
3
3
  "type": "module",
4
- "version": "1.10.0-beta.2",
4
+ "version": "1.10.0-beta.4",
5
5
  "author": "Harlan Wilton <harlan@harlanzw.com>",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",