node-opcua-address-space-base 2.69.0 → 2.70.1

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.
@@ -271,7 +271,9 @@ export interface UAVariable extends BaseNode, VariableAttributes, IPropertyAndCo
271
271
  writeAttribute(context: ISessionContext | null, writeValue: WriteValueOptions): Promise<StatusCode>;
272
272
  touchValue(updateNow?: PreciseClock): void;
273
273
  bindVariable(options?: BindVariableOptions, overwrite?: boolean): void;
274
- bindExtensionObject(optionalExtensionObject?: ExtensionObject, options?: BindExtensionObjectOptions): ExtensionObject | null;
274
+ bindExtensionObject(optionalExtensionObject?: ExtensionObject | ExtensionObject[], options?: BindExtensionObjectOptions): ExtensionObject | ExtensionObject[] | null;
275
+ bindExtensionObjectScalar(optionalExtensionObject: ExtensionObject, options?: BindExtensionObjectOptions): ExtensionObject | null;
276
+ bindExtensionObjectArray(optionalExtensionObjectArray: ExtensionObject[], options?: BindExtensionObjectOptions): ExtensionObject[] | null;
275
277
  installExtensionObjectVariables(): void;
276
278
  historyRead(context: ISessionContext, historyReadDetails: HistoryReadDetails | ReadRawModifiedDetails | ReadEventDetails | ReadProcessedDetails | ReadAtTimeDetails, indexRange: NumericRange | null, dataEncoding: QualifiedNameLike | null, continuationData: ContinuationData): Promise<HistoryReadResult>;
277
279
  historyRead(context: ISessionContext, historyReadDetails: HistoryReadDetails | ReadRawModifiedDetails | ReadEventDetails | ReadProcessedDetails | ReadAtTimeDetails, indexRange: NumericRange | null, dataEncoding: QualifiedNameLike | null, continuationData: ContinuationData, callback: CallbackT<HistoryReadResult>): void;
