Comparing version 4.0.0 to 4.0.1
@@ -57,3 +57,3 @@ // WARNING: Deprecated. Use "@local" identifier instead. | ||
let fnParams = {args: args, kwargs: kwargs}; | ||
fnParams.buffer = new Buffer(0); | ||
fnParams.buffer = Buffer.from([]); | ||
fnParams.remoteAddress = '::1'; | ||
@@ -60,0 +60,0 @@ fnParams.service = '.'; |
@@ -46,3 +46,3 @@ const https = require('https'); | ||
headers['X-Faaslang'] = 'true'; | ||
body = new Buffer(JSON.stringify(params)); | ||
body = Buffer.from(JSON.stringify(params)); | ||
@@ -49,0 +49,0 @@ cfg.token && (headers['Authorization'] = `Bearer ${cfg.token}`); |
{ | ||
"name": "lib", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"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
14589