Socket
Socket
Sign inDemoInstall

web3

Package Overview
Dependencies
0
Maintainers
4
Versions
467
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
47Next

4.9.1-dev.9086b98.0

Diff

mpetrunic
published 4.9.1-dev.b63af9f.0 •

mpetrunic
published 4.9.1-dev.f687df6.0 •

mpetrunic
published 4.9.1-dev.7084665.0 •

mpetrunic
published 4.9.1-dev.683be62.0 •

mpetrunic
published 4.9.1-dev.22c07ad.0 •

mpetrunic
published 4.9.1-dev.962b99f.0 •

mpetrunic
published 4.9.1-dev.692987a.0 •

mpetrunic
published 4.9.1-dev.7537f03.0 •

luu-alex
published 4.9.0 •

Changelog

Source

[4.9.0]

Added

web3
  • Updated type Web3EthInterface.accounts to includes privateKeyToAccount,privateKeyToAddress,and privateKeyToPublicKey (#6762)
web3-core
  • defaultReturnFormat was added to the configuration options. (#6947)
web3-errors
  • Added InvalidIntegerError error for fromWei and toWei (#7052)
web3-eth
  • defaultReturnFormat was added to all methods that have ReturnType param. (#6947)
  • getTransactionFromOrToAttr, waitForTransactionReceipt, trySendTransaction, SendTxHelper was exported (#7000)
web3-eth-contract
  • defaultReturnFormat was added to all methods that have ReturnType param. (#6947)
web3-eth-ens
  • defaultReturnFormat was added to all methods that have ReturnType param. (#6947)
web3-net
  • defaultReturnFormat was added to all methods that have ReturnType param. (#6947)
web3-types
  • Added signature to type AbiFunctionFragment (#6922)
  • update type Withdrawals, block and BlockHeaderOutput to include properties of eip 4844, 4895, 4788 (#6933)
web3-utils
  • toWei add warning when using large numbers or large decimals that may cause precision loss (#6908)
  • toWei and fromWei now supports integers as a unit. (#7053)

Fixed

web3-eth
  • Fixed issue with simple transactions, Within checkRevertBeforeSending if there is no data set in transaction, set gas to be 21000 (#7043)
web3-utils
  • toWei support numbers in scientific notation (#6908)
  • toWei and fromWei trims according to ether unit successfuly (#7044)
web3-validator
  • The JSON schema conversion process now correctly assigns an id when the abi.name is not available, for example, in the case of public mappings. (#6981)
  • browser entry point that was pointing to an non-existing bundle file was removed from package.json (#7015)
web3-core
  • Set a try catch block if processesingError fails (#7022)

Changed

web3-core
  • Interface RequestManagerMiddleware was changed (#7003)
web3-eth
  • Added parameter customTransactionReceiptSchema into methods emitConfirmation, waitForTransactionReceipt, watchTransactionByPolling, watchTransactionBySubscription, watchTransactionForConfirmations (#7000)
  • Changed functionality: For networks that returns baseFeePerGas===0x0 fill maxPriorityFeePerGas and maxFeePerGas by getGasPrice method (#7050)
web3-eth-abi
  • Dependencies updated
web3-rpc-methods
  • Change estimateGas method to add possibility pass Transaction type (#7000)

[Unreleased]

2345
47Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc