ethers-providers
Advanced tools
Comparing version 2.1.16 to 2.1.17
@@ -9,2 +9,3 @@ 'use strict'; | ||
var JsonRpcProvider = require('./json-rpc-provider.js'); | ||
var Web3Provider = require('./web3-provider.js'); | ||
@@ -23,2 +24,3 @@ function getDefaultProvider(network) { | ||
JsonRpcProvider: JsonRpcProvider, | ||
Web3Provider: Web3Provider, | ||
@@ -25,0 +27,0 @@ isProvider: Provider.isProvider, |
@@ -57,2 +57,8 @@ 'use strict'; | ||
// Transform "gasLimit" to "gas" | ||
if (result.gasLimit != null && result.gas == null) { | ||
result.gas = result.gasLimit; | ||
delete result.gasLimit; | ||
} | ||
return result; | ||
@@ -212,2 +218,6 @@ } | ||
utils.defineProperty(JsonRpcProvider, '_hexlifyTransaction', function(transaction) { | ||
return getTransaction(transaction); | ||
}); | ||
module.exports = JsonRpcProvider; |
{ | ||
"name": "ethers-providers", | ||
"version": "2.1.16", | ||
"version": "2.1.17", | ||
"description": "Service provider for Ethereum wallet library.", | ||
@@ -5,0 +5,0 @@ "bugs": { |
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
60501
11
1559