Comparing version 2.0.0-next.1 to 2.0.0-next.2
@@ -175,4 +175,3 @@ "use strict"; | ||
// headers | ||
if (opts.hasOwnProperty("token") && !ignore.token) | ||
req.headers["x-consul-token"] = opts.token; | ||
if (opts.token && !ignore.token) req.headers["x-consul-token"] = opts.token; | ||
@@ -179,0 +178,0 @@ // query |
{ | ||
"name": "consul", | ||
"version": "2.0.0-next.1", | ||
"version": "2.0.0-next.2", | ||
"description": "Consul client", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
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
130942
3077