@elastic/transport
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -91,3 +91,2 @@ "use strict"; | ||
var _a, _b; | ||
this._openRequests++; | ||
let cleanedListeners = false; | ||
@@ -102,3 +101,10 @@ const maxResponseSize = (_a = options.maxResponseSize) !== null && _a !== void 0 ? _a : MAX_STRING_LENGTH; | ||
debug('Starting a new request', params); | ||
const request = this.makeRequest(requestParams); | ||
let request; | ||
try { | ||
request = this.makeRequest(requestParams); | ||
} | ||
catch (err) { | ||
return reject(err); | ||
} | ||
this._openRequests++; | ||
if (options.signal != null) { | ||
@@ -105,0 +111,0 @@ // @ts-expect-error |
{ | ||
"name": "@elastic/transport", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Transport classes and utilities shared among Node.js Elastic client libraries", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
222249
3483