node-opcua-status-code 2.55.0 → 2.63.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/LICENSE +20 -20
- package/dist/_generated_status_codes.js +1245 -250
- package/dist/_generated_status_codes.js.map +1 -1
- package/dist/opcua_status_code.d.ts +5 -3
- package/dist/opcua_status_code.js +3 -4
- package/dist/opcua_status_code.js.map +1 -1
- package/nyc.config.js +16 -16
- package/package.json +7 -5
- package/source/_generated_status_codes.ts +1521 -504
- package/source/callbacks.ts +11 -11
- package/source/index.ts +5 -5
- package/source/opcua_status_code.ts +391 -392
package/source/callbacks.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module node-opcua-status-codes
|
|
3
|
-
*/
|
|
4
|
-
import { StatusCode } from "./opcua_status_code";
|
|
5
|
-
|
|
6
|
-
export type ErrorCallback = (err?: Error) => void;
|
|
7
|
-
export type Callback2<T> = (err: Error | null, result?: T) => void;
|
|
8
|
-
export type CallbackT<T> = (err: Error | null, result?: T) => void;
|
|
9
|
-
export type StatusCodeCallback = CallbackT<StatusCode>;
|
|
10
|
-
export type CallbackWithData = CallbackT<Buffer>;
|
|
11
|
-
export type Callback<T> = (err: Error | null, result?: T) => void;
|
|
1
|
+
/**
|
|
2
|
+
* @module node-opcua-status-codes
|
|
3
|
+
*/
|
|
4
|
+
import { StatusCode } from "./opcua_status_code";
|
|
5
|
+
|
|
6
|
+
export type ErrorCallback = (err?: Error) => void;
|
|
7
|
+
export type Callback2<T> = (err: Error | null, result?: T) => void;
|
|
8
|
+
export type CallbackT<T> = (err: Error | null, result?: T) => void;
|
|
9
|
+
export type StatusCodeCallback = CallbackT<StatusCode>;
|
|
10
|
+
export type CallbackWithData = CallbackT<Buffer>;
|
|
11
|
+
export type Callback<T> = (err: Error | null, result?: T) => void;
|
package/source/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module node-opcua-status-codes
|
|
3
|
-
*/
|
|
4
|
-
export * from "./opcua_status_code";
|
|
5
|
-
export * from "./callbacks";
|
|
1
|
+
/**
|
|
2
|
+
* @module node-opcua-status-codes
|
|
3
|
+
*/
|
|
4
|
+
export * from "./opcua_status_code";
|
|
5
|
+
export * from "./callbacks";
|