node-opcua-factory 2.110.0 → 2.112.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/source/types.ts +5 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-factory",
3
- "version": "2.110.0",
3
+ "version": "2.112.0",
4
4
  "description": "pure nodejs OPCUA SDK - module factory",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "chalk": "4.1.2",
19
19
  "node-opcua-assert": "2.105.0",
20
- "node-opcua-basic-types": "2.110.0",
20
+ "node-opcua-basic-types": "2.111.0",
21
21
  "node-opcua-binary-stream": "2.110.0",
22
22
  "node-opcua-constants": "2.98.1",
23
23
  "node-opcua-debug": "2.110.0",
@@ -42,7 +42,7 @@
42
42
  "internet of things"
43
43
  ],
44
44
  "homepage": "http://node-opcua.github.io/",
45
- "gitHead": "f419b91486436bfd804d5d66d2b77db834a4deaf",
45
+ "gitHead": "af1c21306612b11aa4265e9e6c094c91fe9beebb",
46
46
  "files": [
47
47
  "dist",
48
48
  "source"
package/source/types.ts CHANGED
@@ -41,7 +41,6 @@ export interface CommonInterface {
41
41
  export interface FieldInterfaceOptions {
42
42
  name: string;
43
43
  defaultValue?: any | DefaultValueFunc;
44
-
45
44
  fieldType: string;
46
45
  isArray?: boolean;
47
46
  documentation?: string;
@@ -87,9 +86,8 @@ export interface ConstructorFuncWithSchema extends ConstructorFunc {
87
86
  }
88
87
 
89
88
  export interface StructuredTypeField {
90
-
91
- name: string; // the name that may have been lowercased
92
- originalName: string; // the orignal name from the raw OPCUA description
89
+ name: string; // the name that may have been lowercased
90
+ originalName: string; // the orignal name from the raw OPCUA description
93
91
 
94
92
  fieldType: string;
95
93
  isArray?: boolean;
@@ -134,7 +132,7 @@ export interface StructuredTypeOptions {
134
132
  baseType: string;
135
133
  category?: FieldCategory;
136
134
  _resolved?: boolean;
137
- bitFields?: { name: string, length: number }[];
135
+ bitFields?: { name: string; length: number }[];
138
136
  deprecated_base?: StructuredTypeOptions;
139
137
  dataTypeFactory: DataTypeFactory;
140
138
  }
@@ -185,10 +183,10 @@ export interface IStructuredTypeSchema extends CommonInterface {
185
183
  fields: FieldType[];
186
184
  dataTypeNodeId: NodeId;
187
185
  baseType: string;
188
-
186
+
189
187
  getBaseSchema(): IStructuredTypeSchema | null;
190
188
  getDataTypeFactory(): DataTypeFactory;
191
-
189
+
192
190
  documentation?: string;
193
191
 
194
192
  isValid?: (options: any) => boolean;