Revert "*Update register to use loadBound"
This reverts commit 096da60801
.
This commit is contained in:
parent
221ebe70c0
commit
b856cf16d2
|
@ -3,10 +3,8 @@ import { Client, factory } from "@lumeweb/libkernel-universal";
|
||||||
const MODULE = "PACYNuYbp_5hgCjMK16EGcytB9QCxDLe4_uitahwePdeaA";
|
const MODULE = "PACYNuYbp_5hgCjMK16EGcytB9QCxDLe4_uitahwePdeaA";
|
||||||
|
|
||||||
export class DnsClient extends Client {
|
export class DnsClient extends Client {
|
||||||
public async register(module: string): Promise<void> {
|
public async register(): Promise<void> {
|
||||||
const bag = await this.loadBound(module);
|
return this.callModuleReturn("register");
|
||||||
const ret = await bag.callModule("register");
|
|
||||||
this.handleError(ret);
|
|
||||||
}
|
}
|
||||||
public async clear(): Promise<void> {
|
public async clear(): Promise<void> {
|
||||||
return this.callModuleReturn("clear");
|
return this.callModuleReturn("clear");
|
||||||
|
|
Loading…
Reference in New Issue