*Update dist
This commit is contained in:
parent
7d3383dd4f
commit
739cc5e3ee
|
@ -1,7 +1,7 @@
|
||||||
import type { DNSResult, ResolverOptions } from "./types.js";
|
import type { DNSResult, ResolverOptions } from "./types.js";
|
||||||
import { ResolverRegistry } from "@lumeweb/resolver";
|
import { ResolverRegistry } from "@lumeweb/resolver";
|
||||||
export interface ResolverModule {
|
export interface ResolverModule {
|
||||||
new (resolver: ResolverRegistry): any;
|
constructor(resolver: ResolverRegistry): any;
|
||||||
resolve(
|
resolve(
|
||||||
domain: string,
|
domain: string,
|
||||||
options: ResolverOptions,
|
options: ResolverOptions,
|
||||||
|
@ -13,7 +13,7 @@ export declare abstract class AbstractResolverModule implements ResolverModule {
|
||||||
protected resolver: ResolverRegistry;
|
protected resolver: ResolverRegistry;
|
||||||
constructor(resolver: ResolverRegistry);
|
constructor(resolver: ResolverRegistry);
|
||||||
abstract resolve(
|
abstract resolve(
|
||||||
input: string,
|
domain: string,
|
||||||
options: ResolverOptions,
|
options: ResolverOptions,
|
||||||
bypassCache: boolean
|
bypassCache: boolean
|
||||||
): Promise<DNSResult>;
|
): 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;
|
resolver;
|
||||||
constructor(resolver) {
|
constructor(resolver) {
|
||||||
this.resolver = resolver;
|
this.resolver = resolver;
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
getSupportedTlds() {
|
getSupportedTlds() {
|
||||||
return [];
|
return [];
|
||||||
|
|
Loading…
Reference in New Issue