@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.
- package/dist/stsfhirclient.mjs +0 -15
- package/dist/stsfhirclient.mjs.map +1 -1
- package/dist/stsfhirclient.umd.js +0 -15
- package/dist/stsfhirclient.umd.js.map +1 -1
- package/package.json +1 -1
- package/types/FhirClient.d.ts.map +1 -1
- package/types/srv_dev/stsfhircontrollertestcasesclient.d.ts.map +1 -1
|
@@ -5379,19 +5379,6 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
|
|
|
5379
5379
|
if (axiosError.response) {
|
|
5380
5380
|
responseCode = axiosError.response.status;
|
|
5381
5381
|
__privateGet(this, _LogDebugMessage).call(this, chalk.red(`AXIOS Error Response.Status = [${axiosError.response.status}]`));
|
|
5382
|
-
if (axiosError.response.headers) {
|
|
5383
|
-
__privateGet(this, _LogErrorMessage).call(this, chalk.red(` headers: [${JSON.stringify(axiosError.response.headers)}]`));
|
|
5384
|
-
}
|
|
5385
|
-
if (axiosError.response.data) {
|
|
5386
|
-
__privateGet(this, _LogErrorMessage).call(this, chalk.red(` data: [${JSON.stringify(axiosError.response.data)}]`));
|
|
5387
|
-
}
|
|
5388
|
-
try {
|
|
5389
|
-
if (axiosError.response.config) {
|
|
5390
|
-
__privateGet(this, _LogErrorMessage).call(this, chalk.red(` config: [${JSON.stringify(axiosError.response.config)}]`));
|
|
5391
|
-
}
|
|
5392
|
-
} catch (innererror) {
|
|
5393
|
-
__privateGet(this, _LogErrorMessage).call(this, chalk.red(` could not get response config, error: [${innererror}]`));
|
|
5394
|
-
}
|
|
5395
5382
|
} else {
|
|
5396
5383
|
__privateGet(this, _LogDebugMessage).call(this, chalk.red(`AXIOS Error = [${axiosError}]`));
|
|
5397
5384
|
}
|
|
@@ -5488,8 +5475,6 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
|
|
|
5488
5475
|
const accessToken = await __privateGet(this, _options3).GetAccessToken();
|
|
5489
5476
|
const requestConfig = new stsutils.STSAxiosConfig(url2, httpVerb).withAuthHeaders(accessToken, __privateGet(this, _DUMMY_USER)).withData(filters ? filters : domainResource ? domainResource : void 0);
|
|
5490
5477
|
if (isNode$1 && __privateGet(this, _options3).agentManager) {
|
|
5491
|
-
console.log(`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^`);
|
|
5492
|
-
console.log("using agentManager");
|
|
5493
5478
|
requestConfig.withAgentManager(__privateGet(this, _options3).agentManager);
|
|
5494
5479
|
}
|
|
5495
5480
|
return await axios(requestConfig.config);
|