Releases: unstoppabledomains/resolution
Releases · unstoppabledomains/resolution
Cleanup
Fix CI/CD package publishing
v7.1.1 Fix CI/CD package publishing
Validation of domain
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
v7.0.2 Update package.json
ENS Removal
Removed ENS support entirely as well as related dependencies
Remove relative imports from '.' path to avoid issues in bundlers
Remove relative imports from '.' path to avoid issues in bundlers
Resolution#owner method hotfix
6.0.2
- Resolution#owner method doesn't throw an error in case of empty resolver
L2 provider hotfix
Set correct L2 Polygon provider if use default configuration.
🚨🚨🚨Layer 2 is live!
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
- The list of affected methods:
Resolution#location
method is replaced byResolution#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
- Method returns:
Replaces `node-fetch` with `cross-fetch` package
v5.0.2 Replaces `node-fetch` with `cross-fetch` package