@auth0/auth0-react 2.8.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/auth0-context.d.ts +3 -3
- package/dist/auth0-react.cjs.js +6 -6
- package/dist/auth0-react.cjs.js.map +1 -1
- package/dist/auth0-react.esm.js +5 -5
- package/dist/auth0-react.esm.js.map +1 -1
- package/dist/auth0-react.js +6 -6
- package/dist/auth0-react.js.map +1 -1
- package/dist/auth0-react.min.js +1 -1
- package/dist/auth0-react.min.js.map +1 -1
- package/package.json +2 -2
- package/src/auth0-context.tsx +3 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "Auth0",
|
|
3
3
|
"name": "@auth0/auth0-react",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.9.0",
|
|
5
5
|
"description": "Auth0 SDK for React Single Page Applications (SPA)",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"auth0",
|
|
@@ -95,6 +95,6 @@
|
|
|
95
95
|
"react-dom": "^16.11.0 || ^17 || ^18 || ^19"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@auth0/auth0-spa-js": "^2.
|
|
98
|
+
"@auth0/auth0-spa-js": "^2.9.0"
|
|
99
99
|
}
|
|
100
100
|
}
|
package/src/auth0-context.tsx
CHANGED
|
@@ -126,9 +126,9 @@ export interface Auth0ContextInterface<TUser extends User = User>
|
|
|
126
126
|
* ```js
|
|
127
127
|
* await connectAccountWithRedirect({
|
|
128
128
|
* connection: 'google-oauth2',
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
129
|
+
* scopes: ['openid', 'profile', 'email', 'https://www.googleapis.com/auth/drive.readonly'],
|
|
130
|
+
* authorization_params: {
|
|
131
|
+
* // additional authorization params to forward to the authorization server
|
|
132
132
|
* }
|
|
133
133
|
* });
|
|
134
134
|
* ```
|