node-opcua-address-space-base 2.85.0 → 2.86.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.
@@ -17,7 +17,7 @@ import { UAReferenceType } from "./ua_reference_type";
17
17
  import { IHistoricalDataNodeOptions, UAVariable } from "./ua_variable";
18
18
  import { UAVariableType } from "./ua_variable_type";
19
19
  import { UAView } from "./ua_view";
20
- export declare type ShutdownTask = ((this: IAddressSpace) => void) | ((this: IAddressSpace) => Promise<void>);
20
+ export type ShutdownTask = ((this: IAddressSpace) => void) | ((this: IAddressSpace) => Promise<void>);
21
21
  interface UARootFolder_Objects extends UAObject {
22
22
  server: UAObject;
23
23
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import { EventEmitter } from "events";
3
- export declare type Duration = number;
3
+ export type Duration = number;
4
4
  import { AccessRestrictionsFlag, AttributeIds, BrowseDirection, LocalizedText, NodeClass, QualifiedName, QualifiedNameLike, QualifiedNameOptions } from "node-opcua-data-model";
5
5
  import { DataType } from "node-opcua-variant";
6
6
  import { DataValue } from "node-opcua-data-value";
@@ -6,19 +6,19 @@ import { QualifiedNameLike } from "node-opcua-data-model";
6
6
  import { DataValue } from "node-opcua-data-value";
7
7
  import { UAVariable } from "./ua_variable";
8
8
  import { ContinuationData, ISessionContext } from "./session_context";
9
- export declare type VariableSetterVariation1 = (this: UAVariable, value: Variant) => StatusCode;
10
- export declare type VariableSetterVariation2 = (this: UAVariable, value: Variant, callback: CallbackT<StatusCode>) => void;
11
- export declare type VariableSetter = VariableSetterVariation1 | VariableSetterVariation2;
12
- export declare type HistoryReadFunc = (context: ISessionContext, historyReadDetails: ReadRawModifiedDetails | ReadEventDetails | ReadProcessedDetails | ReadAtTimeDetails, indexRange: NumericRange | null, dataEncoding: QualifiedNameLike | null, continuationData: ContinuationData, callback: CallbackT<HistoryReadResult>) => void;
13
- export declare type GetFunc = (this: UAVariable) => Variant;
14
- export declare type SetFunc = VariableSetter | null;
15
- export declare type VariableDataValueGetterSync = (this: UAVariable) => DataValue;
16
- export declare type VariableDataValueGetterPromise = (this: UAVariable) => Promise<DataValue>;
17
- export declare type VariableDataValueGetterCallback = (this: UAVariable, callback: CallbackT<DataValue>) => void;
18
- export declare type VariableDataValueSetterWithCallback = (this: UAVariable, dataValue: DataValue, callback: CallbackT<StatusCode>) => void;
19
- export declare type VariableDataValueSetterWithPromise = (this: UAVariable, dataValue: DataValue) => Promise<StatusCode>;
20
- export declare type TimestampGetFunc = VariableDataValueGetterSync | VariableDataValueGetterPromise | VariableDataValueGetterCallback;
21
- export declare type TimestampSetFunc = VariableDataValueSetterWithCallback | VariableDataValueSetterWithPromise;
9
+ export type VariableSetterVariation1 = (this: UAVariable, value: Variant) => StatusCode;
10
+ export type VariableSetterVariation2 = (this: UAVariable, value: Variant, callback: CallbackT<StatusCode>) => void;
11
+ export type VariableSetter = VariableSetterVariation1 | VariableSetterVariation2;
12
+ export type HistoryReadFunc = (context: ISessionContext, historyReadDetails: ReadRawModifiedDetails | ReadEventDetails | ReadProcessedDetails | ReadAtTimeDetails, indexRange: NumericRange | null, dataEncoding: QualifiedNameLike | null, continuationData: ContinuationData, callback: CallbackT<HistoryReadResult>) => void;
13
+ export type GetFunc = (this: UAVariable) => Variant;
14
+ export type SetFunc = VariableSetter | null;
15
+ export type VariableDataValueGetterSync = (this: UAVariable) => DataValue;
16
+ export type VariableDataValueGetterPromise = (this: UAVariable) => Promise<DataValue>;
17
+ export type VariableDataValueGetterCallback = (this: UAVariable, callback: CallbackT<DataValue>) => void;
18
+ export type VariableDataValueSetterWithCallback = (this: UAVariable, dataValue: DataValue, callback: CallbackT<StatusCode>) => void;
19
+ export type VariableDataValueSetterWithPromise = (this: UAVariable, dataValue: DataValue) => Promise<StatusCode>;
20
+ export type TimestampGetFunc = VariableDataValueGetterSync | VariableDataValueGetterPromise | VariableDataValueGetterCallback;
21
+ export type TimestampSetFunc = VariableDataValueSetterWithCallback | VariableDataValueSetterWithPromise;
22
22
  export interface BindVariableOptionsVariation1 {
23
23
  get: GetFunc;
24
24
  set?: SetFunc;
@@ -49,4 +49,4 @@ export interface BindVariableOptionsVariation4 extends VariantLike {
49
49
  refreshFunc?: (callback: CallbackT<DataValue>) => void;
50
50
  historyRead?: HistoryReadFunc;
51
51
  }
52
- export declare type BindVariableOptions = BindVariableOptionsVariation1 | BindVariableOptionsVariation2 | BindVariableOptionsVariation3 | BindVariableOptionsVariation4;
52
+ export type BindVariableOptions = BindVariableOptionsVariation1 | BindVariableOptionsVariation2 | BindVariableOptionsVariation3 | BindVariableOptionsVariation4;
@@ -1,2 +1,2 @@
1
1
  import { ByteString } from "node-opcua-basic-types";
2
- export declare type ContinuationPoint = ByteString;
2
+ export type ContinuationPoint = ByteString;
@@ -1 +1 @@
1
- export declare type ModellingRuleType = "Mandatory" | "Optional" | "MandatoryPlaceholder" | "OptionalPlaceholder" | "ExposesItsArray" | null;
1
+ export type ModellingRuleType = "Mandatory" | "Optional" | "MandatoryPlaceholder" | "OptionalPlaceholder" | "ExposesItsArray" | null;
@@ -92,7 +92,7 @@ export interface AddMethodOptions {
92
92
  accessRestrictions?: AccessRestrictionsFlag;
93
93
  rolePermissions?: RolePermissionTypeOptions[];
94
94
  }
95
- export declare type AccessLevelString = string;
95
+ export type AccessLevelString = string;
96
96
  export interface VariableStuff {
97
97
  dataType?: string | NodeIdLike | UADataType;
98
98
  /**
@@ -205,7 +205,7 @@ export interface AddYArrayItemOptions extends AddVariableOptions {
205
205
  axisScaleType: AxisScaleEnumeration | string;
206
206
  xAxisDefinition?: AxisInformationOptions;
207
207
  }
208
- export declare type CreateNodeOptions = any;
208
+ export type CreateNodeOptions = any;
209
209
  export interface RequiredModel {
210
210
  modelUri: string;
211
211
  version: string;
@@ -11,7 +11,7 @@ import { UAVariable } from "./ua_variable";
11
11
  import { CloneExtraInfo, CloneFilter, CloneOptions } from "./clone_options";
12
12
  export declare type MethodFunctorC = (this: UAMethod, inputArguments: Variant[], context: ISessionContext, callback: CallbackT<CallMethodResultOptions>) => void;
13
13
  export declare type MethodFunctorA = (this: UAMethod, inputArguments: Variant[], context: ISessionContext) => Promise<CallMethodResultOptions>;
14
- export declare type MethodFunctor = MethodFunctorC | MethodFunctorA;
14
+ export type MethodFunctor = MethodFunctorC | MethodFunctorA;
15
15
  export declare class UAMethod extends BaseNode {
16
16
  readonly nodeClass: NodeClass.Method;
17
17
  readonly typeDefinition: NodeId;
@@ -11,7 +11,7 @@ import { IEventData } from "./i_event_data";
11
11
  import { UAEventType } from "./ua_event_type";
12
12
  import { UAMethod } from "./ua_method";
13
13
  import { EventNotifierFlags } from "./event_notifier_flags";
14
- export declare type EventTypeLike = string | NodeId | UAEventType;
14
+ export type EventTypeLike = string | NodeId | UAEventType;
15
15
  export interface PseudoVariantNull {
16
16
  dataType: "Null" | DataType.Null;
17
17
  }
@@ -101,8 +101,8 @@ export interface PseudoVariantVariant {
101
101
  dataType: "Variant" | DataType.Variant;
102
102
  value: Variant;
103
103
  }
104
- export declare type PseudoVariantNumber = PseudoVariantUInt32 | PseudoVariantUInt16 | PseudoVariantByte | PseudoVariantInt32 | PseudoVariantInt16 | PseudoVariantSByte | PseudoVariantDouble | PseudoVariantFloat;
105
- export declare type PseudoVariant = PseudoVariantNull | PseudoVariantString | PseudoVariantBoolean | PseudoVariantByteString | PseudoVariantNodeId | PseudoVariantDateTime | PseudoVariantByteString | PseudoVariantDuration | PseudoVariantLocalizedText | PseudoVariantStatusCode | PseudoVariantNumber | PseudoVariantExtensionObject | PseudoVariantExtensionObjectArray | PseudoVariantVariant | PseudoVariantVariantArray;
104
+ export type PseudoVariantNumber = PseudoVariantUInt32 | PseudoVariantUInt16 | PseudoVariantByte | PseudoVariantInt32 | PseudoVariantInt16 | PseudoVariantSByte | PseudoVariantDouble | PseudoVariantFloat;
105
+ export type PseudoVariant = PseudoVariantNull | PseudoVariantString | PseudoVariantBoolean | PseudoVariantByteString | PseudoVariantNodeId | PseudoVariantDateTime | PseudoVariantByteString | PseudoVariantDuration | PseudoVariantLocalizedText | PseudoVariantStatusCode | PseudoVariantNumber | PseudoVariantExtensionObject | PseudoVariantExtensionObjectArray | PseudoVariantVariant | PseudoVariantVariantArray;
106
106
  export interface RaiseEventData {
107
107
  $eventDataSource?: UAEventType;
108
108
  sourceNode?: PseudoVariantNodeId | Variant;
@@ -34,7 +34,7 @@ export interface IVariableHistorianOptions {
34
34
  maxOnlineValues?: number;
35
35
  historian?: IVariableHistorian;
36
36
  }
37
- export declare type IHistoricalDataNodeOptions = IVariableHistorianOptions | {
37
+ export type IHistoricalDataNodeOptions = IVariableHistorianOptions | {
38
38
  historian: IVariableHistorian;
39
39
  };
40
40
  export interface VariableAttributes {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-address-space-base",
3
- "version": "2.85.0",
3
+ "version": "2.86.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,19 +16,19 @@
16
16
  "c": "mocha --version"
17
17
  },
18
18
  "dependencies": {
19
- "node-opcua-basic-types": "2.85.0",
19
+ "node-opcua-basic-types": "2.86.0",
20
20
  "node-opcua-constants": "2.77.0",
21
- "node-opcua-crypto": "^1.12.0",
22
- "node-opcua-data-model": "2.85.0",
23
- "node-opcua-data-value": "2.85.0",
24
- "node-opcua-date-time": "2.85.0",
25
- "node-opcua-extension-object": "2.85.0",
26
- "node-opcua-nodeid": "2.85.0",
27
- "node-opcua-numeric-range": "2.85.0",
28
- "node-opcua-schemas": "2.85.0",
29
- "node-opcua-status-code": "2.85.0",
30
- "node-opcua-types": "2.85.0",
31
- "node-opcua-variant": "2.85.0"
21
+ "node-opcua-crypto": "^2.1.2",
22
+ "node-opcua-data-model": "2.86.0",
23
+ "node-opcua-data-value": "2.86.0",
24
+ "node-opcua-date-time": "2.86.0",
25
+ "node-opcua-extension-object": "2.86.0",
26
+ "node-opcua-nodeid": "2.86.0",
27
+ "node-opcua-numeric-range": "2.86.0",
28
+ "node-opcua-schemas": "2.86.0",
29
+ "node-opcua-status-code": "2.86.0",
30
+ "node-opcua-types": "2.86.0",
31
+ "node-opcua-variant": "2.86.0"
32
32
  },
33
33
  "author": "Etienne Rossignon",
34
34
  "license": "MIT",
@@ -45,5 +45,5 @@
45
45
  "internet of things"
46
46
  ],
47
47
  "homepage": "http://node-opcua.github.io/",
48
- "gitHead": "68498fcf7b20ea9f7bd66e8529c546221daf5d52"
48
+ "gitHead": "36afc46fe2c91aa5664a8c5418f4db5a354670c3"
49
49
  }