@nsshunt/stsfhirclient 1.0.26 → 1.0.28
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
CHANGED
|
@@ -11,6 +11,10 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
|
|
|
11
11
|
var _options2, _DUMMY_USER, _invokeMethods, _maxRetries, _sleepDuration, _NoRetryStatusCodes, _stsfhirapiroot, _agentManager2, _LogDebugMessage, _LogErrorMessage, _HandleError, _InvokeResourceAPI, _TestMode, ___InvokeResourceAPI;
|
|
12
12
|
import axios from "axios";
|
|
13
13
|
import { Sleep } from "@nsshunt/stsutils";
|
|
14
|
+
import { accessSync, constants, readFileSync } from "node:fs";
|
|
15
|
+
import require$$1 from "path";
|
|
16
|
+
import require$$2 from "os";
|
|
17
|
+
import require$$3 from "crypto";
|
|
14
18
|
import http from "node:http";
|
|
15
19
|
import https from "node:https";
|
|
16
20
|
var byteToHex = [];
|
|
@@ -1558,13 +1562,13 @@ var StatusCodes;
|
|
|
1558
1562
|
StatusCodes2[StatusCodes2["INSUFFICIENT_STORAGE"] = 507] = "INSUFFICIENT_STORAGE";
|
|
1559
1563
|
StatusCodes2[StatusCodes2["NETWORK_AUTHENTICATION_REQUIRED"] = 511] = "NETWORK_AUTHENTICATION_REQUIRED";
|
|
1560
1564
|
})(StatusCodes || (StatusCodes = {}));
|
|
1565
|
+
var main$1 = { exports: {} };
|
|
1561
1566
|
const __viteBrowserExternal = {};
|
|
1562
|
-
const
|
|
1567
|
+
const __viteBrowserExternal$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1563
1568
|
__proto__: null,
|
|
1564
1569
|
default: __viteBrowserExternal
|
|
1565
1570
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1566
|
-
|
|
1567
|
-
const require$$3 = /* @__PURE__ */ getAugmentedNamespace(fs$1);
|
|
1571
|
+
const require$$0 = /* @__PURE__ */ getAugmentedNamespace(__viteBrowserExternal$1);
|
|
1568
1572
|
const name = "dotenv";
|
|
1569
1573
|
const version$1 = "16.4.5";
|
|
1570
1574
|
const description = "Loads environment variables from .env file";
|
|
@@ -1645,9 +1649,9 @@ const require$$4 = {
|
|
|
1645
1649
|
engines,
|
|
1646
1650
|
browser: browser$1
|
|
1647
1651
|
};
|
|
1648
|
-
const fs = require$$
|
|
1649
|
-
const path = require$$
|
|
1650
|
-
const os = require$$
|
|
1652
|
+
const fs = require$$0;
|
|
1653
|
+
const path = require$$1;
|
|
1654
|
+
const os = require$$2;
|
|
1651
1655
|
const crypto$1 = require$$3;
|
|
1652
1656
|
const packageJson = require$$4;
|
|
1653
1657
|
const version = packageJson.version;
|
|
@@ -1901,11 +1905,13 @@ const DotenvModule = {
|
|
|
1901
1905
|
main$1.exports.configDotenv = DotenvModule.configDotenv;
|
|
1902
1906
|
main$1.exports._configVault = DotenvModule._configVault;
|
|
1903
1907
|
main$1.exports._parseVault = DotenvModule._parseVault;
|
|
1904
|
-
|
|
1908
|
+
main$1.exports.config = DotenvModule.config;
|
|
1905
1909
|
main$1.exports.decrypt = DotenvModule.decrypt;
|
|
1906
1910
|
main$1.exports.parse = DotenvModule.parse;
|
|
1907
1911
|
main$1.exports.populate = DotenvModule.populate;
|
|
1908
1912
|
main$1.exports = DotenvModule;
|
|
1913
|
+
var mainExports = main$1.exports;
|
|
1914
|
+
const dotenv = /* @__PURE__ */ getDefaultExportFromCjs(mainExports);
|
|
1909
1915
|
var __typeError2 = (msg) => {
|
|
1910
1916
|
throw TypeError(msg);
|
|
1911
1917
|
};
|
|
@@ -3344,11 +3350,10 @@ const chalk = Chalk();
|
|
|
3344
3350
|
chalk.supportsColor = stdoutColor;
|
|
3345
3351
|
chalk.stderr = Chalk({ level: 0 });
|
|
3346
3352
|
chalk.stderr.supportsColor = stderrColor;
|
|
3347
|
-
const { accessSync, constants, readFileSync } = fs$1;
|
|
3348
3353
|
const envOptions = {};
|
|
3349
3354
|
function SetupConfig(envOptions2, logger) {
|
|
3350
3355
|
const envfile = process.env.STSENVFILE === void 0 ? "/.env" : process.env.STSENVFILE;
|
|
3351
|
-
|
|
3356
|
+
dotenv.config({ path: envfile });
|
|
3352
3357
|
const defconfig = {
|
|
3353
3358
|
// Node runtime environment
|
|
3354
3359
|
isProduction: process.env.NODE_ENV === void 0 ? false : process.env.NODE_ENV === "production" ? true : false,
|