node-opcua-numeric-range
Advanced tools
Comparing version 2.0.0-alpha.11 to 2.0.0-alpha.12
import { UAString } from "node-opcua-basic-types"; | ||
import { BinaryStream } from "node-opcua-binary-stream"; | ||
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; | ||
export declare const schemaNumericRange: { | ||
@@ -7,3 +7,3 @@ name: string; | ||
defaultValue: () => NumericRange; | ||
encode: (value: NumericRange | null, stream: BinaryStream) => void; | ||
encode: (value: NumericRange | null, stream: OutputBinaryStream) => void; | ||
decode: (stream: BinaryStream) => NumericRange; | ||
@@ -78,8 +78,8 @@ random: () => NumericRange; | ||
}; | ||
encode(stream: BinaryStream): void; | ||
encode(stream: OutputBinaryStream): void; | ||
decode(stream: BinaryStream): void; | ||
} | ||
export declare function encodeNumericRange(numericRange: NumericRange, stream: BinaryStream): void; | ||
export declare function encodeNumericRange(numericRange: NumericRange, stream: OutputBinaryStream): void; | ||
export declare function decodeNumericRange(stream: BinaryStream): NumericRange; | ||
declare function coerceNumericRange(value: any | string | NumericRange | null | number[]): NumericRange; | ||
export {}; |
{ | ||
"name": "node-opcua-numeric-range", | ||
"version": "2.0.0-alpha.11", | ||
"version": "2.0.0-alpha.12", | ||
"description": "pure nodejs OPCUA SDK - module -numeric-range", | ||
@@ -15,7 +15,7 @@ "main": "./dist/index.js", | ||
"node-opcua-assert": "^2.0.0-alpha.10", | ||
"node-opcua-basic-types": "^2.0.0-alpha.11", | ||
"node-opcua-binary-stream": "^2.0.0-alpha.10", | ||
"node-opcua-basic-types": "^2.0.0-alpha.12", | ||
"node-opcua-binary-stream": "^2.0.0-alpha.12", | ||
"node-opcua-enum": "^2.0.0-alpha.10", | ||
"node-opcua-factory": "^2.0.0-alpha.11", | ||
"node-opcua-status-code": "^2.0.0-alpha.10", | ||
"node-opcua-factory": "^2.0.0-alpha.12", | ||
"node-opcua-status-code": "^2.0.0-alpha.12", | ||
"underscore": "^1.9.1" | ||
@@ -25,3 +25,3 @@ }, | ||
"node-opcua-nodeid": "^2.0.0-alpha.11", | ||
"node-opcua-packet-analyzer": "^2.0.0-alpha.11", | ||
"node-opcua-packet-analyzer": "^2.0.0-alpha.12", | ||
"node-opcua-test-helpers": "^2.0.0-alpha.9", | ||
@@ -43,3 +43,3 @@ "should": "13.2.3" | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "bf7ea24732637e662af9b5b63941388e89fd3427" | ||
"gitHead": "61699a99c75c631388f2e8d8e33eb209649c5eac" | ||
} |
@@ -8,3 +8,3 @@ /** | ||
import { decodeString, encodeString, UAString } from "node-opcua-basic-types"; | ||
import { BinaryStream } from "node-opcua-binary-stream"; | ||
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; | ||
import { registerBasicType } from "node-opcua-factory"; | ||
@@ -54,3 +54,3 @@ import { StatusCodes } from "node-opcua-status-code"; | ||
encode: (value: NumericRange | null, stream: BinaryStream) => { | ||
encode: (value: NumericRange | null, stream: OutputBinaryStream) => { | ||
assert(value === null || value instanceof NumericRange); | ||
@@ -537,3 +537,3 @@ const strValue = (value === null) ? null : value.toEncodeableString(); | ||
public encode(stream: BinaryStream) { | ||
public encode(stream: OutputBinaryStream) { | ||
encodeString(this.toEncodeableString(), stream); | ||
@@ -714,3 +714,3 @@ } | ||
export function encodeNumericRange(numericRange: NumericRange, stream: BinaryStream) { | ||
export function encodeNumericRange(numericRange: NumericRange, stream: OutputBinaryStream) { | ||
assert(numericRange instanceof NumericRange); | ||
@@ -717,0 +717,0 @@ numericRange.encode(stream); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74570
22563