@capriza/http-utils
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -36,3 +36,3 @@ var axios = require('axios'); | ||
var res = await this.get(uri, {responseType : 'arraybuffer'}, { priority, debug, logger }); | ||
return res && res.data && (new Uint8Array(res.data)); | ||
return res && (new Uint8Array(res.data)); | ||
} | ||
@@ -67,3 +67,3 @@ | ||
requestLog.info(`[HttpUtils] HTTP ${method} request: ${this.baseURL}${url}`); | ||
if(opts) requestLog.info(`[HttpUtils] PRIORITY[${priority}] OPTS: ${JSON.stringify(opts)}`); | ||
requestLog.info(`[HttpUtils] PRIORITY[${priority}] OPTS: ${JSON.stringify(opts)}`); | ||
} | ||
@@ -70,0 +70,0 @@ |
{ | ||
"name": "@capriza/http-utils", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "HTTP Request utils that handles, request-response, errors, concurrency, priority and authentication", | ||
@@ -5,0 +5,0 @@ "main": "index.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
20077