node-opcua-service-translate-browse-path
Advanced tools
Comparing version 2.102.0 to 2.103.0
@@ -12,3 +12,4 @@ "use strict"; | ||
const imports_1 = require("./imports"); | ||
const hierarchicalReferencesId = (0, node_opcua_nodeid_1.makeNodeId)(node_opcua_constants_1.ReferenceTypeIds.HierarchicalReferences); | ||
// const hierarchicalReferencesId = makeNodeId(ReferenceTypeIds.HierarchicalReferences); | ||
const aggregatesReferencesId = (0, node_opcua_nodeid_1.makeNodeId)(node_opcua_constants_1.ReferenceTypeIds.Aggregates); | ||
var node_opcua_data_model_1 = require("node-opcua-data-model"); | ||
@@ -28,3 +29,3 @@ Object.defineProperty(exports, "stringToQualifiedName", { enumerable: true, get: function () { return node_opcua_data_model_1.stringToQualifiedName; } }); | ||
includeSubtypes: true, | ||
referenceTypeId: hierarchicalReferencesId, | ||
referenceTypeId: aggregatesReferencesId, | ||
targetName | ||
@@ -35,3 +36,3 @@ }; | ||
relativePath: { elements }, | ||
startingNode: startingNode.nodeId, // ROOT | ||
startingNode: startingNode.nodeId // ROOT | ||
}); | ||
@@ -38,0 +39,0 @@ return browsePath; |
{ | ||
"name": "node-opcua-service-translate-browse-path", | ||
"version": "2.102.0", | ||
"version": "2.103.0", | ||
"description": "pure nodejs OPCUA SDK - module service-translate-browse-path", | ||
@@ -17,3 +17,3 @@ "scripts": { | ||
"node-opcua-nodeid": "2.99.0", | ||
"node-opcua-types": "2.102.0" | ||
"node-opcua-types": "2.103.0" | ||
}, | ||
@@ -38,3 +38,3 @@ "devDependencies": { | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "07dcdd8e8c7f2b55544c6e23023093e35674829c", | ||
"gitHead": "e206cac2daf39bd07e5ac6cbd744f966bb54759e", | ||
"files": [ | ||
@@ -41,0 +41,0 @@ "dist", |
@@ -11,3 +11,5 @@ /** | ||
const hierarchicalReferencesId = makeNodeId(ReferenceTypeIds.HierarchicalReferences); | ||
// const hierarchicalReferencesId = makeNodeId(ReferenceTypeIds.HierarchicalReferences); | ||
const aggregatesReferencesId = makeNodeId(ReferenceTypeIds.Aggregates); | ||
export { stringToQualifiedName } from "node-opcua-data-model"; | ||
@@ -22,6 +24,5 @@ | ||
export function constructBrowsePathFromQualifiedName( | ||
startingNode: { nodeId: NodeId }, | ||
targetNames: QualifiedName[] | null | ||
startingNode: { nodeId: NodeId }, | ||
targetNames: QualifiedName[] | null | ||
): BrowsePath { | ||
targetNames = targetNames || []; | ||
@@ -35,3 +36,3 @@ | ||
referenceTypeId: hierarchicalReferencesId, | ||
referenceTypeId: aggregatesReferencesId, | ||
targetName | ||
@@ -43,5 +44,5 @@ }; | ||
relativePath: { elements }, | ||
startingNode: startingNode.nodeId, // ROOT | ||
startingNode: startingNode.nodeId // ROOT | ||
}); | ||
return browsePath; | ||
} |
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
32327
23
548
+ Addednode-opcua-generator@2.103.0(transitive)
+ Addednode-opcua-schemas@2.103.0(transitive)
+ Addednode-opcua-types@2.103.0(transitive)
+ Addednode-opcua-xml2json@2.103.0(transitive)
- Removednode-opcua-generator@2.102.0(transitive)
- Removednode-opcua-schemas@2.102.0(transitive)
- Removednode-opcua-types@2.102.0(transitive)
- Removednode-opcua-xml2json@2.99.0(transitive)
Updatednode-opcua-types@2.103.0