node-opcua-address-space 2.187.11 → 2.187.12

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.
@@ -811,7 +811,7 @@ function _clone_collection_new(
811
811
 
812
812
  // also clone or instantiate interface members that may be required in the optionals
813
813
  extraInfo.level++;
814
- _cloneInterface(nodeToClone, clonedNode, node, optionalFilter, extraInfo, browseNameMap);
814
+ _cloneInterface(nodeToClone, clonedNode, node, copyAlsoModellingRules, optionalFilter, extraInfo, browseNameMap);
815
815
  extraInfo.level--;
816
816
  // === clone);
817
817
  // extraInfo.registerClonedObject(clone, node);
@@ -900,6 +900,7 @@ function _cloneInterface(
900
900
  nodeToClone: UAObject | UAVariable | UAMethod | UAObjectType | UAVariableType,
901
901
  clonedNode: BaseNode,
902
902
  node: UAObject | UAVariable | UAMethod,
903
+ copyAlsoModellingRules: boolean,
903
904
  optionalFilter: CloneFilter,
904
905
  extraInfo: CloneExtraInfo,
905
906
  browseNameMap: Set<string>
@@ -949,7 +950,7 @@ function _cloneInterface(
949
950
  `\n${extraInfo?.pad()}`,
950
951
  aggregates.map((r) => r.toString({ addressSpace })).join(`\n${extraInfo?.pad()}`)
951
952
  );
952
- _clone_collection_new(nodeToClone, clonedNode, aggregates, false, localFilter, extraInfo, browseNameMap);
953
+ _clone_collection_new(nodeToClone, clonedNode, aggregates, copyAlsoModellingRules, localFilter, extraInfo, browseNameMap);
953
954
  }
954
955
  }
955
956
 
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.11",
4
+ "version": "2.187.12",
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",
@@ -84,7 +84,7 @@
84
84
  "internet of things"
85
85
  ],
86
86
  "homepage": "http://node-opcua.github.io/",
87
- "gitHead": "da8e4d922c74b877e62f5abbd7530354b0e92ee2",
87
+ "gitHead": "9c009a2e5f27957885938510e424a8f95a7a633f",
88
88
  "files": [
89
89
  "dist",
90
90
  "distHelpers",