Comparing version 2.1.4 to 2.1.5
@@ -17,3 +17,3 @@ const https = require('https'); | ||
cfg.debug = !!cfg.debug; | ||
cfg.ignore = !!cfg.ignore; | ||
cfg.webhook = cfg.webhook || null; | ||
@@ -38,2 +38,6 @@ let pathname = cfg.debug ? | ||
if (cfg.webhook) { | ||
headers['X-Webhook'] = cfg.webhook; | ||
} | ||
if (Object.keys(cfg.keys).length) { | ||
@@ -52,6 +56,2 @@ headers['X-Authorization-Keys'] = JSON.stringify(cfg.keys); | ||
if (cfg.ignore) { | ||
return callback(null); | ||
} | ||
let buffers = []; | ||
@@ -58,0 +58,0 @@ |
{ | ||
"name": "lib", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"description": "StdLib: Standard Library for Microservices Node.js Bindings", | ||
@@ -5,0 +5,0 @@ "main": "lib.js", |
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
13292