@tanstack/start-server-core 1.169.13 → 1.169.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/start-server-core",
3
- "version": "1.169.13",
3
+ "version": "1.169.14",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -77,7 +77,7 @@
77
77
  "seroval": "^1.5.4",
78
78
  "@tanstack/history": "1.162.0",
79
79
  "@tanstack/router-core": "1.171.13",
80
- "@tanstack/start-client-core": "1.170.11",
80
+ "@tanstack/start-client-core": "1.170.12",
81
81
  "@tanstack/start-storage-context": "1.167.15"
82
82
  },
83
83
  "devDependencies": {
@@ -157,7 +157,7 @@ const getUser = createServerFn({ method: 'GET' }).handler(async () => {
157
157
 
158
158
  // Update session
159
159
  const login = createServerFn({ method: 'POST' })
160
- .inputValidator((data: { userId: string }) => data)
160
+ .validator((data: { userId: string }) => data)
161
161
  .handler(async ({ data }) => {
162
162
  await updateSession(sessionConfig, { userId: data.userId })
163
163
  return { success: true }