fetch-plus-bearerauth
Advanced tools
Comparing version 3.9.2 to 3.10.2
@@ -64,7 +64,8 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
return function (request) { | ||
if (token === undefined || token === null) { | ||
var computedToken = (0, _compute.compute)(token); | ||
if (computedToken === undefined || computedToken === null) { | ||
return; | ||
} | ||
request.options.headers["Authorization"] = "Bearer " + (0, _compute.compute)(token); | ||
request.options.headers["Authorization"] = "Bearer " + computedToken; | ||
}; | ||
@@ -71,0 +72,0 @@ }; /** |
{ | ||
"name": "fetch-plus-bearerauth", | ||
"description": "A convenient Fetch API library with first-class middleware support", | ||
"version": "3.9.2", | ||
"version": "3.10.2", | ||
"license": "BSD-3-Clause", | ||
@@ -6,0 +6,0 @@ "repository": { |
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
4570
99