Skip to content

Commit

Permalink
Use ClerkJS Core 2 (v5)
Browse files Browse the repository at this point in the history
  • Loading branch information
anagstef committed May 22, 2024
1 parent 09882c9 commit bdf59e5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.3",
"@clerk/shared": "2.0.0-beta.19",
"@clerk/types": "4.0.0-beta.20"
"@clerk/shared": "2.2.0",
"@clerk/types": "4.5.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.3.1",
Expand Down
4 changes: 2 additions & 2 deletions projects/ngx-clerk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"license": "MIT",
"author": "https://github.com/anagstef",
"dependencies": {
"@clerk/shared": "2.0.0-beta.19",
"@clerk/types": "4.0.0-beta.20",
"@clerk/shared": "2.2.0",
"@clerk/types": "4.5.0",
"tslib": "2.3.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-clerk/src/lib/utils/loadClerkJsScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const loadClerkJsScript = (opts: ClerkInitOptions) => {
};

const clerkJsScriptUrl = (opts: ClerkInitOptions) => {
const { clerkJSUrl, clerkJSVariant, clerkJSVersion = 'beta', publishableKey } = opts;
const { clerkJSUrl, clerkJSVariant, clerkJSVersion = '5', publishableKey } = opts;

if (clerkJSUrl) {
return clerkJSUrl;
Expand Down

0 comments on commit bdf59e5

Please sign in to comment.