node-opcua-data-value
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -420,4 +420,5 @@ "use strict"; | ||
function _clone_with_array_replacement(dataValue, result) { | ||
const statusCode = result.statusCode === node_opcua_status_code_1.StatusCodes.Good ? dataValue.statusCode : result.statusCode; | ||
const clonedDataValue = new DataValue({ | ||
statusCode: result.statusCode, | ||
statusCode, | ||
serverTimestamp: dataValue.serverTimestamp, | ||
@@ -424,0 +425,0 @@ serverPicoseconds: dataValue.serverPicoseconds, |
@@ -5,3 +5,2 @@ /** | ||
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; | ||
import { Enum } from "node-opcua-enum"; | ||
export declare enum TimestampsToReturn { | ||
@@ -20,2 +19,2 @@ Source = 0, | ||
export declare function decodeTimestampsToReturn(stream: BinaryStream): TimestampsToReturn; | ||
export declare const _enumerationTimestampsToReturn: Enum; | ||
export declare const _enumerationTimestampsToReturn: import("node-opcua-enum").Enum; |
@@ -5,3 +5,3 @@ { | ||
"types": "./dist/index.d.ts", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "pure nodejs OPCUA SDK - module -data-value", | ||
@@ -15,19 +15,19 @@ "scripts": { | ||
"node-opcua-assert": "^2.0.0", | ||
"node-opcua-basic-types": "^2.0.0", | ||
"node-opcua-binary-stream": "^2.0.0", | ||
"node-opcua-data-model": "^2.0.0", | ||
"node-opcua-date-time": "^2.0.0", | ||
"node-opcua-enum": "^2.0.0", | ||
"node-opcua-extension-object": "^2.0.0", | ||
"node-opcua-factory": "^2.0.0", | ||
"node-opcua-nodeid": "^2.0.0", | ||
"node-opcua-status-code": "^2.0.0", | ||
"node-opcua-utils": "^2.0.0", | ||
"node-opcua-variant": "^2.0.0", | ||
"node-opcua-basic-types": "^2.1.0", | ||
"node-opcua-binary-stream": "^2.1.0", | ||
"node-opcua-data-model": "^2.1.0", | ||
"node-opcua-date-time": "^2.1.0", | ||
"node-opcua-enum": "^2.1.0", | ||
"node-opcua-extension-object": "^2.1.0", | ||
"node-opcua-factory": "^2.1.0", | ||
"node-opcua-nodeid": "^2.1.0", | ||
"node-opcua-status-code": "^2.1.0", | ||
"node-opcua-utils": "^2.1.0", | ||
"node-opcua-variant": "^2.1.0", | ||
"underscore": "^1.9.1" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-generator": "^2.0.0", | ||
"node-opcua-numeric-range": "^2.0.0", | ||
"node-opcua-packet-analyzer": "^2.0.0", | ||
"node-opcua-generator": "^2.1.0", | ||
"node-opcua-numeric-range": "^2.1.0", | ||
"node-opcua-packet-analyzer": "^2.1.0", | ||
"should": "13.2.3" | ||
@@ -50,3 +50,3 @@ }, | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "deed061b032e8490d44f59fc42559d413968ab89" | ||
"gitHead": "ddce2b6e3e13371510e63d839c1a4c4ff0be2c15" | ||
} |
@@ -502,4 +502,6 @@ /** | ||
const statusCode = result.statusCode === StatusCodes.Good ? dataValue.statusCode : result.statusCode; | ||
const clonedDataValue = new DataValue({ | ||
statusCode: result.statusCode, | ||
statusCode, | ||
@@ -506,0 +508,0 @@ serverTimestamp: dataValue.serverTimestamp, |
@@ -5,3 +5,2 @@ /** | ||
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; | ||
import { Enum } from "node-opcua-enum"; | ||
import { registerEnumeration } from "node-opcua-factory"; | ||
@@ -35,2 +34,2 @@ | ||
export const _enumerationTimestampsToReturn: Enum = registerEnumeration(schemaTimestampsToReturn); | ||
export const _enumerationTimestampsToReturn = registerEnumeration(schemaTimestampsToReturn); |
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
79665
Updatednode-opcua-data-model@^2.1.0
Updatednode-opcua-date-time@^2.1.0
Updatednode-opcua-enum@^2.1.0
Updatednode-opcua-factory@^2.1.0
Updatednode-opcua-nodeid@^2.1.0
Updatednode-opcua-utils@^2.1.0
Updatednode-opcua-variant@^2.1.0