feat: add ready method to ResolverModule
This commit is contained in:
parent
0de5765355
commit
62b7fb0292
|
@ -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 = (
|
||||||
|
|
Loading…
Reference in New Issue