b2b-platform-utils 1.1.20 → 1.1.21
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/logger.js +1 -2
- package/package.json +1 -1
package/logger.js
CHANGED
|
@@ -115,10 +115,9 @@ function debug(...args) {
|
|
|
115
115
|
|
|
116
116
|
// Normalize payload
|
|
117
117
|
const payload = {
|
|
118
|
-
level: 'debug',
|
|
119
118
|
message: message || 'debug log',
|
|
120
119
|
data: data || null,
|
|
121
|
-
timestamp: Date.
|
|
120
|
+
timestamp: new Date().toISOString()
|
|
122
121
|
};
|
|
123
122
|
|
|
124
123
|
if (isProd) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "b2b-platform-utils",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.21",
|
|
4
4
|
"description": "Shared utilities for Node.js microservices: errors map, local cache, logger, numbers, dates, filesystem, media optimization, paginator, slugger, crypto wrapper, sanitize HTML, sorting.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "KingSizer",
|