github-actions
released this
07 Feb 12:17
·
180 commits
to master
since this release
Major Changes
-
#105
6b2e34c
Thanks @aaronmgdr! - Remove export compareBNThis would have been used to sort BN.js numbers. Generic comparator functions are not really the scope of this library. Removing it allows the bn.js dependency to be removed too. If you were using this function it can be re-implemented as
export function compareBN(a: BN, b: BN) { if (a.eq(b)) { return 0 } else if (a.lt(b)) { return -1 } else { return 1 } }