*Update dist
This commit is contained in:
parent
7d3383dd4f
commit
739cc5e3ee
|
@ -1,7 +1,7 @@
|
|||
import type { DNSResult, ResolverOptions } from "./types.js";
|
||||
import { ResolverRegistry } from "@lumeweb/resolver";
|
||||
export interface ResolverModule {
|
||||
new (resolver: ResolverRegistry): any;
|
||||
constructor(resolver: ResolverRegistry): any;
|
||||
resolve(
|
||||
domain: string,
|
||||
options: ResolverOptions,
|
||||
|
@ -13,7 +13,7 @@ export declare abstract class AbstractResolverModule implements ResolverModule {
|
|||
protected resolver: ResolverRegistry;
|
||||
constructor(resolver: ResolverRegistry);
|
||||
abstract resolve(
|
||||
input: string,
|
||||
domain: string,
|
||||
options: ResolverOptions,
|
||||
bypassCache: boolean
|
||||
): Promise<DNSResult>;
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"resolverModule.d.ts","sourceRoot":"","sources":["../src/resolverModule.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,MAAM,WAAW,cAAc;IAC7B,KAAK,QAAQ,EAAE,gBAAgB,GAAG,GAAG,CAAC;IAEtC,OAAO,CACL,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,eAAe,EACxB,WAAW,EAAE,OAAO,GACnB,OAAO,CAAC,SAAS,CAAC,CAAC;IAEtB,gBAAgB,IAAI,MAAM,EAAE,CAAC;CAC9B;AAGD,8BAAsB,sBAAuB,YAAW,cAAc;IACpE,SAAS,CAAC,QAAQ,EAAE,gBAAgB,CAAC;gBAEzB,QAAQ,EAAE,gBAAgB;IAKtC,QAAQ,CAAC,OAAO,CACd,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,eAAe,EACxB,WAAW,EAAE,OAAO,GACnB,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":"","sources":["../src/resolverModule.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,MAAM,WAAW,cAAc;IAC7B,WAAW,CAAC,QAAQ,EAAE,gBAAgB,OAAE;IAExC,OAAO,CACL,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,eAAe,EACxB,WAAW,EAAE,OAAO,GACnB,OAAO,CAAC,SAAS,CAAC,CAAC;IAEtB,gBAAgB,IAAI,MAAM,EAAE,CAAC;CAC9B;AAGD,8BAAsB,sBAAuB,YAAW,cAAc;IACpE,SAAS,CAAC,QAAQ,EAAE,gBAAgB,CAAC;gBAEzB,QAAQ,EAAE,gBAAgB;IAItC,QAAQ,CAAC,OAAO,CACd,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,eAAe,EACxB,WAAW,EAAE,OAAO,GACnB,OAAO,CAAC,SAAS,CAAC;IAErB,gBAAgB,IAAI,MAAM,EAAE;IAI5B,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;CAGxC"}
|
|
@ -4,7 +4,6 @@ export class AbstractResolverModule {
|
|||
resolver;
|
||||
constructor(resolver) {
|
||||
this.resolver = resolver;
|
||||
return this;
|
||||
}
|
||||
getSupportedTlds() {
|
||||
return [];
|
||||
|
|
Loading…
Reference in New Issue