node-opcua-address-space-base 2.66.2 → 2.68.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.
@@ -46,6 +46,10 @@ export interface EnumValue2 {
46
46
  name: string;
47
47
  value: number;
48
48
  }
49
+ export interface BindExtensionObjectOptions {
50
+ createMissingProp?: boolean;
51
+ force?: boolean;
52
+ }
49
53
  export interface UAVariable extends BaseNode, VariableAttributes, IPropertyAndComponentHolder {
50
54
  readonly nodeClass: NodeClass.Variable;
51
55
  readonly parent: BaseNode | null;
@@ -267,7 +271,8 @@ export interface UAVariable extends BaseNode, VariableAttributes, IPropertyAndCo
267
271
  writeAttribute(context: ISessionContext | null, writeValue: WriteValueOptions): Promise<StatusCode>;
268
272
  touchValue(updateNow?: PreciseClock): void;
269
273
  bindVariable(options?: BindVariableOptions, overwrite?: boolean): void;
270
- bindExtensionObject(optionalExtensionObject?: ExtensionObject): ExtensionObject | null;
274
+ bindExtensionObject(optionalExtensionObject?: ExtensionObject, options?: BindExtensionObjectOptions): ExtensionObject | null;
275
+ installExtensionObjectVariables(): void;
271
276
  historyRead(context: ISessionContext, historyReadDetails: HistoryReadDetails | ReadRawModifiedDetails | ReadEventDetails | ReadProcessedDetails | ReadAtTimeDetails, indexRange: NumericRange | null, dataEncoding: QualifiedNameLike | null, continuationData: ContinuationData): Promise<HistoryReadResult>;
272
277
  historyRead(context: ISessionContext, historyReadDetails: HistoryReadDetails | ReadRawModifiedDetails | ReadEventDetails | ReadProcessedDetails | ReadAtTimeDetails, indexRange: NumericRange | null, dataEncoding: QualifiedNameLike | null, continuationData: ContinuationData, callback: CallbackT<HistoryReadResult>): void;
273
278
  clone(options: CloneOptions, optionalFilter?: CloneFilter, extraInfo?: CloneExtraInfo): UAVariable;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-address-space-base",
3
- "version": "2.66.2",
3
+ "version": "2.68.0",
4
4
  "description": "pure nodejs OPCUA SDK - module -address-space",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -22,44 +22,44 @@
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.66.0",
26
- "node-opcua-client-dynamic-extension-object": "2.66.2",
27
- "node-opcua-constants": "2.66.0",
28
- "node-opcua-data-access": "2.66.0",
29
- "node-opcua-data-model": "2.66.0",
30
- "node-opcua-data-value": "2.66.0",
31
- "node-opcua-date-time": "2.66.0",
32
- "node-opcua-debug": "2.66.0",
33
- "node-opcua-enum": "2.66.0",
34
- "node-opcua-factory": "2.66.0",
35
- "node-opcua-nodeid": "2.66.0",
36
- "node-opcua-numeric-range": "2.66.0",
37
- "node-opcua-object-registry": "2.66.0",
38
- "node-opcua-pseudo-session": "2.66.2",
39
- "node-opcua-schemas": "2.66.0",
40
- "node-opcua-service-browse": "2.66.0",
41
- "node-opcua-service-call": "2.66.0",
42
- "node-opcua-service-filter": "2.66.0",
43
- "node-opcua-service-history": "2.66.0",
44
- "node-opcua-service-translate-browse-path": "2.66.0",
45
- "node-opcua-service-write": "2.66.0",
46
- "node-opcua-status-code": "2.66.0",
47
- "node-opcua-types": "2.66.0",
48
- "node-opcua-utils": "2.66.0",
49
- "node-opcua-variant": "2.66.0",
50
- "node-opcua-xml2json": "2.66.0",
25
+ "node-opcua-basic-types": "2.68.0",
26
+ "node-opcua-client-dynamic-extension-object": "2.68.0",
27
+ "node-opcua-constants": "2.67.0",
28
+ "node-opcua-data-access": "2.68.0",
29
+ "node-opcua-data-model": "2.68.0",
30
+ "node-opcua-data-value": "2.68.0",
31
+ "node-opcua-date-time": "2.68.0",
32
+ "node-opcua-debug": "2.68.0",
33
+ "node-opcua-enum": "2.67.0",
34
+ "node-opcua-factory": "2.68.0",
35
+ "node-opcua-nodeid": "2.68.0",
36
+ "node-opcua-numeric-range": "2.68.0",
37
+ "node-opcua-object-registry": "2.68.0",
38
+ "node-opcua-pseudo-session": "2.68.0",
39
+ "node-opcua-schemas": "2.68.0",
40
+ "node-opcua-service-browse": "2.68.0",
41
+ "node-opcua-service-call": "2.68.0",
42
+ "node-opcua-service-filter": "2.68.0",
43
+ "node-opcua-service-history": "2.68.0",
44
+ "node-opcua-service-translate-browse-path": "2.68.0",
45
+ "node-opcua-service-write": "2.68.0",
46
+ "node-opcua-status-code": "2.67.0",
47
+ "node-opcua-types": "2.68.0",
48
+ "node-opcua-utils": "2.67.0",
49
+ "node-opcua-variant": "2.68.0",
50
+ "node-opcua-xml2json": "2.68.0",
51
51
  "set-prototype-of": "^1.0.0",
52
52
  "thenify": "^3.3.1",
53
53
  "xml-writer": "^1.7.0"
54
54
  },
