@nsshunt/stsfhirclient 1.0.27 → 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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(global, factory) {
|
|
2
|
-
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("axios"), require("@nsshunt/stsutils"), require("node:http"), require("node:https")) : typeof define === "function" && define.amd ? define(["exports", "axios", "@nsshunt/stsutils", "node:http", "node:https"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global["@nsshunt/stsfhirclient"] = {}, global.axios, global.stsutils, global.http, global.https));
|
|
3
|
-
})(this, function(exports2, axios, stsutils, http, https) {
|
|
2
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("axios"), require("@nsshunt/stsutils"), require("node:fs"), require("path"), require("os"), require("crypto"), require("node:http"), require("node:https")) : typeof define === "function" && define.amd ? define(["exports", "axios", "@nsshunt/stsutils", "node:fs", "path", "os", "crypto", "node:http", "node:https"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global["@nsshunt/stsfhirclient"] = {}, global.axios, global.stsutils, global.https, global.path, global.os, global.crypto, global.http, global.https));
|
|
3
|
+
})(this, function(exports2, axios, stsutils, node_fs, require$$1, require$$2, require$$3, http, https) {
|
|
4
4
|
"use strict";var __defProp = Object.defineProperty;
|
|
5
5
|
var __typeError = (msg) => {
|
|
6
6
|
throw TypeError(msg);
|
|
@@ -1558,13 +1558,13 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
|
|
|
1558
1558
|
StatusCodes2[StatusCodes2["INSUFFICIENT_STORAGE"] = 507] = "INSUFFICIENT_STORAGE";
|
|
1559
1559
|
StatusCodes2[StatusCodes2["NETWORK_AUTHENTICATION_REQUIRED"] = 511] = "NETWORK_AUTHENTICATION_REQUIRED";
|
|
1560
1560
|
})(StatusCodes || (StatusCodes = {}));
|
|
1561
|
+
var main$1 = { exports: {} };
|
|
1561
1562
|
const __viteBrowserExternal = {};
|
|
1562
|
-
const
|
|
1563
|
+
const __viteBrowserExternal$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1563
1564
|
__proto__: null,
|
|
1564
1565
|
default: __viteBrowserExternal
|
|
1565
1566
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1566
|
-
|
|
1567
|
-
const require$$3 = /* @__PURE__ */ getAugmentedNamespace(fs$1);
|
|
1567
|
+
const require$$0 = /* @__PURE__ */ getAugmentedNamespace(__viteBrowserExternal$1);
|
|
1568
1568
|
const name = "dotenv";
|
|
1569
1569
|
const version$1 = "16.4.5";
|
|
1570
1570
|
const description = "Loads environment variables from .env file";
|
|
@@ -1645,9 +1645,9 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
|
|
|
1645
1645
|
engines,
|
|
1646
1646
|
browser: browser$1
|
|
1647
1647
|
};
|
|
1648
|
-
const fs = require$$
|
|
1649
|
-
const path = require$$
|
|
1650
|
-
const os = require$$
|
|
1648
|
+
const fs = require$$0;
|
|
1649
|
+
const path = require$$1;
|
|
1650
|
+
const os = require$$2;
|
|
1651
1651
|
const crypto$1 = require$$3;
|
|
1652
1652
|
const packageJson = require$$4;
|
|
1653
1653
|
const version = packageJson.version;
|
|
@@ -1901,11 +1901,13 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
|
|
|
1901
1901
|
main$1.exports.configDotenv = DotenvModule.configDotenv;
|
|
1902
1902
|
main$1.exports._configVault = DotenvModule._configVault;
|
|
1903
1903
|
main$1.exports._parseVault = DotenvModule._parseVault;
|
|
1904
|
-
|
|
1904
|
+
main$1.exports.config = DotenvModule.config;
|
|
1905
1905
|
main$1.exports.decrypt = DotenvModule.decrypt;
|
|
1906
1906
|
main$1.exports.parse = DotenvModule.parse;
|
|
1907
1907
|
main$1.exports.populate = DotenvModule.populate;
|
|
1908
1908
|
main$1.exports = DotenvModule;
|
|
1909
|
+
var mainExports = main$1.exports;
|
|
1910
|
+
const dotenv = /* @__PURE__ */ getDefaultExportFromCjs(mainExports);
|
|
1909
1911
|
var __typeError2 = (msg) => {
|
|
1910
1912
|
throw TypeError(msg);
|
|
1911
1913
|
};
|
|
@@ -3344,11 +3346,10 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
|
|
|
3344
3346
|
chalk.supportsColor = stdoutColor;
|
|
3345
3347
|
chalk.stderr = Chalk({ level: 0 });
|
|
3346
3348
|
chalk.stderr.supportsColor = stderrColor;
|
|
3347
|
-
const { accessSync, constants, readFileSync } = fs$1;
|
|
3348
3349
|
const envOptions = {};
|
|
3349
3350
|
function SetupConfig(envOptions2, logger) {
|
|
3350
3351
|
const envfile = process.env.STSENVFILE === void 0 ? "/.env" : process.env.STSENVFILE;
|
|
3351
|
-
|
|
3352
|
+
dotenv.config({ path: envfile });
|
|
3352
3353
|
const defconfig = {
|
|
3353
3354
|
// Node runtime environment
|
|
3354
3355
|
isProduction: process.env.NODE_ENV === void 0 ? false : process.env.NODE_ENV === "production" ? true : false,
|
|
@@ -3508,8 +3509,8 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
|
|
|
3508
3509
|
};
|
|
3509
3510
|
const ReadFile = (passwordFile) => {
|
|
3510
3511
|
try {
|
|
3511
|
-
accessSync(passwordFile, constants.R_OK);
|
|
3512
|
-
const data = readFileSync(passwordFile, "utf8");
|
|
3512
|
+
node_fs.accessSync(passwordFile, node_fs.constants.R_OK);
|
|
3513
|
+
const data = node_fs.readFileSync(passwordFile, "utf8");
|
|
3513
3514
|
if (logger) ;
|
|
3514
3515
|
return data;
|
|
3515
3516
|
} catch (err) {
|