@clerk/shared
Advanced tools
Comparing version 2.17.2-snapshot.v20241203113408 to 2.18.0-canary.v20241203121026
@@ -1186,3 +1186,3 @@ "use strict"; | ||
// src/versionSelector.ts | ||
var versionSelector = (clerkJSVersion, packageVersion = "5.36.1-snapshot.v20241203113408") => { | ||
var versionSelector = (clerkJSVersion, packageVersion = "5.36.1-canary.v20241203121026") => { | ||
if (clerkJSVersion) { | ||
@@ -1194,3 +1194,3 @@ return clerkJSVersion; | ||
if (prereleaseTag === "snapshot") { | ||
return "5.36.1-snapshot.v20241203113408"; | ||
return "5.36.1-canary.v20241203121026"; | ||
} | ||
@@ -1197,0 +1197,0 @@ return prereleaseTag; |
@@ -272,3 +272,3 @@ "use strict"; | ||
// src/versionSelector.ts | ||
var versionSelector = (clerkJSVersion, packageVersion = "5.36.1-snapshot.v20241203113408") => { | ||
var versionSelector = (clerkJSVersion, packageVersion = "5.36.1-canary.v20241203121026") => { | ||
if (clerkJSVersion) { | ||
@@ -280,3 +280,3 @@ return clerkJSVersion; | ||
if (prereleaseTag === "snapshot") { | ||
return "5.36.1-snapshot.v20241203113408"; | ||
return "5.36.1-canary.v20241203121026"; | ||
} | ||
@@ -283,0 +283,0 @@ return prereleaseTag; |
@@ -808,2 +808,3 @@ "use strict"; | ||
// src/react/hooks/useReverification.ts | ||
var CLERK_API_REVERIFICATION_ERROR_CODE = "session_reverification_required"; | ||
async function resolveResult(result) { | ||
@@ -817,3 +818,3 @@ try { | ||
} catch (e) { | ||
if (isClerkAPIResponseError(e) && e.errors.find(({ code }) => code == "session_step_up_verification_required")) { | ||
if (isClerkAPIResponseError(e) && e.errors.find(({ code }) => code === CLERK_API_REVERIFICATION_ERROR_CODE)) { | ||
return reverificationError(); | ||
@@ -820,0 +821,0 @@ } |
@@ -27,3 +27,3 @@ "use strict"; | ||
module.exports = __toCommonJS(versionSelector_exports); | ||
var versionSelector = (clerkJSVersion, packageVersion = "5.36.1-snapshot.v20241203113408") => { | ||
var versionSelector = (clerkJSVersion, packageVersion = "5.36.1-canary.v20241203121026") => { | ||
if (clerkJSVersion) { | ||
@@ -35,3 +35,3 @@ return clerkJSVersion; | ||
if (prereleaseTag === "snapshot") { | ||
return "5.36.1-snapshot.v20241203113408"; | ||
return "5.36.1-canary.v20241203121026"; | ||
} | ||
@@ -38,0 +38,0 @@ return prereleaseTag; |
{ | ||
"name": "@clerk/shared", | ||
"version": "2.17.2-snapshot.v20241203113408", | ||
"version": "2.18.0-canary.v20241203121026", | ||
"description": "Internal package utils used by the Clerk SDKs", | ||
@@ -123,3 +123,3 @@ "repository": { | ||
"swr": "^2.2.0", | ||
"@clerk/types": "4.35.2-snapshot.v20241203113408" | ||
"@clerk/types": "4.35.2-canary.v20241203121026" | ||
}, | ||
@@ -126,0 +126,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1092903
12142
+ Added@clerk/types@4.35.2-canary.v20241203121026(transitive)
- Removed@clerk/types@4.35.2-snapshot.v20241203113408(transitive)