Skip to content

Latest commit

 

History

History
167 lines (110 loc) · 5.96 KB

CHANGELOG.md

File metadata and controls

167 lines (110 loc) · 5.96 KB

Unreleased

1.0.23

1.0.22

  • Added size check for the package with limit 500.00 KB

1.0.20

  • Added Resolution#resolver(domain:string): Promise
  • Removed ethers keccak256 lodash from package.json

1.0.19

  • Included the AbiEncoder from ethers-js
  • removed folowing packages
    • "eth-ens-namehash",

1.0.18

  • Removed unused ethers.js

1.0.17

  • Fixed a bug with cns throws RecordNotFound instead of ResolutionErrorCode.UnregisteredDomain in Cns#address
  • Added a way to connect Infura API secret key from .env files (should be INFURA=)

1.0.16

  • Resolution#childhash(parent: NodeHash, label: string) -> method to return a childhash

1.0.15

  • Resolution#ipfsHash(domain:string): Promise -> method to return an ipfsHash from the domain's records
  • Deprecate Resolution#ipfsRedirect
  • Resolution#httpUrl(domain:string): Promise -> method to use instead of depricated Resolution#ipfsRedirect, returns an http url from the domain's records
  • Resolution#email(domain:string): Promise -> method to return an email from the domain's records

1.0.14

  • Bugfix #namehash for ZNS

1.0.13

  • Domain that starts and ends with '-' are not valid anymore in ENS.
  • Bugfix Resolution#resolve on ENS domain when resolver has no address record
  • Resolution#isValidHash method - checks wheather a domain name matches the given hash from the blockchain

1.0.9-1.0.10

  • Revert back changes made for browser / node detection.

1.0.8

  • Support Resolution#namehash of .crypto root node

1.0.7

  • Fixed compatibility with some versions of hash.js library

1.0.5

  • Instead of NoRecordFound returning UnregisteredDomain error for .crypto in situations when there is no resolver

1.0.4

  • Raise ResolutionError with NamingServiceDown code on error on ethereum RPC response
  • BREAKING CHANGE: use capital letter for service name inside Resolution#resolve => {meta: {type}}
  • NamingService#serviceName(domain: string): string

1.0.3

  • Fixed bug with not having a ttl record on the blockchain. Now returns 0 instead of throwing an error
  • Changed main registry address for CNS to 0xD1E5b0FF1287aA9f9A268759062E4Ab08b9Dacbe

1.0.2

  • Fixed bug with not finding cointypes when currency ticker is given as smallcase

1.0.1

  • .crypto support with Resolution.cns

0.3.6

  • Fix root tld support for ZNS

0.3.4

  • Deprecated UNCLAIMED_DOMAIN_RESPONSE (use UnclaimedDomainResponse instead)
  • Excluded private, internal (public) and not exported symbols from the documentation
  • Excluded internal (public) symbols from the declaration files
  • Added ResolutionErrorCode enum for more convenient error handling

0.3.3

  • NamingService#record -> gets an arbitrary record from the corresponding naming service
  • Resolution#ipfsHash -> gets IPFS hash for a specific supported domain
  • Resolution#email -> gets ipfs email field of whois object for a specific supported domain
  • Resolution#ipfsRedirect -> gets ipfs redirect url record for a specific supported domain

0.3.1 - 0.3.2

  • Resolution#owner method - returns an owner address of the domain
  • Fixed issue with user agent on browsers instances for Resolution
  • Added docs generation scripts
  • Unstoppable API is not initilized when blockchain param is true inside the Resolution configuration

0.3.0

  • Resolution#addressOrThrow - new method that throws ResolutionError if currency address is not found
  • Resolution#namehash - new method for namehashing the domain name. Name hash of a domain is an ID that is used to store the information about the domain on the blockchain. If you would browse the blockchain, you would never see domain names, just name hashes.
  • Now throwing ResolutionError when ENS or ZNS naming service is down
  • ENS multicoin support

0.2.43

  • Resolution#addressOrThrow - new method that throws ResolutionError if currency address is not found
  • Resolution#namehash - new method for namehashing the domain name. Name hash of a domain is an ID that is used to store the information about the domain on the blockchain. If you would browse the blockchain, you would never see domain names, just name hashes.
  • Now throwing ResolutionError when ENS or ZNS naming service is down
  • ENS multicoin support

0.2.42

  • Added documentation to Resolution, ENS and ZNS files
  • Connected typedoc to the project
  • Added user-agent to fetch calls for https://unstoppabledomains.com/
  • Specified scripts for automating generation of docs

0.2.41

  • Make Zns#getContractField #getContractMapValue and #getResolverRecordsStructure pseudo-private methods by adding _ in front of the names
  • Added Zns#Resolution method which returns everything what is stored on zilliqa for specific domain

0.2.39 - 0.2.40

  • Zns network and url options support
  • Ens and Zns support custom contracts registryAddress
  • Adjust for breaking change at GetSmartContractSubState Zilliqa RPC call

0.2.38

  • Updated zilliqa library to 0.8.1

0.2.37

  • Support node 12
  • Transform owner old zil address format to a new zil format

0.2.36

  • Add return type for Ens#resolve
  • Add isSupportedDomainInNetwork in Resolution
  • Add isSupportedNetwork for ZNS

0.2.35

  • Make Ens#network and Ens#url public properties
  • Change default ENS source protocol from wss (websocket) to https
  • Make Ens web3, ensContract and registrarContract private properties
  • Ability to provide ENS network configuration as string like mainnet, testnet etc.
  • Make properties of Resolution class readonly

0.2.34 - 0.2.31

  • Added isSupportedNetwork method for ens
  • Make isSupportedNetwork configurable from outside by passing network agrument
  • isSupportedDomain is no longer checks for supported network inside the ens

0.2.30 and earlier

  • Changelog is not tracked