*Update dist

This commit is contained in:
Derrick Hammer 2022-08-18 11:01:28 -04:00
parent 3f68971640
commit 32c33748e4
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
5 changed files with 37 additions and 29 deletions

View File

@ -1,12 +1,20 @@
import type { DNSResult, ResolverOptions } from "./types.js";
export default interface ResolverModule {
export interface ResolverModule {
constructor(resolver: any): void;
resolve(domain: string, options: ResolverOptions, bypassCache: boolean): Promise<DNSResult>;
resolve(
domain: string,
options: ResolverOptions,
bypassCache: boolean
): Promise<DNSResult>;
}
export declare abstract class AbstractResolverModule {
protected resolver: any;
constructor(resolver: any);
abstract resolve(input: string, options: ResolverOptions, force: boolean): Promise<DNSResult>;
abstract resolve(
input: string,
options: ResolverOptions,
force: boolean
): Promise<DNSResult>;
getSupportedTlds(): string[];
isTldSupported(domain: string): boolean;
}

View File

@ -1 +1 @@
{"version":3,"file":"resolverModule.d.ts","sourceRoot":"","sources":["../src/resolverModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAG7D,MAAM,CAAC,OAAO,WAAW,cAAc;IACrC,WAAW,CAAC,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC;IAEjC,OAAO,CACL,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,eAAe,EACxB,WAAW,EAAE,OAAO,GACnB,OAAO,CAAC,SAAS,CAAC,CAAC;CACvB;AAED,8BAAsB,sBAAsB;IAC1C,SAAS,CAAC,QAAQ,EAAE,GAAG,CAAC;gBAEZ,QAAQ,EAAE,GAAG;IAIzB,QAAQ,CAAC,OAAO,CACd,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,eAAe,EACxB,KAAK,EAAE,OAAO,GACb,OAAO,CAAC,SAAS,CAAC;IAErB,gBAAgB,IAAI,MAAM,EAAE;IAI5B,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;CAGxC"}
{"version":3,"file":"resolverModule.d.ts","sourceRoot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