Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix auth error: "name is required" (#2668)

Amruth Pillai150967857876
diff --git a/package.json b/package.json
index 06a28ef4a..b55c94ee8 100644
--- a/package.json
+++ b/package.json
@@ -56,10 +56,10 @@
"@sindresorhus/slugify": "^3.0.0",
"@t3-oss/env-core": "^0.13.10",
"@tanstack/react-query": "5.90.20",
- "@tanstack/react-router": "^1.157.17",
- "@tanstack/react-router-ssr-query": "^1.157.17",
- "@tanstack/react-start": "^1.157.17",
- "@tanstack/zod-adapter": "^1.157.17",
+ "@tanstack/react-router": "^1.157.18",
+ "@tanstack/react-router-ssr-query": "^1.157.18",
+ "@tanstack/react-start": "^1.157.18",
+ "@tanstack/zod-adapter": "^1.157.18",
"@tiptap/extension-highlight": "^3.18.0",
"@tiptap/extension-table": "^3.18.0",
"@tiptap/extension-text-align": "^3.18.0",
@@ -93,10 +93,10 @@
"react-hook-form": "^7.71.1",
"react-hotkeys-hook": "^5.2.3",
"react-resizable-panels": "^4.5.6",
- "react-window": "^2.2.5",
+ "react-window": "^2.2.6",
"react-zoom-pan-pinch": "^3.7.0",
"reflect-metadata": "^0.2.2",
- "shadcn": "^3.8.0",
+ "shadcn": "^3.8.1",
"sharp": "^0.34.5",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 5427d9713..f7ae4a4a8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -28,7 +28,7 @@ importers:
'@better-auth/passkey':
specifier: 1.5.0-beta.11
- version: 1.5.0-beta.11(72e1ebc0cd17927908aaa725ba142106)
+ version: 1.5.0-beta.11(bc77f1adfc1018afca90f6aeb483a6fa)
'@dnd-kit/core':
specifier: ^6.3.1
@@ -87,17 +87,17 @@ importers:
specifier: 5.90.20
version: 5.90.20([email protected])
'@tanstack/react-router':
- specifier: ^1.157.17
+ specifier: ^1.157.18
'@tanstack/react-router-ssr-query':
- specifier: ^1.157.17
+ specifier: ^1.157.18
'@tanstack/react-start':
- specifier: ^1.157.17
+ specifier: ^1.157.18
'@tanstack/zod-adapter':
- specifier: ^1.157.17
+ specifier: ^1.157.18
'@tiptap/extension-highlight':
specifier: ^3.18.0
version: 3.18.0(@tiptap/[email protected](@tiptap/[email protected]))
@@ -127,7 +127,7 @@ importers:
version: 6.0.0
better-auth:
specifier: 1.5.0-beta.11
class-variance-authority:
specifier: ^0.7.1
version: 0.7.1
@@ -198,8 +198,8 @@ importers:
specifier: ^4.5.6
react-window:
- specifier: ^2.2.5
+ specifier: ^2.2.6
react-zoom-pan-pinch:
specifier: ^3.7.0
@@ -207,8 +207,8 @@ importers:
specifier: ^0.2.2
version: 0.2.2
shadcn:
- specifier: ^3.8.0
+ specifier: ^3.8.1
sharp:
specifier: ^0.34.5
version: 0.34.5
@@ -3868,8 +3868,8 @@ packages:
peerDependencies:
react: ^18 || ^19
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-IrLi+cNLOAiTShuwGUi9WCNWXMG4993fnyXnWMC53M64rhUngPRFCAQiA05BavE/d7bifC6WKDTt1ZhC1Pewaw==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-hkvgOl3mDPR5msQi4EyP/tsStqYWVwUcwh6IGo7EOZ7Dj+gGor3hrsdVBH8UhUTDtTN1y4qxUqRn0BCGtVMhzg==}
engines: {node: '>=12'}
peerDependencies:
'@tanstack/query-core': '>=5.90.0'
@@ -3878,29 +3878,29 @@ packages:
react: '>=18.0.0 || >=19.0.0'
react-dom: '>=18.0.0 || >=19.0.0'
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-7i4wD8HFI/EZfwFYGNrcilqjrb+r/dxEl7F61rPfjUrfS39WGXQUSw0p/cQpcWEQZeYOGhqWjhmtM34H/Hul0g==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-qs//HcVhEZ0K2/Sqejol0vOWaFIh4EoYTQQix9FhHOyWvdUpGoTJS0+g/qxEnZZm7r9QNOrnyrYZ5CDAqnII6g==}
engines: {node: '>=12'}
peerDependencies:
react: '>=18.0.0 || >=19.0.0'
react-dom: '>=18.0.0 || >=19.0.0'
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-IivMHwgFInSGJIdzfRHiXYNUqUi4RE8ebL+9Ex2F1XzgOWjBEgcW3HHfyBN2YlthZ6HK6e+rt7rKLvpKcRmioQ==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-8bk6x7skZp62LnEC2PKegmTo4RrOMrah0RY60S3ZUDXAJGs+CF9a+0moidpawUQbWvoO6T413TVOnNFHyPixJQ==}
engines: {node: '>=22.12.0'}
peerDependencies:
react: '>=18.0.0 || >=19.0.0'
react-dom: '>=18.0.0 || >=19.0.0'
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-ky1O4e9Lo0VYN0wfWhSrpFKoN4XJ52UFkegX3QD9YRfS9eFuEKTOZ4y4UVXZNWA48pq3kCzKShYcgU1r107n+Q==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-LQg9FjwXJpt2yS1EdEP9r67KE9Qeg/9fWhdso+wl7XqGc8It/IEYh4D9qci3o+TVKS2b+MhIRklM0tVJ/nh1jw==}
engines: {node: '>=22.12.0'}
peerDependencies:
react: '>=18.0.0 || >=19.0.0'
react-dom: '>=18.0.0 || >=19.0.0'
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-2maaXUTGj6jJClAE3upHLMlrpDhrmKQ6ozK2IUgvIoNZJbW0ONcBLLKUpeSHaeN+lVtmcIj1GBUDUGgrPTcXAQ==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-ytKblzB34SHmm/7euujl2rZvEjzIsvICFzzKHd7DETi11FSih/WIMU4RKErMtIIc8R2NETh9MPGFLb+XFDsU6A==}
engines: {node: '>=22.12.0'}
peerDependencies:
react: '>=18.0.0 || >=19.0.0'
@@ -3913,20 +3913,20 @@ packages:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-eJuVgM7KZYTTr4uPorbUzUflmljMVcaX2g6VvhITLnHmg9SBx9RAgtQ1HmT+72mzyIbRSlQ1q0fY/m+of/fosA==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-jGkyA3EEE01Sf6d4goi//poxQNb/Odc/GzpjZSW2zwG+wcXm9hEzcI6vU2IxhAU0dvvwQyQgtU1HXTcXQ/Xg4A==}
engines: {node: '>=12'}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-Ae2M00VTFjjED7glSCi/mMLENRzhEym6NgjoOx7UVNbCC/rLU/5ASDe5VIlDa8QLEqP5Pj088Gi51gjmRuICvQ==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-t6nZdaX+pYWaudwg5Yasu/o8IAK8FPc4Jwq+rZpyaCgeZn895Vc407hxoRss40/hK1jk03b8x349+b1JekiSqA==}
engines: {node: '>=12'}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-3apEMtVxeal8735k9u/Rp2+rSogiRP6SYkZJloMI3WTktFEifGUJF5UfdtSxbF+yOT5UzUyWhbwOOmSbGuxiEw==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-1UrRnIhD4Ar0PpXwzIkxD8nfjzmO7oYRh4CkSUO+Xc6aD5poNB62aUWPp3vS5jnXDNSk0vr+N4QAPebjPKw0Hw==}
engines: {node: '>=12'}
peerDependencies:
'@rsbuild/core': '>=1.0.2'
- '@tanstack/react-router': ^1.157.17
+ '@tanstack/react-router': ^1.157.18
vite: '>=5.0.0 || >=6.0.0 || >=7.0.0'
vite-plugin-solid: ^2.11.10
webpack: '>=5.92.0'
@@ -3942,8 +3942,8 @@ packages:
webpack:
optional: true
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-YuwNG4jdtn+r90yyti8yP27IKaVoflWmRezqnj0gyJxpRauBkK7MVLvWSNbJadnk88b9H+rdtNOF2k3owGaong==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-BOPe+S8ULhaL6GdGzL8szyDvuX0sYQ52iyz4bqZ5DVRvRF0pOEOspwQ9VvAc04EbXmydxLO1yxhNht0+sSl1gw==}
engines: {node: '>=12'}
peerDependencies:
'@tanstack/query-core': '>=5.90.0'
@@ -3953,26 +3953,26 @@ packages:
resolution: {integrity: sha512-61bGx32tMKuEpVRseu2sh1KQe8CfB7793Mch/kyQt0EP3tD7X0sXmimCl3truRiDGUtI0CaSoQV1NPjAII1RBA==}
engines: {node: '>=12'}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-O+7H133MWQTkOxmXJNhrLXiOhDcBlxvpEcCd/N25Ga6eyZ7/P5vvFzNkSSxeQNkZV+RiPWnA5B75gT+U+buz3w==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-DehC8ONA3QTBbaB95sL8ID+lK284ETP8/k9RCifseXOzr5xWKNNGbe3+Fy8OYV1MtHIuOmCMqozzltPp5MTANg==}
engines: {node: '>=22.12.0'}
'@tanstack/[email protected]':
resolution: {integrity: sha512-D69B78L6pcFN5X5PHaydv7CScQcKLzJeEYqs7jpuyyqGQHSUIZUjS955j+Sir8cHhuDIovCe2LmsYHeZfWf3dQ==}
engines: {node: '>=22.12.0'}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-m2CN1arf366K57UjO3ZiEYo0XiHaqONsfBpDMwOLmfHN+m7YsgeDhONyUamU94hp6JuhTpI8bBheg9AatKrcwg==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-qUVfdEoLf/WYUB1WASR1hcxmlGvIBKiLEIFnpG/Kd/E01BwtHhDjv6WsEusg0n2WrWnYT2/6tuJRDPyXObV7IA==}
engines: {node: '>=22.12.0'}
peerDependencies:
vite: '>=7.0.0'
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-PEltFleYfiqz6+KcmzNXxc1lXgT7VDNKP6G6i1TirdHBDbRJ9CIY+ASLPlhrRwqwA2PL9PpFjXZl8u5bH/+Q9A==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-0ixErUvQsVM9SwOOpjyUOpS9KZBDRv1aoM2+qnSGR3DxZUricy/XbCaDAMxReN/0aJQzo47Y5gjpSWaGWlImWw==}
engines: {node: '>=22.12.0'}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-56izE0oihAw2YRwYUEds2H+uO5dyT2CahXCgWX62+l+FHou09M9mSep68n1lBKPdphC2ZU3cPV7wnvgeraJWHg==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-OqueMS78bULFTDw37uUR8s3yWdX9JVzW4uh/y8V9Iv3oEa6yAgGC2cfOy4My70UkkggAUhoVNopQZamPtL+EBQ==}
engines: {node: '>=22.12.0'}
'@tanstack/[email protected]':
@@ -3982,8 +3982,8 @@ packages:
resolution: {integrity: sha512-cHHDnewHozgjpI+MIVp9tcib6lYEQK5MyUr0ChHpHFGBl8Xei55rohFK0I0ve/GKoHeioaK42Smd8OixPp6CTg==}
engines: {node: '>=12'}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-C63tUcM8yn2QDjaeH580mSfb6gRUhlDr8EfzyAT0Os1eKH0HhQPSnpzOCjNpBysB3ZIhvhze4sZH7VkPxg2y9Q==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-QrwRC6OUHTUFnp9zaBWrpQRTmueJK+3sRITJPOgyjzd2zPL8k5LXQQ0sNwx+oonOtfkj4afOkmUaeuyJi4KlFw==}
engines: {node: '>=12'}
peerDependencies:
'@tanstack/react-router': '>=1.43.2'
@@ -7047,8 +7047,8 @@ packages:
'@types/react':
optional: true
- resolution: {integrity: sha512-6viWvPSZvVuMIe9hrl4IIZoVfO/npiqOb03m4Z9w+VihmVzBbiudUrtUqDpsWdKvd/Ai31TCR25CBcFFAUm28w==}
+ resolution: {integrity: sha512-v89O08xRdpCaEuf380B39D1C/0KgUDZA59xft6SVAjzjz/xQxSyXrgDWHymIsYI6TMrqE8WO+G0/PB9AGE8VNA==}
peerDependencies:
react: ^18.0.0 || ^19.0.0
react-dom: ^18.0.0 || ^19.0.0
@@ -7304,8 +7304,8 @@ packages:
resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}
- resolution: {integrity: sha512-PoMRpAYXD0jwppcZgoMwKx/8OKaHluWrmd9qEvWSiuRWJjPM/T9h0TveTASSVrghFR0/7ElftrfJPNh1WMuG6A==}
+ resolution: {integrity: sha512-3bu1gxtBvFrFnf55WzLX9QQuM6qik1sv0nXum1bhwgAfcJHDAENBPq2AYDaJaRlskETBqLH/8iacVhpPyyTr3A==}
hasBin: true
@@ -9595,14 +9595,14 @@ snapshots:
'@better-auth/utils': 0.3.1
mongodb: 7.0.0([email protected])
- '@better-auth/[email protected](72e1ebc0cd17927908aaa725ba142106)':
+ '@better-auth/[email protected](bc77f1adfc1018afca90f6aeb483a6fa)':
dependencies:
'@better-auth/utils': 0.3.1
'@better-fetch/fetch': 1.1.21
'@simplewebauthn/browser': 13.2.2
'@simplewebauthn/server': 13.2.2
better-call: 1.2.0([email protected])
nanostores: 1.1.0
zod: 4.3.6
@@ -12207,59 +12207,59 @@ snapshots:
'@tanstack/query-core': 5.90.20
react: 19.2.4
dependencies:
'@tanstack/query-core': 5.90.20
'@tanstack/react-query': 5.90.20([email protected])
- '@tanstack/react-router': 1.157.17([email protected]([email protected]))([email protected])
- '@tanstack/router-ssr-query-core': 1.157.16(@tanstack/[email protected])(@tanstack/[email protected])
+ '@tanstack/react-router': 1.157.18([email protected]([email protected]))([email protected])
+ '@tanstack/router-ssr-query-core': 1.157.18(@tanstack/[email protected])(@tanstack/[email protected])
react: 19.2.4
react-dom: 19.2.4([email protected])
transitivePeerDependencies:
- '@tanstack/router-core'
dependencies:
'@tanstack/history': 1.154.14
'@tanstack/react-store': 0.8.0([email protected]([email protected]))([email protected])
- '@tanstack/router-core': 1.157.16
+ '@tanstack/router-core': 1.157.18
isbot: 5.1.33
react: 19.2.4
react-dom: 19.2.4([email protected])
tiny-invariant: 1.3.3
tiny-warning: 1.0.3
dependencies:
- '@tanstack/react-router': 1.157.17([email protected]([email protected]))([email protected])
- '@tanstack/router-core': 1.157.16
- '@tanstack/start-client-core': 1.157.16
+ '@tanstack/react-router': 1.157.18([email protected]([email protected]))([email protected])
+ '@tanstack/router-core': 1.157.18
+ '@tanstack/start-client-core': 1.157.18
react: 19.2.4
react-dom: 19.2.4([email protected])
tiny-invariant: 1.3.3
tiny-warning: 1.0.3
dependencies:
'@tanstack/history': 1.154.14
- '@tanstack/react-router': 1.157.17([email protected]([email protected]))([email protected])
- '@tanstack/router-core': 1.157.16
- '@tanstack/start-client-core': 1.157.16
- '@tanstack/start-server-core': 1.157.16([email protected]([email protected]))
+ '@tanstack/react-router': 1.157.18([email protected]([email protected]))([email protected])
+ '@tanstack/router-core': 1.157.18
+ '@tanstack/start-client-core': 1.157.18
+ '@tanstack/start-server-core': 1.157.18([email protected]([email protected]))
react: 19.2.4
react-dom: 19.2.4([email protected])
transitivePeerDependencies:
- crossws
dependencies:
- '@tanstack/react-router': 1.157.17([email protected]([email protected]))([email protected])
- '@tanstack/react-start-client': 1.157.17([email protected]([email protected]))([email protected])
+ '@tanstack/react-router': 1.157.18([email protected]([email protected]))([email protected])
+ '@tanstack/react-start-client': 1.157.18([email protected]([email protected]))([email protected])
'@tanstack/router-utils': 1.154.7
- '@tanstack/start-client-core': 1.157.16
- '@tanstack/start-server-core': 1.157.16([email protected]([email protected]))
+ '@tanstack/start-client-core': 1.157.18
+ '@tanstack/start-server-core': 1.157.18([email protected]([email protected]))
pathe: 2.0.3
react: 19.2.4
react-dom: 19.2.4([email protected])
@@ -12278,7 +12278,7 @@ snapshots:
react-dom: 19.2.4([email protected])
use-sync-external-store: 1.6.0([email protected])
- '@tanstack/[email protected]':
+ '@tanstack/[email protected]':
dependencies:
'@tanstack/history': 1.154.14
'@tanstack/store': 0.8.0
@@ -12288,9 +12288,9 @@ snapshots:
tiny-invariant: 1.3.3
tiny-warning: 1.0.3
- '@tanstack/[email protected]':
+ '@tanstack/[email protected]':
dependencies:
- '@tanstack/router-core': 1.157.16
+ '@tanstack/router-core': 1.157.18
'@tanstack/router-utils': 1.154.7
'@tanstack/virtual-file-routes': 1.154.7
prettier: 3.8.0
@@ -12301,7 +12301,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@babel/core': 7.28.6
'@babel/plugin-syntax-jsx': 7.28.6(@babel/[email protected])
@@ -12309,8 +12309,8 @@ snapshots:
'@babel/template': 7.28.6
'@babel/traverse': 7.28.6
'@babel/types': 7.28.6
- '@tanstack/router-core': 1.157.16
- '@tanstack/router-generator': 1.157.16
+ '@tanstack/router-core': 1.157.18
+ '@tanstack/router-generator': 1.157.18
'@tanstack/router-utils': 1.154.7
'@tanstack/virtual-file-routes': 1.154.7
babel-dead-code-elimination: 1.0.12
@@ -12318,15 +12318,15 @@ snapshots:
unplugin: 2.3.11
zod: 3.25.76
optionalDependencies:
- '@tanstack/react-router': 1.157.17([email protected]([email protected]))([email protected])
+ '@tanstack/react-router': 1.157.18([email protected]([email protected]))([email protected])
transitivePeerDependencies:
- supports-color
- '@tanstack/[email protected](@tanstack/[email protected])(@tanstack/[email protected])':
+ '@tanstack/[email protected](@tanstack/[email protected])(@tanstack/[email protected])':
dependencies:
'@tanstack/query-core': 5.90.20
- '@tanstack/router-core': 1.157.16
+ '@tanstack/router-core': 1.157.18
'@tanstack/[email protected]':
dependencies:
@@ -12340,29 +12340,29 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@tanstack/[email protected]':
+ '@tanstack/[email protected]':
dependencies:
- '@tanstack/router-core': 1.157.16
+ '@tanstack/router-core': 1.157.18
'@tanstack/start-fn-stubs': 1.154.7
- '@tanstack/start-storage-context': 1.157.16
+ '@tanstack/start-storage-context': 1.157.18
seroval: 1.4.2
tiny-invariant: 1.3.3
tiny-warning: 1.0.3
'@tanstack/[email protected]': {}
dependencies:
'@babel/code-frame': 7.27.1
'@babel/core': 7.28.6
'@babel/types': 7.28.6
'@rolldown/pluginutils': 1.0.0-beta.40
- '@tanstack/router-core': 1.157.16
- '@tanstack/router-generator': 1.157.16
+ '@tanstack/router-core': 1.157.18
+ '@tanstack/router-generator': 1.157.18
'@tanstack/router-utils': 1.154.7
- '@tanstack/start-client-core': 1.157.16
- '@tanstack/start-server-core': 1.157.16([email protected]([email protected]))
+ '@tanstack/start-client-core': 1.157.18
+ '@tanstack/start-server-core': 1.157.18([email protected]([email protected]))
babel-dead-code-elimination: 1.0.12
cheerio: 1.1.2
exsolve: 1.0.8
@@ -12382,29 +12382,29 @@ snapshots:
- vite-plugin-solid
- webpack
dependencies:
'@tanstack/history': 1.154.14
- '@tanstack/router-core': 1.157.16
- '@tanstack/start-client-core': 1.157.16
- '@tanstack/start-storage-context': 1.157.16
+ '@tanstack/router-core': 1.157.18
+ '@tanstack/start-client-core': 1.157.18
+ '@tanstack/start-storage-context': 1.157.18
seroval: 1.4.2
tiny-invariant: 1.3.3
transitivePeerDependencies:
- crossws
- '@tanstack/[email protected]':
+ '@tanstack/[email protected]':
dependencies:
- '@tanstack/router-core': 1.157.16
+ '@tanstack/router-core': 1.157.18
'@tanstack/[email protected]': {}
'@tanstack/[email protected]': {}
dependencies:
- '@tanstack/react-router': 1.157.17([email protected]([email protected]))([email protected])
+ '@tanstack/react-router': 1.157.18([email protected]([email protected]))([email protected])
zod: 4.3.6
'@tediousjs/[email protected]': {}
@@ -12947,7 +12947,7 @@ snapshots:
node-addon-api: 8.5.0
node-gyp-build: 4.8.4
dependencies:
@@ -12968,7 +12968,7 @@ snapshots:
zod: 4.3.6
optionalDependencies:
drizzle-kit: 1.0.0-beta.9-e89174b
mongodb: 7.0.0([email protected])
@@ -15597,7 +15597,7 @@ snapshots:
optionalDependencies:
'@types/react': 19.2.10
dependencies:
react: 19.2.4
react-dom: 19.2.4([email protected])
@@ -15874,7 +15874,7 @@ snapshots:
dependencies:
'@antfu/ni': 25.0.0
'@babel/core': 7.28.6
diff --git a/src/integrations/auth/config.ts b/src/integrations/auth/config.ts
index beedb02e8..409319e83 100644
--- a/src/integrations/auth/config.ts
+++ b/src/integrations/auth/config.ts
@@ -120,10 +120,6 @@ const getAuthConfig = () => {
},
},
additionalFields: {
- name: {
- type: "string",
- required: true,
- },
username: {
type: "string",
required: true,
diff --git a/src/integrations/auth/functions.ts b/src/integrations/auth/functions.ts
index f788c2e84..6002c0662 100644
--- a/src/integrations/auth/functions.ts
+++ b/src/integrations/auth/functions.ts
@@ -12,5 +12,5 @@ export const getSession = createIsomorphicFn()
})
.server(async (): Promise<AuthSession | null> => {
const result = await auth.api.getSession({ headers: getRequestHeaders() });
- return result;
+ return result as AuthSession | null;
});
diff --git a/src/integrations/auth/types.ts b/src/integrations/auth/types.ts
index 4ce213e37..2e85dca12 100644
--- a/src/integrations/auth/types.ts
+++ b/src/integrations/auth/types.ts
@@ -1,7 +1,12 @@
import z from "zod";
import type { auth } from "./config";
-export type AuthSession = typeof auth.$Infer.Session;
+export type AuthSession = {
+ session: typeof auth.$Infer.Session.session;
+ user: typeof auth.$Infer.Session.user & {
+ name: string;
+ };
+};
const authProviderSchema = z.enum(["credential", "google", "github", "custom"]);