Skip to content

Releases: unstoppabledomains/resolution

Cleanup

06 Jan 17:07
7e0e918
Compare
Choose a tag to compare

7.1.2

  • Removed unused code which caused build issues on some environments

Fix CI/CD package publishing

05 Jan 14:16
Compare
Choose a tag to compare
v7.1.1

Fix CI/CD package publishing

Validation of domain

04 Jan 18:06
a853912
Compare
Choose a tag to compare

Throw ResolutionErrorCode.InvalidDomainAddress error if domain contains special characters

  • Domain name is being validated according to the following regular expression: ^[.a-z0-9-]+$

ENS removal fix

16 Dec 13:07
51da748
Compare
Choose a tag to compare
v7.0.2

Update package.json

ENS Removal

04 Dec 15:10
Compare
Choose a tag to compare

Removed ENS support entirely as well as related dependencies

Remove relative imports from '.' path to avoid issues in bundlers

22 Nov 13:14
Compare
Choose a tag to compare

Remove relative imports from '.' path to avoid issues in bundlers

Resolution#owner method hotfix

10 Nov 16:24
Compare
Choose a tag to compare

6.0.2

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

L2 provider hotfix

05 Nov 18:19
Compare
Choose a tag to compare

Set correct L2 Polygon provider if use default configuration.

🚨🚨🚨Layer 2 is live!

04 Nov 20:24
bf8a211
Compare
Choose a tag to compare

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

Replaces `node-fetch` with `cross-fetch` package

17 Sep 14:13
Compare
Choose a tag to compare
v5.0.2

Replaces `node-fetch` with `cross-fetch` package