node-opcua-data-value
Advanced tools
Comparing version 2.85.0 to 2.86.0
@@ -9,3 +9,3 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; | ||
import { TimestampsToReturn } from "./TimestampsToReturn_enum"; | ||
declare type NumericalRange = any; | ||
type NumericalRange = any; | ||
export declare function encodeDataValue(dataValue: DataValue, stream: OutputBinaryStream): void; | ||
@@ -45,3 +45,3 @@ export declare function decodeDataValue(stream: BinaryStream, dataValue?: DataValue): DataValue; | ||
} | ||
export declare type DataValueLike = DataValueOptions | DataValue; | ||
export type DataValueLike = DataValueOptions | DataValue; | ||
export declare function apply_timestamps(dataValue: DataValue, timestampsToReturn: TimestampsToReturn, attributeId: AttributeIds): DataValue; | ||
@@ -48,0 +48,0 @@ export declare function apply_timestamps_no_copy(dataValue: DataValue, timestampsToReturn: TimestampsToReturn, attributeId: AttributeIds, now?: PreciseClock): DataValue; |
@@ -182,3 +182,3 @@ "use strict"; | ||
// in this case StatusCode shall not be Good | ||
(0, node_opcua_assert_1.assert)(self.statusCode !== node_opcua_status_code_1.StatusCodes.Good); | ||
(0, node_opcua_assert_1.assert)(self.statusCode.isNotGood()); | ||
} | ||
@@ -425,3 +425,3 @@ return true; | ||
function _clone_with_array_replacement(dataValue, result) { | ||
const statusCode = result.statusCode === node_opcua_status_code_1.StatusCodes.Good ? dataValue.statusCode : result.statusCode; | ||
const statusCode = result.statusCode.isGood() ? dataValue.statusCode : result.statusCode; | ||
const clonedDataValue = new DataValue({ | ||
@@ -428,0 +428,0 @@ statusCode, |
@@ -5,3 +5,3 @@ { | ||
"types": "./dist/index.d.ts", | ||
"version": "2.85.0", | ||
"version": "2.86.0", | ||
"description": "pure nodejs OPCUA SDK - module -data-value", | ||
@@ -17,16 +17,16 @@ "scripts": { | ||
"node-opcua-assert": "2.77.0", | ||
"node-opcua-basic-types": "2.85.0", | ||
"node-opcua-binary-stream": "2.85.0", | ||
"node-opcua-data-model": "2.85.0", | ||
"node-opcua-date-time": "2.85.0", | ||
"node-opcua-enum": "2.85.0", | ||
"node-opcua-factory": "2.85.0", | ||
"node-opcua-status-code": "2.85.0", | ||
"node-opcua-variant": "2.85.0" | ||
"node-opcua-basic-types": "2.86.0", | ||
"node-opcua-binary-stream": "2.86.0", | ||
"node-opcua-data-model": "2.86.0", | ||
"node-opcua-date-time": "2.86.0", | ||
"node-opcua-enum": "2.86.0", | ||
"node-opcua-factory": "2.86.0", | ||
"node-opcua-status-code": "2.86.0", | ||
"node-opcua-variant": "2.86.0" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-debug": "2.85.0", | ||
"node-opcua-extension-object": "2.85.0", | ||
"node-opcua-numeric-range": "2.85.0", | ||
"node-opcua-packet-analyzer": "2.85.0", | ||
"node-opcua-debug": "2.86.0", | ||
"node-opcua-extension-object": "2.86.0", | ||
"node-opcua-numeric-range": "2.86.0", | ||
"node-opcua-packet-analyzer": "2.86.0", | ||
"should": "^13.2.3" | ||
@@ -49,3 +49,3 @@ }, | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "68498fcf7b20ea9f7bd66e8529c546221daf5d52" | ||
"gitHead": "36afc46fe2c91aa5664a8c5418f4db5a354670c3" | ||
} |
@@ -209,3 +209,3 @@ /** | ||
// in this case StatusCode shall not be Good | ||
assert(self.statusCode !== StatusCodes.Good); | ||
assert(self.statusCode.isNotGood()); | ||
} | ||
@@ -494,3 +494,3 @@ return true; | ||
function _clone_with_array_replacement(dataValue: DataValue, result: any): DataValue { | ||
const statusCode = result.statusCode === StatusCodes.Good ? dataValue.statusCode : result.statusCode; | ||
const statusCode = result.statusCode.isGood() ? dataValue.statusCode : result.statusCode; | ||
@@ -497,0 +497,0 @@ const clonedDataValue = new DataValue({ |
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
85858
+ Addednode-opcua-basic-types@2.86.0(transitive)
+ Addednode-opcua-binary-stream@2.86.0(transitive)
+ Addednode-opcua-buffer-utils@2.86.0(transitive)
+ Addednode-opcua-data-model@2.86.0(transitive)
+ Addednode-opcua-date-time@2.86.0(transitive)
+ Addednode-opcua-debug@2.86.0(transitive)
+ Addednode-opcua-enum@2.86.0(transitive)
+ Addednode-opcua-factory@2.86.0(transitive)
+ Addednode-opcua-nodeid@2.86.0(transitive)
+ Addednode-opcua-status-code@2.86.0(transitive)
+ Addednode-opcua-utils@2.86.0(transitive)
+ Addednode-opcua-variant@2.86.0(transitive)
- Removednode-opcua-basic-types@2.85.0(transitive)
- Removednode-opcua-binary-stream@2.85.0(transitive)
- Removednode-opcua-buffer-utils@2.85.0(transitive)
- Removednode-opcua-data-model@2.85.0(transitive)
- Removednode-opcua-date-time@2.85.0(transitive)
- Removednode-opcua-debug@2.85.0(transitive)
- Removednode-opcua-enum@2.85.0(transitive)
- Removednode-opcua-factory@2.85.0(transitive)
- Removednode-opcua-nodeid@2.85.0(transitive)
- Removednode-opcua-status-code@2.85.0(transitive)
- Removednode-opcua-utils@2.85.0(transitive)
- Removednode-opcua-variant@2.85.0(transitive)
Updatednode-opcua-data-model@2.86.0
Updatednode-opcua-date-time@2.86.0
Updatednode-opcua-enum@2.86.0
Updatednode-opcua-factory@2.86.0
Updatednode-opcua-variant@2.86.0