node-opcua-basic-types 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/boolean.d.ts +1 -1
- package/dist/byte_string.d.ts +1 -1
- package/dist/date_time.d.ts +1 -1
- package/dist/floats.d.ts +2 -2
- package/dist/guid.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/integers.d.ts +10 -10
- package/dist/locale_id.d.ts +1 -1
- package/dist/string.d.ts +2 -2
- package/package.json +9 -9
package/dist/boolean.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ export declare function randomBoolean(): boolean;
|
|
|
4
4
|
export declare function encodeBoolean(value: boolean, stream: OutputBinaryStream): void;
|
|
5
5
|
export declare function decodeBoolean(stream: BinaryStream, _value?: boolean): boolean;
|
|
6
6
|
export declare function coerceBoolean(value: string): boolean;
|
|
7
|
-
export
|
|
7
|
+
export type UABoolean = boolean;
|
|
8
8
|
export declare const encodeUABoolean: typeof encodeBoolean;
|
|
9
9
|
export declare const decodeUABoolean: typeof decodeBoolean;
|
package/dist/byte_string.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
6
6
|
export declare function isValidByteString(value: unknown): boolean;
|
|
7
|
-
export
|
|
7
|
+
export type ByteString = Buffer;
|
|
8
8
|
export declare function randomByteString(value: unknown, len: number): ByteString;
|
|
9
9
|
export declare function encodeByteString(byteString: ByteString, stream: OutputBinaryStream): void;
|
|
10
10
|
export declare function decodeByteString(stream: BinaryStream, _value?: ByteString): ByteString;
|
package/dist/date_time.d.ts
CHANGED
package/dist/floats.d.ts
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
5
5
|
export declare function isValidFloat(value: number): boolean;
|
|
6
|
-
export
|
|
6
|
+
export type Float = number;
|
|
7
7
|
export declare function randomFloat(): Float;
|
|
8
8
|
export declare function encodeFloat(value: Float, stream: OutputBinaryStream): void;
|
|
9
9
|
export declare function decodeFloat(stream: BinaryStream, value?: number): Float;
|
|
10
10
|
export declare function isValidDouble(value: number): boolean;
|
|
11
|
-
export
|
|
11
|
+
export type Double = number;
|
|
12
12
|
export declare function randomDouble(): Double;
|
|
13
13
|
export declare function encodeDouble(value: Double, stream: OutputBinaryStream): void;
|
|
14
14
|
export declare function decodeDouble(stream: BinaryStream, value?: number): Double;
|
package/dist/guid.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
5
5
|
export { isValidGuid, emptyGuid } from "node-opcua-guid";
|
|
6
|
-
export
|
|
6
|
+
export type Guid = string;
|
|
7
7
|
export declare function randomGuid(): Guid;
|
|
8
8
|
export declare function encodeGuid(guid: Guid, stream: OutputBinaryStream): void;
|
|
9
9
|
export declare function decodeGuid(stream: BinaryStream, value?: Guid): Guid;
|
package/dist/index.d.ts
CHANGED
package/dist/integers.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
2
2
|
export declare function isValidUInt16(value: number): boolean;
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
3
|
+
export type UInt8 = number;
|
|
4
|
+
export type UInt16 = number;
|
|
5
|
+
export type UInt32 = number;
|
|
6
|
+
export type UInt64 = UInt32[];
|
|
7
|
+
export type Int8 = number;
|
|
8
|
+
export type Int16 = number;
|
|
9
|
+
export type Int32 = number;
|
|
10
|
+
export type Int64 = UInt32[];
|
|
11
|
+
export type Byte = UInt8;
|
|
12
|
+
export type SByte = Int8;
|
|
13
13
|
export declare function randomUInt16(): UInt16;
|
|
14
14
|
export declare function encodeUInt16(value: UInt16, stream: OutputBinaryStream): void;
|
|
15
15
|
export declare function decodeUInt16(stream: BinaryStream, value?: number): UInt16;
|
package/dist/locale_id.d.ts
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
5
5
|
import { UAString } from "./string";
|
|
6
6
|
export declare function validateLocaleId(value: unknown): boolean;
|
|
7
|
-
export
|
|
7
|
+
export type LocaleId = UAString;
|
|
8
8
|
export declare function encodeLocaleId(localeId: LocaleId, stream: OutputBinaryStream): void;
|
|
9
9
|
export declare function decodeLocaleId(stream: BinaryStream): LocaleId;
|
package/dist/string.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare function isValidString(value: unknown): boolean;
|
|
|
6
6
|
export declare function randomString(): string;
|
|
7
7
|
export declare function decodeString(stream: BinaryStream, value?: string | null): string | null;
|
|
8
8
|
export declare function encodeString(value: null | string, stream: OutputBinaryStream): void;
|
|
9
|
-
export
|
|
10
|
-
export
|
|
9
|
+
export type CharArray = string;
|
|
10
|
+
export type UAString = string | null;
|
|
11
11
|
export declare const decodeUAString: typeof decodeString;
|
|
12
12
|
export declare const encodeUAString: typeof encodeString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-basic-types",
|
|
3
|
-
"version": "2.90.
|
|
3
|
+
"version": "2.90.1",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module -basic-types",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"node-opcua-assert": "2.88.0",
|
|
15
|
-
"node-opcua-binary-stream": "2.
|
|
16
|
-
"node-opcua-buffer-utils": "2.
|
|
17
|
-
"node-opcua-date-time": "2.90.
|
|
15
|
+
"node-opcua-binary-stream": "2.90.1",
|
|
16
|
+
"node-opcua-buffer-utils": "2.90.1",
|
|
17
|
+
"node-opcua-date-time": "2.90.1",
|
|
18
18
|
"node-opcua-guid": "2.88.0",
|
|
19
|
-
"node-opcua-nodeid": "2.90.
|
|
20
|
-
"node-opcua-status-code": "2.
|
|
19
|
+
"node-opcua-nodeid": "2.90.1",
|
|
20
|
+
"node-opcua-status-code": "2.90.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "18.11.18",
|
|
24
|
-
"node-opcua-benchmarker": "2.
|
|
25
|
-
"node-opcua-debug": "2.90.
|
|
24
|
+
"node-opcua-benchmarker": "2.90.1",
|
|
25
|
+
"node-opcua-debug": "2.90.1",
|
|
26
26
|
"should": "^13.2.3"
|
|
27
27
|
},
|
|
28
28
|
"author": "Etienne Rossignon",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"internet of things"
|
|
41
41
|
],
|
|
42
42
|
"homepage": "http://node-opcua.github.io/",
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "3325ff5f8477fd058ba574d19e8128c36e3e831f"
|
|
44
44
|
}
|