Compare commits

...

2 Commits

Author SHA1 Message Date
Derrick Hammer dd1b25aa30
*Update dist 2023-02-19 20:21:59 -05:00
Derrick Hammer f6a7322347
*Change getResolvers to a getter to match the real api 2023-02-19 20:21:41 -05:00
4 changed files with 4 additions and 4 deletions

2
dist/index.d.ts vendored
View File

@ -3,7 +3,7 @@ import { DNSResult, ResolverOptions } from "@lumeweb/libresolver";
export declare class DnsClient extends Client {
register(): Promise<void>;
clear(): Promise<void>;
getResolvers(): Promise<string[]>;
get resolvers(): Promise<string[]>;
ready(): Promise<void>;
resolve(
domain: string,

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;AAC/D,OAAO,EAEL,SAAS,EACT,eAAe,EAChB,MAAM,sBAAsB,CAAC;AAI9B,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;IAGtB,OAAO,CAClB,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,eAAmD,EAC5D,WAAW,GAAE,OAAe,GAC3B,OAAO,CAAC,SAAS,CAAC;CAGtB;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;AAC/D,OAAO,EAEL,SAAS,EACT,eAAe,EAChB,MAAM,sBAAsB,CAAC;AAI9B,qBAAa,SAAU,SAAQ,MAAM;IACtB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAGzB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAGnC,IAAI,SAAS,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAEjC;IACY,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAGtB,OAAO,CAClB,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,eAAmD,EAC5D,WAAW,GAAE,OAAe,GAC3B,OAAO,CAAC,SAAS,CAAC;CAGtB;AAED,eAAO,MAAM,YAAY,6BAAwC,CAAC"}

2
dist/index.js vendored
View File

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

View File

@ -14,7 +14,7 @@ export class DnsClient extends Client {
public async clear(): Promise<void> {
return this.callModuleReturn("clear");
}
public async getResolvers(): Promise<string[]> {
get resolvers(): Promise<string[]> {
return this.callModuleReturn("getResolvers");
}
public async ready(): Promise<void> {