oidc-jwt-client
Advanced tools
Comparing version 2.1.1 to 2.1.2-develop.1
@@ -849,2 +849,5 @@ import React, { useReducer, useRef, useEffect, useLayoutEffect, useContext, useCallback, useState } from 'react'; | ||
return getUserInfo().then(function (data) { | ||
if (redirect) { | ||
removeTokenFromUrl(); | ||
} | ||
if (!data) { | ||
@@ -854,5 +857,2 @@ setInitializedData(null); | ||
} | ||
if (redirect) { | ||
removeTokenFromUrl(); | ||
} | ||
return getAccessToken().then(function (info) { | ||
@@ -859,0 +859,0 @@ var _a; |
@@ -857,2 +857,5 @@ 'use strict'; | ||
return getUserInfo().then(function (data) { | ||
if (redirect) { | ||
removeTokenFromUrl(); | ||
} | ||
if (!data) { | ||
@@ -862,5 +865,2 @@ setInitializedData(null); | ||
} | ||
if (redirect) { | ||
removeTokenFromUrl(); | ||
} | ||
return getAccessToken().then(function (info) { | ||
@@ -867,0 +867,0 @@ var _a; |
{ | ||
"name": "oidc-jwt-client", | ||
"version": "2.1.1", | ||
"version": "2.1.2-develop.1", | ||
"description": "Fetch JWTs for API access from oidc-jwt-provider", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
241034
2