node-opcua-address-space 2.187.16 → 2.187.17

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.
@@ -239,6 +239,11 @@ export function _getCompleteRequiredModelsFromValuesAndReferences(
239
239
  } else if (node.nodeClass === NodeClass.VariableType) {
240
240
  exploreValue((node as UAVariableTypeImpl).value);
241
241
  }
242
+ // the exporter translates the RoleId of every RolePermission too: a role of a model the
243
+ // namespace uses nothing else from is a dependency all the same
244
+ for (const rolePermission of (<BaseNodeImpl>node).rolePermissions || []) {
245
+ consider(rolePermission.roleId.namespace);
246
+ }
242
247
  const references = (<BaseNodeImpl>node).allReferences();
243
248
  for (const reference of references) {
244
249
  // check referenceId
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.16",
4
+ "version": "2.187.17",
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": "a3120744f0cd09a2924ec9fa37f90811d652fac4",
87
+ "gitHead": "41b5a4451f7a7a1ef4ec9e4169365e2c2d9a3fd2",
88
88
  "files": [
89
89
  "dist",
90
90
  "distHelpers",