node-opcua-service-call
Advanced tools
Comparing version 2.5.10 to 2.6.0-alpha.5
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* @module node-opcua-service-browse | ||
*/ | ||
const node_opcua_assert_1 = require("node-opcua-assert"); | ||
@@ -11,8 +8,7 @@ const node_opcua_nodeid_1 = require("node-opcua-nodeid"); | ||
var node_opcua_types_2 = require("node-opcua-types"); | ||
exports.Argument = node_opcua_types_2.Argument; | ||
exports.CallMethodRequest = node_opcua_types_2.CallMethodRequest; | ||
exports.CallRequest = node_opcua_types_2.CallRequest; | ||
exports.CallMethodResult = node_opcua_types_2.CallMethodResult; | ||
exports.CallResponse = node_opcua_types_2.CallResponse; | ||
/// | ||
Object.defineProperty(exports, "Argument", { enumerable: true, get: function () { return node_opcua_types_2.Argument; } }); | ||
Object.defineProperty(exports, "CallMethodRequest", { enumerable: true, get: function () { return node_opcua_types_2.CallMethodRequest; } }); | ||
Object.defineProperty(exports, "CallRequest", { enumerable: true, get: function () { return node_opcua_types_2.CallRequest; } }); | ||
Object.defineProperty(exports, "CallMethodResult", { enumerable: true, get: function () { return node_opcua_types_2.CallMethodResult; } }); | ||
Object.defineProperty(exports, "CallResponse", { enumerable: true, get: function () { return node_opcua_types_2.CallResponse; } }); | ||
function constructHookArgument(options) { | ||
@@ -26,3 +22,2 @@ options = options || { dataType: node_opcua_variant_1.DataType.Null }; | ||
else if (dataType instanceof node_opcua_nodeid_1.NodeId) { | ||
// nothing | ||
} | ||
@@ -41,3 +36,2 @@ else if (dataType.value) { | ||
} | ||
// fix missing ArrayDimension (The value is an array with one dimension.) | ||
if (options.valueRank !== 1 || !options.arrayDimensions) { | ||
@@ -44,0 +38,0 @@ options.arrayDimensions = [0]; |
@@ -1,14 +0,1 @@ | ||
/** | ||
* @module node-opcua-service-browse | ||
*/ | ||
/** | ||
* | ||
* This Service is used to call (invoke) a list of Methods. Each method call is invoked within the context | ||
* of an existing Session. If the Session is terminated, the results of the method’s execution cannot be | ||
* returned to the Client and are discarded. This is independent of the task actually performed at the | ||
* Server. | ||
* This Service provides for passing input and output arguments to/from a method. These arguments | ||
* are defined by Properties of the method. | ||
* | ||
*/ | ||
export * from "./imports"; |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* @module node-opcua-service-browse | ||
*/ | ||
/** | ||
* | ||
* This Service is used to call (invoke) a list of Methods. Each method call is invoked within the context | ||
* of an existing Session. If the Session is terminated, the results of the method’s execution cannot be | ||
* returned to the Client and are discarded. This is independent of the task actually performed at the | ||
* Server. | ||
* This Service provides for passing input and output arguments to/from a method. These arguments | ||
* are defined by Properties of the method. | ||
* | ||
*/ | ||
/* | ||
* | ||
* | ||
* extract from OPCUA Specification Part 4 Release 1.02 page 61: | ||
* | ||
* 5.11 **Method Service Set** | ||
* | ||
* 5.11.1 Overview | ||
* Methods represent the function calls of Objects. They are defined in Part 3. Methods are invoked | ||
* and return only after completion (successful or unsuccessful). Execution times for methods may | ||
* vary, depending on the function that they perform. | ||
* The Method Service Set defines the means to invoke methods. A method shall be a component of an | ||
* Object. Discovery is provided through the Browse and Query Services. Clients discover the methods | ||
* supported by a Server by browsing for the owning Objects References that identify their supported | ||
* methods. | ||
* Because Methods may control some aspect of plant operations, method invocation may depend on | ||
* environmental or other conditions. This may be especially true when attempting to re -invoke a | ||
* method immediately after it has completed execution. Conditions that are required to invoke the | ||
* method might not yet have returned to the state that permits the method to start again. | ||
* | ||
* | ||
*/ | ||
__export(require("./imports")); | ||
__exportStar(require("./imports"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "node-opcua-service-call", | ||
"version": "2.5.10", | ||
"version": "2.6.0-alpha.5+2620e75a", | ||
"description": "pure nodejs OPCUA SDK - module -service-call", | ||
@@ -13,3 +13,3 @@ "scripts": { | ||
"dependencies": { | ||
"node-opcua-assert": "2.5.8", | ||
"node-opcua-assert": "^2.5.8", | ||
"node-opcua-basic-types": "^2.5.9", | ||
@@ -19,9 +19,9 @@ "node-opcua-binary-stream": "^2.5.9", | ||
"node-opcua-nodeid": "^2.5.9", | ||
"node-opcua-service-secure-channel": "^2.5.10", | ||
"node-opcua-types": "^2.5.10", | ||
"node-opcua-variant": "^2.5.10", | ||
"node-opcua-service-secure-channel": "^2.6.0-alpha.5+2620e75a", | ||
"node-opcua-types": "^2.6.0-alpha.5+2620e75a", | ||
"node-opcua-variant": "^2.6.0-alpha.5+2620e75a", | ||
"underscore": "^1.10.2" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-generator": "^2.5.10", | ||
"node-opcua-generator": "^2.6.0-alpha.5+2620e75a", | ||
"node-opcua-packet-analyzer": "^2.5.10", | ||
@@ -46,3 +46,3 @@ "node-opcua-status-code": "^2.5.9", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "f83ada4e88fdeedc0710c5a3b75bbd4b44d9ff76" | ||
"gitHead": "2620e75a3de3fd14b2c084d864e39c3ea7003d10" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
10420
146
1
1
- Removedansi-regex@2.1.1(transitive)
- Removedbetter-assert@1.0.2(transitive)
- Removedboolbase@1.0.0(transitive)
- Removedcallsite@1.0.0(transitive)
- Removedcss-select@4.3.0(transitive)
- Removedcss-what@6.1.0(transitive)
- Removeddom-converter@0.2.0(transitive)
- Removeddom-serializer@1.4.1(transitive)
- Removeddomelementtype@2.3.0(transitive)
- Removeddomhandler@4.3.1(transitive)
- Removeddomutils@2.8.0(transitive)
- Removedentities@2.2.0(transitive)
- Removedhtmlparser2@6.1.0(transitive)
- Removedlodash@4.17.21(transitive)
- Removednode-opcua-assert@2.5.8(transitive)
- Removednth-check@2.1.1(transitive)
- Removedpretty-error@2.1.2(transitive)
- Removedrenderkid@2.0.7(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedutila@0.4.0(transitive)
Updatednode-opcua-assert@^2.5.8
Updatednode-opcua-service-secure-channel@^2.6.0-alpha.5+2620e75a