@types/bn.js
Advanced tools
Comparing version 4.11.1 to 4.11.2
@@ -51,2 +51,6 @@ // Type definitions for bn.js 4.11 | ||
); | ||
constructor( | ||
number: number | string | number[] | Buffer | BN, | ||
endian?: Endianness | ||
) | ||
@@ -69,2 +73,12 @@ /** | ||
/** | ||
* @description returns the maximum of 2 BN instances. | ||
*/ | ||
static max(left: BN, right: BN): BN; | ||
/** | ||
* @description returns the minimum of 2 BN instances. | ||
*/ | ||
static min(left: BN, right: BN): BN; | ||
/** | ||
* @description Convert number to red | ||
@@ -103,7 +117,13 @@ */ | ||
toArrayLike( | ||
ArrayType: Buffer | any[], | ||
ArrayType: typeof Buffer, | ||
endian?: Endianness, | ||
length?: number | ||
): Buffer | any[]; | ||
): Buffer; | ||
toArrayLike( | ||
ArrayType: any[], | ||
endian?: Endianness, | ||
length?: number | ||
): any[]; | ||
/** | ||
@@ -110,0 +130,0 @@ * @description convert to Node.js Buffer (if available). For compatibility with browserify and similar tools, use this instead: a.toArrayLike(Buffer, endian, length) |
{ | ||
"name": "@types/bn.js", | ||
"version": "4.11.1", | ||
"version": "4.11.2", | ||
"description": "TypeScript definitions for bn.js", | ||
@@ -27,4 +27,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "58078e96899cd0a2f3f282891443f580e991d51a5eff7b06570300d6d393c84b", | ||
"typesPublisherContentHash": "67c6f49010c66e0f08d1b571afada3f4158343f363dc91716cfd6888073f5aa2", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 26 Jun 2018 01:10:50 GMT | ||
* Last updated: Tue, 18 Sep 2018 17:44:24 GMT | ||
* Dependencies: node | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13117
429
0