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

web3-eth

Package Overview
Dependencies
Maintainers
4
Versions
486
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-eth - npm Package Versions

1
48

4.0.2-dev.51a59f9.0

Diff

mpetrunic
published 4.0.2-dev.a2a232f.0 •

mpetrunic
published 4.0.2-dev.023f02d.0 •

mpetrunic
published 4.0.2-dev.ab0f4cb.0 •

mpetrunic
published 4.0.2-dev.2130d22.0 •

mpetrunic
published 4.0.2-dev.f8a2533.0 •

mpetrunic
published 4.0.2-dev.af57eae.0 •

jdevcs
published 4.0.1 •

Changelog

Source

[4.0.1]

Release Notes:

Web3.js 4.0.1 is written in TypeScript and has many exciting features such as: Easy extensibility ( with web3 Plugins feature ) In compliance with ETH EL Specification Dynamic Contract Typing Native typescript ESM CJS native builds 85%+ test coverage Custom data formatting feature Reduced package size New packages ( web3-types, web3-errors, web3-validator, web3-rpc-methods ) Validation functionality using schema

Documentation: Web3.js documentation Web3 API Migration Guide from 1.x Plugin Developers Plugin Users

Detailed List of changes are mentioned under: 4.0.0-alpha.0 4.0.1-alpha.1 4.0.1-alpha.2 4.0.1-alpha.3 4.0.1-alpha.4 4.0.1-alpha.5 4.0.1-rc.0 4.0.1-rc.1 4.0.1-rc.2

If there are any bugs, improvements, optimizations or any new feature proposal feel free to create github issue, or post a pull request for contributions.

jdevcs
published 4.0.1-rc.2 •

Changelog

Source

[4.0.1-rc.2]

Added

web3-errors
  • InvalidPropertiesForTransactionTypeError with error code 429 (#6102)
web3-eth-contract
  • Added support for getPastEvents method to filter allEvents and specific event (#6010)
  • Added maxPriorityFeePerGas and maxFeePerGas in ContractOptions type and updated function using it in utils (#6118)
  • Added method's type autodetection by ABI param (#6137)
web3-types
  • Added filters param to the Filter type (#6010)
  • Added types JsonRpcSubscriptionResultOld, Web3ProviderMessageEventCallback. Added .on('data') type support for old providers (#6082)
  • Export for HardforksOrdered enum (#6102)
  • Export for Web3ValidationErrorObject type (#6102)
web3-utils
  • Optional hexstrict parameter added to numberToHex (#6004)

Fixed

web3-eth
  • Fixed ignoreGasPricing bug with wallet in context (#6071)
web3-eth-accounts
  • Fixed ESM import bugs reported in (#6032) and (#6034)
  • ESM projects will not need to run --experimental-specifier-resolution=node (#6127)

Changed

web3-core
  • Replaced Buffer for Uint8Array (#6004)
web3-errors
  • Nested Smart Contract error data is extracted at Eip838ExecutionError constructor and the nested error is set at innerError (#6045)
web3-eth
  • formatTransaction no longer throws a TransactionDataAndInputError if it's passed a transaction object with both data and input properties set (as long as they are the same value) (#6064)
  • Refactored documentation for rpc_method_wrappers to point to the previously duplicated documentation found under the Web3Eth class documentation (#6054)
  • Replaced Buffer for Uint8Array (#6004)
  • Refactored defaultTransactionTypeParser to return correct EIP-2718 types, prior implementation was prioritizing transaction.hardfork and ignoring the use of transaction.gasLimit. defaultTransactionTypeParser will now throw InvalidPropertiesForTransactionTypeErrors for properties are used that are incompatible with transaction.type (#6102)
  • prepareTransactionForSigning and defaultTransactionBuilder now accepts optional fillGasPrice flag and by default will not fill gas(#6071)
web3-eth-abi
  • Nested Smart Contract error data hex string is decoded when the error contains the data as object (when the data hex string is inside data.originalError.data or data.data) (#6045)
web3-eth-accounts
  • Replaced Buffer for Uint8Array (#6004)
  • The methods recover, encrypt, privateKeyToAddress does not support type Buffer but supports type Uint8Array (#6004)
  • The method parseAndValidatePrivateKey returns a type Uint8Array instead of type Buffer (#6004)
web3-providers-ipc
  • Replaced Buffer for Uint8Array (#6004)
web3-types
  • Removed chainId, to, data & input properties from NonPayableCallOptions
  • Replaced Buffer for Uint8Array (#6004)
  • types FMT_BYTES.BUFFER, Bytes and FormatType and encryption option types for salt and iv has replaced support for Buffer for Uint8Array (#6004)
  • Added internalType property to the AbiParameter type.
web3-utils
  • Replaced Buffer for Uint8Array (#6004)
  • The methods hexToBytes, randomBytes does not return type Buffer but type Uint8Array (#6004)
  • The methods sha3 and keccak256Wrapper does not accept type Buffer but type Uint8Array (#6004)
  • The method bytesToBuffer has been removed for the usage of bytesToUint8Array (#6004)
web3-validator
  • Replaced Buffer for Uint8Array (#6004)

Removed

web3-eth-ens
  • Removed non read-only methods (#6084)
web3-validator
  • Web3ValidationErrorObject type is now exported from web3-types package (#6102)
jdevcs
published 1.10.0 •

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