opcua-webapi-ts 1.1.2 → 1.1.3

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.
@@ -479,7 +479,7 @@ class UaNodeReader extends UaNodeReaderBase {
479
479
  if (currentNode.nodeClass != opcua_webapi_1.NodeClass.Object &&
480
480
  currentNode.nodeClass != opcua_webapi_1.NodeClass.Variable)
481
481
  continue;
482
- let browseDescription = new common_1.UaBrowseDescription(currentNode.nodeId, opcua_webapi_1.BrowseDirection.Forward, common_1.UaNodeId.from(common_1.ReferenceTypeIds.HierarchicalReferences), false, opcua_webapi_1.NodeClass.ObjectType | opcua_webapi_1.NodeClass.VariableType, 0);
482
+ let browseDescription = new common_1.UaBrowseDescription(currentNode.nodeId, opcua_webapi_1.BrowseDirection.Forward, common_1.UaNodeId.from(common_1.ReferenceTypeIds.HasTypeDefinition), false, opcua_webapi_1.NodeClass.ObjectType | opcua_webapi_1.NodeClass.VariableType, 0);
483
483
  browseDescriptions.push(browseDescription);
484
484
  }
485
485
  if (browseDescriptions.length != 0) {
@@ -479,7 +479,7 @@ class UaNodeReader extends UaNodeReaderBase {
479
479
  if (currentNode.nodeClass != opcua_webapi_1.NodeClass.Object &&
480
480
  currentNode.nodeClass != opcua_webapi_1.NodeClass.Variable)
481
481
  continue;
482
- let browseDescription = new common_1.UaBrowseDescription(currentNode.nodeId, opcua_webapi_1.BrowseDirection.Forward, common_1.UaNodeId.from(common_1.ReferenceTypeIds.HierarchicalReferences), false, opcua_webapi_1.NodeClass.ObjectType | opcua_webapi_1.NodeClass.VariableType, 0);
482
+ let browseDescription = new common_1.UaBrowseDescription(currentNode.nodeId, opcua_webapi_1.BrowseDirection.Forward, common_1.UaNodeId.from(common_1.ReferenceTypeIds.HasTypeDefinition), false, opcua_webapi_1.NodeClass.ObjectType | opcua_webapi_1.NodeClass.VariableType, 0);
483
483
  browseDescriptions.push(browseDescription);
484
484
  }
485
485
  if (browseDescriptions.length != 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opcua-webapi-ts",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Provides OPC UA WebAPI wrapper and client based on opcua-webapi-typescript",
5
5
  "author": "DingYan",
6
6
  "main": "./dist/cjs/index.js",