node-opcua-service-call
Advanced tools
Comparing version 0.1.1-0 to 0.2.0
@@ -1,2 +0,2 @@ | ||
// --------- This code has been automatically generated !!! 2017-12-15T21:13:56.145Z | ||
// --------- This code has been automatically generated !!! 2018-01-23T21:10:22.266Z | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
// --------- This code has been automatically generated !!! 2017-12-15T21:13:56.191Z | ||
// --------- This code has been automatically generated !!! 2018-01-23T21:10:22.362Z | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
// --------- This code has been automatically generated !!! 2017-12-15T21:13:56.207Z | ||
// --------- This code has been automatically generated !!! 2018-01-23T21:10:22.369Z | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
// --------- This code has been automatically generated !!! 2017-12-15T21:13:56.207Z | ||
// --------- This code has been automatically generated !!! 2018-01-23T21:10:22.390Z | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
// --------- This code has been automatically generated !!! 2017-12-15T21:13:56.207Z | ||
// --------- This code has been automatically generated !!! 2018-01-23T21:10:22.401Z | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "node-opcua-service-call", | ||
"version": "0.1.1-0", | ||
"version": "0.2.0", | ||
"description": "pure nodejs OPCUA SDK - module -service-call", | ||
@@ -12,15 +12,15 @@ "scripts": { | ||
"dependencies": { | ||
"node-opcua-assert": "^0.1.1-0", | ||
"node-opcua-basic-types": "^0.1.1-0", | ||
"node-opcua-factory": "^0.1.1-0", | ||
"node-opcua-nodeid": "^0.1.1-0", | ||
"node-opcua-service-secure-channel": "^0.1.1-0", | ||
"node-opcua-variant": "^0.1.1-0", | ||
"node-opcua-assert": "^0.2.0", | ||
"node-opcua-basic-types": "^0.2.0", | ||
"node-opcua-factory": "^0.2.0", | ||
"node-opcua-nodeid": "^0.2.0", | ||
"node-opcua-service-secure-channel": "^0.2.0", | ||
"node-opcua-variant": "^0.2.0", | ||
"underscore": "^1.8.3" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-generator": "^0.1.1-0", | ||
"node-opcua-packet-analyzer": "^0.1.1-0", | ||
"node-opcua-status-code": "^0.1.1-0", | ||
"should": "13.2.0" | ||
"node-opcua-generator": "^0.2.0", | ||
"node-opcua-packet-analyzer": "^0.2.0", | ||
"node-opcua-status-code": "^0.2.0", | ||
"should": "13.2.1" | ||
}, | ||
@@ -27,0 +27,0 @@ "author": "Etienne Rossignon", |
@@ -36,3 +36,3 @@ "use strict"; | ||
var coerceNodeId = require("node-opcua-nodeid").coerceNodeId; | ||
var resolveNodeId = require("node-opcua-nodeid").resolveNodeId; | ||
var DataType = require("node-opcua-variant").DataType; | ||
@@ -49,10 +49,19 @@ | ||
if (typeof dataType === "string") { | ||
dataType = makeNodeId(dataType.value, 0); | ||
//dataType = coerceNodeId(DataType[dataType].value); | ||
dataType = resolveNodeId(dataType); | ||
} else if ( dataType instanceof NodeId ) { | ||
// nothing | ||
} else { | ||
dataType = coerceNodeId(dataType.value); | ||
assert(dataType.hasOwnProperty("value")); | ||
dataType = coerceNodeId(dataType.value,dataType.namespace); | ||
} | ||
options.dataType = dataType; | ||
} | ||
// fix missing ArrayDimension (The value is an array with one dimension.) | ||
if (!options.valueRank === 1 || !options.arrayDimensions) { | ||
options.arrayDimensions = [0]; | ||
} | ||
return options; | ||
}, | ||
@@ -59,0 +68,0 @@ fields: [ |
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
45754
943
+ Addednode-opcua-assert@0.2.0(transitive)
+ Addednode-opcua-basic-types@0.2.3(transitive)
+ Addednode-opcua-binary-stream@0.2.3(transitive)
+ Addednode-opcua-buffer-utils@0.2.0(transitive)
+ Addednode-opcua-constants@0.2.0(transitive)
+ Addednode-opcua-data-model@0.2.3(transitive)
+ Addednode-opcua-date-time@0.2.3(transitive)
+ Addednode-opcua-debug@0.2.2(transitive)
+ Addednode-opcua-enum@0.2.3(transitive)
+ Addednode-opcua-extension-object@0.2.3(transitive)
+ Addednode-opcua-factory@0.2.3(transitive)
+ Addednode-opcua-guid@0.2.0(transitive)
+ Addednode-opcua-nodeid@0.2.3(transitive)
+ Addednode-opcua-service-secure-channel@0.2.3(transitive)
+ Addednode-opcua-status-code@0.2.3(transitive)
+ Addednode-opcua-utils@0.2.3(transitive)
+ Addednode-opcua-variant@0.2.3(transitive)
- Removednode-opcua-assert@0.1.1-0(transitive)
- Removednode-opcua-basic-types@0.1.1-0(transitive)
- Removednode-opcua-binary-stream@0.1.1-0(transitive)
- Removednode-opcua-buffer-utils@0.1.1-0(transitive)
- Removednode-opcua-constants@0.1.1-0(transitive)
- Removednode-opcua-data-model@0.1.1-0(transitive)
- Removednode-opcua-date-time@0.1.1-0(transitive)
- Removednode-opcua-debug@0.1.1-0(transitive)
- Removednode-opcua-enum@0.1.1-0(transitive)
- Removednode-opcua-extension-object@0.1.1-0(transitive)
- Removednode-opcua-factory@0.1.1-0(transitive)
- Removednode-opcua-guid@0.1.1-0(transitive)
- Removednode-opcua-nodeid@0.1.1-0(transitive)
- Removednode-opcua-service-secure-channel@0.1.1-0(transitive)
- Removednode-opcua-status-code@0.1.1-0(transitive)
- Removednode-opcua-utils@0.1.1-0(transitive)
- Removednode-opcua-variant@0.1.1-0(transitive)
Updatednode-opcua-assert@^0.2.0
Updatednode-opcua-factory@^0.2.0
Updatednode-opcua-nodeid@^0.2.0
Updatednode-opcua-variant@^0.2.0