Expose BigNumber object for TypeScript.
This commit is contained in:
parent
67a29eb92e
commit
03c10086e7
@ -142,5 +142,6 @@ function bigNumberify(value) {
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
isBigNumber: isBigNumber,
|
isBigNumber: isBigNumber,
|
||||||
bigNumberify: bigNumberify
|
bigNumberify: bigNumberify,
|
||||||
|
BigNumber: BigNumber
|
||||||
};
|
};
|
||||||
|
@ -36,6 +36,7 @@ module.exports = {
|
|||||||
stripZeros: convert.stripZeros,
|
stripZeros: convert.stripZeros,
|
||||||
|
|
||||||
bigNumberify: bigNumber.bigNumberify,
|
bigNumberify: bigNumber.bigNumberify,
|
||||||
|
BigNumber: bigNumber.BigNumber,
|
||||||
|
|
||||||
hexlify: convert.hexlify,
|
hexlify: convert.hexlify,
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ethers-utils",
|
"name": "ethers-utils",
|
||||||
"version": "2.1.6",
|
"version": "2.1.7",
|
||||||
"description": "Utilities for the Ethers Ethereum library.",
|
"description": "Utilities for the Ethers Ethereum library.",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "http://github.com/ethers-io/ethers.js/issues",
|
"url": "http://github.com/ethers-io/ethers.js/issues",
|
||||||
|
Loading…
Reference in New Issue
Block a user