node-opcua-transport 2.67.0 → 2.68.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.
|
@@ -171,7 +171,7 @@ class ServerTCP_transport extends tcp_transport_1.TCP_transport {
|
|
|
171
171
|
}
|
|
172
172
|
(0, node_opcua_assert_1.assert)(!this._helloReceived);
|
|
173
173
|
const stream = new node_opcua_binary_stream_1.BinaryStream(data);
|
|
174
|
-
const msgType = data.slice(0, 3).toString("
|
|
174
|
+
const msgType = data.slice(0, 3).toString("utf-8");
|
|
175
175
|
/* istanbul ignore next*/
|
|
176
176
|
if (doDebug) {
|
|
177
177
|
debugLog("SERVER received " + chalk.yellow(msgType));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-transport",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.68.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module -transport",
|
|
5
5
|
"main": "./dist/source/index.js",
|
|
6
6
|
"types": "./dist/source/index.d.ts",
|
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"chalk": "4.1.2",
|
|
16
16
|
"node-opcua-assert": "2.66.0",
|
|
17
|
-
"node-opcua-basic-types": "2.
|
|
17
|
+
"node-opcua-basic-types": "2.68.0",
|
|
18
18
|
"node-opcua-binary-stream": "2.67.0",
|
|
19
19
|
"node-opcua-buffer-utils": "2.67.0",
|
|
20
|
-
"node-opcua-chunkmanager": "2.
|
|
21
|
-
"node-opcua-debug": "2.
|
|
22
|
-
"node-opcua-factory": "2.
|
|
23
|
-
"node-opcua-nodeid": "2.
|
|
24
|
-
"node-opcua-object-registry": "2.
|
|
20
|
+
"node-opcua-chunkmanager": "2.68.0",
|
|
21
|
+
"node-opcua-debug": "2.68.0",
|
|
22
|
+
"node-opcua-factory": "2.68.0",
|
|
23
|
+
"node-opcua-nodeid": "2.68.0",
|
|
24
|
+
"node-opcua-object-registry": "2.68.0",
|
|
25
25
|
"node-opcua-packet-assembler": "2.66.0",
|
|
26
26
|
"node-opcua-status-code": "2.67.0",
|
|
27
|
-
"node-opcua-types": "2.
|
|
27
|
+
"node-opcua-types": "2.68.0",
|
|
28
28
|
"node-opcua-utils": "2.67.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"internet of things"
|
|
49
49
|
],
|
|
50
50
|
"homepage": "http://node-opcua.github.io/",
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "363b466440d0910acddd0cde2c37792ce4724d76"
|
|
52
52
|
}
|
|
@@ -217,7 +217,7 @@ export class ServerTCP_transport extends TCP_transport {
|
|
|
217
217
|
}
|
|
218
218
|
assert(!this._helloReceived);
|
|
219
219
|
const stream = new BinaryStream(data);
|
|
220
|
-
const msgType = data.slice(0, 3).toString("
|
|
220
|
+
const msgType = data.slice(0, 3).toString("utf-8");
|
|
221
221
|
|
|
222
222
|
/* istanbul ignore next*/
|
|
223
223
|
if (doDebug) {
|