@auth0/auth0-react 2.7.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Auth0",
3
3
  "name": "@auth0/auth0-react",
4
- "version": "2.7.0",
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.6.0"
98
+ "@auth0/auth0-spa-js": "^2.9.0"
99
99
  }
100
100
  }
@@ -126,9 +126,9 @@ export interface Auth0ContextInterface<TUser extends User = User>
126
126
  * ```js
127
127
  * await connectAccountWithRedirect({
128
128
  * connection: 'google-oauth2',
129
- * authorizationParams: {
130
- * access_type: 'offline',
131
- * scope: 'openid profile email https://www.googleapis.com/auth/drive.readonly',
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
  * ```