Compare commits
No commits in common. "56ddff3ec5dcc804b2225490497d4d2ec670c311" and "db81b961fb923f22856bd72e198637614b56451f" have entirely different histories.
56ddff3ec5
...
db81b961fb
|
@ -1,7 +1,11 @@
|
|||
import type { DNSResult, ResolverOptions } from "./types.js";
|
||||
import type { RpcNetwork } from "@lumeweb/rpc-client";
|
||||
declare class ResolverRegistry {
|
||||
private _resolvers;
|
||||
private _rpcNetwork;
|
||||
constructor(network?: RpcNetwork);
|
||||
get resolvers(): Set<ResolverModule>;
|
||||
get rpcNetwork(): RpcNetwork;
|
||||
resolve(
|
||||
domain: string,
|
||||
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;AAG7D,OAAO,OAAO,gBAAgB;IAC5B,OAAO,CAAC,UAAU,CAAC;IACnB,IAAI,SAAS,IAAI,GAAG,CAAC,cAAc,CAAC,CAAC;IACrC,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,gBAAgB,OAAE;CAClC;AAED,MAAM,WAAW,cAAe,SAAQ,yBAAyB;IAC/D,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,sBAAsB;IAC1C,SAAS,CAAC,QAAQ,EAAE,gBAAgB,CAAC;gBAEzB,QAA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AQ,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,6 +7,7 @@
|
|||
"devDependencies": {
|
||||
"@lumeweb/cfg": "git+https://git.lumeweb.com/LumeWeb/cfg.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",
|
||||
"node-cache": "^5.1.2",
|
||||
"typescript": "^4.9.5"
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
import type { DNSResult, ResolverOptions } from "./types.js";
|
||||
import { getTld } from "./util.js";
|
||||
import type { RpcNetwork } from "@lumeweb/rpc-client";
|
||||
|
||||
declare class ResolverRegistry {
|
||||
private _resolvers;
|
||||
private _rpcNetwork;
|
||||
constructor(network?: RpcNetwork);
|
||||
get resolvers(): Set<ResolverModule>;
|
||||
get rpcNetwork(): RpcNetwork;
|
||||
resolve(
|
||||
domain: string,
|
||||
options?: ResolverOptions,
|
||||
|
|
Loading…
Reference in New Issue