@clerk/shared
Advanced tools
Comparing version 2.19.1 to 2.19.2-canary.v20241206164250
@@ -1186,3 +1186,3 @@ "use strict"; | ||
// src/versionSelector.ts | ||
var versionSelector = (clerkJSVersion, packageVersion = "5.40.0") => { | ||
var versionSelector = (clerkJSVersion, packageVersion = "5.40.1-canary.v20241206164250") => { | ||
if (clerkJSVersion) { | ||
@@ -1194,3 +1194,3 @@ return clerkJSVersion; | ||
if (prereleaseTag === "snapshot") { | ||
return "5.40.0"; | ||
return "5.40.1-canary.v20241206164250"; | ||
} | ||
@@ -1197,0 +1197,0 @@ return prereleaseTag; |
@@ -272,3 +272,3 @@ "use strict"; | ||
// src/versionSelector.ts | ||
var versionSelector = (clerkJSVersion, packageVersion = "5.40.0") => { | ||
var versionSelector = (clerkJSVersion, packageVersion = "5.40.1-canary.v20241206164250") => { | ||
if (clerkJSVersion) { | ||
@@ -280,3 +280,3 @@ return clerkJSVersion; | ||
if (prereleaseTag === "snapshot") { | ||
return "5.40.0"; | ||
return "5.40.1-canary.v20241206164250"; | ||
} | ||
@@ -283,0 +283,0 @@ return prereleaseTag; |
@@ -150,3 +150,9 @@ "use strict"; | ||
throw new Error( | ||
`${displayNameOrFn} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider` | ||
`${displayNameOrFn} can only be used within the <ClerkProvider /> component. | ||
Possible fixes: | ||
1. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used. | ||
2. Check for multiple versions of the \`@clerk/shared\` package in your project. Use a tool like \`npm ls @clerk/shared\` to identify multiple versions, and update your dependencies to only rely on one. | ||
Learn more: https://clerk.com/docs/components/clerk-provider`.trim() | ||
); | ||
@@ -153,0 +159,0 @@ } |
@@ -27,3 +27,3 @@ "use strict"; | ||
module.exports = __toCommonJS(versionSelector_exports); | ||
var versionSelector = (clerkJSVersion, packageVersion = "5.40.0") => { | ||
var versionSelector = (clerkJSVersion, packageVersion = "5.40.1-canary.v20241206164250") => { | ||
if (clerkJSVersion) { | ||
@@ -35,3 +35,3 @@ return clerkJSVersion; | ||
if (prereleaseTag === "snapshot") { | ||
return "5.40.0"; | ||
return "5.40.1-canary.v20241206164250"; | ||
} | ||
@@ -38,0 +38,0 @@ return prereleaseTag; |
{ | ||
"name": "@clerk/shared", | ||
"version": "2.19.1", | ||
"version": "2.19.2-canary.v20241206164250", | ||
"description": "Internal package utils used by the Clerk SDKs", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1126066
12622
2