@typechain/web3-v1
Advanced tools
Comparing version 2.1.0 to 2.2.0
# @typechain/web3-v1 | ||
## 2.2.0 | ||
### Minor Changes | ||
- 7f18b27: Accept BN as input for numbers | ||
## 2.1.0 | ||
### Minor Changes | ||
- 5761302: Support passing block number to call functions |
@@ -27,3 +27,3 @@ "use strict"; | ||
case 'uinteger': | ||
return 'number | string'; | ||
return 'number | string | BN'; | ||
case 'address': | ||
@@ -30,0 +30,0 @@ return 'string'; |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"license": "MIT", | ||
@@ -13,0 +13,0 @@ "repository": "https://github.com/ethereum-ts/Typechain", |
@@ -29,13 +29,13 @@ import BN from 'bn.js' | ||
export interface NonPayableTx { | ||
nonce?: string | number | ||
chainId?: string | number | ||
nonce?: string | number | BN | ||
chainId?: string | number | BN | ||
from?: string | ||
to?: string | ||
data?: string | ||
gas?: string | number | ||
gasPrice?: string | number | ||
gas?: string | number | BN | ||
gasPrice?: string | number | BN | ||
} | ||
export interface PayableTx extends NonPayableTx { | ||
value?: string | number | ||
value?: string | number | BN | ||
} | ||
@@ -42,0 +42,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25305