node-opcua-basic-types 2.90.0 → 2.92.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/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 declare type UABoolean = boolean;
7
+ export type UABoolean = boolean;
8
8
  export declare const encodeUABoolean: typeof encodeBoolean;
9
9
  export declare const decodeUABoolean: typeof decodeBoolean;
@@ -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 declare type ByteString = Buffer;
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;
@@ -3,4 +3,4 @@
3
3
  */
4
4
  export * from "node-opcua-date-time";
5
5
  import { DateWithPicoseconds } from "node-opcua-date-time";
6
- export declare type DateTime = Date | DateWithPicoseconds | null;
6
+ export type DateTime = Date | DateWithPicoseconds | null;
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 declare type Float = number;
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 declare type Double = number;
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 declare type Guid = string;
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
@@ -16,4 +16,4 @@ export * from "./node_id";
16
16
  export * from "./round_to_float";
17
17
  export * from "./status_code";
18
18
  export * from "./string";
19
- export declare type ByteString = Buffer;
19
+ export type ByteString = Buffer;
@@ -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 declare type UInt8 = number;
4
- export declare type UInt16 = number;
5
- export declare type UInt32 = number;
6
- export declare type UInt64 = UInt32[];
7
- export declare type Int8 = number;
8
- export declare type Int16 = number;
9
- export declare type Int32 = number;
10
- export declare type Int64 = UInt32[];
11
- export declare type Byte = UInt8;
12
- export declare type SByte = Int8;
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;
@@ -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 declare type LocaleId = UAString;
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 declare type CharArray = string;
10
- export declare type UAString = string | null;
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.0",
3
+ "version": "2.92.0",
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.89.0",
16
- "node-opcua-buffer-utils": "2.88.0",
17
- "node-opcua-date-time": "2.90.0",
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.0",
20
- "node-opcua-status-code": "2.89.0"
19
+ "node-opcua-nodeid": "2.90.1",
20
+ "node-opcua-status-code": "2.90.1"
21
21
  },
22
22
  "devDependencies": {
23
- "@types/node": "18.11.18",
24
- "node-opcua-benchmarker": "2.88.0",
25
- "node-opcua-debug": "2.90.0",
23
+ "@types/node": "18.15.0",
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": "d55f9150c3ffa5b86fbe1a0baba69a2543c3090a"
43
+ "gitHead": "6ee0f52395af2c1f4f03518e675dc3f6edb7a455"
44
44
  }