node-opcua-status-code
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"name": "node-opcua-status-code", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "pure nodejs OPCUA SDK - module -status-code", | ||
@@ -15,3 +15,3 @@ "main": "./src/opcua_status_code.js", | ||
"devDependencies": { | ||
"node-opcua-binary-stream": "^0.2.2", | ||
"node-opcua-binary-stream": "^0.2.3", | ||
"should": "13.2.1" | ||
@@ -18,0 +18,0 @@ }, |
@@ -172,2 +172,10 @@ "use strict"; | ||
StatusCode.prototype.isNot = function isNot(other) { | ||
assert(other instanceof StatusCode); | ||
return this.value !== other.value; | ||
}; | ||
StatusCode.prototype.equals = function equals(other) { | ||
assert(other instanceof StatusCode); | ||
return this.value === other.value; | ||
}; | ||
@@ -174,0 +182,0 @@ var encodeStatusCode = function (statusCode, stream) { |
@@ -0,0 +0,0 @@ |
Sorry, the diff of this file is not supported yet
19512
366