node-opcua-basic-types 2.131.0 → 2.133.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/array.d.ts +1 -1
- package/dist/array.js +1 -1
- package/dist/byte_string.d.ts +3 -0
- package/dist/byte_string.js.map +1 -1
- package/dist/floats.js +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +10 -10
- package/source/array.ts +1 -1
- package/source/byte_string.ts +3 -0
- package/source/floats.ts +1 -1
- package/source/utils.ts +1 -1
package/dist/array.d.ts
CHANGED
package/dist/array.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.decodeArray = decodeArray;
|
|
|
7
7
|
*/
|
|
8
8
|
const node_opcua_assert_1 = require("node-opcua-assert");
|
|
9
9
|
/**
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
* @param arr the array to encode.
|
|
12
12
|
* @param stream the stream.
|
|
13
13
|
* @param encodeElementFunc The function to encode a single array element.
|
package/dist/byte_string.d.ts
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
5
5
|
export declare function isValidByteString(value: unknown): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
6
9
|
export type ByteString = Buffer;
|
|
7
10
|
export declare function randomByteString(value: unknown, len: number): ByteString;
|
|
8
11
|
export declare function encodeByteString(byteString: ByteString, stream: OutputBinaryStream): void;
|
package/dist/byte_string.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"byte_string.js","sourceRoot":"","sources":["../source/byte_string.ts"],"names":[],"mappings":";;AAQA,8CAEC;
|
|
1
|
+
{"version":3,"file":"byte_string.js","sourceRoot":"","sources":["../source/byte_string.ts"],"names":[],"mappings":";;AAQA,8CAEC;AAOD,4CAOC;AAED,4CAEC;AAED,4CAEC;AAED,4CA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
"name": "node-opcua-basic-types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.133.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,16 +12,16 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"node-opcua-assert": "2.120.0",
|
|
15
|
-
"node-opcua-binary-stream": "2.
|
|
16
|
-
"node-opcua-buffer-utils": "2.
|
|
17
|
-
"node-opcua-date-time": "2.
|
|
18
|
-
"node-opcua-guid": "2.
|
|
19
|
-
"node-opcua-nodeid": "2.
|
|
20
|
-
"node-opcua-status-code": "2.
|
|
15
|
+
"node-opcua-binary-stream": "2.133.0",
|
|
16
|
+
"node-opcua-buffer-utils": "2.133.0",
|
|
17
|
+
"node-opcua-date-time": "2.133.0",
|
|
18
|
+
"node-opcua-guid": "2.133.0",
|
|
19
|
+
"node-opcua-nodeid": "2.133.0",
|
|
20
|
+
"node-opcua-status-code": "2.133.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"node-opcua-benchmarker": "2.
|
|
24
|
-
"node-opcua-debug": "2.
|
|
23
|
+
"node-opcua-benchmarker": "2.133.0",
|
|
24
|
+
"node-opcua-debug": "2.133.0"
|
|
25
25
|
},
|
|
26
26
|
"author": "Etienne Rossignon",
|
|
27
27
|
"license": "MIT",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"internet of things"
|
|
39
39
|
],
|
|
40
40
|
"homepage": "http://node-opcua.github.io/",
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "921bb04f2e7ce3109dd051ff27a2210edf700344",
|
|
42
42
|
"files": [
|
|
43
43
|
"dist",
|
|
44
44
|
"source"
|
package/source/array.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { assert } from "node-opcua-assert";
|
|
|
5
5
|
import { BinaryStream, BinaryStreamSizeCalculator, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
* @param arr the array to encode.
|
|
10
10
|
* @param stream the stream.
|
|
11
11
|
* @param encodeElementFunc The function to encode a single array element.
|
package/source/byte_string.ts
CHANGED
|
@@ -10,6 +10,9 @@ export function isValidByteString(value: unknown): boolean {
|
|
|
10
10
|
return value === null || value instanceof Buffer;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
13
16
|
export type ByteString = Buffer;
|
|
14
17
|
|
|
15
18
|
export function randomByteString(value: unknown, len: number): ByteString {
|
package/source/floats.ts
CHANGED