Skip to content

Commit e590260

Browse files
Merge pull request #281 from Authing/fix-v5-ts-type-in-start
Fix v5 ts type in start
2 parents b3d6d34 + 5c1dcfa commit e590260

20 files changed

Lines changed: 73 additions & 73 deletions

File tree

examples/guard-nextjs-react18/package-lock.json

Lines changed: 49 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/guard-nextjs-react18/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint:fix": "next lint --fix"
1111
},
1212
"dependencies": {
13-
"@authing/guard-react18": "^5.3.0-alpha.6",
13+
"@authing/guard-react18": "^5.3.1-alpha.0",
1414
"@types/node": "18.11.9",
1515
"@types/react": "18.0.24",
1616
"@types/react-dom": "18.0.8",

examples/guard-nextjs-react18/pages/login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function Login() {
88
const guard = new Guard(guardOptions)
99

1010
const guardEffects = async () => {
11-
guard.start('#authing-guard-container').then(userInfo => {
11+
guard.start(document.querySelector('#authing-guard-container') as HTMLElement).then(userInfo => {
1212
console.log('start userInfo: ', userInfo)
1313
})
1414

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"packages/*"
55
],
66
"useWorkspaces": true,
7-
"version": "5.3.0"
7+
"version": "5.3.1-alpha.0"
88
}

packages/guard-angular/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/guard-angular/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@authing/guard-angular",
3-
"version": "5.3.0",
3+
"version": "5.3.1-alpha.0",
44
"description": "Guard for Angular",
55
"module": "dist/fesm2015/authing-guard-angular.mjs",
66
"types": "dist/index.d.ts",
@@ -33,7 +33,7 @@
3333
"@angular/core": "^14.0.0"
3434
},
3535
"dependencies": {
36-
"@authing/guard": "^5.3.0"
36+
"@authing/guard": "^5.3.1-alpha.0"
3737
},
3838
"author": "https://github.com/authing",
3939
"license": "MIT",

packages/guard-react/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/guard-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@authing/guard-react",
3-
"version": "5.3.0",
3+
"version": "5.3.1-alpha.0",
44
"description": "Guard for React",
55
"module": "dist/esm/guard.min.js",
66
"types": "dist/typings/index.d.ts",
@@ -24,7 +24,7 @@
2424
"webpack": "^5.72.0"
2525
},
2626
"dependencies": {
27-
"@authing/guard": "^5.3.0",
27+
"@authing/guard": "^5.3.1-alpha.0",
2828
"react": "^16.13.1"
2929
},
3030
"author": "https://github.com/authing",

packages/guard-react18/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/guard-react18/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@authing/guard-react18",
3-
"version": "5.3.0",
3+
"version": "5.3.1-alpha.0",
44
"description": "Guard for React18",
55
"module": "dist/esm/guard.min.js",
66
"types": "dist/typings/index.d.ts",
@@ -25,7 +25,7 @@
2525
"webpack": "^5.72.0"
2626
},
2727
"dependencies": {
28-
"@authing/guard-shim-react18": "^5.3.0",
28+
"@authing/guard-shim-react18": "^5.3.1-alpha.0",
2929
"react": "^18.0.0"
3030
},
3131
"author": "https://github.com/authing",

0 commit comments

Comments
 (0)