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

@unstoppabledomains/resolution

Package Overview
Dependencies
Maintainers
10
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unstoppabledomains/resolution - npm Package Versions

1
11

7.0.2

Diff

sudoryan
published 7.0.0 •

Changelog

Source

7.0.0

  • ENS support is completely removed
  • Removes bip44-constants, @ensdomains/address-encoder, and content-hash package dependencies
  • Methods that query ENS domains (.eth, .luxe, .xyz, .kred, .reverse) throw UnsupportedDomain
sudoryan
published 6.0.3 •

Changelog

Source

6.0.3

  • Remove relative imports to avoid issues in bundlers. Restrict relative imports by adding eslint rule.
sudoryan
published 6.0.2 •

Changelog

Source

6.0.2

  • Resolution#owner method doesn't throw an error in case of empty resolver
sudoryan
published 6.0.1 •

Changelog

Source

6.0.1

  • Set correct polygon-mainnet provider if use default settings
sudoryan
published 6.0.0 •

Changelog

Source

6.0.0

Breaking changes

  • CLI tool was removed. Please use new binary CLI tool instead: Github repo.
  • Constructor has changed. If you used uns configuration you have to specify parameters for L1 and L2 locations (Ethereum and Polygon mainnets).
  • ENS support is deprecated and will be removed in future.
  • Factory methods has changed. All of them requires provide L1 and L2 locations configuration for UNS. For example: uns: {locations: {L1: ..., L2...}}.
    • The list of affected methods:
      • Resolution#infura
      • Resolution#fromResolutionProvider
      • Resolution#fromEthereumEip1193Provider
      • Resolution#fromWeb3Version0Provider
      • Resolution#fromWeb3Version1Provider
      • Resolution#fromEthersProvider
  • Resolution#location method is replaced by Resolution#locations.

New methods and features

  • 🎉 🎉 🎉 Add Polygon Layer 2 support!
  • Add Resolution#locations method which will help to determine domains location (blockhain, networkId) and useful metadata like owner, resolver, registry addresses, provider url if possible.
    • Method returns:
      • Domain blockhain (ETH or MATIC)
      • Blockchain network id (numeric)
      • Owner address
      • Resolver address
      • Registry address
      • Provider URL if possible
        • Infura URL by default
sudoryan
published 5.0.2 •

Changelog

Source

5.0.2

  • Replaces node-fetch with cross-fetch package
sudoryan
published 5.0.1 •

Changelog

Source

5.0.1

  • Add elliptic package dependency in order to enable twitter verification support by default
sudoryan
published 5.0.0 •

Changelog

Source

5.0.0

Breaking changes

  • Constructor has changed. If you used cns configurations rename "cns" it to "uns" instead.
    • For example: new Resolution({sourceConfig: {uns: {...uns config}}})
  • Method Resolution#fromEip1193Provider was renamed to Resolution#fromEthereumEip1193Provider
  • Factory methods has changed. All of them requires {uns: {... uns config}} in parameters instead of cns.
    • The list of affected factory methods:
      • Resolution#autoNetwork
      • Resolution#infura
      • Resolution#fromEthereumEip1193Provider (former Resolution#fromEip1193Provider)
      • Resolution#fromWeb3Version0Provider
      • Resolution#fromWeb3Version1Provider
      • Resolution#fromEthersProvider
  • Resolution#isSupportedDomain method is now asynchronous

New methods and features

  • 🎉 🎉 🎉 Added support for new TLD's ( .888, .nft, .coin, .blockchain, .wallet, .x, .bitcoin, .dao )
  • Typo fix: Rename Eip1993Factories() -> Eip1193Factories(). Old name is still available under the alias Eip1993Factories
  • Introduced new method Resolution#registryAddress -> Retrieves address of registry contract used for domain
  • Introduced new method Resolution#unhash -> Retrieves the domain name from tokenId by parsing registry smart contract event logs
  • Introduced new method Resolution#reverse -> This method is only for ens at the moment. Reverse the ens address to a ens registered domain name
  • Introduced new method Resolution#tokenURI -> Retrieves the tokenURI from the registry smart contract
  • Introduced new method Resolution#tokenURIMetadata -> etrieves the data from the endpoint provided by tokenURI from the registry smart contract
  • Introduced new factory method Resolution#fromZilliqaProvider -> Creates a resolution instance with configured provider from Zilliqa provider
  • Introduced new factory method Resolution#fromResolutionProvider -> Creates a resolution from Resolution compatitable provider
  • Introduced new factory method Resolution#fromEthereumEip1193Provider -> Creates a resolution from EIP-1193 compatitable provider
  • Return ENS support
  • Add custom network support for ENS
kirill.unstoppable
published 2.2.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