node-opcua-address-space-base 2.68.1 → 2.70.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/address_space.d.ts +1 -1
- package/dist/clone_options.d.ts +1 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/ua_variable.d.ts +3 -1
- package/dist/ua_variable_type.d.ts +1 -1
- package/package.json +37 -37
- package/source/address_space.ts +1 -1
- package/source/clone_options.ts +1 -0
- package/source/ua_variable.ts +14 -2
- package/source/ua_variable_type.ts +1 -1
package/dist/address_space.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ export interface IAddressSpace {
|
|
|
155
155
|
extractRootViews(node: UAObject | UAVariable): UAView[];
|
|
156
156
|
installHistoricalDataNode(variableNode: UAVariable, options?: IHistoricalDataNodeOptions): void;
|
|
157
157
|
registerShutdownTask(task: (this: IAddressSpace) => void): void;
|
|
158
|
-
shutdown(): void
|
|
158
|
+
shutdown(): Promise<void>;
|
|
159
159
|
dispose(): void;
|
|
160
160
|
installAlarmsAndConditionsService(): void;
|
|
161
161
|
normalizeReferenceType(params: AddReferenceOpts | UAReference): UAReference;
|
package/dist/clone_options.d.ts
CHANGED
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
|
@@ -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.
|
|
3
|
+
"version": "2.70.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,52 +16,52 @@
|
|
|
16
16
|
"c": "mocha --version"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@types/lodash": "4.14.
|
|
19
|
+
"@types/lodash": "4.14.182",
|
|
20
20
|
"async": "^3.2.3",
|
|
21
21
|
"chalk": "4.1.2",
|
|
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.70.0",
|
|
26
|
+
"node-opcua-client-dynamic-extension-object": "2.70.0",
|
|
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
|
+
"node-opcua-date-time": "2.69.0",
|
|
32
|
+
"node-opcua-debug": "2.69.0",
|
|
33
|
+
"node-opcua-enum": "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
|
+
"node-opcua-object-registry": "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
|
+
"node-opcua-utils": "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"
|
|
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.
|
|
60
|
-
"node-opcua-nodesets": "2.
|
|
61
|
-
"node-opcua-packet-analyzer": "2.
|
|
62
|
-
"node-opcua-test-fixtures": "2.
|
|
56
|
+
"node-opcua-benchmarker": "2.69.0",
|
|
57
|
+
"node-opcua-binary-stream": "2.69.0",
|
|
58
|
+
"node-opcua-extension-object": "2.70.0",
|
|
59
|
+
"node-opcua-leak-detector": "2.69.0",
|
|
60
|
+
"node-opcua-nodesets": "2.70.0",
|
|
61
|
+
"node-opcua-packet-analyzer": "2.70.0",
|
|
62
|
+
"node-opcua-test-fixtures": "2.69.0",
|
|
63
63
|
"should": "^13.2.3",
|
|
64
|
-
"sinon": "^
|
|
64
|
+
"sinon": "^14.0.0",
|
|
65
65
|
"source-map-support": "^0.5.21"
|
|
66
66
|
},
|
|
67
67
|
"author": "Etienne Rossignon",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"internet of things"
|
|
80
80
|
],
|
|
81
81
|
"homepage": "http://node-opcua.github.io/",
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "3b692ffb3e2ef0542da32f349fb0c76b3acc75ce"
|
|
83
83
|
}
|
package/source/address_space.ts
CHANGED
package/source/clone_options.ts
CHANGED
package/source/ua_variable.ts
CHANGED
|
@@ -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
|
-
|
|
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;
|