@cryptexlabs/codex-nodejs-common 0.10.8 → 0.10.10
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/lib/package.json +2 -3
- package/lib/src/config/index.d.ts +1 -0
- package/lib/src/config/index.js +1 -0
- package/lib/src/config/index.js.map +1 -1
- package/lib/src/config/logging-config.interface.d.ts +1 -1
- package/lib/src/config/logging-config.interface.js +1 -0
- package/lib/src/config/logging-config.interface.js.map +1 -1
- package/lib/src/service/elasticsearch/index.d.ts +1 -0
- package/lib/src/service/elasticsearch/index.js +1 -0
- package/lib/src/service/elasticsearch/index.js.map +1 -1
- package/package.json +2 -3
- package/src/config/index.ts +1 -0
- package/src/config/logging-config.interface.ts +9 -1
- package/src/service/elasticsearch/index.ts +1 -0
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptexlabs/codex-nodejs-common",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.10",
|
|
4
4
|
"description": "Common code for Codex framework",
|
|
5
5
|
"main": "lib/src/index.js",
|
|
6
6
|
"repository": "git@gitlab.com:cryptexlabs/public/codex-nodejs-common.git",
|
|
@@ -81,8 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"resolutions": {
|
|
83
83
|
"axios": "0.19.0",
|
|
84
|
-
"**/undici": "5.0.0"
|
|
85
|
-
"**/@elastic/transport": "8.7.1"
|
|
84
|
+
"**/undici": "5.0.0"
|
|
86
85
|
},
|
|
87
86
|
"husky": {
|
|
88
87
|
"hooks": {
|
package/lib/src/config/index.js
CHANGED
|
@@ -32,4 +32,5 @@ __exportStar(require("./statsd-config.interface"), exports);
|
|
|
32
32
|
__exportStar(require("./prometheus-config.interface"), exports);
|
|
33
33
|
__exportStar(require("./pagination-config.interface"), exports);
|
|
34
34
|
__exportStar(require("./xray-config.interface"), exports);
|
|
35
|
+
__exportStar(require("./logging-config.interface"), exports);
|
|
35
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8EAA4D;AAC5D,mDAAiC;AACjC,wDAAsC;AACtC,gEAA8C;AAC9C,8DAA4C;AAC5C,0DAAwC;AACxC,yDAAuC;AACvC,wDAAsC;AACtC,4DAA0C;AAC1C,kDAAgC;AAChC,0DAAwC;AACxC,uDAAqC;AACrC,yDAAuC;AACvC,8DAA4C;AAC5C,4DAA0C;AAC1C,gEAA8C;AAC9C,gEAA8C;AAC9C,0DAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8EAA4D;AAC5D,mDAAiC;AACjC,wDAAsC;AACtC,gEAA8C;AAC9C,8DAA4C;AAC5C,0DAAwC;AACxC,yDAAuC;AACvC,wDAAsC;AACtC,4DAA0C;AAC1C,kDAAgC;AAChC,0DAAwC;AACxC,uDAAqC;AACrC,yDAAuC;AACvC,8DAA4C;AAC5C,4DAA0C;AAC1C,gEAA8C;AAC9C,gEAA8C;AAC9C,0DAAwC;AACxC,6DAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logging-config.interface.js","sourceRoot":"","sources":["../../../src/config/logging-config.interface.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"logging-config.interface.js","sourceRoot":"","sources":["../../../src/config/logging-config.interface.ts"],"names":[],"mappings":";;;AASa,QAAA,kBAAkB,GAAmC;IAChE,KAAK,EAAE,EAAE;IACT,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;CACV,CAAC"}
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./elasticsearch-healthz.service"), exports);
|
|
18
18
|
__exportStar(require("./elasticsearch.initializer"), exports);
|
|
19
|
+
__exportStar(require("./elasticsearch.pinger"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/service/elasticsearch/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,8DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/service/elasticsearch/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,8DAA4C;AAC5C,yDAAuC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptexlabs/codex-nodejs-common",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.10",
|
|
4
4
|
"description": "Common code for Codex framework",
|
|
5
5
|
"main": "lib/src/index.js",
|
|
6
6
|
"repository": "git@gitlab.com:cryptexlabs/public/codex-nodejs-common.git",
|
|
@@ -81,8 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"resolutions": {
|
|
83
83
|
"axios": "0.19.0",
|
|
84
|
-
"**/undici": "5.0.0"
|
|
85
|
-
"**/@elastic/transport": "8.7.1"
|
|
84
|
+
"**/undici": "5.0.0"
|
|
86
85
|
},
|
|
87
86
|
"husky": {
|
|
88
87
|
"hooks": {
|
package/src/config/index.ts
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
export type LOG_LEVEL =
|
|
1
|
+
export type LOG_LEVEL =
|
|
2
|
+
| "fatal"
|
|
3
|
+
| "error"
|
|
4
|
+
| "warn"
|
|
5
|
+
| "info"
|
|
6
|
+
| "debug"
|
|
7
|
+
| "trace"
|
|
8
|
+
| "verbose";
|
|
2
9
|
|
|
3
10
|
export const DEFAULT_LOG_LEVELS: { [key in LOG_LEVEL]: number } = {
|
|
4
11
|
trace: 10,
|
|
12
|
+
verbose: 10,
|
|
5
13
|
debug: 20,
|
|
6
14
|
info: 30,
|
|
7
15
|
warn: 40,
|