node-opcua-address-space-base 2.86.1 → 2.88.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2022 Sterfive SAS - 833264583 RCS ORLEANS - France (https://www.sterfive.com)
3
+ Copyright (c) 2022-2023 Sterfive SAS - 833264583 RCS ORLEANS - France (https://www.sterfive.com)
4
4
 
5
5
  Copyright (c) 2014-2022 Etienne Rossignon
6
6
 
@@ -3,10 +3,10 @@ import { ExtensionObject } from "node-opcua-extension-object";
3
3
  import { UADataType } from "./ua_data_type";
4
4
  import { UAVariable } from "./ua_variable";
5
5
  import { UAVariableType } from "./ua_variable_type";
6
- export interface UADynamicVariableArray<T extends ExtensionObject> extends UAVariable {
6
+ export interface UADynamicVariableArray<T extends ExtensionObject = ExtensionObject> extends UAVariable {
7
7
  $$variableType: UAVariableType;
8
8
  $$dataType: UADataType;
9
9
  $$extensionObjectArray: T[];
10
- $$getElementBrowseName: (obj: T) => QualifiedName;
10
+ $$getElementBrowseName: (obj: T, index: number) => QualifiedName;
11
11
  $$indexPropertyName: string;
12
12
  }
@@ -272,8 +272,8 @@ export interface UAVariable extends BaseNode, VariableAttributes, IPropertyAndCo
272
272
  touchValue(updateNow?: PreciseClock): void;
273
273
  bindVariable(options?: BindVariableOptions, overwrite?: boolean): void;
274
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
+ bindExtensionObjectScalar(optionalExtensionObject?: ExtensionObject, options?: BindExtensionObjectOptions): ExtensionObject | null;
276
+ bindExtensionObjectArray(optionalExtensionObjectArray?: ExtensionObject[], options?: BindExtensionObjectOptions): ExtensionObject[] | null;
277
277
  installExtensionObjectVariables(): void;
278
278
  historyRead(context: ISessionContext, historyReadDetails: HistoryReadDetails | ReadRawModifiedDetails | ReadEventDetails | ReadProcessedDetails | ReadAtTimeDetails, indexRange: NumericRange | null, dataEncoding: QualifiedNameLike | null, continuationData: ContinuationData): Promise<HistoryReadResult>;
279
279
  historyRead(context: ISessionContext, historyReadDetails: HistoryReadDetails | ReadRawModifiedDetails | ReadEventDetails | ReadProcessedDetails | ReadAtTimeDetails, indexRange: NumericRange | null, dataEncoding: QualifiedNameLike | null, continuationData: ContinuationData, callback: CallbackT<HistoryReadResult>): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-address-space-base",
3
- "version": "2.86.1",
3
+ "version": "2.88.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.86.1",
20
- "node-opcua-constants": "2.77.0",
19
+ "node-opcua-basic-types": "2.88.0",
20
+ "node-opcua-constants": "2.88.0",
21
21
  "node-opcua-crypto": "^2.1.2",
22
- "node-opcua-data-model": "2.86.1",
23
- "node-opcua-data-value": "2.86.1",
24
- "node-opcua-date-time": "2.86.0",
25
- "node-opcua-extension-object": "2.86.1",
26
- "node-opcua-nodeid": "2.86.0",
27
- "node-opcua-numeric-range": "2.86.1",
28
- "node-opcua-schemas": "2.86.1",
29
- "node-opcua-status-code": "2.86.1",
30
- "node-opcua-types": "2.86.1",
31
- "node-opcua-variant": "2.86.1"
22
+ "node-opcua-data-model": "2.88.0",
23
+ "node-opcua-data-value": "2.88.0",
24
+ "node-opcua-date-time": "2.88.0",
25
+ "node-opcua-extension-object": "2.88.0",
26
+ "node-opcua-nodeid": "2.88.0",
27
+ "node-opcua-numeric-range": "2.88.0",
28
+ "node-opcua-schemas": "2.88.0",
29
+ "node-opcua-status-code": "2.88.0",
30
+ "node-opcua-types": "2.88.0",
31
+ "node-opcua-variant": "2.88.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": "389ba18585ff4b62f6fee58b69bd871a8e6b0dff"
48
+ "gitHead": "0c20078b474f36855b799557f8fe931dbe20c2ca"
49
49
  }
@@ -5,10 +5,10 @@ import { UAVariable } from "./ua_variable";
5
5
  import { UAVariableType } from "./ua_variable_type";
6
6
 
7
7
  // {{ Dynamic Array Variable
8
- export interface UADynamicVariableArray<T extends ExtensionObject> extends UAVariable {
8
+ export interface UADynamicVariableArray<T extends ExtensionObject= ExtensionObject> extends UAVariable {
9
9
  $$variableType: UAVariableType;
10
10
  $$dataType: UADataType;
11
11
  $$extensionObjectArray: T[];
12
- $$getElementBrowseName: (obj: T) => QualifiedName;
12
+ $$getElementBrowseName: (obj: T, index: number) => QualifiedName;
13
13
  $$indexPropertyName: string;
14
14
  }
@@ -346,12 +346,12 @@ export interface UAVariable extends BaseNode, VariableAttributes, IPropertyAndCo
346
346
  ): ExtensionObject | ExtensionObject[] | null;
347
347
 
348
348
  bindExtensionObjectScalar(
349
- optionalExtensionObject: ExtensionObject,
349
+ optionalExtensionObject?: ExtensionObject,
350
350
  options?: BindExtensionObjectOptions
351
351
  ): ExtensionObject | null;
352
352
 
353
353
  bindExtensionObjectArray(
354
- optionalExtensionObjectArray: ExtensionObject[],
354
+ optionalExtensionObjectArray?: ExtensionObject[],
355
355
  options?: BindExtensionObjectOptions
356
356
  ): ExtensionObject[] | null;
357
357