feat: add ready method to ResolverModule

This commit is contained in:
Derrick Hammer 2023-07-15 04:12:24 -04:00
parent 0de5765355
commit 62b7fb0292
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 5 additions and 0 deletions

View File

@ -40,9 +40,14 @@ export class ResolverModule extends Client {
return resolverError(e as Error); return resolverError(e as Error);
} }
} }
async getSupportedTlds(): Promise<string[]> { async getSupportedTlds(): Promise<string[]> {
return this.callModuleReturn("getSupportedTlds"); return this.callModuleReturn("getSupportedTlds");
} }
async ready(): Promise<any> {
return this.callModuleReturn("ready");
}
} }
export const createModule = ( export const createModule = (