node-opcua-factory 2.90.0 → 2.90.1
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/types.d.ts +6 -6
- package/package.json +9 -9
package/dist/types.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export interface FieldInterfaceOptions {
|
|
|
40
40
|
basicDataType?: number;
|
|
41
41
|
valueRank?: number;
|
|
42
42
|
}
|
|
43
|
-
export
|
|
43
|
+
export type Func1<T> = (value: any, field: StructuredTypeField, data: T, args?: any) => void;
|
|
44
44
|
export interface DecodeDebugOptions {
|
|
45
45
|
tracer: any;
|
|
46
46
|
name: string;
|
|
@@ -58,8 +58,8 @@ export interface IBaseUAObject {
|
|
|
58
58
|
decodeDebug(stream: BinaryStream, options: DecodeDebugOptions): void;
|
|
59
59
|
clone(): IBaseUAObject;
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
export
|
|
61
|
+
type BaseUAObjectConstructable = new (options?: Record<string, unknown>) => IBaseUAObject;
|
|
62
|
+
export type ConstructorFunc = BaseUAObjectConstructable;
|
|
63
63
|
export interface ConstructorFuncWithSchema extends ConstructorFunc {
|
|
64
64
|
schema: IStructuredTypeSchema;
|
|
65
65
|
possibleFields: string[];
|
|
@@ -92,8 +92,8 @@ export interface FieldComplex extends StructuredTypeField {
|
|
|
92
92
|
}
|
|
93
93
|
export interface FieldBasic extends StructuredTypeField {
|
|
94
94
|
}
|
|
95
|
-
export
|
|
96
|
-
export
|
|
95
|
+
export type FieldType = FieldEnumeration | FieldComplex | FieldBasic;
|
|
96
|
+
export type DefaultValueFunc = () => any;
|
|
97
97
|
export interface StructuredTypeOptions {
|
|
98
98
|
name: string;
|
|
99
99
|
fields: FieldInterfaceOptions[];
|
|
@@ -137,7 +137,7 @@ export interface EnumerationDefinition extends CommonInterface {
|
|
|
137
137
|
typedEnum: Enum;
|
|
138
138
|
documentation?: string;
|
|
139
139
|
}
|
|
140
|
-
export
|
|
140
|
+
export type TypeDefinition = BuiltInTypeDefinition | EnumerationDefinition | BasicTypeDefinition | CommonInterface;
|
|
141
141
|
export interface BitField {
|
|
142
142
|
name: string;
|
|
143
143
|
length: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-factory",
|
|
3
|
-
"version": "2.90.
|
|
3
|
+
"version": "2.90.1",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module -factory",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"chalk": "4.1.2",
|
|
19
19
|
"node-opcua-assert": "2.88.0",
|
|
20
|
-
"node-opcua-basic-types": "2.90.
|
|
21
|
-
"node-opcua-binary-stream": "2.
|
|
20
|
+
"node-opcua-basic-types": "2.90.1",
|
|
21
|
+
"node-opcua-binary-stream": "2.90.1",
|
|
22
22
|
"node-opcua-constants": "2.88.0",
|
|
23
|
-
"node-opcua-debug": "2.90.
|
|
24
|
-
"node-opcua-enum": "2.
|
|
23
|
+
"node-opcua-debug": "2.90.1",
|
|
24
|
+
"node-opcua-enum": "2.90.1",
|
|
25
25
|
"node-opcua-guid": "2.88.0",
|
|
26
|
-
"node-opcua-nodeid": "2.90.
|
|
27
|
-
"node-opcua-status-code": "2.
|
|
28
|
-
"node-opcua-utils": "2.
|
|
26
|
+
"node-opcua-nodeid": "2.90.1",
|
|
27
|
+
"node-opcua-status-code": "2.90.1",
|
|
28
|
+
"node-opcua-utils": "2.90.1"
|
|
29
29
|
},
|
|
30
30
|
"author": "Etienne Rossignon",
|
|
31
31
|
"license": "MIT",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"internet of things"
|
|
43
43
|
],
|
|
44
44
|
"homepage": "http://node-opcua.github.io/",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "3325ff5f8477fd058ba574d19e8128c36e3e831f"
|
|
46
46
|
}
|