Add OTP sign-in option + Account Linking (#276)

* feat(accounts): allow linking email password
* feat(auth): add OTP sign-in
* refactor(accounts): remove 'sonner' dependency and update toast imports
* feat(supabase): enable analytics and configure database seeding
* feat(auth): update email templates and add OTP template
* feat(auth): add last sign in method hints
* feat(config): add devIndicators position to bottom-right
* feat(auth): implement comprehensive last authentication method tracking tests
This commit is contained in:
Giancarlo Buomprisco
2025-06-13 16:47:35 +07:00
committed by GitHub
parent 856e9612c4
commit 9033155fcd
87 changed files with 2580 additions and 1172 deletions

View File

@@ -24,9 +24,9 @@
"@kit/sentry": "workspace:*",
"@kit/shared": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@types/react": "19.1.6",
"@types/react": "19.1.8",
"react": "19.1.0",
"zod": "^3.25.56"
"zod": "^3.25.63"
},
"typesVersions": {
"*": {

View File

@@ -24,9 +24,9 @@
"@kit/eslint-config": "workspace:*",
"@kit/prettier-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@types/react": "19.1.6",
"@types/react": "19.1.8",
"react": "19.1.0",
"zod": "^3.25.56"
"zod": "^3.25.63"
},
"typesVersions": {
"*": {

View File

@@ -10,11 +10,9 @@ export function BaselimeProvider({
children,
apiKey,
enableWebVitals,
ErrorPage,
}: React.PropsWithChildren<{
apiKey?: string;
enableWebVitals?: boolean;
ErrorPage?: React.ReactElement;
}>) {
const key = apiKey ?? process.env.NEXT_PUBLIC_BASELIME_KEY ?? '';
@@ -28,11 +26,7 @@ export function BaselimeProvider({
}
return (
<BaselimeRum
apiKey={key}
enableWebVitals={enableWebVitals}
fallback={ErrorPage ?? null}
>
<BaselimeRum apiKey={key} enableWebVitals={enableWebVitals}>
<MonitoringProvider>{children}</MonitoringProvider>
</BaselimeRum>
);

View File

@@ -17,7 +17,7 @@
"@kit/eslint-config": "workspace:*",
"@kit/prettier-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@types/react": "19.1.6",
"@types/react": "19.1.8",
"react": "19.1.0"
},
"typesVersions": {

View File

@@ -16,7 +16,7 @@
"./config/server": "./src/sentry.client.server.ts"
},
"dependencies": {
"@sentry/nextjs": "^9.27.0",
"@sentry/nextjs": "^9.28.1",
"import-in-the-middle": "1.14.0"
},
"devDependencies": {
@@ -24,7 +24,7 @@
"@kit/monitoring-core": "workspace:*",
"@kit/prettier-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@types/react": "19.1.6",
"@types/react": "19.1.8",
"react": "19.1.0"
},
"typesVersions": {