@unhead/solid-js 3.0.0-beta.10 → 3.0.0-beta.11

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/client.d.mts CHANGED
@@ -1,10 +1,11 @@
1
- import { CreateClientHeadOptions, Unhead } from 'unhead/types';
1
+ import { ClientUnhead } from 'unhead/client';
2
+ export { renderDOMHead } from 'unhead/client';
3
+ import { CreateClientHeadOptions } from 'unhead/types';
2
4
  export { CreateClientHeadOptions, Unhead } from 'unhead/types';
3
5
  export { UnheadContext } from './server.mjs';
4
- export { renderDOMHead } from 'unhead/client';
5
6
  import 'solid-js';
6
7
  import 'unhead/server';
7
8
 
8
- declare function createHead(options?: CreateClientHeadOptions): Unhead;
9
+ declare function createHead(options?: CreateClientHeadOptions): ClientUnhead;
9
10
 
10
11
  export { createHead };
package/dist/client.d.ts CHANGED
@@ -1,10 +1,11 @@
1
- import { CreateClientHeadOptions, Unhead } from 'unhead/types';
1
+ import { ClientUnhead } from 'unhead/client';
2
+ export { renderDOMHead } from 'unhead/client';
3
+ import { CreateClientHeadOptions } from 'unhead/types';
2
4
  export { CreateClientHeadOptions, Unhead } from 'unhead/types';
3
5
  export { UnheadContext } from './server.js';
4
- export { renderDOMHead } from 'unhead/client';
5
6
  import 'solid-js';
6
7
  import 'unhead/server';
7
8
 
8
- declare function createHead(options?: CreateClientHeadOptions): Unhead;
9
+ declare function createHead(options?: CreateClientHeadOptions): ClientUnhead;
9
10
 
10
11
  export { createHead };
@@ -1,14 +1,14 @@
1
- import { Unhead, CreateStreamableServerHeadOptions } from 'unhead/types';
1
+ import { ServerUnhead } from 'unhead/server';
2
+ import { CreateStreamableServerHeadOptions } from 'unhead/types';
2
3
  export { UnheadContext } from '../server.mjs';
3
4
  export { StreamingTemplateParts, WebStreamableHeadContext, prepareStreamingTemplate, renderSSRHeadShell, renderSSRHeadSuspenseChunk, wrapStream } from 'unhead/stream/server';
4
5
  import 'solid-js';
5
- import 'unhead/server';
6
6
 
7
7
  /**
8
8
  * Solid-js streaming context returned by createStreamableHead.
9
9
  */
10
10
  interface SolidStreamableHeadContext {
11
- head: Unhead;
11
+ head: ServerUnhead;
12
12
  /**
13
13
  * Callback to pass to renderToStream's onCompleteShell option.
14
14
  * This captures head entries from shell components before streaming starts.
@@ -1,14 +1,14 @@
1
- import { Unhead, CreateStreamableServerHeadOptions } from 'unhead/types';
1
+ import { ServerUnhead } from 'unhead/server';
2
+ import { CreateStreamableServerHeadOptions } from 'unhead/types';
2
3
  export { UnheadContext } from '../server.js';
3
4
  export { StreamingTemplateParts, WebStreamableHeadContext, prepareStreamingTemplate, renderSSRHeadShell, renderSSRHeadSuspenseChunk, wrapStream } from 'unhead/stream/server';
4
5
  import 'solid-js';
5
- import 'unhead/server';
6
6
 
7
7
  /**
8
8
  * Solid-js streaming context returned by createStreamableHead.
9
9
  */
10
10
  interface SolidStreamableHeadContext {
11
- head: Unhead;
11
+ head: ServerUnhead;
12
12
  /**
13
13
  * Callback to pass to renderToStream's onCompleteShell option.
14
14
  * This captures head entries from shell components before streaming starts.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unhead/solid-js",
3
3
  "type": "module",
4
- "version": "3.0.0-beta.10",
4
+ "version": "3.0.0-beta.11",
5
5
  "description": "Full-stack <head> manager built for SolidJS.",
6
6
  "author": "Harlan Wilton <harlan@harlanzw.com>",
7
7
  "license": "MIT",
@@ -83,7 +83,7 @@
83
83
  "dist"
84
84
  ],
85
85
  "peerDependencies": {
86
- "solid-js": ">=19",
86
+ "solid-js": ">=1.9.0",
87
87
  "vite": ">=6"
88
88
  },
89
89
  "peerDependenciesMeta": {
@@ -100,14 +100,14 @@
100
100
  "magic-string": "^0.30.21",
101
101
  "oxc-parser": "^0.106.0",
102
102
  "oxc-walker": "^0.7.0",
103
- "unhead": "3.0.0-beta.10"
103
+ "unhead": "3.0.0-beta.11"
104
104
  },
105
105
  "devDependencies": {
106
106
  "@solidjs/testing-library": "^0.8.10",
107
107
  "@testing-library/jest-dom": "^6.9.1",
108
108
  "@testing-library/user-event": "14.6.1",
109
109
  "solid-js": "^1.9.10",
110
- "vite": "^7.2.2",
110
+ "vite": "^7.3.1",
111
111
  "vite-plugin-solid": "^2.11.10"
112
112
  },
113
113
  "scripts": {