@gaias/client_node 1.1.0 → 1.1.1
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Yamls.d.ts","sourceRoot":"","sources":["../../src/restclient/Yamls.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,KAAG,
|
|
1
|
+
{"version":3,"file":"Yamls.d.ts","sourceRoot":"","sources":["../../src/restclient/Yamls.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,KAAG,GAgBzC,CAAC"}
|
package/dist/restclient/Yamls.js
CHANGED
|
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.loadConfig = void 0;
|
|
7
7
|
const js_yaml_1 = __importDefault(require("js-yaml"));
|
|
8
8
|
const fs_1 = __importDefault(require("fs"));
|
|
9
|
-
const mergeJSON = require(
|
|
9
|
+
const mergeJSON = require('merge-json');
|
|
10
10
|
const loadConfig = (name) => {
|
|
11
11
|
const env = process.env.NODE_ENV;
|
|
12
|
-
const envConfigFile = `./
|
|
13
|
-
const configFile = `./
|
|
12
|
+
const envConfigFile = `./cfg/${name}.${env}.yml`;
|
|
13
|
+
const configFile = `./cfg/${name}.yml`;
|
|
14
14
|
let config = {};
|
|
15
15
|
if (fs_1.default.existsSync(envConfigFile)) {
|
|
16
16
|
const envConfig = js_yaml_1.default.load(fs_1.default.readFileSync(envConfigFile, 'utf8'));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Yamls.js","sourceRoot":"","sources":["../../src/restclient/Yamls.ts"],"names":[],"mappings":";;;;;;AAAA,sDAA2B;AAC3B,4CAAoB;AACpB,MAAM,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"Yamls.js","sourceRoot":"","sources":["../../src/restclient/Yamls.ts"],"names":[],"mappings":";;;;;;AAAA,sDAA2B;AAC3B,4CAAoB;AACpB,MAAM,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAEjC,MAAM,UAAU,GAAG,CAAC,IAAY,EAAO,EAAE;IAC5C,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC;IACjC,MAAM,aAAa,GAAG,SAAS,IAAI,IAAI,GAAG,MAAM,CAAC;IACjD,MAAM,UAAU,GAAG,SAAS,IAAI,MAAM,CAAC;IACvC,IAAI,MAAM,GAAG,EAAE,CAAC;IAEhB,IAAI,YAAE,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,CAAC;QAC/B,MAAM,SAAS,GAAG,iBAAI,CAAC,IAAI,CAAC,YAAE,CAAC,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC;QACpE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACrC,CAAC;IACD,IAAI,YAAE,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;QAC5B,MAAM,IAAI,GAAG,iBAAI,CAAC,IAAI,CAAC,YAAE,CAAC,YAAY,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC;QAC5D,MAAM,GAAG,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAC3C,CAAC;IAED,OAAO,MAAM,CAAC;AAClB,CAAC,CAAC;AAhBW,QAAA,UAAU,cAgBrB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gaias/client_node",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "store data in cookie and localstorage",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"registry": "https://registry.npmjs.org/"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
"dist",
|
|
14
|
+
"README.md"
|
|
15
15
|
],
|
|
16
16
|
"keywords": [
|
|
17
17
|
"restclient",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"ts-node": "^10.9.2",
|
|
82
82
|
"tsconfig-paths": "^4.2.0",
|
|
83
83
|
"typescript": "^5.9.3",
|
|
84
|
-
|
|
84
|
+
"@faker-js/faker": "^9.3.0"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
87
|
"axios": "^1.12.2",
|