Skip to content

v 2.0.0

Compare
Choose a tag to compare
@merenkoff merenkoff released this 21 Jul 15:59
· 126 commits to master since this release

2.0.0

Breaking changes

  • Resolution#isSupported is now making an async call. Method signature was changed.
  • Configurations class accepts uns configs instead of cns.
    • For example: let resolution = try Resolution(configs: Configurations(uns: NamingServiceConfig(...uns config)));

New methods and features

  • Support new TLD's ( .888, .nft, .coin, .blockchain, .wallet, .x, .bitcoin, .dao )
  • Introduce Resolution#tokenURI - Retrieves the tokenURI from the registry smart contract
  • Introduce Resolution#tokenURIMetadata - Retrieves the data from the endpoint provided by tokenURI from the registry smart contract.
  • Introduce Resolution#unhash - Retrieves the domain name from token metadata that is provided by tokenURI from the registry smart contract
  • Return ENS support
  • Allowed custom networks for each of the naming services. If custom network has been set, it is required to set the proxyReader contract address for UNS and registryAddress for ENS && ZNS (see ./Sources/UnstoppableDomainsResolution/Resources/UNS/uns-config.json)