@nsshunt/stsfhirclient 1.0.59 → 1.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5166,16 +5166,11 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
5166
5166
  body: {}
5167
5167
  };
5168
5168
  return new Promise((resolve, reject) => {
5169
- const start = performance.now();
5170
5169
  this.socket.timeout(__privateGet(this, _options2).timeout).emit("getFhirResources", resource, request, (err, res) => {
5171
5170
  if (err) {
5172
- const duration = (performance.now() - start) / 1e3;
5173
- console.log(`FhirSocketClient:GetResources(): Duration for query (error): [${duration}]`);
5174
5171
  __privateGet(this, _error).call(this, `FhirSocketClient:GetResources(): ID: [${__privateGet(this, _id)}] clientName: [${__privateGet(this, _clientName)}] Error: [${err}]`);
5175
5172
  reject(err);
5176
5173
  } else {
5177
- const duration = (performance.now() - start) / 1e3;
5178
- console.log(`FhirSocketClient:GetResources(): Duration for query: [${duration}]`);
5179
5174
  resolve(res);
5180
5175
  }
5181
5176
  });
@@ -5493,6 +5488,8 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
5493
5488
  const accessToken = await __privateGet(this, _options3).GetAccessToken();
5494
5489
  const requestConfig = new stsutils.STSAxiosConfig(url2, httpVerb).withAuthHeaders(accessToken, __privateGet(this, _DUMMY_USER)).withData(filters ? filters : domainResource ? domainResource : void 0);
5495
5490
  if (isNode$1 && __privateGet(this, _options3).agentManager) {
5491
+ console.log(`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^`);
5492
+ console.log("using agentManager");
5496
5493
  requestConfig.withAgentManager(__privateGet(this, _options3).agentManager);
5497
5494
  }
5498
5495
  return await axios(requestConfig.config);