Compare commits

...

2 Commits

Author SHA1 Message Date
Derrick Hammer a0800a0feb
*Update dist 2023-02-19 16:35:34 -05:00
Derrick Hammer 5838b30141
*Fix return type 2023-02-19 16:35:19 -05:00
3 changed files with 3 additions and 3 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<string>; 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,MAAM,CAAC;IAG/B,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,EAAE,CAAC;IAGjC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGpC;AAED,eAAO,MAAM,YAAY,6BAAwC,CAAC"}

View File

@ -9,7 +9,7 @@ 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<string> { public async getResolvers(): Promise<string[]> {
return this.callModuleReturn("getResolvers"); return this.callModuleReturn("getResolvers");
} }
public async ready(): Promise<void> { public async ready(): Promise<void> {