*Update dist
This commit is contained in:
parent
74f60ea59a
commit
43944cb5b5
|
@ -5,7 +5,11 @@ const HIP5_EXTENSIONS = ["eth", "_eth"];
|
||||||
export default class Handshake extends AbstractResolverModule {
|
export default class Handshake extends AbstractResolverModule {
|
||||||
async buildBlacklist() {
|
async buildBlacklist() {
|
||||||
const blacklist = new Set();
|
const blacklist = new Set();
|
||||||
for (const resolver of this.resolver.resolvers) {
|
let resolvers = this.resolver.resolvers;
|
||||||
|
if (isPromise(resolvers)) {
|
||||||
|
resolvers = await resolvers;
|
||||||
|
}
|
||||||
|
for (const resolver of resolvers) {
|
||||||
let tlds = resolver.getSupportedTlds();
|
let tlds = resolver.getSupportedTlds();
|
||||||
if (isPromise(tlds)) {
|
if (isPromise(tlds)) {
|
||||||
tlds = await tlds;
|
tlds = await tlds;
|
||||||
|
|
Loading…
Reference in New Issue