node-opcua-secure-channel
Advanced tools
Comparing version 2.5.0-alpha.11 to 2.5.0-alpha.12
@@ -419,3 +419,3 @@ "use strict"; | ||
if (doTraceMessage) { | ||
console.log(chalk.cyan.bold("xxxxx <<<<<< _on_message_received "), requestId, response.schema.name); | ||
console.log(chalk.cyan.bold(node_opcua_utils_1.timestamp(), " <<<<<< _on_message_received "), requestId, response.schema.name, response.responseHeader.serviceResult.toString()); | ||
} | ||
@@ -425,3 +425,3 @@ const requestData = this._requests[requestId]; | ||
if (!requestData) { | ||
console.log(chalk.cyan.bold("xxxxx <<<<<< _on_message_received for unknwonw or timeout request "), requestId, response.schema.name); | ||
console.log(chalk.cyan.bold("xxxxx <<<<<< _on_message_received for unknwonw or timeout request "), requestId, response.schema.name, response.responseHeader.serviceResult.toString()); | ||
throw new Error(" => invalid requestId =" + requestId); | ||
@@ -961,3 +961,3 @@ } | ||
if (doTraceMessage) { | ||
console.log(chalk.cyan("xxxxx >>>>>> "), requestHandle, request.schema.name); | ||
console.log(chalk.cyan(node_opcua_utils_1.timestamp(), " >>>>>> "), requestHandle, request.schema.name); | ||
} | ||
@@ -964,0 +964,0 @@ const requestData = { |
{ | ||
"name": "node-opcua-secure-channel", | ||
"version": "2.5.0-alpha.11", | ||
"version": "2.5.0-alpha.12", | ||
"description": "pure nodejs OPCUA SDK - module -secure-channel", | ||
@@ -17,19 +17,19 @@ "main": "./dist/source/index.js", | ||
"node-opcua-assert": "^2.5.0-alpha.4", | ||
"node-opcua-basic-types": "^2.5.0-alpha.11", | ||
"node-opcua-basic-types": "^2.5.0-alpha.12", | ||
"node-opcua-binary-stream": "^2.5.0-alpha.4", | ||
"node-opcua-certificate-manager": "^2.5.0-alpha.11", | ||
"node-opcua-chunkmanager": "^2.5.0-alpha.11", | ||
"node-opcua-common": "^2.5.0-alpha.11", | ||
"node-opcua-certificate-manager": "^2.5.0-alpha.12", | ||
"node-opcua-chunkmanager": "^2.5.0-alpha.12", | ||
"node-opcua-common": "^2.5.0-alpha.12", | ||
"node-opcua-crypto": "^1.1.4", | ||
"node-opcua-debug": "^2.5.0-alpha.4", | ||
"node-opcua-enum": "^2.5.0-alpha.4", | ||
"node-opcua-factory": "^2.5.0-alpha.11", | ||
"node-opcua-factory": "^2.5.0-alpha.12", | ||
"node-opcua-nodeid": "^2.5.0-alpha.4", | ||
"node-opcua-object-registry": "^2.5.0-alpha.4", | ||
"node-opcua-packet-analyzer": "^2.5.0-alpha.11", | ||
"node-opcua-service-secure-channel": "^2.5.0-alpha.11", | ||
"node-opcua-packet-analyzer": "^2.5.0-alpha.12", | ||
"node-opcua-service-secure-channel": "^2.5.0-alpha.12", | ||
"node-opcua-status-code": "^2.5.0-alpha.4", | ||
"node-opcua-transport": "^2.5.0-alpha.11", | ||
"node-opcua-types": "^2.5.0-alpha.11", | ||
"node-opcua-utils": "^2.5.0-alpha.11", | ||
"node-opcua-transport": "^2.5.0-alpha.12", | ||
"node-opcua-types": "^2.5.0-alpha.12", | ||
"node-opcua-utils": "^2.5.0-alpha.12", | ||
"underscore": "^1.9.2" | ||
@@ -44,6 +44,6 @@ }, | ||
"node-opcua-packet-analyzer": "^2.4.0", | ||
"node-opcua-service-browse": "^2.5.0-alpha.11", | ||
"node-opcua-service-endpoints": "^2.5.0-alpha.11", | ||
"node-opcua-service-read": "^2.5.0-alpha.11", | ||
"node-opcua-service-session": "^2.5.0-alpha.11", | ||
"node-opcua-service-browse": "^2.5.0-alpha.12", | ||
"node-opcua-service-endpoints": "^2.5.0-alpha.12", | ||
"node-opcua-service-read": "^2.5.0-alpha.12", | ||
"node-opcua-service-session": "^2.5.0-alpha.12", | ||
"node-opcua-test-fixtures": "^2.5.0-alpha.4", | ||
@@ -71,3 +71,3 @@ "node-opcua-test-helpers": "^2.5.0-alpha.0", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "7b9ace456702cd8e98bfbb8d31987835734a1e61" | ||
"gitHead": "5b1bfb1f8b49490bc8d909a1fb21f829e6411bbf" | ||
} |
@@ -26,3 +26,3 @@ /** | ||
import { BinaryStream } from "node-opcua-binary-stream"; | ||
import { get_clock_tick } from "node-opcua-utils"; | ||
import { get_clock_tick, timestamp } from "node-opcua-utils"; | ||
@@ -709,3 +709,5 @@ import { readMessageHeader, verify_message_chunk } from "node-opcua-chunkmanager"; | ||
if (doTraceMessage) { | ||
console.log(chalk.cyan.bold("xxxxx <<<<<< _on_message_received "), requestId, response.schema.name); | ||
console.log(chalk.cyan.bold(timestamp(), " <<<<<< _on_message_received "), | ||
requestId, response.schema.name, | ||
response.responseHeader.serviceResult.toString()); | ||
} | ||
@@ -717,3 +719,4 @@ | ||
if (!requestData) { | ||
console.log(chalk.cyan.bold("xxxxx <<<<<< _on_message_received for unknwonw or timeout request "), requestId, response.schema.name); | ||
console.log(chalk.cyan.bold("xxxxx <<<<<< _on_message_received for unknwonw or timeout request "), | ||
requestId, response.schema.name, response.responseHeader.serviceResult.toString()); | ||
throw new Error(" => invalid requestId =" + requestId); | ||
@@ -1395,3 +1398,3 @@ } | ||
if (doTraceMessage) { | ||
console.log(chalk.cyan("xxxxx >>>>>> "), requestHandle, request.schema.name); | ||
console.log(chalk.cyan(timestamp(), " >>>>>> "), requestHandle, request.schema.name); | ||
} | ||
@@ -1398,0 +1401,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
514408
8847