*Remove rpc code for now
This commit is contained in:
parent
db81b961fb
commit
e07d479ce1
|
@ -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