node-opcua-address-space-base 2.66.3 → 2.67.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/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/ua_variable.d.ts +6 -1
- package/package.json +34 -34
- package/source/ua_variable.ts +9 -2
package/dist/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,8CAA4B;AAC5B,kDAAgC;AAChC,uDAAqC;AACrC,wDAAsC;AACtC,8CAA4B;AAC5B,oDAAkC;AAClC,iDAA+B;AAC/B,8DAA4C;AAC5C,kDAAgC;AAChC,8CAA4B;AAC5B,8CAA4B;AAC5B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,gDAA8B;AAC9B,kDAAgC;AAChC,qDAAmC;AACnC,4CAA0B;AAC1B,kDAAgC;AAChC,gDAA8B"}
|
package/dist/ua_variable.d.ts
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "2.67.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.
|
|
26
|
-
"node-opcua-client-dynamic-extension-object": "2.
|
|
27
|
-
"node-opcua-constants": "2.
|
|
28
|
-
"node-opcua-data-access": "2.
|
|
29
|
-
"node-opcua-data-model": "2.
|
|
30
|
-
"node-opcua-data-value": "2.
|
|
31
|
-
"node-opcua-date-time": "2.
|
|
32
|
-
"node-opcua-debug": "2.
|
|
33
|
-
"node-opcua-enum": "2.
|
|
34
|
-
"node-opcua-factory": "2.
|
|
35
|
-
"node-opcua-nodeid": "2.
|
|
36
|
-
"node-opcua-numeric-range": "2.
|
|
37
|
-
"node-opcua-object-registry": "2.
|
|
38
|
-
"node-opcua-pseudo-session": "2.
|
|
39
|
-
"node-opcua-schemas": "2.
|
|
40
|
-
"node-opcua-service-browse": "2.
|
|
41
|
-
"node-opcua-service-call": "2.
|
|
42
|
-
"node-opcua-service-filter": "2.
|
|
43
|
-
"node-opcua-service-history": "2.
|
|
44
|
-
"node-opcua-service-translate-browse-path": "2.
|
|
45
|
-
"node-opcua-service-write": "2.
|
|
46
|
-
"node-opcua-status-code": "2.
|
|
47
|
-
"node-opcua-types": "2.
|
|
48
|
-
"node-opcua-utils": "2.
|
|
49
|
-
"node-opcua-variant": "2.
|
|
50
|
-
"node-opcua-xml2json": "2.
|
|
25
|
+
"node-opcua-basic-types": "2.67.0",
|
|
26
|
+
"node-opcua-client-dynamic-extension-object": "2.67.0",
|
|
27
|
+
"node-opcua-constants": "2.67.0",
|
|
28
|
+
"node-opcua-data-access": "2.67.0",
|
|
29
|
+
"node-opcua-data-model": "2.67.0",
|
|
30
|
+
"node-opcua-data-value": "2.67.0",
|
|
31
|
+
"node-opcua-date-time": "2.67.0",
|
|
32
|
+
"node-opcua-debug": "2.67.0",
|
|
33
|
+
"node-opcua-enum": "2.67.0",
|
|
34
|
+
"node-opcua-factory": "2.67.0",
|
|
35
|
+
"node-opcua-nodeid": "2.67.0",
|
|
36
|
+
"node-opcua-numeric-range": "2.67.0",
|
|
37
|
+
"node-opcua-object-registry": "2.67.0",
|
|
38
|
+
"node-opcua-pseudo-session": "2.67.0",
|
|
39
|
+
"node-opcua-schemas": "2.67.0",
|
|
40
|
+
"node-opcua-service-browse": "2.67.0",
|
|
41
|
+
"node-opcua-service-call": "2.67.0",
|
|
42
|
+
"node-opcua-service-filter": "2.67.0",
|
|
43
|
+
"node-opcua-service-history": "2.67.0",
|
|
44
|
+
"node-opcua-service-translate-browse-path": "2.67.0",
|
|
45
|
+
"node-opcua-service-write": "2.67.0",
|
|
46
|
+
"node-opcua-status-code": "2.67.0",
|
|
47
|
+
"node-opcua-types": "2.67.0",
|
|
48
|
+
"node-opcua-utils": "2.67.0",
|
|
49
|
+
"node-opcua-variant": "2.67.0",
|
|
50
|
+
"node-opcua-xml2json": "2.67.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.
|
|
57
|
-
"node-opcua-binary-stream": "2.
|
|
58
|
-
"node-opcua-extension-object": "2.
|
|
59
|
-
"node-opcua-leak-detector": "2.
|
|
56
|
+
"node-opcua-benchmarker": "2.67.0",
|
|
57
|
+
"node-opcua-binary-stream": "2.67.0",
|
|
58
|
+
"node-opcua-extension-object": "2.67.0",
|
|
59
|
+
"node-opcua-leak-detector": "2.67.0",
|
|
60
60
|
"node-opcua-nodesets": "2.66.0",
|
|
61
|
-
"node-opcua-packet-analyzer": "2.
|
|
62
|
-
"node-opcua-test-fixtures": "2.
|
|
61
|
+
"node-opcua-packet-analyzer": "2.67.0",
|
|
62
|
+
"node-opcua-test-fixtures": "2.67.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": "
|
|
82
|
+
"gitHead": "74c2fd7d4ce3eb48d25a911258bf90a64218ea0e"
|
|
83
83
|
}
|
package/source/ua_variable.ts
CHANGED
|
@@ -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
|
|
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
|
-
|
|
343
|
+
|
|
344
|
+
bindExtensionObject(optionalExtensionObject?: ExtensionObject, options?: BindExtensionObjectOptions): ExtensionObject | null;
|
|
345
|
+
|
|
346
|
+
installExtensionObjectVariables(): void;
|
|
340
347
|
|
|
341
348
|
historyRead(
|
|
342
349
|
context: ISessionContext,
|