From c6ca4f81ca326ddf7bdc543f4ed86f4a0fcce85f Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 19 Aug 2022 12:15:41 -0400 Subject: [PATCH] *Update dist --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index daeab9e..4f9fafc 100644 --- a/dist/index.js +++ b/dist/index.js @@ -27,7 +27,7 @@ export default class Handshake extends AbstractResolverModule { if (isIp(domain)) { return resolverEmptyResponse(); } - if ("subquery" in options?.options) { + if (options?.options && "subquery" in options.options) { return resolverEmptyResponse(); } const chainRecords = await this.query(tld, bypassCache);