Socket
Socket
Sign inDemoInstall

web3-eth-ens

Package Overview
Dependencies
68
Maintainers
4
Versions
347
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    web3-eth-ens

This package has ENS functions for interacting with Ethereum Name Service.


Version published
Weekly downloads
392K
decreased by-3.94%
Maintainers
4
Install size
13.2 MB
Created
Weekly downloads
 

Changelog

Source

[4.2.0]

Added

web3
  • Various web3 sub packages has new functions details are in root changelog
web3-eth
  • Added ALL_EVENTS and ALL_EVENTS_ABI constants, SendTransactionEventsBase type, decodeEventABI method (#6410)
web3-eth-accounts
  • Added public function privateKeyToPublicKey
  • Added exporting BaseTransaction from the package (#6493)
  • Added exporting txUtils from the package (#6493)
web3-types
  • Interface EventLog was added. (#6410)
web3-utils
  • As a replacment of the node EventEmitter, a custom EventEmitter has been implemented and exported. (#6398)

Fixed

web3-core
  • Fix the issue: "Uncaught TypeError: Class extends value undefined is not a constructor or null #6371". (#6398)
web3-errors
  • Added new SchemaFormatError (#6434)
web3-eth
  • Ensure provider.supportsSubscriptions exists before watching by subscription (#6440)
  • Fixed param sent to checkRevertBeforeSending in sendSignedTransaction
  • Fixed defaultTransactionBuilder for value issue (#6509)
web3-eth-abi
  • Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number #6187" (#6506)
web3-eth-accounts
  • Fixed recover function, v will be normalized to value 0,1 (#6344)
web3-providers-http
  • Fix issue lquixada/cross-fetch#78, enabling to run web3.js in service worker (#6463)
web3-providers-ipc
  • Fixed bug in chunks processing logic (#6496)
web3-providers-ws
  • Fixed bug in chunks processing logic (#6496)
web3-utils
  • Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number #6187" (#6506)
  • Fixed bug in chunks processing logic (#6496)
web3-validator
  • Multi-dimensional arrays are now handled properly when parsing ABIs (#6435)
  • Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number #6187" (#6506)
  • Validator will now properly handle all valid numeric type sizes: intN / uintN where 8 <= N <= 256 and N % 8 == 0 (#6434)
  • Will now throw SchemaFormatError when unsupported format is passed to convertToZod method (#6434)

Changed

web3
  • Dependencies updated
web3-core
  • defaultTransactionType is now type 0x2 instead of 0x0 (#6282)
  • Allows formatter to parse large base fee (#6456)
  • The package now uses EventEmitter from web3-utils that works in node envrioment as well as in the browser. (#6398)
web3-eth
  • Transactions will now default to type 2 transactions instead of type 0, similar to 1.x version. (#6282)
web3-eth-contract
  • The events property was added to the receipt object (#6410)
web3-eth-ens
  • Dependencies updated
web3-eth-iban
  • Dependencies updated
web3-eth-personal
  • Dependencies updated
web3-net
  • Dependencies updated
web3-providers-http
  • Bump cross-fetch to version 4 (#6463).
web3-rpc-methods
  • Dependencies updated

Readme

Source

web3.js

web3.js - ENS

ES Version Node Version NPM Package Downloads

This is a sub-package of web3.js.

web3-eth-ens This package has ENS functions for interacting with Ethereum Name Service.

Installation

You can install the package either using NPM or using Yarn

Using NPM

npm install web3-eth-ens

Using Yarn

yarn add web3-eth-ens

Getting Started

Prerequisites

Package.json Scripts

ScriptDescription
cleanUses rimraf to remove dist/
buildUses tsc to build package and dependent packages
lintUses eslint to lint package
lint:fixUses eslint to check and fix any warnings
formatUses prettier to format the code
testUses jest to run unit tests
test:integrationUses jest to run tests under /test/integration
test:unitUses jest to run tests under /test/unit

FAQs

Last updated on 26 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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