node-opcua-address-space 2.143.0 → 2.145.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-address-space",
3
- "version": "2.143.0",
3
+ "version": "2.145.0",
4
4
  "description": "pure nodejs OPCUA SDK - module address-space",
5
5
  "main": "./dist/src/index_current.js",
6
6
  "types": "./dist/source/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  "node-opcua-assert": "2.139.0",
26
26
  "node-opcua-basic-types": "2.139.0",
27
27
  "node-opcua-binary-stream": "2.139.0",
28
- "node-opcua-client-dynamic-extension-object": "2.143.0",
28
+ "node-opcua-client-dynamic-extension-object": "2.145.0",
29
29
  "node-opcua-constants": "2.139.0",
30
30
  "node-opcua-crypto": "4.16.0",
31
31
  "node-opcua-data-access": "2.143.0",
@@ -80,7 +80,7 @@
80
80
  "internet of things"
81
81
  ],
82
82
  "homepage": "http://node-opcua.github.io/",
83
- "gitHead": "3bd85d4036f219f6f7e401d54e60afb3592ff1ba",
83
+ "gitHead": "e2efb3b0b420f04e3cb54ce7b360a3499e135c8b",
84
84
  "files": [
85
85
  "dist",
86
86
  "distHelpers",
@@ -203,7 +203,7 @@ export class PseudoSession implements IBasicSession {
203
203
  }
204
204
  // refresh the variable value if the attribute to read is the Value attribute
205
205
  if (obj.nodeClass === NodeClass.Variable && nodeToRead.attributeId == AttributeIds.Value) {
206
- (obj as UAVariable).readValueAsync(context);
206
+ return await (obj as UAVariable).readValueAsync(context);
207
207
  }
208
208
  assert(!!nodeToRead.nodeId, "expecting a nodeId");
209
209
  assert(!!nodeToRead.attributeId, "expecting a attributeId");