oidc-jwt-client
Advanced tools
Comparing version 2.0.0-develop.2 to 2.0.0-develop.3
@@ -886,3 +886,3 @@ import React, { useReducer, useRef, useEffect, useLayoutEffect, useContext, useCallback, useState } from 'react'; | ||
return fetchUserInfo().then(function (data) { | ||
if (data) { | ||
if (data && Object.keys(data).length) { | ||
setUserInfo(data); | ||
@@ -889,0 +889,0 @@ setIsLoggedIn(true); |
@@ -894,3 +894,3 @@ 'use strict'; | ||
return fetchUserInfo().then(function (data) { | ||
if (data) { | ||
if (data && Object.keys(data).length) { | ||
setUserInfo(data); | ||
@@ -897,0 +897,0 @@ setIsLoggedIn(true); |
{ | ||
"name": "oidc-jwt-client", | ||
"version": "2.0.0-develop.2", | ||
"version": "2.0.0-develop.3", | ||
"description": "Fetch JWTs for API access from oidc-jwt-provider", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
236224