@auth/sveltekit
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -27,3 +27,3 @@ /** | ||
}, | ||
// @ts-expect-error -- ignore | ||
// @ts-ignore | ||
body: new URLSearchParams({ | ||
@@ -37,3 +37,3 @@ ...options, | ||
const error = new URL(data.url).searchParams.get("error"); | ||
if (redirect || !isSupportingReturn || !error) { | ||
if (redirect || !isSupportingReturn) { | ||
// TODO: Do not redirect for Credentials and Email providers by default in next major | ||
@@ -40,0 +40,0 @@ window.location.href = data.url ?? callbackUrl; |
{ | ||
"name": "@auth/sveltekit", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Authentication for SvelteKit.", | ||
@@ -36,6 +36,6 @@ "keywords": [ | ||
"vitest": "^0.25.3", | ||
"next-auth": "4.22.0" | ||
"next-auth": "4.22.1" | ||
}, | ||
"dependencies": { | ||
"@auth/core": "0.5.1" | ||
"@auth/core": "0.8.2" | ||
}, | ||
@@ -42,0 +42,0 @@ "peerDependencies": { |
@@ -55,3 +55,3 @@ import type { | ||
}, | ||
// @ts-expect-error -- ignore | ||
// @ts-ignore | ||
body: new URLSearchParams({ | ||
@@ -67,3 +67,3 @@ ...options, | ||
if (redirect || !isSupportingReturn || !error) { | ||
if (redirect || !isSupportingReturn) { | ||
// TODO: Do not redirect for Credentials and Email providers by default in next major | ||
@@ -70,0 +70,0 @@ window.location.href = data.url ?? callbackUrl |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42689
+ Added@auth/core@0.8.2(transitive)
- Removed@auth/core@0.5.1(transitive)
Updated@auth/core@0.8.2