@serverless/utils
Advanced tools
Comparing version 6.8.0 to 6.8.1
@@ -23,2 +23,3 @@ 'use strict'; | ||
module.exports = async () => { | ||
log.debug('cached data: %o, cached expires %d', data, idTokenExpiresAt); | ||
if (!data.idToken) { | ||
@@ -102,2 +103,3 @@ Object.assign(data, configUtils.get('auth')); | ||
data.idToken = idToken; | ||
data.refreshToken = responseObject.refreshToken; | ||
const idTokenData = jwtDecode(data.idToken); | ||
@@ -104,0 +106,0 @@ log.debug('id token data: %o', idTokenData); |
@@ -5,2 +5,12 @@ # Changelog | ||
### [6.8.1](https://github.com/serverless/utils/compare/v6.8.0...v6.8.1) (2022-10-26) | ||
### Bug Fixes | ||
- **Auth:** Fix in-memory handling of refresh token ([#191](https://github.com/serverless/utils/issues/191)) ([1b309d4](https://github.com/serverless/utils/commit/1b309d46637d343ffc96b3e6de70a94b4cfbd405)) ([Mariusz Nowak](https://github.com/medikoo)) | ||
### Maintenance Improvements | ||
- **Auth:** Improve debug logging ([#191](https://github.com/serverless/utils/issues/191)) ([49539f4](https://github.com/serverless/utils/commit/49539f4110e7e909872fc9d61ec47ab2ceb548ad)) ([Mariusz Nowak](https://github.com/medikoo)) | ||
## [6.8.0](https://github.com/serverless/utils/compare/v6.7.0...v6.8.0) (2022-10-12) | ||
@@ -7,0 +17,0 @@ |
{ | ||
"name": "@serverless/utils", | ||
"version": "6.8.0", | ||
"version": "6.8.1", | ||
"description": "Serverless CLI utilities", | ||
@@ -23,3 +23,3 @@ "repository": "serverless/utils", | ||
"got": "^11.8.5", | ||
"inquirer": "^8.2.4", | ||
"inquirer": "^8.2.5", | ||
"js-yaml": "^4.1.0", | ||
@@ -46,6 +46,6 @@ "jwt-decode": "^3.1.2", | ||
"@serverless/eslint-config": "^5.0.1", | ||
"@serverless/test": "^11.0.2", | ||
"@serverless/test": "^11.1.0", | ||
"chai": "^4.3.6", | ||
"chai-as-promised": "^7.1.1", | ||
"eslint": "^8.25.0", | ||
"eslint": "^8.26.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
@@ -52,0 +52,0 @@ "git-list-updated": "^1.2.1", |
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
198350
3790
Updatedinquirer@^8.2.5