Expose BigNumber object for TypeScript.
This commit is contained in:
parent
67a29eb92e
commit
03c10086e7
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user