@hyperone/cli-core
Advanced tools
Comparing version 2.0.16 to 2.0.17
@@ -33,3 +33,3 @@ | ||
const openid_configuration = await result.getConfiguration(); | ||
const token = await http.post(openid_configuration.token_endpoint, { | ||
const resp = await http.post(openid_configuration.token_endpoint, { | ||
json: { | ||
@@ -40,2 +40,3 @@ grant_type: 'refresh_token', | ||
}); | ||
const token = resp.bodyJson; | ||
const until = new Date(await config.get('auth.token.expires_at') * 1000).toISOString(); | ||
@@ -42,0 +43,0 @@ logger.debug(`Access token refreshed. Valid until ${until}.`); |
{ | ||
"name": "@hyperone/cli-core", | ||
"version": "2.0.16", | ||
"version": "2.0.17", | ||
"description": "", | ||
@@ -30,3 +30,3 @@ "main": "index.js", | ||
"license": "MIT", | ||
"gitHead": "a031bec079b6316fb9e29d7999ef39c008b08e48" | ||
"gitHead": "536d3fdb947c6d507ba152b92dd5f3a3dbce4e70" | ||
} |
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
28453
716