node-opcua-address-space-base 2.132.0 → 2.133.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/base_node.d.ts +10 -5
- package/dist/clone_helper.d.ts +1 -1
- package/dist/clone_helper.js +1 -1
- package/dist/namespace.d.ts +1 -1
- package/dist/ua_method.d.ts +0 -4
- package/dist/ua_object.d.ts +3 -0
- package/dist/ua_variable.d.ts +2 -1
- package/package.json +15 -15
- package/source/base_node.ts +10 -5
- package/source/clone_helper.ts +1 -1
- package/source/namespace.ts +1 -1
- package/source/ua_method.ts +0 -4
- package/source/ua_object.ts +3 -0
- package/source/ua_variable.ts +2 -1
package/dist/base_node.d.ts
CHANGED
|
@@ -122,8 +122,8 @@ export declare class BaseNode extends EventEmitter {
|
|
|
122
122
|
*/
|
|
123
123
|
findReference(referenceType: string | NodeId | UAReferenceType, isForward?: boolean): UAReference | null;
|
|
124
124
|
/**
|
|
125
|
-
* find all the nodes that are referenced by references of type **`reference`** or a
|
|
126
|
-
* direction specified by **`browseDirection`**
|
|
125
|
+
* find all the nodes that are referenced by references of type **`reference`** or a
|
|
126
|
+
* sub type of **`reference`**, in the direction specified by **`browseDirection`**
|
|
127
127
|
*
|
|
128
128
|
* * BrowseDirection.Forward direction is implied if browseDirection flags is omitted.
|
|
129
129
|
*/
|
|
@@ -174,9 +174,14 @@ export declare class BaseNode extends EventEmitter {
|
|
|
174
174
|
getAccessRestrictions(inherited: boolean): AccessRestrictionsFlag;
|
|
175
175
|
/**
|
|
176
176
|
* NodeVersion (Optional) String The NodeVersion Property is used to indicate the version of a Node.
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
177
|
+
*
|
|
178
|
+
* The NodeVersion Property is updated each time a Reference is added or deleted
|
|
179
|
+
* to the Node the Property belongs to.
|
|
180
|
+
*
|
|
181
|
+
* Attribute value changes do not cause the NodeVersion to change.
|
|
182
|
+
*
|
|
183
|
+
* Clients may read the NodeVersion Property or subscribe to it to determine when the
|
|
184
|
+
* structure of a Node has changed.
|
|
180
185
|
*/
|
|
181
186
|
nodeVersion?: UAVariableT<UAString, DataType.String>;
|
|
182
187
|
/**
|
package/dist/clone_helper.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare function reconstructNonHierarchicalReferences(extraInfo: CloneHel
|
|
|
40
40
|
/**
|
|
41
41
|
* recreate functional group types according to type definition
|
|
42
42
|
*
|
|
43
|
-
|
|
43
|
+
|
|
44
44
|
* @param baseType
|
|
45
45
|
*/
|
|
46
46
|
export declare function reconstructFunctionalGroupType(extraInfo: CloneHelper): void;
|
package/dist/clone_helper.js
CHANGED
package/dist/namespace.d.ts
CHANGED
|
@@ -270,7 +270,7 @@ export declare interface INamespace {
|
|
|
270
270
|
addMethod(parent: UAObject | UAObjectType, options: AddMethodOptions): UAMethod;
|
|
271
271
|
toNodeset2XML(): string;
|
|
272
272
|
/**
|
|
273
|
-
* @
|
|
273
|
+
* @internal
|
|
274
274
|
*/
|
|
275
275
|
getStandardsNodeIds(): {
|
|
276
276
|
referenceTypeIds: {
|
package/dist/ua_method.d.ts
CHANGED
|
@@ -29,10 +29,6 @@ export declare class UAMethod extends BaseNode {
|
|
|
29
29
|
getInputArguments(): Argument[];
|
|
30
30
|
getOutputArguments(): Argument[];
|
|
31
31
|
/**
|
|
32
|
-
* @async
|
|
33
|
-
* @param inputArguments
|
|
34
|
-
* @param context
|
|
35
|
-
* @param callback
|
|
36
32
|
*/
|
|
37
33
|
execute(object: UAObject | UAObjectType | null, inputArguments: VariantLike[] | null, context: ISessionContext, callback: CallbackT<CallMethodResultOptions>): void;
|
|
38
34
|
execute(object: UAObject | UAObjectType | null, inputArguments: null | VariantLike[], context: ISessionContext): Promise<CallMethodResultOptions>;
|
package/dist/ua_object.d.ts
CHANGED
|
@@ -110,6 +110,9 @@ export interface RaiseEventData {
|
|
|
110
110
|
export interface EventRaiser {
|
|
111
111
|
raiseEvent(eventType: EventTypeLike, eventData: RaiseEventData): void;
|
|
112
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* @interface UAObject
|
|
115
|
+
*/
|
|
113
116
|
export interface UAObject extends BaseNode, EventRaiser, IPropertyAndComponentHolder {
|
|
114
117
|
readonly nodeClass: NodeClass.Object;
|
|
115
118
|
get parent(): BaseNode | null;
|
package/dist/ua_variable.d.ts
CHANGED
|
@@ -212,7 +212,8 @@ export interface UAVariable extends BaseNode, VariableAttributes, IVariableDataT
|
|
|
212
212
|
readEnumValue(): EnumValue2;
|
|
213
213
|
/**
|
|
214
214
|
*
|
|
215
|
-
*
|
|
215
|
+
* **precondition**:
|
|
216
|
+
* UAVariable must have a dataType deriving from "Enumeration"
|
|
216
217
|
*/
|
|
217
218
|
writeEnumValue(value: string | number): void;
|
|
218
219
|
readAttribute(context: ISessionContext | null, attributeId: AttributeIds, indexRange?: NumericRange, dataEncoding?: QualifiedNameLike | null): DataValue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-address-space-base",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.133.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.
|
|
20
|
+
"node-opcua-basic-types": "2.133.0",
|
|
21
21
|
"node-opcua-constants": "2.125.0",
|
|
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.
|
|
22
|
+
"node-opcua-crypto": "4.10.0",
|
|
23
|
+
"node-opcua-data-model": "2.133.0",
|
|
24
|
+
"node-opcua-data-value": "2.133.0",
|
|
25
|
+
"node-opcua-date-time": "2.133.0",
|
|
26
|
+
"node-opcua-debug": "2.133.0",
|
|
27
|
+
"node-opcua-extension-object": "2.133.0",
|
|
28
|
+
"node-opcua-nodeid": "2.133.0",
|
|
29
|
+
"node-opcua-numeric-range": "2.133.0",
|
|
30
|
+
"node-opcua-schemas": "2.133.0",
|
|
31
|
+
"node-opcua-status-code": "2.133.0",
|
|
32
|
+
"node-opcua-types": "2.133.0",
|
|
33
|
+
"node-opcua-variant": "2.133.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": "921bb04f2e7ce3109dd051ff27a2210edf700344",
|
|
51
51
|
"files": [
|
|
52
52
|
"dist",
|
|
53
53
|
"source"
|
package/source/base_node.ts
CHANGED
|
@@ -182,8 +182,8 @@ export declare class BaseNode extends EventEmitter {
|
|
|
182
182
|
public findReference(referenceType: string | NodeId | UAReferenceType, isForward?: boolean): UAReference | null;
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
|
-
* find all the nodes that are referenced by references of type **`reference`** or a
|
|
186
|
-
* direction specified by **`browseDirection`**
|
|
185
|
+
* find all the nodes that are referenced by references of type **`reference`** or a
|
|
186
|
+
* sub type of **`reference`**, in the direction specified by **`browseDirection`**
|
|
187
187
|
*
|
|
188
188
|
* * BrowseDirection.Forward direction is implied if browseDirection flags is omitted.
|
|
189
189
|
*/
|
|
@@ -245,9 +245,14 @@ export declare class BaseNode extends EventEmitter {
|
|
|
245
245
|
getAccessRestrictions(inherited: boolean): AccessRestrictionsFlag;
|
|
246
246
|
/**
|
|
247
247
|
* NodeVersion (Optional) String The NodeVersion Property is used to indicate the version of a Node.
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
*
|
|
248
|
+
*
|
|
249
|
+
* The NodeVersion Property is updated each time a Reference is added or deleted
|
|
250
|
+
* to the Node the Property belongs to.
|
|
251
|
+
*
|
|
252
|
+
* Attribute value changes do not cause the NodeVersion to change.
|
|
253
|
+
*
|
|
254
|
+
* Clients may read the NodeVersion Property or subscribe to it to determine when the
|
|
255
|
+
* structure of a Node has changed.
|
|
251
256
|
*/
|
|
252
257
|
nodeVersion?: UAVariableT<UAString, DataType.String>;
|
|
253
258
|
|
package/source/clone_helper.ts
CHANGED
package/source/namespace.ts
CHANGED
package/source/ua_method.ts
CHANGED
package/source/ua_object.ts
CHANGED
|
@@ -154,6 +154,9 @@ export interface EventRaiser {
|
|
|
154
154
|
raiseEvent(eventType: EventTypeLike, eventData: RaiseEventData): void;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
+
/**
|
|
158
|
+
* @interface UAObject
|
|
159
|
+
*/
|
|
157
160
|
export interface UAObject extends BaseNode, EventRaiser, IPropertyAndComponentHolder {
|
|
158
161
|
readonly nodeClass: NodeClass.Object;
|
|
159
162
|
get parent(): BaseNode | null;
|
package/source/ua_variable.ts
CHANGED
|
@@ -260,7 +260,8 @@ export interface UAVariable extends BaseNode, VariableAttributes, IVariableDataT
|
|
|
260
260
|
|
|
261
261
|
/**
|
|
262
262
|
*
|
|
263
|
-
*
|
|
263
|
+
* **precondition**:
|
|
264
|
+
* UAVariable must have a dataType deriving from "Enumeration"
|
|
264
265
|
*/
|
|
265
266
|
writeEnumValue(value: string | number): void;
|
|
266
267
|
|