node-opcua-address-space 2.187.2 → 2.187.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/loader/nodeset_record.ts +1 -1
- package/api/loader/nodeset_record_applier.ts +2 -1
- package/api/loader/nodeset_xml_producer.ts +1 -7
- package/api/session_context.ts +32 -21
- package/dist/api/loader/nodeset_record.d.ts +1 -1
- package/dist/api/loader/nodeset_record.js +1 -1
- package/dist/api/loader/nodeset_record_applier.d.ts.map +1 -1
- package/dist/api/loader/nodeset_record_applier.js +2 -1
- package/dist/api/loader/nodeset_record_applier.js.map +1 -1
- package/dist/api/loader/nodeset_xml_producer.d.ts.map +1 -1
- package/dist/api/loader/nodeset_xml_producer.js +1 -7
- package/dist/api/loader/nodeset_xml_producer.js.map +1 -1
- package/dist/api/session_context.d.ts +2 -0
- package/dist/api/session_context.d.ts.map +1 -1
- package/dist/api/session_context.js +29 -20
- package/dist/api/session_context.js.map +1 -1
- package/dist/impl/base_node_private.d.ts.map +1 -1
- package/dist/impl/base_node_private.js +12 -0
- package/dist/impl/base_node_private.js.map +1 -1
- package/dist/tsconfig_base.tsbuildinfo +1 -1
- package/impl/base_node_private.ts +13 -0
- package/package.json +4 -4
|
@@ -590,6 +590,19 @@ function _merge_base_declaration(
|
|
|
590
590
|
// c8 ignore next
|
|
591
591
|
doTrace && traceLog(extraInfo.pad(), "merging base declaration ", fullPath2(baseDeclaration), " into ", fullPath2(clonedNode));
|
|
592
592
|
_register_existing_children(baseDeclaration, clonedNode, extraInfo);
|
|
593
|
+
// a member the clone already reaches without aggregating it (OPC 30500 LADS: Operational
|
|
594
|
+
// organizes its state machine's Stop) is present as well: cloned again from the base
|
|
595
|
+
// declaration, it was a second Stop, or "already registered" with symbolic names
|
|
596
|
+
const aggregates = clonedNode.addressSpace.findReferenceType("Aggregates");
|
|
597
|
+
for (const reference of clonedNode.findReferencesEx("HierarchicalReferences", BrowseDirection.Forward)) {
|
|
598
|
+
const referenceType = clonedNode.addressSpace.findReferenceType(reference.referenceType);
|
|
599
|
+
if (!referenceType || (aggregates && referenceType.isSubtypeOf(aggregates))) continue;
|
|
600
|
+
const member = reference.node ?? clonedNode.addressSpace.findNode(reference.nodeId);
|
|
601
|
+
if (member)
|
|
602
|
+
browseNameMap.add(
|
|
603
|
+
`${clonedNode.nodeId.toString()}(${clonedNode.browseName.toString()})/${member.browseName.toString()}`
|
|
604
|
+
);
|
|
605
|
+
}
|
|
593
606
|
_clone_hierarchical_references(
|
|
594
607
|
baseDeclaration as UAObject | UAVariable | UAMethod,
|
|
595
608
|
clonedNode as UAObject | UAVariable | UAMethod,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-address-space",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.187.
|
|
4
|
+
"version": "2.187.4",
|
|
5
5
|
"description": "pure nodejs OPCUA SDK - module address-space",
|
|
6
6
|
"main": "./dist/api/index.js",
|
|
7
7
|
"types": "./dist/api/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"chalk": "6.0.1",
|
|
25
25
|
"dequeue": "^1.0.5",
|
|
26
26
|
"node-opcua-address-space-base": "2.187.0",
|
|
27
|
-
"node-opcua-address-space-store": "2.187.
|
|
27
|
+
"node-opcua-address-space-store": "2.187.4",
|
|
28
28
|
"node-opcua-assert": "2.186.7",
|
|
29
29
|
"node-opcua-basic-types": "2.187.0",
|
|
30
30
|
"node-opcua-binary-stream": "2.187.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"humanize": "0.0.9",
|
|
63
63
|
"node-opcua-benchmarker": "2.187.0",
|
|
64
64
|
"node-opcua-leak-detector": "2.186.7",
|
|
65
|
-
"node-opcua-nodesets": "2.187.
|
|
65
|
+
"node-opcua-nodesets": "2.187.4",
|
|
66
66
|
"node-opcua-packet-analyzer": "2.187.0",
|
|
67
67
|
"node-opcua-schemas": "2.187.0",
|
|
68
68
|
"node-opcua-service-filter": "2.187.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"internet of things"
|
|
85
85
|
],
|
|
86
86
|
"homepage": "http://node-opcua.github.io/",
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "9d58ebf75edfa05c412b279c1955a540b285901b",
|
|
88
88
|
"files": [
|
|
89
89
|
"dist",
|
|
90
90
|
"distHelpers",
|