From 0ef0d1cb8e5ade43d62203a1bba776f16d111e68 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 2 Aug 2023 17:37:14 -0400 Subject: [PATCH] feat: add queryDns method --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 6d45da4..5cf4a4f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,6 +13,9 @@ 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 }); + } } export const createClient = factory(HandshakeClient, MODULE);