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.
@@ -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 sub type of **`reference`**, in the
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
- * The NodeVersion Property is updated each time a Reference is added or deleted to the Node the Property
178
- * belongs to. Attribute value changes do not cause the NodeVersion to change.
179
- * Clients may read the NodeVersion Property or subscribe to it to determine when the structure of a Node has changed.
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
  /**
@@ -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
- * @method reconstructFunctionalGroupType
43
+
44
44
  * @param baseType
45
45
  */
46
46
  export declare function reconstructFunctionalGroupType(extraInfo: CloneHelper): void;
@@ -325,7 +325,7 @@ function reconstructNonHierarchicalReferences(extraInfo) {
325
325
  /**
326
326
  * recreate functional group types according to type definition
327
327
  *
328
- * @method reconstructFunctionalGroupType
328
+
329
329
  * @param baseType
330
330
  */
331
331
  /* @example:
@@ -270,7 +270,7 @@ export declare interface INamespace {
270
270
  addMethod(parent: UAObject | UAObjectType, options: AddMethodOptions): UAMethod;
271
271
  toNodeset2XML(): string;
272
272
  /**
273
- * @internals
273
+ * @internal
274
274
  */
275
275
  getStandardsNodeIds(): {
276
276
  referenceTypeIds: {
@@ -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>;
@@ -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;
@@ -212,7 +212,8 @@ export interface UAVariable extends BaseNode, VariableAttributes, IVariableDataT
212
212
  readEnumValue(): EnumValue2;
213
213
  /**
214
214
  *
215
- * @precondition UAVariable must have a dataType deriving from "Enumeration"
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.132.0",
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.132.0",
20
+ "node-opcua-basic-types": "2.133.0",
21
21
  "node-opcua-constants": "2.125.0",
22
- "node-opcua-crypto": "4.9.4",
23
- "node-opcua-data-model": "2.132.0",
24
- "node-opcua-data-value": "2.132.0",
25
- "node-opcua-date-time": "2.132.0",
26
- "node-opcua-debug": "2.128.0",
27
- "node-opcua-extension-object": "2.132.0",
28
- "node-opcua-nodeid": "2.128.0",
29
- "node-opcua-numeric-range": "2.132.0",
30
- "node-opcua-schemas": "2.132.0",
31
- "node-opcua-status-code": "2.128.0",
32
- "node-opcua-types": "2.132.0",
33
- "node-opcua-variant": "2.132.0"
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": "5fab0f1eac0e59abf94bab9034035aec44890456",
50
+ "gitHead": "921bb04f2e7ce3109dd051ff27a2210edf700344",
51
51
  "files": [
52
52
  "dist",
53
53
  "source"
@@ -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 sub type of **`reference`**, in the
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
- * The NodeVersion Property is updated each time a Reference is added or deleted to the Node the Property
249
- * belongs to. Attribute value changes do not cause the NodeVersion to change.
250
- * Clients may read the NodeVersion Property or subscribe to it to determine when the structure of a Node has changed.
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
 
@@ -419,7 +419,7 @@ export function reconstructNonHierarchicalReferences(extraInfo: CloneHelper): vo
419
419
  /**
420
420
  * recreate functional group types according to type definition
421
421
  *
422
- * @method reconstructFunctionalGroupType
422
+
423
423
  * @param baseType
424
424
  */
425
425
 
@@ -347,7 +347,7 @@ export declare interface INamespace {
347
347
 
348
348
  toNodeset2XML(): string;
349
349
  /**
350
- * @internals
350
+ * @internal
351
351
  */
352
352
  getStandardsNodeIds(): {
353
353
  referenceTypeIds: { [key: string]: string };
@@ -51,10 +51,6 @@ export declare class UAMethod extends BaseNode {
51
51
  public getOutputArguments(): Argument[];
52
52
 
53
53
  /**
54
- * @async
55
- * @param inputArguments
56
- * @param context
57
- * @param callback
58
54
  */
59
55
  public execute(
60
56
  object: UAObject | UAObjectType | null,
@@ -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;
@@ -260,7 +260,8 @@ export interface UAVariable extends BaseNode, VariableAttributes, IVariableDataT
260
260
 
261
261
  /**
262
262
  *
263
- * @precondition UAVariable must have a dataType deriving from "Enumeration"
263
+ * **precondition**:
264
+ * UAVariable must have a dataType deriving from "Enumeration"
264
265
  */
265
266
  writeEnumValue(value: string | number): void;
266
267