@clerk/clerk-react
Advanced tools
Comparing version
/** DO NOT EDIT: This file is automatically generated by ../scripts/info.js */ | ||
export declare const LIB_VERSION = "4.0.0-next.1"; | ||
export declare const LIB_VERSION = "4.0.0-next.2"; | ||
export declare const LIB_NAME = "@clerk/clerk-react"; | ||
//# sourceMappingURL=info.d.ts.map |
@@ -5,4 +5,4 @@ "use strict"; | ||
/** DO NOT EDIT: This file is automatically generated by ../scripts/info.js */ | ||
exports.LIB_VERSION = '4.0.0-next.1'; | ||
exports.LIB_VERSION = '4.0.0-next.2'; | ||
exports.LIB_NAME = '@clerk/clerk-react'; | ||
//# sourceMappingURL=info.js.map |
@@ -8,3 +8,3 @@ "use strict"; | ||
const MISSING_BODY_ERROR = 'Clerk: Missing <body> element.'; | ||
const UNSTABLE_RELEASE_TAGS = ['staging']; | ||
const UNSTABLE_RELEASE_TAGS = ['staging', 'next']; | ||
const extractNonStableTag = (packageVersion) => { | ||
@@ -31,6 +31,6 @@ var _a; | ||
}; | ||
const nonStableTag = extractNonStableTag(info_1.LIB_VERSION); | ||
if (forceStagingReleaseForClerkFapi(frontendApi)) { | ||
return getUrlForTag('staging'); | ||
return nonStableTag ? getUrlForTag(nonStableTag) : getUrlForTag('staging'); | ||
} | ||
const nonStableTag = extractNonStableTag(info_1.LIB_VERSION); | ||
if (nonStableTag) { | ||
@@ -37,0 +37,0 @@ return getUrlForTag(nonStableTag); |
{ | ||
"name": "@clerk/clerk-react", | ||
"version": "4.0.0-next.1", | ||
"version": "4.0.0-next.2", | ||
"license": "MIT", | ||
@@ -71,3 +71,3 @@ "description": "Clerk.dev React library", | ||
}, | ||
"gitHead": "2091bff63205edb1cf231e2e39d838c3d3286a8b" | ||
"gitHead": "1089fc7ea076f6df70a1d92bc2d6becb969b7fee" | ||
} |
/** DO NOT EDIT: This file is automatically generated by ../scripts/info.js */ | ||
export const LIB_VERSION = '4.0.0-next.1'; | ||
export const LIB_VERSION = '4.0.0-next.2'; | ||
export const LIB_NAME = '@clerk/clerk-react'; |
@@ -14,3 +14,3 @@ import { LIB_VERSION } from '../info'; | ||
const UNSTABLE_RELEASE_TAGS = ['staging']; | ||
const UNSTABLE_RELEASE_TAGS = ['staging', 'next']; | ||
@@ -43,8 +43,8 @@ const extractNonStableTag = (packageVersion: string) => { | ||
}; | ||
const nonStableTag = extractNonStableTag(LIB_VERSION); | ||
if (forceStagingReleaseForClerkFapi(frontendApi)) { | ||
return getUrlForTag('staging'); | ||
return nonStableTag ? getUrlForTag(nonStableTag) : getUrlForTag('staging'); | ||
} | ||
const nonStableTag = extractNonStableTag(LIB_VERSION); | ||
if (nonStableTag) { | ||
@@ -51,0 +51,0 @@ return getUrlForTag(nonStableTag); |
Sorry, the diff of this file is not supported yet
263178
0.06%