Compare commits

...

2 Commits

Author SHA1 Message Date
Derrick Hammer 69638955f1
*Update dist 2023-02-19 16:34:33 -05:00
Derrick Hammer 63cf33e617
*Fix getResolvers method 2023-02-19 16:34:18 -05:00
4 changed files with 5 additions and 5 deletions

2
dist/index.d.ts vendored
View File

@ -2,7 +2,7 @@ import { Client } from "@lumeweb/libkernel-universal";
export declare class DnsClient extends Client { export declare class DnsClient extends Client {
register(): Promise<void>; register(): Promise<void>;
clear(): Promise<void>; clear(): Promise<void>;
getResolvers(): Promise<void>; getResolvers(): Promise<string>;
ready(): Promise<void>; ready(): Promise<void>;
} }
export declare const createClient: (...args: any) => DnsClient; export declare const createClient: (...args: any) => DnsClient;

2
dist/index.d.ts.map vendored
View File

@ -1 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAW,MAAM,8BAA8B,CAAC;AAI/D,qBAAa,SAAU,SAAQ,MAAM;IACtB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAGzB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAGtB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAG7B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGpC;AAED,eAAO,MAAM,YAAY,6BAAwC,CAAC"} {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAW,MAAM,8BAA8B,CAAC;AAI/D,qBAAa,SAAU,SAAQ,MAAM;IACtB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAGzB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAGtB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC;IAG/B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGpC;AAED,eAAO,MAAM,YAAY,6BAAwC,CAAC"}

2
dist/index.js vendored
View File

@ -8,7 +8,7 @@ export class DnsClient extends Client {
return this.callModuleReturn("clear"); return this.callModuleReturn("clear");
} }
async getResolvers() { async getResolvers() {
return this.callModuleReturn("clear"); return this.callModuleReturn("getResolvers");
} }
async ready() { async ready() {
return this.callModuleReturn("ready"); return this.callModuleReturn("ready");

View File

@ -9,8 +9,8 @@ export class DnsClient extends Client {
public async clear(): Promise<void> { public async clear(): Promise<void> {
return this.callModuleReturn("clear"); return this.callModuleReturn("clear");
} }
public async getResolvers(): Promise<void> { public async getResolvers(): Promise<string> {
return this.callModuleReturn("clear"); return this.callModuleReturn("getResolvers");
} }
public async ready(): Promise<void> { public async ready(): Promise<void> {
return this.callModuleReturn("ready"); return this.callModuleReturn("ready");