@@ -14,7 +14,7 @@ import { UAMethod } from "./ua_method";
14
14
  export interface InstantiateVariableOptions extends InstantiateOptions {
15
15
  arrayDimensions?: number[] | null;
16
16
  dataType?: string | NodeIdLike;
17
- extensionObject?: ExtensionObject;
17
+ extensionObject?: ExtensionObject | ExtensionObject[];
18
18
  nodeId?: NodeIdLike;
19
19
  minimumSamplingInterval?: number;
20
20
  propertyOf?: NodeIdLike | UAObject | UAObjectType | UAVariable | UAVariableType | UAMethod;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-address-space-base",
3
- "version": "2.69.0",
3
+ "version": "2.70.1",
4
4
  "description": "pure nodejs OPCUA SDK - module -address-space",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -22,32 +22,32 @@
22
22
  "dequeue": "^1.0.5",
23
23
  "lodash": "4.17.21",
24
24
  "node-opcua-assert": "2.66.0",
25
- "node-opcua-basic-types": "2.69.0",
26
- "node-opcua-client-dynamic-extension-object": "2.69.0",
27
- "node-opcua-constants": "2.67.0",
28
- "node-opcua-data-access": "2.69.0",
29
- "node-opcua-data-model": "2.69.0",
30
- "node-opcua-data-value": "2.69.0",
25
+ "node-opcua-basic-types": "2.70.0",
26
+ "node-opcua-client-dynamic-extension-object": "2.70.1",
27
+ "node-opcua-constants": "2.70.0",
28
+ "node-opcua-data-access": "2.70.0",
29
+ "node-opcua-data-model": "2.70.0",
30
+ "node-opcua-data-value": "2.70.0",
31
31
  "node-opcua-date-time": "2.69.0",
32
32
  "node-opcua-debug": "2.69.0",
33
33
  "node-opcua-enum": "2.69.0",
34
- "node-opcua-factory": "2.69.0",
35
- "node-opcua-nodeid": "2.69.0",
36
- "node-opcua-numeric-range": "2.69.0",
34
+ "node-opcua-factory": "2.70.0",
35
+ "node-opcua-nodeid": "2.70.0",
36
+ "node-opcua-numeric-range": "2.70.0",
37
37
  "node-opcua-object-registry": "2.69.0",
38
- "node-opcua-pseudo-session": "2.69.0",
39
- "node-opcua-schemas": "2.69.0",
40
- "node-opcua-service-browse": "2.69.0",
41
- "node-opcua-service-call": "2.69.0",
42
- "node-opcua-service-filter": "2.69.0",
43
- "node-opcua-service-history": "2.69.0",
44
- "node-opcua-service-translate-browse-path": "2.69.0",
45
- "node-opcua-service-write": "2.69.0",
46
- "node-opcua-status-code": "2.69.0",
47
- "node-opcua-types": "2.69.0",
38
+ "node-opcua-pseudo-session": "2.70.0",
39
+ "node-opcua-schemas": "2.70.0",
40
+ "node-opcua-service-browse": "2.70.0",
41
+ "node-opcua-service-call": "2.70.0",
42
+ "node-opcua-service-filter": "2.70.0",
43
+ "node-opcua-service-history": "2.70.0",
44
+ "node-opcua-service-translate-browse-path": "2.70.0",
45
+ "node-opcua-service-write": "2.70.0",
46
+ "node-opcua-status-code": "2.70.0",
47
+ "node-opcua-types": "2.70.0",
48
48
  "node-opcua-utils": "2.69.0",
49
- "node-opcua-variant": "2.69.0",
50
- "node-opcua-xml2json": "2.69.0",
49
+ "node-opcua-variant": "2.70.0",
50
+ "node-opcua-xml2json": "2.70.0",
51
51
  "set-prototype-of": "^1.0.0",
52
52
  "thenify": "^3.3.1",
53
53
  "xml-writer": "^1.7.0"
@@ -55,10 +55,10 @@
55
55
  "devDependencies": {
56
56
  "node-opcua-benchmarker": "2.69.0",
57
57
  "node-opcua-binary-stream": "2.69.0",
58
- "node-opcua-extension-object": "2.69.0",
58
+ "node-opcua-extension-object": "2.70.0",
59
59
  "node-opcua-leak-detector": "2.69.0",
60
- "node-opcua-nodesets": "2.66.0",
61
- "node-opcua-packet-analyzer": "2.69.0",
60
+ "node-opcua-nodesets": "2.70.0",
61
+ "node-opcua-packet-analyzer": "2.70.0",
62
62
  "node-opcua-test-fixtures": "2.69.0",
63
63
  "should": "^13.2.3",
64
64
  "sinon": "^14.0.0",
@@ -79,5 +79,5 @@
79
79
  "internet of things"
80
80
  ],
81
81
  "homepage": "http://node-opcua.github.io/",
82
- "gitHead": "6c88d05e8c82ce4bc9c8af9f0a8eb6136f31d2ce"
82
+ "gitHead": "5671bd283471b729838fb582bb2a705d5a4d528c"
83
83
  }
@@ -340,8 +340,20 @@ export interface UAVariable extends BaseNode, VariableAttributes, IPropertyAndCo
340
340
 
341
341
  bindVariable(options?: BindVariableOptions, overwrite?: boolean): void;
342
342
 
343
-
344
- bindExtensionObject(optionalExtensionObject?: ExtensionObject, options?: BindExtensionObjectOptions): ExtensionObject | null;
343
+ bindExtensionObject(
344
+ optionalExtensionObject?: ExtensionObject | ExtensionObject[],
345
+ options?: BindExtensionObjectOptions
346
+ ): ExtensionObject | ExtensionObject[] | null;
347
+
348
+ bindExtensionObjectScalar(
349
+ optionalExtensionObject: ExtensionObject,
350
+ options?: BindExtensionObjectOptions
351
+ ): ExtensionObject | null;
352
+
353
+ bindExtensionObjectArray(
354
+ optionalExtensionObjectArray: ExtensionObject[],
355
+ options?: BindExtensionObjectOptions
356
+ ): ExtensionObject[] | null;
345
357
 
346
358
  installExtensionObjectVariables(): void;
347
359
 
@@ -16,7 +16,7 @@ import { UAMethod } from "./ua_method";
16
16
  export interface InstantiateVariableOptions extends InstantiateOptions {
17
17
  arrayDimensions?: number[] | null;
18
18
  dataType?: string | NodeIdLike;
19
- extensionObject?: ExtensionObject;
19
+ extensionObject?: ExtensionObject | ExtensionObject[];
20
20
  nodeId?: NodeIdLike;
21
21
  minimumSamplingInterval?: number;
22
22
  propertyOf?: NodeIdLike | UAObject | UAObjectType | UAVariable | UAVariableType | UAMethod;