node-opcua-address-space-base 2.90.1 → 2.92.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.
@@ -18,6 +18,8 @@ export interface UADataType extends BaseNode {
18
18
  readonly jsonEncoding: BaseNode | null;
19
19
  readonly basicDataType: DataType;
20
20
  readonly symbolicName: string;
21
+ isSubtypeOf(referenceType: NodeIdLike | UADataType): boolean;
22
+ /** @deprecated - use isSubtypeOf instead */
21
23
  isSupertypeOf(referenceType: NodeIdLike | UADataType): boolean;
22
24
  getEncodingNode(encodingName: string): BaseNode | null;
23
25
  /**
@@ -17,6 +17,8 @@ export declare interface UAObjectType extends BaseNode, IPropertyAndComponentHol
17
17
  readonly subtypeOfObj: UAObjectType | null;
18
18
  readonly isAbstract: boolean;
19
19
  readonly hasMethods: boolean;
20
+ isSubtypeOf(referenceType: NodeIdLike | UAObjectType): boolean;
21
+ /** @deprecated - use isSubtypeOf instead */
20
22
  isSupertypeOf(referenceType: NodeIdLike | UAObjectType): boolean;
21
23
  instantiate(options: InstantiateObjectOptions): UAObject;
22
24
  getMethodById(nodeId: NodeId): UAMethod | null;
@@ -8,6 +8,8 @@ export declare class UAReferenceType extends BaseNode {
8
8
  readonly subtypeOf: NodeId | null;
9
9
  readonly isAbstract: boolean;
10
10
  readonly inverseName: LocalizedText;
11
+ isSubtypeOf(baseType: UAReferenceType | NodeIdLike): boolean;
12
+ /** @deprecated - use isSubtypeOf instead */
11
13
  isSupertypeOf(baseType: UAReferenceType | NodeIdLike): boolean;
12
14
  getAllSubtypes(): UAReferenceType[];
13
15
  /**
@@ -45,6 +45,8 @@ export declare class UAVariableType extends BaseNode implements VariableAttribut
45
45
  arrayDimensions: UInt32[] | null;
46
46
  historizing: boolean;
47
47
  isAbstract: boolean;
48
+ isSubtypeOf(type: UAVariableType | NodeIdLike): boolean;
49
+ /** @deprecated - use isSubtypeOf instead */
48
50
  isSupertypeOf(type: UAVariableType | NodeIdLike): boolean;
49
51
  instantiate(options: InstantiateVariableOptions): UAVariable;
50
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-address-space-base",
3
- "version": "2.90.1",
3
+ "version": "2.92.0",
4
4
  "description": "pure nodejs OPCUA SDK - module -address-space",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -16,19 +16,19 @@
16
16
  "c": "mocha --version"
17
17
  },
18
18
  "dependencies": {
19
- "node-opcua-basic-types": "2.90.1",
19
+ "node-opcua-basic-types": "2.92.0",
20
20
  "node-opcua-constants": "2.88.0",
21
21
  "node-opcua-crypto": "^2.1.2",
22
- "node-opcua-data-model": "2.90.1",
23
- "node-opcua-data-value": "2.90.1",
22
+ "node-opcua-data-model": "2.92.0",
23
+ "node-opcua-data-value": "2.92.0",
24
24
  "node-opcua-date-time": "2.90.1",
25
- "node-opcua-extension-object": "2.90.1",
25
+ "node-opcua-extension-object": "2.92.0",
26
26
  "node-opcua-nodeid": "2.90.1",
27
- "node-opcua-numeric-range": "2.90.1",
28
- "node-opcua-schemas": "2.90.1",
27
+ "node-opcua-numeric-range": "2.92.0",
28
+ "node-opcua-schemas": "2.92.0",
29
29
  "node-opcua-status-code": "2.90.1",
30
- "node-opcua-types": "2.90.1",
31
- "node-opcua-variant": "2.90.1"
30
+ "node-opcua-types": "2.92.0",
31
+ "node-opcua-variant": "2.92.0"
32
32
  },
33
33
  "author": "Etienne Rossignon",
34
34
  "license": "MIT",
@@ -45,5 +45,5 @@
45
45
  "internet of things"
46
46
  ],
47
47
  "homepage": "http://node-opcua.github.io/",
48
- "gitHead": "3325ff5f8477fd058ba574d19e8128c36e3e831f"
48
+ "gitHead": "6ee0f52395af2c1f4f03518e675dc3f6edb7a455"
49
49
  }
@@ -28,6 +28,9 @@ export interface UADataType extends BaseNode {
28
28
  readonly basicDataType: DataType;
29
29
  readonly symbolicName: string;
30
30
 
31
+ isSubtypeOf(referenceType: NodeIdLike | UADataType): boolean;
32
+
33
+ /** @deprecated - use isSubtypeOf instead */
31
34
  isSupertypeOf(referenceType: NodeIdLike | UADataType): boolean;
32
35
 
33
36
  getEncodingNode(encodingName: string): BaseNode | null;
@@ -24,6 +24,9 @@ export declare interface UAObjectType extends BaseNode, IPropertyAndComponentHol
24
24
  readonly isAbstract: boolean;
25
25
  readonly hasMethods: boolean;
26
26
 
27
+ isSubtypeOf(referenceType: NodeIdLike | UAObjectType): boolean;
28
+
29
+ /** @deprecated - use isSubtypeOf instead */
27
30
  isSupertypeOf(referenceType: NodeIdLike | UAObjectType): boolean;
28
31
 
29
32
  instantiate(options: InstantiateObjectOptions): UAObject;
@@ -10,6 +10,9 @@ export declare class UAReferenceType extends BaseNode {
10
10
  public readonly isAbstract: boolean;
11
11
  public readonly inverseName: LocalizedText;
12
12
 
13
+ public isSubtypeOf(baseType: UAReferenceType | NodeIdLike): boolean;
14
+
15
+ /** @deprecated - use isSubtypeOf instead */
13
16
  public isSupertypeOf(baseType: UAReferenceType | NodeIdLike): boolean;
14
17
 
15
18
  public getAllSubtypes(): UAReferenceType[];
@@ -50,6 +50,9 @@ export declare class UAVariableType extends BaseNode implements VariableAttribut
50
50
 
51
51
  public isAbstract: boolean;
52
52
 
53
+ public isSubtypeOf(type: UAVariableType | NodeIdLike): boolean;
54
+
55
+ /** @deprecated - use isSubtypeOf instead */
53
56
  public isSupertypeOf(type: UAVariableType | NodeIdLike): boolean;
54
57
 
55
58
  public instantiate(options: InstantiateVariableOptions): UAVariable;