Socket
Socket
Sign inDemoInstall

ethers-providers

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethers-providers - npm Package Compare versions

Comparing version 2.1.16 to 2.1.17

web3-provider.js

2

index.js

@@ -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;

2

package.json
{
"name": "ethers-providers",
"version": "2.1.16",
"version": "2.1.17",
"description": "Service provider for Ethereum wallet library.",

@@ -5,0 +5,0 @@ "bugs": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc