+1
-1
| { | ||
| "name": "bn.js", | ||
| "version": "5.2.1", | ||
| "version": "5.2.2", | ||
| "description": "Big number implementation in pure javascript", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
+2
-2
@@ -47,3 +47,3 @@ # <img src="./logo.png" alt="bn.js" width="160" height="160" /> | ||
| * `n` - the argument of the function must be a plain JavaScript | ||
| Number. Decimals are not supported. | ||
| Number. Decimals are not supported. The number passed must be smaller than 0x4000000 (67_108_864). Otherwise, an error is thrown. | ||
| * `rn` - both argument and return value of the function are plain JavaScript | ||
@@ -73,3 +73,3 @@ Numbers. Decimals are not supported. | ||
| which must behave like an `Array` | ||
| * `a.toBuffer(endian, length)` - convert to Node.js Buffer (if available). For | ||
| * `a.toBuffer(endian, length)` - convert to Node.js Buffer (if available). `length` in bytes. For | ||
| compatibility with browserify and similar tools, use this instead: | ||
@@ -76,0 +76,0 @@ `a.toArrayLike(Buffer, endian, length)` |
Sorry, the diff of this file is too big to display
99205
0.16%3039
0.03%