@node-red/runtime 3.0.0 → 3.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.
- package/lib/api/diagnostics.js +11 -1
- package/package.json +3 -3
package/lib/api/diagnostics.js
CHANGED
|
@@ -100,9 +100,13 @@ function buildDiagnosticReport(scope, callback) {
|
|
|
100
100
|
version: os.version(),
|
|
101
101
|
},
|
|
102
102
|
runtime: {
|
|
103
|
+
version: runtime.settings.version,
|
|
103
104
|
isStarted: runtime.isStarted(),
|
|
105
|
+
flows: {
|
|
106
|
+
state: runtime.flows && runtime.flows.state(),
|
|
107
|
+
started: runtime.flows && runtime.flows.started,
|
|
108
|
+
},
|
|
104
109
|
modules: modules,
|
|
105
|
-
version: runtime.settings.version,
|
|
106
110
|
settings: {
|
|
107
111
|
available: runtime.settings.available(),
|
|
108
112
|
apiMaxLength: runtime.settings.apiMaxLength || "UNSET",
|
|
@@ -114,6 +118,11 @@ function buildDiagnosticReport(scope, callback) {
|
|
|
114
118
|
flowFile: runtime.settings.flowFile || "UNSET",
|
|
115
119
|
mqttReconnectTime: runtime.settings.mqttReconnectTime || "UNSET",
|
|
116
120
|
serialReconnectTime: runtime.settings.serialReconnectTime || "UNSET",
|
|
121
|
+
socketReconnectTime: runtime.settings.socketReconnectTime || "UNSET",
|
|
122
|
+
socketTimeout: runtime.settings.socketTimeout || "UNSET",
|
|
123
|
+
tcpMsgQueueSize: runtime.settings.tcpMsgQueueSize || "UNSET",
|
|
124
|
+
inboundWebSocketTimeout: runtime.settings.inboundWebSocketTimeout || "UNSET",
|
|
125
|
+
runtimeState: runtime.settings.runtimeState || "UNSET",
|
|
117
126
|
|
|
118
127
|
adminAuth: runtime.settings.adminAuth ? "SET" : "UNSET",
|
|
119
128
|
|
|
@@ -131,6 +140,7 @@ function buildDiagnosticReport(scope, callback) {
|
|
|
131
140
|
uiHost: runtime.settings.uiHost ? "SET" : "UNSET",
|
|
132
141
|
uiPort: runtime.settings.uiPort ? "SET" : "UNSET",
|
|
133
142
|
userDir: runtime.settings.userDir ? "SET" : "UNSET",
|
|
143
|
+
nodesDir: runtime.settings.nodesDir && runtime.settings.nodesDir.length ? "SET" : "UNSET",
|
|
134
144
|
}
|
|
135
145
|
}
|
|
136
146
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-red/runtime",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@node-red/registry": "3.0.
|
|
20
|
-
"@node-red/util": "3.0.
|
|
19
|
+
"@node-red/registry": "3.0.1",
|
|
20
|
+
"@node-red/util": "3.0.1",
|
|
21
21
|
"async-mutex": "0.3.2",
|
|
22
22
|
"clone": "2.1.2",
|
|
23
23
|
"express": "4.18.1",
|