@nsshunt/stsfhirclient 1.0.61 → 1.0.63

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.
@@ -5377,19 +5377,6 @@ class FhirClient {
5377
5377
  if (axiosError.response) {
5378
5378
  responseCode = axiosError.response.status;
5379
5379
  __privateGet(this, _LogDebugMessage).call(this, chalk.red(`AXIOS Error Response.Status = [${axiosError.response.status}]`));
5380
- if (axiosError.response.headers) {
5381
- __privateGet(this, _LogErrorMessage).call(this, chalk.red(` headers: [${JSON.stringify(axiosError.response.headers)}]`));
5382
- }
5383
- if (axiosError.response.data) {
5384
- __privateGet(this, _LogErrorMessage).call(this, chalk.red(` data: [${JSON.stringify(axiosError.response.data)}]`));
5385
- }
5386
- try {
5387
- if (axiosError.response.config) {
5388
- __privateGet(this, _LogErrorMessage).call(this, chalk.red(` config: [${JSON.stringify(axiosError.response.config)}]`));
5389
- }
5390
- } catch (innererror) {
5391
- __privateGet(this, _LogErrorMessage).call(this, chalk.red(` could not get response config, error: [${innererror}]`));
5392
- }
5393
5380
  } else {
5394
5381
  __privateGet(this, _LogDebugMessage).call(this, chalk.red(`AXIOS Error = [${axiosError}]`));
5395
5382
  }
@@ -5486,8 +5473,6 @@ class FhirClient {
5486
5473
  const accessToken = await __privateGet(this, _options3).GetAccessToken();
5487
5474
  const requestConfig = new STSAxiosConfig(url2, httpVerb).withAuthHeaders(accessToken, __privateGet(this, _DUMMY_USER)).withData(filters ? filters : domainResource ? domainResource : void 0);
5488
5475
  if (isNode$1 && __privateGet(this, _options3).agentManager) {
5489
- console.log(`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^`);
5490
- console.log("using agentManager");
5491
5476
  requestConfig.withAgentManager(__privateGet(this, _options3).agentManager);
5492
5477
  }
5493
5478
  return await axios(requestConfig.config);