@wenex/sdk 1.0.0 → 1.0.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.
|
@@ -18,7 +18,7 @@ const debug_1 = require("debug");
|
|
|
18
18
|
* Proxy to intercept property access on the `baseLogger` object and modify the behavior for functions,
|
|
19
19
|
* specifically handling the 'extend' function differently.
|
|
20
20
|
*/
|
|
21
|
-
const logger = (namespace, prefix = '
|
|
21
|
+
const logger = (namespace, prefix = 'clt') => {
|
|
22
22
|
const baseLogger = (0, debug_1.default)([prefix, (0, naming_conventions_modeler_1.toKebabCase)(namespace)].join(':'));
|
|
23
23
|
function get(target, prop, receiver) {
|
|
24
24
|
const original = target[prop];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wenex/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Wenex SDK",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"globals": "^15.14.0",
|
|
66
66
|
"husky": "^9.1.7",
|
|
67
67
|
"jest": "^29.7.0",
|
|
68
|
+
"lint-staged": "^15.3.0",
|
|
68
69
|
"madge": "^8.0.0",
|
|
69
70
|
"make-coverage-badge": "^1.2.0",
|
|
70
71
|
"mongoose": "^8.9.3",
|