@asgardeo/react 0.2.1 → 0.2.2

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/dist/cjs/index.js CHANGED
@@ -40508,7 +40508,7 @@ const BrandingPreferenceContext = React$1.createContext(undefined);
40508
40508
  */
40509
40509
  const useAuthentication = () => {
40510
40510
  const contextValue = React$1.useContext(AsgardeoContext);
40511
- const { accessToken, authResponse, isAuthenticated, setUsername, user, username } = contextValue;
40511
+ const { accessToken, authResponse, isAuthenticated, isGlobalLoading, setUsername, user, username } = contextValue;
40512
40512
  const signOut$1 = () => {
40513
40513
  signOut().then(() => {
40514
40514
  sessionStorage.clear();
@@ -40521,6 +40521,7 @@ const useAuthentication = () => {
40521
40521
  accessToken,
40522
40522
  authResponse,
40523
40523
  isAuthenticated,
40524
+ isGlobalLoading,
40524
40525
  setUsername,
40525
40526
  signOut: signOut$1,
40526
40527
  user,