Compare commits
2 Commits
db81b961fb
...
56ddff3ec5
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 56ddff3ec5 | |
Derrick Hammer | e07d479ce1 |
|
@ -1,11 +1,7 @@
|
||||||
import type { DNSResult, ResolverOptions } from "./types.js";
|
import type { DNSResult, ResolverOptions } from "./types.js";
|
||||||
import type { RpcNetwork } from "@lumeweb/rpc-client";
|
|
||||||
declare class ResolverRegistry {
|
declare class ResolverRegistry {
|
||||||
private _resolvers;
|
private _resolvers;
|
||||||
private _rpcNetwork;
|
|
||||||
constructor(network?: RpcNetwork);
|
|
||||||
get resolvers(): Set<ResolverModule>;
|
get resolvers(): Set<ResolverModule>;
|
||||||
get rpcNetwork(): RpcNetwork;
|
|
||||||
resolve(
|
resolve(
|
||||||
domain: string,
|
domain: string,
|
||||||
options?: ResolverOptions,
|
options?: ResolverOptions,
|
||||||
|
|
|
@ -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;AAE7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,OAAO,gBAAgB;IAC5B,OAAO,CAAC,UAAU,CAAC;IACnB,OAAO,CAAC,WAAW,CAAC;gBACR,OAAO,CAAC,EAAE,UAAU;IAChC,IAAI,SAAS,IAAI,GAAG,CAAC,cAAc,CAAC,CAAC;IACrC,IAAI,UAAU,IAAI,UAAU,CAAC;IAC7B,OAAO,CACL,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,eAAe,EACzB,WAAW,CAAC,EAAE,OAAO,GACpB,OAAO,CAAC,SAAS,CAAC;IACrB,QAAQ,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IACxC,KAAK,IAAI,IAAI;CACd;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,QAAQ,EAAE,gBA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AgB,IAAI,MAAM,EAAE,CAAC;CAC9B;AAGD,8BAAsB,sBAAsB;IAC1C,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"}
|
|
@ -7,7 +7,6 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@lumeweb/cfg": "git+https://git.lumeweb.com/LumeWeb/cfg.git",
|
"@lumeweb/cfg": "git+https://git.lumeweb.com/LumeWeb/cfg.git",
|
||||||
"@lumeweb/relay-types": "git+https://git.lumeweb.com/LumeWeb/relay-types.git",
|
"@lumeweb/relay-types": "git+https://git.lumeweb.com/LumeWeb/relay-types.git",
|
||||||
"@lumeweb/rpc-client": "git+https://git.lumeweb.com/LumeWeb/rpc-client.git",
|
|
||||||
"@types/node": "^18.14.0",
|
"@types/node": "^18.14.0",
|
||||||
"node-cache": "^5.1.2",
|
"node-cache": "^5.1.2",
|
||||||
"typescript": "^4.9.5"
|
"typescript": "^4.9.5"
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
import type { DNSResult, ResolverOptions } from "./types.js";
|
import type { DNSResult, ResolverOptions } from "./types.js";
|
||||||
import { getTld } from "./util.js";
|
import { getTld } from "./util.js";
|
||||||
import type { RpcNetwork } from "@lumeweb/rpc-client";
|
|
||||||
|
|
||||||
declare class ResolverRegistry {
|
declare class ResolverRegistry {
|
||||||
private _resolvers;
|
private _resolvers;
|
||||||
private _rpcNetwork;
|
|
||||||
constructor(network?: RpcNetwork);
|
|
||||||
get resolvers(): Set<ResolverModule>;
|
get resolvers(): Set<ResolverModule>;
|
||||||
get rpcNetwork(): RpcNetwork;
|
|
||||||
resolve(
|
resolve(
|
||||||
domain: string,
|
domain: string,
|
||||||
options?: ResolverOptions,
|
options?: ResolverOptions,
|
||||||
|
|
Loading…
Reference in New Issue