node-opcua-address-space-base 2.133.0 → 2.137.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.
@@ -27,9 +27,7 @@ export interface IAddressSpace {
27
27
  views: UAObject;
28
28
  types: UAObject;
29
29
  };
30
- historizingNodes?: {
31
- [key: string]: UAVariable;
32
- };
30
+ historizingNodes?: Set<UAVariable>;
33
31
  /**
34
32
  * when this flag is set, properties and components are not added as javascript
35
33
  * member of the UAObject/UAVariable node
@@ -77,4 +77,5 @@ export interface InstantiateOptions {
77
77
  * shall we also replicate the HasModelling rule reference ?
78
78
  */
79
79
  copyAlsoModellingRules?: boolean;
80
+ copyAlsoAllOptionals?: boolean;
80
81
  }
@@ -102,9 +102,9 @@ export interface VariableStuff {
102
102
  * n > 1: the Value is an array with the specified number of dimensions.
103
103
  * OneDimension (1): The value is an array with one dimension.
104
104
  * OneOrMoreDimensions (0): The value is an array with one or more dimensions.
105
- * Scalar (?1): The value is not an array.
106
- * Any (?2): The value can be a scalar or an array with any number of dimensions.
107
- * ScalarOrOneDimension (?3): The value can be a scalar or a one dimensional array.
105
+ * Scalar (-1): The value is not an array.
106
+ * Any (-2): The value can be a scalar or an array with any number of dimensions.
107
+ * ScalarOrOneDimension (-3): The value can be a scalar or a one dimensional array.
108
108
  * NOTE All DataTypes are considered to be scalar, even if they have array-like semantics
109
109
  * like ByteString and String.
110
110
  */
@@ -1,4 +1,4 @@
1
- import { Certificate } from "node-opcua-crypto";
1
+ import { Certificate } from "node-opcua-crypto/web";
2
2
  import { DataValue } from "node-opcua-data-value";
3
3
  import { PreciseClock } from "node-opcua-date-time";
4
4
  import { NodeId, NodeIdLike } from "node-opcua-nodeid";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-address-space-base",
3
- "version": "2.133.0",
3
+ "version": "2.137.0",
4
4
  "description": "pure nodejs OPCUA SDK - module address-space-base",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -17,20 +17,20 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "node-opcua-assert": "2.120.0",
20
- "node-opcua-basic-types": "2.133.0",
20
+ "node-opcua-basic-types": "2.134.0",
21
21
  "node-opcua-constants": "2.125.0",
22
- "node-opcua-crypto": "4.10.0",
23
- "node-opcua-data-model": "2.133.0",
24
- "node-opcua-data-value": "2.133.0",
25
- "node-opcua-date-time": "2.133.0",
22
+ "node-opcua-crypto": "4.12.0",
23
+ "node-opcua-data-model": "2.137.0",
24
+ "node-opcua-data-value": "2.137.0",
25
+ "node-opcua-date-time": "2.134.0",
26
26
  "node-opcua-debug": "2.133.0",
27
- "node-opcua-extension-object": "2.133.0",
27
+ "node-opcua-extension-object": "2.137.0",
28
28
  "node-opcua-nodeid": "2.133.0",
29
- "node-opcua-numeric-range": "2.133.0",
30
- "node-opcua-schemas": "2.133.0",
29
+ "node-opcua-numeric-range": "2.137.0",
30
+ "node-opcua-schemas": "2.137.0",
31
31
  "node-opcua-status-code": "2.133.0",
32
- "node-opcua-types": "2.133.0",
33
- "node-opcua-variant": "2.133.0"
32
+ "node-opcua-types": "2.137.0",
33
+ "node-opcua-variant": "2.137.0"
34
34
  },
35
35
  "author": "Etienne Rossignon",
36
36
  "license": "MIT",
@@ -47,7 +47,7 @@
47
47
  "internet of things"
48
48
  ],
49
49
  "homepage": "http://node-opcua.github.io/",
50
- "gitHead": "921bb04f2e7ce3109dd051ff27a2210edf700344",
50
+ "gitHead": "e88e4f20d5436dd68084d2a6d447f170330b373d",
51
51
  "files": [
52
52
  "dist",
53
53
  "source"
@@ -27,7 +27,7 @@ interface UARootFolder_Objects extends UAObject {
27
27
  export interface IAddressSpace {
28
28
  rootFolder: { objects: UARootFolder_Objects; views: UAObject; types: UAObject };
29
29
 
30
- historizingNodes?: { [key: string]: UAVariable };
30
+ historizingNodes?: Set<UAVariable>;
31
31
 
32
32
  /**
33
33
  * when this flag is set, properties and components are not added as javascript
@@ -88,4 +88,5 @@ export interface InstantiateOptions {
88
88
  * shall we also replicate the HasModelling rule reference ?
89
89
  */
90
90
  copyAlsoModellingRules?: boolean;
91
+ copyAlsoAllOptionals?: boolean;
91
92
  }
@@ -134,9 +134,9 @@ export interface VariableStuff {
134
134
  * n > 1: the Value is an array with the specified number of dimensions.
135
135
  * OneDimension (1): The value is an array with one dimension.
136
136
  * OneOrMoreDimensions (0): The value is an array with one or more dimensions.
137
- * Scalar (?1): The value is not an array.
138
- * Any (?2): The value can be a scalar or an array with any number of dimensions.
139
- * ScalarOrOneDimension (?3): The value can be a scalar or a one dimensional array.
137
+ * Scalar (-1): The value is not an array.
138
+ * Any (-2): The value can be a scalar or an array with any number of dimensions.
139
+ * ScalarOrOneDimension (-3): The value can be a scalar or a one dimensional array.
140
140
  * NOTE All DataTypes are considered to be scalar, even if they have array-like semantics
141
141
  * like ByteString and String.
142
142
  */
@@ -1,4 +1,4 @@
1
- import { Certificate } from "node-opcua-crypto";
1
+ import { Certificate } from "node-opcua-crypto/web";
2
2
  import { DataValue } from "node-opcua-data-value";
3
3
  import { PreciseClock } from "node-opcua-date-time";
4
4
  import { NodeId, NodeIdLike } from "node-opcua-nodeid";