systemview 2.1.0 → 2.2.0

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/cli/logs.js CHANGED
@@ -31,7 +31,7 @@ const SKIP_KEYS = new Set([
31
31
  "moduleMethod",
32
32
  "traceId",
33
33
  "level",
34
- "message",
34
+ "scope",
35
35
  "duration",
36
36
  ]);
37
37
 
@@ -45,7 +45,7 @@ function formatRow(entry, verbose, extraFields) {
45
45
  const service = entry.serviceId || "—";
46
46
  const method = entry.moduleMethod || "—";
47
47
  const level = colorLevel(entry.level);
48
- const msg = entry.message || "";
48
+ const msg = entry.scope || "";
49
49
  const dur = entry.duration != null ? chalk.dim(` ${entry.duration}ms`) : "";
50
50
  const traceId = chalk.dim(entry.traceId || "—");
51
51
  let row = ` ${chalk.dim(time)} ${chalk.cyan(project)} › ${chalk.cyan(service)} ${method.padEnd(15)} ${level} ${traceId} ${msg}${dur}`;
@@ -116,7 +116,7 @@ const DISPLAY_SKIP = new Set([
116
116
  "moduleMethod",
117
117
  "traceId",
118
118
  "level",
119
- "message",
119
+ "scope",
120
120
  "duration",
121
121
  ]);
122
122
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "systemview",
3
3
  "description": "A documentation and testing suite for SystemLynx",
4
- "version": "2.1.0",
4
+ "version": "2.2.0",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
7
7
  "systemview": "cli/index.js"
@@ -16,7 +16,7 @@
16
16
  "chalk": "^4.1.2",
17
17
  "express": "^4.18.2",
18
18
  "moment": "^2.29.1",
19
- "systemlynx": "^2.0.0",
19
+ "systemlynx": "^2.1.0",
20
20
  "systemlynx-client": "^2.0.0",
21
21
  "web-vitals": "^0.2.4"
22
22
  },