Compare commits
2 Commits
e3697e8f5d
...
b856cf16d2
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | b856cf16d2 | |
Derrick Hammer | 221ebe70c0 |
|
@ -1,6 +1,6 @@
|
|||
import { Client } from "@lumeweb/libkernel-universal";
|
||||
export declare class DnsClient extends Client {
|
||||
register(module: string): Promise<void>;
|
||||
register(): Promise<void>;
|
||||
clear(): Promise<void>;
|
||||
getResolvers(): Promise<void>;
|
||||
ready(): Promise<void>;
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAW,MAAM,8BAA8B,CAAC;AAI/D,qBAAa,SAAU,SAAQ,MAAM;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKvC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAGtB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAG7B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGpC;AAED,eAAO,MAAM,YAAY,6BAAwC,CAAC"}
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAW,MAAM,8BAA8B,CAAC;AAI/D,qBAAa,SAAU,SAAQ,MAAM;IACtB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAGzB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAGtB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAG7B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGpC;AAED,eAAO,MAAM,YAAY,6BAAwC,CAAC"}
|
|
@ -1,10 +1,8 @@
|
|||
import { Client, factory } from "@lumeweb/libkernel-universal";
|
||||
const MODULE = "PACYNuYbp_5hgCjMK16EGcytB9QCxDLe4_uitahwePdeaA";
|
||||
export class DnsClient extends Client {
|
||||
async register(module) {
|
||||
const bag = await this.loadBound(module);
|
||||
const ret = await bag.callModule("register");
|
||||
this.handleError(ret);
|
||||
async register() {
|
||||
return this.callModuleReturn("register");
|
||||
}
|
||||
async clear() {
|
||||
return this.callModuleReturn("clear");
|
||||
|
|
|
@ -3,10 +3,8 @@ import { Client, factory } from "@lumeweb/libkernel-universal";
|
|||
const MODULE = "PACYNuYbp_5hgCjMK16EGcytB9QCxDLe4_uitahwePdeaA";
|
||||
|
||||
export class DnsClient extends Client {
|
||||
public async register(module: string): Promise<void> {
|
||||
const bag = await this.loadBound(module);
|
||||
const ret = await bag.callModule("register");
|
||||
this.handleError(ret);
|
||||
public async register(): Promise<void> {
|
||||
return this.callModuleReturn("register");
|
||||
}
|
||||
public async clear(): Promise<void> {
|
||||
return this.callModuleReturn("clear");
|
||||
|
|
Loading…
Reference in New Issue