node-opcua-address-space-base 2.120.0 → 2.123.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/bind_variable.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/session_context.d.ts +0 -1
- package/dist/ua_object_type.d.ts +2 -2
- package/package.json +16 -16
- package/source/bind_variable.ts +2 -1
- package/source/index.ts +2 -2
- package/source/session_context.ts +0 -1
- package/source/ua_object_type.ts +2 -2
package/dist/bind_variable.d.ts
CHANGED
|
@@ -8,7 +8,8 @@ import { UAVariable } from "./ua_variable";
|
|
|
8
8
|
import { ContinuationData, ISessionContext } from "./session_context";
|
|
9
9
|
export type VariableSetterVariation1 = (this: UAVariable, value: Variant) => StatusCode;
|
|
10
10
|
export type VariableSetterVariation2 = (this: UAVariable, value: Variant, callback: CallbackT<StatusCode>) => void;
|
|
11
|
-
export type
|
|
11
|
+
export type VariableSetterVariation3 = (this: UAVariable, value: Variant) => Promise<StatusCode>;
|
|
12
|
+
export type VariableSetter = VariableSetterVariation1 | VariableSetterVariation2 | VariableSetterVariation3;
|
|
12
13
|
export type HistoryReadFunc = (context: ISessionContext, historyReadDetails: ReadRawModifiedDetails | ReadEventDetails | ReadProcessedDetails | ReadAtTimeDetails, indexRange: NumericRange | null, dataEncoding: QualifiedNameLike | null, continuationData: ContinuationData, callback: CallbackT<HistoryReadResult>) => void;
|
|
13
14
|
export type GetFunc = (this: UAVariable) => Variant | StatusCode;
|
|
14
15
|
export type SetFunc = VariableSetter | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./address_space";
|
|
2
2
|
export * from "./base_node";
|
|
3
3
|
export * from "./bind_variable";
|
|
4
|
+
export * from "./clone_helper";
|
|
4
5
|
export * from "./clone_options";
|
|
5
6
|
export * from "./continuation_point";
|
|
6
7
|
export * from "./event_notifier_flags";
|
|
@@ -21,4 +22,3 @@ export * from "./ua_variable_t";
|
|
|
21
22
|
export * from "./ua_variable_type";
|
|
22
23
|
export * from "./ua_variable";
|
|
23
24
|
export * from "./ua_view";
|
|
24
|
-
export * from "./clone_helper";
|
package/dist/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./address_space"), exports);
|
|
18
18
|
__exportStar(require("./base_node"), exports);
|
|
19
19
|
__exportStar(require("./bind_variable"), exports);
|
|
20
|
+
__exportStar(require("./clone_helper"), exports);
|
|
20
21
|
__exportStar(require("./clone_options"), exports);
|
|
21
22
|
__exportStar(require("./continuation_point"), exports);
|
|
22
23
|
__exportStar(require("./event_notifier_flags"), exports);
|
|
@@ -37,5 +38,4 @@ __exportStar(require("./ua_variable_t"), exports);
|
|
|
37
38
|
__exportStar(require("./ua_variable_type"), exports);
|
|
38
39
|
__exportStar(require("./ua_variable"), exports);
|
|
39
40
|
__exportStar(require("./ua_view"), exports);
|
|
40
|
-
__exportStar(require("./clone_helper"), exports);
|
|
41
41
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,8CAA4B;AAC5B,kDAAgC;AAChC,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC;AACvC,iDAA+B;AAC/B,wDAAsC;AACtC,8CAA4B;AAC5B,oDAAkC;AAClC,iDAA+B;AAC/B,8DAA4C;AAC5C,kDAAgC;AAChC,8CAA4B;AAC5B,mDAAiC;AACjC,8CAA4B;AAC5B,gDAA8B;AAC9B,sDAAoC;AACpC,iDAA+B;AAC/B,kDAAgC;AAChC,qDAAmC;AACnC,gDAA8B;AAC9B,4CAA0B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,8CAA4B;AAC5B,kDAAgC;AAChC,iDAA+B;AAC/B,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC;AACvC,iDAA+B;AAC/B,wDAAsC;AACtC,8CAA4B;AAC5B,oDAAkC;AAClC,iDAA+B;AAC/B,8DAA4C;AAC5C,kDAAgC;AAChC,8CAA4B;AAC5B,mDAAiC;AACjC,8CAA4B;AAC5B,gDAA8B;AAC9B,sDAAoC;AACpC,iDAA+B;AAC/B,kDAAgC;AAChC,qDAAmC;AACnC,gDAA8B;AAC9B,4CAA0B"}
|
|
@@ -26,7 +26,6 @@ export interface IContinuationPointInfo<T> {
|
|
|
26
26
|
export interface ContinuationData {
|
|
27
27
|
continuationPoint?: ContinuationPoint | null;
|
|
28
28
|
releaseContinuationPoints?: boolean;
|
|
29
|
-
index?: number;
|
|
30
29
|
}
|
|
31
30
|
export interface IContinuationPointManager {
|
|
32
31
|
registerHistoryReadRaw(maxElements: number, values: DataValue[], continuationData: ContinuationData): IContinuationPointInfo<DataValue>;
|
package/dist/ua_object_type.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { QualifiedNameLike, QualifiedNameOptions } from "node-opcua-data-model";
|
|
2
2
|
import { NodeClass } from "node-opcua-types";
|
|
3
3
|
import { NodeId, NodeIdLike } from "node-opcua-nodeid";
|
|
4
|
-
import { Byte } from "node-opcua-basic-types";
|
|
5
4
|
import { InstantiateOptions } from "./instantiate_options";
|
|
6
5
|
import { BaseNode, IPropertyAndComponentHolder } from "./base_node";
|
|
7
6
|
import { UAObject } from "./ua_object";
|
|
8
7
|
import { UAMethod } from "./ua_method";
|
|
8
|
+
import { EventNotifierFlags } from "./event_notifier_flags";
|
|
9
9
|
export interface InstantiateObjectOptions extends InstantiateOptions {
|
|
10
10
|
conditionSource?: NodeId | BaseNode | null;
|
|
11
|
-
eventNotifier?:
|
|
11
|
+
eventNotifier?: EventNotifierFlags;
|
|
12
12
|
encodingOf?: NodeId | BaseNode;
|
|
13
13
|
}
|
|
14
14
|
export declare interface UAObjectType extends BaseNode, IPropertyAndComponentHolder {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-address-space-base",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.123.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module address-space-base",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -17,20 +17,20 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"node-opcua-assert": "2.120.0",
|
|
20
|
-
"node-opcua-basic-types": "2.
|
|
21
|
-
"node-opcua-constants": "2.
|
|
22
|
-
"node-opcua-crypto": "4.
|
|
23
|
-
"node-opcua-data-model": "2.
|
|
24
|
-
"node-opcua-data-value": "2.
|
|
25
|
-
"node-opcua-date-time": "2.
|
|
26
|
-
"node-opcua-debug": "2.
|
|
27
|
-
"node-opcua-extension-object": "2.
|
|
28
|
-
"node-opcua-nodeid": "2.
|
|
29
|
-
"node-opcua-numeric-range": "2.
|
|
30
|
-
"node-opcua-schemas": "2.
|
|
31
|
-
"node-opcua-status-code": "2.
|
|
32
|
-
"node-opcua-types": "2.
|
|
33
|
-
"node-opcua-variant": "2.
|
|
20
|
+
"node-opcua-basic-types": "2.121.0",
|
|
21
|
+
"node-opcua-constants": "2.121.0",
|
|
22
|
+
"node-opcua-crypto": "4.8.0",
|
|
23
|
+
"node-opcua-data-model": "2.121.0",
|
|
24
|
+
"node-opcua-data-value": "2.121.0",
|
|
25
|
+
"node-opcua-date-time": "2.121.0",
|
|
26
|
+
"node-opcua-debug": "2.121.0",
|
|
27
|
+
"node-opcua-extension-object": "2.121.0",
|
|
28
|
+
"node-opcua-nodeid": "2.121.0",
|
|
29
|
+
"node-opcua-numeric-range": "2.121.0",
|
|
30
|
+
"node-opcua-schemas": "2.123.0",
|
|
31
|
+
"node-opcua-status-code": "2.121.0",
|
|
32
|
+
"node-opcua-types": "2.123.0",
|
|
33
|
+
"node-opcua-variant": "2.121.0"
|
|
34
34
|
},
|
|
35
35
|
"author": "Etienne Rossignon",
|
|
36
36
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"internet of things"
|
|
48
48
|
],
|
|
49
49
|
"homepage": "http://node-opcua.github.io/",
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "64b4575687f6a8130e06fa78b6f61b6eeaa05e74",
|
|
51
51
|
"files": [
|
|
52
52
|
"dist",
|
|
53
53
|
"source"
|
package/source/bind_variable.ts
CHANGED
|
@@ -17,8 +17,9 @@ import { ContinuationData, ISessionContext } from "./session_context";
|
|
|
17
17
|
export type VariableSetterVariation1 = (this: UAVariable, value: Variant) => StatusCode;
|
|
18
18
|
|
|
19
19
|
export type VariableSetterVariation2 = (this: UAVariable, value: Variant, callback: CallbackT<StatusCode>) => void;
|
|
20
|
+
export type VariableSetterVariation3 = (this: UAVariable, value: Variant) => Promise<StatusCode>;
|
|
20
21
|
|
|
21
|
-
export type VariableSetter = VariableSetterVariation1 | VariableSetterVariation2;
|
|
22
|
+
export type VariableSetter = VariableSetterVariation1 | VariableSetterVariation2 | VariableSetterVariation3;
|
|
22
23
|
|
|
23
24
|
export type HistoryReadFunc = (
|
|
24
25
|
context: ISessionContext,
|
package/source/index.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./address_space";
|
|
2
2
|
export * from "./base_node";
|
|
3
3
|
export * from "./bind_variable";
|
|
4
|
+
export * from "./clone_helper";
|
|
4
5
|
export * from "./clone_options";
|
|
5
6
|
export * from "./continuation_point";
|
|
6
7
|
export * from "./event_notifier_flags";
|
|
@@ -20,5 +21,4 @@ export * from "./ua_reference";
|
|
|
20
21
|
export * from "./ua_variable_t";
|
|
21
22
|
export * from "./ua_variable_type";
|
|
22
23
|
export * from "./ua_variable";
|
|
23
|
-
export * from "./ua_view";
|
|
24
|
-
export * from "./clone_helper";
|
|
24
|
+
export * from "./ua_view";
|
package/source/ua_object_type.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { QualifiedNameLike, QualifiedNameOptions } from "node-opcua-data-model";
|
|
2
2
|
import { NodeClass } from "node-opcua-types";
|
|
3
3
|
import { NodeId, NodeIdLike } from "node-opcua-nodeid";
|
|
4
|
-
import { Byte } from "node-opcua-basic-types";
|
|
5
4
|
|
|
6
5
|
import { InstantiateOptions } from "./instantiate_options";
|
|
7
6
|
import { BaseNode, IPropertyAndComponentHolder } from "./base_node";
|
|
8
7
|
import { UAObject } from "./ua_object";
|
|
9
8
|
import { UAMethod } from "./ua_method";
|
|
9
|
+
import { EventNotifierFlags } from "./event_notifier_flags";
|
|
10
10
|
|
|
11
11
|
export interface InstantiateObjectOptions extends InstantiateOptions {
|
|
12
12
|
//
|
|
13
13
|
conditionSource?: NodeId | BaseNode | null;
|
|
14
|
-
eventNotifier?:
|
|
14
|
+
eventNotifier?: EventNotifierFlags;
|
|
15
15
|
// for DataTypeEncodingType
|
|
16
16
|
encodingOf?: NodeId | BaseNode;
|
|
17
17
|
}
|