Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

arb-ethers-web3-bridge

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arb-ethers-web3-bridge - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

16

ethers-web3-bridge.js

@@ -487,8 +487,18 @@ /*

case 'eth_sendTransaction':
const txRequest = params[0]
signer.getAddress().then(
function (address) {
if (utils.getAddress(params[0].from) !== address) {
respondError('invalid from address', Errors.InvalidParams)
if (txRequest.from) {
if (utils.getAddress(txRequest.from) !== address) {
respondError('invalid from address', Errors.InvalidParams)
}
delete(txRequest.from)
}
signer.sendTransaction(params[0]).then(
if (txRequest.gas) {
txRequest.gasLimit = txRequest.gas
delete(txRequest.gas)
}
signer.sendTransaction(txRequest).then(
function (tx) {

@@ -495,0 +505,0 @@ respond(tx.hash)

2

package.json
{
"name": "arb-ethers-web3-bridge",
"version": "0.7.0",
"version": "0.7.1",
"description": "Arbitrum bridge for converting ethers provider into web3",

@@ -5,0 +5,0 @@ "author": "Offchain Labs, Inc.",

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