@auth0/auth0-react
Advanced tools
Comparing version 1.10.2 to 1.11.0
import React from 'react'; | ||
import { CacheLocation, ICache } from '@auth0/auth0-spa-js'; | ||
import { CacheLocation, ICache, User } from '@auth0/auth0-spa-js'; | ||
/** | ||
@@ -23,3 +23,3 @@ * The state of the application before the user was redirected to the login page. | ||
*/ | ||
onRedirectCallback?: (appState?: AppState) => void; | ||
onRedirectCallback?: (appState?: AppState, user?: User) => void; | ||
/** | ||
@@ -26,0 +26,0 @@ * By default, if the page url has code/state params, the SDK will treat them as Auth0's and attempt to exchange the |
{ | ||
"author": "Auth0", | ||
"name": "@auth0/auth0-react", | ||
"version": "1.10.2", | ||
"version": "1.11.0", | ||
"description": "Auth0 SDK for React Single Page Applications (SPA)", | ||
@@ -42,4 +42,3 @@ "keywords": [ | ||
"cypress:run": "cypress run --spec 'cypress/integration/smoke.test.ts'", | ||
"cypress:open": "cypress open", | ||
"codecov": "codecov" | ||
"cypress:open": "cypress open" | ||
}, | ||
@@ -67,3 +66,2 @@ "repository": { | ||
"browserstack-cypress-cli": "^1.1.2", | ||
"codecov": "^3.8.2", | ||
"cypress": "^9.5.3", | ||
@@ -79,4 +77,4 @@ "eslint": "^8.12.0", | ||
"pretty-quick": "^3.1.3", | ||
"react": "^18.1.0", | ||
"react-dom": "^18.1.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-test-renderer": "^18.0.0", | ||
@@ -108,4 +106,4 @@ "rollup": "^2.70.1", | ||
"dependencies": { | ||
"@auth0/auth0-spa-js": "^1.22.0" | ||
"@auth0/auth0-spa-js": "^1.22.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
38
1767182
4461
Updated@auth0/auth0-spa-js@^1.22.2