Expose BigNumber object for TypeScript.

This commit is contained in:
Richard Moore 2017-11-19 22:25:41 -05:00
parent 67a29eb92e
commit 03c10086e7
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295
3 changed files with 4 additions and 2 deletions

@ -142,5 +142,6 @@ function bigNumberify(value) {
module.exports = {
isBigNumber: isBigNumber,
bigNumberify: bigNumberify
bigNumberify: bigNumberify,
BigNumber: BigNumber
};

@ -36,6 +36,7 @@ module.exports = {
stripZeros: convert.stripZeros,
bigNumberify: bigNumber.bigNumberify,
BigNumber: bigNumber.BigNumber,
hexlify: convert.hexlify,

@ -1,6 +1,6 @@
{
"name": "ethers-utils",
"version": "2.1.6",
"version": "2.1.7",
"description": "Utilities for the Ethers Ethereum library.",
"bugs": {
"url": "http://github.com/ethers-io/ethers.js/issues",