From 1558d458cc193242ccfb96df0443c67fc950adb4 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 2 Aug 2023 18:02:05 -0400 Subject: [PATCH] fix: queryDns needs to be dnsQuery --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 5cf4a4f..e5dabc4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,8 +13,8 @@ export class HandshakeClient extends NetworkClient { public async query(method: string, params: any): Promise { return this.callModuleReturn("query", { method, params }); } - public async queryDns(fqdn: string, type: string): Promise { - return this.callModuleReturn("queryDns", { fqdn, type }); + public async dnsQuery(fqdn: string, type: string): Promise { + return this.callModuleReturn("dnsQuery", { fqdn, type }); } }