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);