Socket
Socket
Sign inDemoInstall

web3

Package Overview
Dependencies
7
Maintainers
3
Versions
468
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1345
47Next

4.9.0

Diff

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]

mpetrunic
published 4.9.1-dev.fd2982d.0 •

mpetrunic
published 4.8.1-dev.f4e55bd.0 •

mpetrunic
published 4.8.1-dev.e0fc158.0 •

mpetrunic
published 4.8.1-dev.ac2e180.0 •

mpetrunic
published 4.8.1-dev.3904a46.0 •

mpetrunic
published 4.8.1-dev.553f270.0 •

mpetrunic
published 4.8.1-dev.32b6b29.0 •

mpetrunic
published 4.8.1-dev.2f73aa5.0 •

mpetrunic
published 4.8.1-dev.866469d.0 •

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc