node-opcua-data-value
Advanced tools
Comparing version 2.89.0 to 2.90.0
@@ -9,3 +9,3 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; | ||
import { TimestampsToReturn } from "./TimestampsToReturn_enum"; | ||
type NumericalRange = any; | ||
declare 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 type DataValueLike = DataValueOptions | DataValue; | ||
export declare 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; |
@@ -438,3 +438,8 @@ "use strict"; | ||
clonedDataValue.value.dimensions = result.dimensions; | ||
clonedDataValue.value.value = result.array; | ||
if (Array.isArray(result.array)) { | ||
clonedDataValue.value.value = [...result.array]; | ||
} | ||
else { | ||
clonedDataValue.value.value = result.array; | ||
} | ||
return clonedDataValue; | ||
@@ -441,0 +446,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"types": "./dist/index.d.ts", | ||
"version": "2.89.0", | ||
"version": "2.90.0", | ||
"description": "pure nodejs OPCUA SDK - module -data-value", | ||
@@ -17,16 +17,16 @@ "scripts": { | ||
"node-opcua-assert": "2.88.0", | ||
"node-opcua-basic-types": "2.89.0", | ||
"node-opcua-basic-types": "2.90.0", | ||
"node-opcua-binary-stream": "2.89.0", | ||
"node-opcua-data-model": "2.89.0", | ||
"node-opcua-date-time": "2.89.0", | ||
"node-opcua-data-model": "2.90.0", | ||
"node-opcua-date-time": "2.90.0", | ||
"node-opcua-enum": "2.88.0", | ||
"node-opcua-factory": "2.89.0", | ||
"node-opcua-factory": "2.90.0", | ||
"node-opcua-status-code": "2.89.0", | ||
"node-opcua-variant": "2.89.0" | ||
"node-opcua-variant": "2.90.0" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-debug": "2.88.0", | ||
"node-opcua-extension-object": "2.89.0", | ||
"node-opcua-numeric-range": "2.89.0", | ||
"node-opcua-packet-analyzer": "2.89.0", | ||
"node-opcua-debug": "2.90.0", | ||
"node-opcua-extension-object": "2.90.0", | ||
"node-opcua-numeric-range": "2.90.0", | ||
"node-opcua-packet-analyzer": "2.90.0", | ||
"should": "^13.2.3" | ||
@@ -49,3 +49,3 @@ }, | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "93d5502a1b71afbb5e5fa56846615c412b63cc1b" | ||
"gitHead": "d55f9150c3ffa5b86fbe1a0baba69a2543c3090a" | ||
} |
@@ -513,3 +513,8 @@ /** | ||
clonedDataValue.value.dimensions = result.dimensions; | ||
clonedDataValue.value.value = result.array; | ||
if (Array.isArray(result.array)) { | ||
clonedDataValue.value.value = [...result.array]; | ||
} else { | ||
clonedDataValue.value.value = result.array; | ||
} | ||
return clonedDataValue; | ||
@@ -516,0 +521,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
86269
1405
+ Addednode-opcua-basic-types@2.90.0(transitive)
+ Addednode-opcua-data-model@2.90.0(transitive)
+ Addednode-opcua-date-time@2.90.0(transitive)
+ Addednode-opcua-debug@2.90.0(transitive)
+ Addednode-opcua-factory@2.90.0(transitive)
+ Addednode-opcua-nodeid@2.90.0(transitive)
+ Addednode-opcua-variant@2.90.0(transitive)
- Removednode-opcua-basic-types@2.89.0(transitive)
- Removednode-opcua-data-model@2.89.0(transitive)
- Removednode-opcua-date-time@2.89.0(transitive)
- Removednode-opcua-debug@2.88.0(transitive)
- Removednode-opcua-factory@2.89.0(transitive)
- Removednode-opcua-nodeid@2.88.0(transitive)
- Removednode-opcua-variant@2.89.0(transitive)
Updatednode-opcua-data-model@2.90.0
Updatednode-opcua-date-time@2.90.0
Updatednode-opcua-factory@2.90.0
Updatednode-opcua-variant@2.90.0