node-opcua-status-code
Advanced tools
Comparing version 2.17.0 to 2.22.0
@@ -74,3 +74,3 @@ /** | ||
export declare function getStatusCodeFromCode(code: number): any; | ||
export declare function decodeStatusCode(stream: BinaryStream): any; | ||
export declare function decodeStatusCode(stream: BinaryStream, _value?: StatusCode): any; | ||
export declare class ModifiableStatusCode extends StatusCode { | ||
@@ -77,0 +77,0 @@ private readonly _base; |
@@ -98,3 +98,3 @@ "use strict"; | ||
/** Multiple values match the Aggregate criteria (i.e. multiple minimum values at different timestamps within the same interval). */ | ||
HistorianMultiValue: 0x1 << 4, | ||
HistorianMultiValue: 0x1 << 4 | ||
}; | ||
@@ -220,3 +220,3 @@ /** | ||
exports.getStatusCodeFromCode = getStatusCodeFromCode; | ||
function decodeStatusCode(stream) { | ||
function decodeStatusCode(stream, _value) { | ||
const code = stream.readUInt32(); | ||
@@ -223,0 +223,0 @@ return getStatusCodeFromCode(code); |
{ | ||
"name": "node-opcua-status-code", | ||
"version": "2.17.0", | ||
"version": "2.22.0", | ||
"description": "pure nodejs OPCUA SDK - module -status-code", | ||
@@ -13,7 +13,7 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"node-opcua-assert": "2.16.0", | ||
"node-opcua-constants": "2.16.0" | ||
"node-opcua-assert": "2.22.0", | ||
"node-opcua-constants": "2.22.0" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-binary-stream": "2.17.0", | ||
"node-opcua-binary-stream": "2.22.0", | ||
"should": "^13.2.3" | ||
@@ -36,3 +36,3 @@ }, | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "545072c8184378254468c383b78e74e7e8e31ab7" | ||
"gitHead": "8eb6d67ecc89e34aa5bb99e9d6025aec2fa79743" | ||
} |
@@ -113,3 +113,3 @@ /** | ||
/** Multiple values match the Aggregate criteria (i.e. multiple minimum values at different timestamps within the same interval). */ | ||
HistorianMultiValue: 0x1 << 4, | ||
HistorianMultiValue: 0x1 << 4 | ||
}; | ||
@@ -266,6 +266,3 @@ | ||
); | ||
warnLog( | ||
"expecting a known StatusCode but got 0x" + codeWithoutInfoBits.toString(16), | ||
" code was 0x" + code.toString(16) | ||
); | ||
warnLog("expecting a known StatusCode but got 0x" + codeWithoutInfoBits.toString(16), " code was 0x" + code.toString(16)); | ||
} | ||
@@ -280,3 +277,3 @@ if (infoBits) { | ||
export function decodeStatusCode(stream: BinaryStream) { | ||
export function decodeStatusCode(stream: BinaryStream, _value?: StatusCode) { | ||
const code = stream.readUInt32(); | ||
@@ -283,0 +280,0 @@ return getStatusCodeFromCode(code); |
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
252036
2250
+ Addednode-opcua-assert@2.22.0(transitive)
+ Addednode-opcua-constants@2.22.0(transitive)
- Removednode-opcua-assert@2.16.0(transitive)
- Removednode-opcua-constants@2.16.0(transitive)
Updatednode-opcua-assert@2.22.0
Updatednode-opcua-constants@2.22.0