*Update dist
This commit is contained in:
parent
3f68971640
commit
32c33748e4
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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,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