@unstoppabledomains/resolution
Advanced tools
Comparing version 1.0.23 to 1.0.24
@@ -158,9 +158,11 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var resolver, addr; | ||
var tokenId, resolver, addr; | ||
return __generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, this.getResolver(domain)]; | ||
case 0: | ||
tokenId = this.namehash(domain); | ||
return [4 /*yield*/, this.getResolver(tokenId)]; | ||
case 1: | ||
resolver = _a.sent(); | ||
return [4 /*yield*/, this.fetchAddress(resolver, this.namehash(domain), currencyTicker)]; | ||
return [4 /*yield*/, this.ignoreResolutionError(resolutionError_2.ResolutionErrorCode.RecordNotFound, this.fetchAddress(resolver, this.namehash(domain), currencyTicker))]; | ||
case 2: | ||
@@ -167,0 +169,0 @@ addr = _a.sent(); |
{ | ||
"name": "@unstoppabledomains/resolution", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"description": "Domain Resolution for blockchain domains", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
## Unreleased | ||
## 1.0.21 | ||
## 1.0.24 | ||
* Bug fix, namehash the domain before asking for a resolver on cns. | ||
* Bug fix, ignore the resolutionErrorCode.RecordNotFound when looking up the crypto address. | ||
## 1.0.23 | ||
* Updated ens registry address according to https://github.com/ensdomains/ens/security/advisories/GHSA-8f9f-pc5v-9r5h | ||
@@ -5,0 +9,0 @@ * Removed test extension from ens resolvable tld's |
{ | ||
"name": "@unstoppabledomains/resolution", | ||
"version": "1.0.23", | ||
"version": "1.0.24", | ||
"description": "Domain Resolution for blockchain domains", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
469300
11779