oniyi-http-plugin-credentials
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -124,2 +124,6 @@ 'use strict'; | ||
if (!credentials.userId) { | ||
Object.assign(credentials, { userId: user.id }); | ||
} | ||
// must handle credentials refresh in pre-flight phase due to possible use of stream API | ||
@@ -126,0 +130,0 @@ // with request. If client wants to send data, we can not ensure that data is still available |
{ | ||
"name": "oniyi-http-plugin-credentials", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "A plugin for oniyi-http-client for automatic attachment of user credentials", | ||
@@ -5,0 +5,0 @@ "homepage": "", |
Sorry, the diff of this file is not supported yet
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
14722
198