node-opcua-address-space-base 2.63.2 → 2.64.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.
@@ -1,5 +1,5 @@
1
1
  import { LocalizedText, NodeClass } from "node-opcua-data-model";
2
- import { NodeId } from "node-opcua-nodeid";
2
+ import { NodeId, NodeIdLike } from "node-opcua-nodeid";
3
3
  import { BaseNode } from "./base_node";
4
4
  import { UAReference } from "./ua_reference";
5
5
  export declare class UAReferenceType extends BaseNode {
@@ -8,7 +8,7 @@ export declare class UAReferenceType extends BaseNode {
8
8
  readonly subtypeOf: NodeId | null;
9
9
  readonly isAbstract: boolean;
10
10
  readonly inverseName: LocalizedText;
11
- isSupertypeOf(baseType: UAReferenceType): boolean;
11
+ isSupertypeOf(baseType: UAReferenceType | NodeIdLike): boolean;
12
12
  getAllSubtypes(): UAReferenceType[];
13
13
  /**
14
14
  *
@@ -31,7 +31,7 @@ export declare class UAVariableType extends BaseNode implements VariableAttribut
31
31
  arrayDimensions: UInt32[] | null;
32
32
  historizing: boolean;
33
33
  isAbstract: boolean;
34
- isSupertypeOf(type: UAVariableType): boolean;
34
+ isSupertypeOf(type: UAVariableType | NodeIdLike): boolean;
35
35
  instantiate(options: InstantiateVariableOptions): UAVariable;
36
36
  }
37
37
  export interface UAVariableTypeT<T, DT extends DataType> extends UAVariableType {
package/package.json CHANGED
@@ -1,83 +1,83 @@
1
1
  {
2
- "name": "node-opcua-address-space-base",
3
- "version": "2.63.2",
4
- "description": "pure nodejs OPCUA SDK - module -address-space",
5
- "main": "./dist/index.js",
6
- "types": "./dist/index.d.ts",
7
- "engines": {
8
- "node": ">=6.10"
9
- },
10
- "scripts": {
11
- "build": "tsc -b",
12
- "test": "mocha",
13
- "lint": "eslint source",
14
- "format": "prettier --write source",
15
- "clean": "node -e \"require('rimraf').sync('dist');\"",
16
- "c": "mocha --version"
17
- },
18
- "dependencies": {
19
- "@types/lodash": "4.14.178",
20
- "async": "^3.2.3",
21
- "chalk": "4.1.2",
22
- "dequeue": "^1.0.5",
23
- "lodash": "4.17.21",
24
- "node-opcua-assert": "2.63.0",
25
- "node-opcua-basic-types": "2.63.2",
26
- "node-opcua-client-dynamic-extension-object": "2.63.2",
27
- "node-opcua-constants": "2.62.7",
28
- "node-opcua-data-access": "2.63.2",
29
- "node-opcua-data-model": "2.63.2",
30
- "node-opcua-data-value": "2.63.2",
31
- "node-opcua-date-time": "2.63.2",
32
- "node-opcua-debug": "2.63.2",
33
- "node-opcua-enum": "2.63.2",
34
- "node-opcua-factory": "2.63.2",
35
- "node-opcua-nodeid": "2.63.2",
36
- "node-opcua-numeric-range": "2.63.2",
37
- "node-opcua-object-registry": "2.63.2",
38
- "node-opcua-pseudo-session": "2.63.2",
39
- "node-opcua-schemas": "2.63.2",
40
- "node-opcua-service-browse": "2.63.2",
41
- "node-opcua-service-call": "2.63.2",
42
- "node-opcua-service-filter": "2.63.2",
43
- "node-opcua-service-history": "2.63.2",
44
- "node-opcua-service-translate-browse-path": "2.63.2",
45
- "node-opcua-service-write": "2.63.2",
46
- "node-opcua-status-code": "2.63.2",
47
- "node-opcua-types": "2.63.2",
48
- "node-opcua-utils": "2.63.2",
49
- "node-opcua-variant": "2.63.2",
50
- "node-opcua-xml2json": "2.63.2",
51
- "set-prototype-of": "^1.0.0",
52
- "thenify": "^3.3.1",
53
- "xml-writer": "^1.7.0"
54
- },
55
- "devDependencies": {
56
- "node-opcua-benchmarker": "2.63.2",
57
- "node-opcua-binary-stream": "2.63.2",
58
- "node-opcua-extension-object": "2.63.2",
59
- "node-opcua-leak-detector": "2.63.2",
60
- "node-opcua-nodesets": "2.63.0",
61
- "node-opcua-packet-analyzer": "2.63.2",
62
- "node-opcua-test-fixtures": "2.63.2",
63
- "should": "^13.2.3",
64
- "sinon": "^12.0.1",
65
- "source-map-support": "^0.5.21"
66
- },
67
- "author": "Etienne Rossignon",
68
- "license": "MIT",
69
- "repository": {
70
- "type": "git",
71
- "url": "git://github.com/node-opcua/node-opcua.git"
72
- },
73
- "keywords": [
74
- "OPCUA",
75
- "opcua",
76
- "m2m",
77
- "iot",
78
- "opc ua",
79
- "internet of things"
80
- ],
81
- "homepage": "http://node-opcua.github.io/",
82
- "gitHead": "cdf7a20a7f3866900bc8379d002b467eb0c3f6bb"
83
- }
2
+ "name": "node-opcua-address-space-base",
3
+ "version": "2.64.0",
4
+ "description": "pure nodejs OPCUA SDK - module -address-space",
5
+ "main": "./dist/index.js",
6
+ "types": "./dist/index.d.ts",
7
+ "engines": {
8
+ "node": ">=6.10"
9
+ },
10
+ "dependencies": {
11
+ "@types/lodash": "4.14.178",
12
+ "async": "^3.2.3",
13
+ "chalk": "4.1.2",
14
+ "dequeue": "^1.0.5",
15
+ "lodash": "4.17.21",
16
+ "node-opcua-assert": "2.64.0",
17
+ "node-opcua-basic-types": "2.64.0",
18
+ "node-opcua-client-dynamic-extension-object": "2.64.0",
19
+ "node-opcua-constants": "2.64.0",
20
+ "node-opcua-data-access": "2.64.0",
21
+ "node-opcua-data-model": "2.64.0",
22
+ "node-opcua-data-value": "2.64.0",
23
+ "node-opcua-date-time": "2.64.0",
24
+ "node-opcua-debug": "2.64.0",
25
+ "node-opcua-enum": "2.64.0",
26
+ "node-opcua-factory": "2.64.0",
27
+ "node-opcua-nodeid": "2.64.0",
28
+ "node-opcua-numeric-range": "2.64.0",
29
+ "node-opcua-object-registry": "2.64.0",
30
+ "node-opcua-pseudo-session": "2.64.0",
31
+ "node-opcua-schemas": "2.64.0",
32
+ "node-opcua-service-browse": "2.64.0",
33
+ "node-opcua-service-call": "2.64.0",
34
+ "node-opcua-service-filter": "2.64.0",
35
+ "node-opcua-service-history": "2.64.0",
36
+ "node-opcua-service-translate-browse-path": "2.64.0",
37
+ "node-opcua-service-write": "2.64.0",
38
+ "node-opcua-status-code": "2.64.0",
39
+ "node-opcua-types": "2.64.0",
40
+ "node-opcua-utils": "2.64.0",
41
+ "node-opcua-variant": "2.64.0",
42
+ "node-opcua-xml2json": "2.64.0",
43
+ "set-prototype-of": "^1.0.0",
44
+ "thenify": "^3.3.1",
45
+ "xml-writer": "^1.7.0"
46
+ },
47
+ "devDependencies": {
48
+ "node-opcua-benchmarker": "2.64.0",
49
+ "node-opcua-binary-stream": "2.64.0",
50
+ "node-opcua-extension-object": "2.64.0",
51
+ "node-opcua-leak-detector": "2.64.0",
52
+ "node-opcua-nodesets": "2.64.0",
53
+ "node-opcua-packet-analyzer": "2.64.0",
54
+ "node-opcua-test-fixtures": "2.64.0",
55
+ "should": "^13.2.3",
56
+ "sinon": "^13.0.1",
57
+ "source-map-support": "^0.5.21"
58
+ },
59
+ "author": "Etienne Rossignon",
60
+ "license": "MIT",
61
+ "repository": {
62
+ "type": "git",
63
+ "url": "git://github.com/node-opcua/node-opcua.git"
64
+ },
65
+ "keywords": [
66
+ "OPCUA",
67
+ "opcua",
68
+ "m2m",
69
+ "iot",
70
+ "opc ua",
71
+ "internet of things"
72
+ ],
73
+ "homepage": "http://node-opcua.github.io/",
74
+ "gitHead": "07dcdd8e8c7f2b55544c6e23023093e35674829c",
75
+ "scripts": {
76
+ "build": "tsc -b",
77
+ "test": "mocha",
78
+ "lint": "eslint source",
79
+ "format": "prettier --write source",
80
+ "clean": "node -e \"require('rimraf').sync('dist');\"",
81
+ "c": "mocha --version"
82
+ }
83
+ }
@@ -1,5 +1,5 @@
1
1
  import { LocalizedText, NodeClass } from "node-opcua-data-model";
2
- import { NodeId } from "node-opcua-nodeid";
2
+ import { NodeId, NodeIdLike } from "node-opcua-nodeid";
3
3
  import { BaseNode } from "./base_node";
4
4
  import { UAReference } from "./ua_reference";
5
5
 
@@ -10,7 +10,7 @@ export declare class UAReferenceType extends BaseNode {
10
10
  public readonly isAbstract: boolean;
11
11
  public readonly inverseName: LocalizedText;
12
12
 
13
- public isSupertypeOf(baseType: UAReferenceType): boolean;
13
+ public isSupertypeOf(baseType: UAReferenceType | NodeIdLike): boolean;
14
14
 
15
15
  public getAllSubtypes(): UAReferenceType[];
16
16
 
@@ -36,7 +36,7 @@ export declare class UAVariableType extends BaseNode implements VariableAttribut
36
36
 
37
37
  public isAbstract: boolean;
38
38
 
39
- public isSupertypeOf(type: UAVariableType): boolean;
39
+ public isSupertypeOf(type: UAVariableType | NodeIdLike): boolean;
40
40
 
41
41
  public instantiate(options: InstantiateVariableOptions): UAVariable;
42
42
  }