55
55
  "devDependencies": {
56
- "node-opcua-benchmarker": "2.66.0",
57
- "node-opcua-binary-stream": "2.66.0",
58
- "node-opcua-extension-object": "2.66.0",
59
- "node-opcua-leak-detector": "2.66.0",
56
+ "node-opcua-benchmarker": "2.67.0",
57
+ "node-opcua-binary-stream": "2.67.0",
58
+ "node-opcua-extension-object": "2.68.0",
59
+ "node-opcua-leak-detector": "2.68.0",
60
60
  "node-opcua-nodesets": "2.66.0",
61
- "node-opcua-packet-analyzer": "2.66.0",
62
- "node-opcua-test-fixtures": "2.66.0",
61
+ "node-opcua-packet-analyzer": "2.68.0",
62
+ "node-opcua-test-fixtures": "2.68.0",
63
63
  "should": "^13.2.3",
64
64
  "sinon": "^13.0.1",
65
65
  "source-map-support": "^0.5.21"
@@ -79,5 +79,5 @@
79
79
  "internet of things"
80
80
  ],
81
81
  "homepage": "http://node-opcua.github.io/",
82
- "gitHead": "2ece6987ee945db089ec98800646e95ccbac9e1f"
82
+ "gitHead": "363b466440d0910acddd0cde2c37792ce4724d76"
83
83
  }
@@ -1,7 +1,7 @@
1
1
  import { AttributeIds, CallbackT, PreciseClock, StatusCode, StatusCodeCallback, UInt32 } from "node-opcua-basic-types";
2
2
  import { NodeClass, QualifiedNameLike } from "node-opcua-data-model";
3
3
  import { NodeId } from "node-opcua-nodeid";
4
- import { DataValue, DataValueOptions } from "node-opcua-data-value";
4
+ import { DataValue } from "node-opcua-data-value";
5
5
  import { ExtensionObject } from "node-opcua-extension-object";
6
6
  import { NumericRange } from "node-opcua-numeric-range";
7
7
 
@@ -73,6 +73,10 @@ export interface EnumValue2 {
73
73
  name: string;
74
74
  value: number;
75
75
  }
76
+ export interface BindExtensionObjectOptions {
77
+ createMissingProp?: boolean;
78
+ force?: boolean;
79
+ }
76
80
 
77
81
  export interface UAVariable extends BaseNode, VariableAttributes, IPropertyAndComponentHolder {
78
82
  readonly nodeClass: NodeClass.Variable;
@@ -336,7 +340,10 @@ export interface UAVariable extends BaseNode, VariableAttributes, IPropertyAndCo
336
340
 
337
341
  bindVariable(options?: BindVariableOptions, overwrite?: boolean): void;
338
342
 
339
- bindExtensionObject(optionalExtensionObject?: ExtensionObject): ExtensionObject | null;
343
+
344
+ bindExtensionObject(optionalExtensionObject?: ExtensionObject, options?: BindExtensionObjectOptions): ExtensionObject | null;
345
+
346
+ installExtensionObjectVariables(): void;
340
347
 
341
348
  historyRead(
342
349
  context: ISessionContext,