Commit Graph

12 Commits

Author SHA1 Message Date
Gaylor Bosson
0d06d2e220 fix(bn.js): define RedBN as an extension of BN
Previous definition was considering this as a totally different class
but it is in fact the same class with extended functionality.
2019-01-14 15:33:16 +01:00
micahriggan
9d5618e282
Constructor accepts 'hex' as a base
Currently the typings say base can only be a number
24cc2dd51b/lib/bn.js (L85)
2018-10-25 21:32:39 -04:00
Daniel Byrne
98dc6cb9f3 updates some definitions of bn.js 2018-09-12 10:43:15 -07:00
HenryNguyen5
38df25eaa6 Change isBN type return to type guard 2018-06-25 13:29:59 -04:00
HenryNguyen5
cf7782863b Change object to any 2018-06-22 16:04:46 -04:00
HenryNguyen5
02ffeb0ca3 Fix test 2018-06-22 15:59:12 -04:00
HenryNguyen5
0b02625761 Revert esmodule changes 2018-06-22 15:53:49 -04:00
HenryNguyen5
1182aba7a1 Fix lint errors 2018-06-22 15:46:07 -04:00
HenryNguyen5
f01ac6f070 Add contributor and compiler version used 2018-06-22 15:34:35 -04:00
HenryNguyen5
0b82a39c92 Add interop for module import syntax 2018-06-22 15:15:45 -04:00
HenryNguyen5
82d12f3992 Update bn.js with more descriptivity 2018-06-22 15:15:34 -04:00
Leonid Logvinov
b3a60ecd4d Add types for bn.js (#26120) 2018-05-29 15:43:03 -07:00