@tanstack/react-start 1.168.9 → 1.168.10
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/esm/index.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- package/package.json +8 -8
- package/src/index.ts +15 -1
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { useServerFn } from './useServerFn.js';
|
|
2
2
|
export * from '@tanstack/start-client-core';
|
|
3
|
-
export { createServerFn } from '@tanstack/start-client-core';
|
|
3
|
+
export { createClientOnlyFn, createCsrfMiddleware, createIsomorphicFn, createMiddleware, createServerFn, createServerOnlyFn, createStart, } from '@tanstack/start-client-core';
|
|
4
4
|
export { Hydrate } from '@tanstack/react-start-client';
|
|
5
5
|
export type { HydrateOptions, HydrateProps, HydrationInteractionEvent, HydrationInteractionEvents, HydrationPrefetchStrategy, HydrationStrategy, HydrationWhen, } from '@tanstack/react-start-client';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useServerFn } from "./useServerFn.js";
|
|
2
|
-
import { createServerFn } from "@tanstack/start-client-core";
|
|
2
|
+
import { createClientOnlyFn, createCsrfMiddleware, createIsomorphicFn, createMiddleware, createServerFn, createServerOnlyFn, createStart } from "@tanstack/start-client-core";
|
|
3
3
|
import { Hydrate } from "@tanstack/react-start-client";
|
|
4
4
|
export * from "@tanstack/start-client-core";
|
|
5
|
-
export { Hydrate, createServerFn, useServerFn };
|
|
5
|
+
export { Hydrate, createClientOnlyFn, createCsrfMiddleware, createIsomorphicFn, createMiddleware, createServerFn, createServerOnlyFn, createStart, useServerFn };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/react-start",
|
|
3
|
-
"version": "1.168.
|
|
3
|
+
"version": "1.168.10",
|
|
4
4
|
"description": "Modern and scalable routing for React applications",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -155,14 +155,14 @@
|
|
|
155
155
|
},
|
|
156
156
|
"dependencies": {
|
|
157
157
|
"pathe": "^2.0.3",
|
|
158
|
-
"@tanstack/react-router": "1.170.
|
|
159
|
-
"@tanstack/react-start-client": "1.168.
|
|
160
|
-
"@tanstack/react-start-rsc": "0.1.
|
|
161
|
-
"@tanstack/react-start-server": "1.167.
|
|
158
|
+
"@tanstack/react-router": "1.170.7",
|
|
159
|
+
"@tanstack/react-start-client": "1.168.2",
|
|
160
|
+
"@tanstack/react-start-rsc": "0.1.10",
|
|
161
|
+
"@tanstack/react-start-server": "1.167.7",
|
|
162
162
|
"@tanstack/router-utils": "1.162.1",
|
|
163
|
-
"@tanstack/start-client-core": "1.170.
|
|
164
|
-
"@tanstack/start-plugin-core": "1.171.
|
|
165
|
-
"@tanstack/start-server-core": "1.169.
|
|
163
|
+
"@tanstack/start-client-core": "1.170.2",
|
|
164
|
+
"@tanstack/start-plugin-core": "1.171.3",
|
|
165
|
+
"@tanstack/start-server-core": "1.169.2"
|
|
166
166
|
},
|
|
167
167
|
"peerDependencies": {
|
|
168
168
|
"@rsbuild/core": "^2.0.0",
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
export { useServerFn } from './useServerFn'
|
|
2
2
|
export * from '@tanstack/start-client-core'
|
|
3
|
-
export
|
|
3
|
+
// Explicit re-exports shadow `export *` above so these public-API names are
|
|
4
|
+
// registered on the namespace at link time (via Vite SSR's `defineExport`
|
|
5
|
+
// at fileStartIndex), surviving the cold-start SSR cycle through user
|
|
6
|
+
// middleware. See vitejs/vite#22491 / #22493. Trim list to genuine public
|
|
7
|
+
// API only; internals fall through `export *` and are safe because they
|
|
8
|
+
// aren't imported at top level in the cycle path.
|
|
9
|
+
export {
|
|
10
|
+
createClientOnlyFn,
|
|
11
|
+
createCsrfMiddleware,
|
|
12
|
+
createIsomorphicFn,
|
|
13
|
+
createMiddleware,
|
|
14
|
+
createServerFn,
|
|
15
|
+
createServerOnlyFn,
|
|
16
|
+
createStart,
|
|
17
|
+
} from '@tanstack/start-client-core'
|
|
4
18
|
export { Hydrate } from '@tanstack/react-start-client'
|
|
5
19
|
export type {
|
|
6
20
|
HydrateOptions,
|