node-opcua-nodeid
Advanced tools
Comparing version 2.44.0 to 2.45.0
@@ -110,3 +110,3 @@ "use strict"; | ||
if (this.value) { | ||
str = "ns=" + this.namespace + ";b=" + this.value.toString("hex"); | ||
str = "ns=" + this.namespace + ";b=" + this.value.toString("base64"); | ||
} | ||
@@ -207,3 +207,3 @@ else { | ||
identifierType = NodeIdType.BYTESTRING; | ||
value = Buffer.from(value.substr(2), "hex"); | ||
value = Buffer.from(value.substr(2), "base64"); | ||
} | ||
@@ -230,3 +230,3 @@ else if (twoFirst === "g=") { | ||
namespace = parseInt(matches[1], 10); | ||
value = Buffer.from(matches[2], "hex"); | ||
value = Buffer.from(matches[2], "base64"); | ||
} | ||
@@ -233,0 +233,0 @@ else if ((matches = regexNamespaceG.exec(value)) !== null) { |
@@ -5,3 +5,3 @@ { | ||
"types": "./dist/index.d.ts", | ||
"version": "2.44.0", | ||
"version": "2.45.0", | ||
"description": "pure nodejs OPCUA SDK - module -nodeid", | ||
@@ -44,3 +44,3 @@ "scripts": { | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "ba4e499a38b101a283e2121729802d15d77a319c" | ||
"gitHead": "7c12c77714688a60d4bdf384190ec03066513c79" | ||
} |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -128,3 +128,3 @@ /** | ||
if (this.value) { | ||
str = "ns=" + this.namespace + ";b=" + (this.value as Buffer).toString("hex"); | ||
str = "ns=" + this.namespace + ";b=" + (this.value as Buffer).toString("base64"); | ||
} else { | ||
@@ -232,3 +232,3 @@ str = "ns=" + this.namespace + ";b=<null>"; | ||
identifierType = NodeIdType.BYTESTRING; | ||
value = Buffer.from(value.substr(2), "hex"); | ||
value = Buffer.from(value.substr(2), "base64"); | ||
} else if (twoFirst === "g=") { | ||
@@ -250,3 +250,3 @@ identifierType = NodeIdType.GUID; | ||
namespace = parseInt(matches[1], 10); | ||
value = Buffer.from(matches[2], "hex"); | ||
value = Buffer.from(matches[2], "base64"); | ||
} else if ((matches = regexNamespaceG.exec(value)) !== null) { | ||
@@ -253,0 +253,0 @@ identifierType = NodeIdType.GUID; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
54456