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";
|
||||
|
||||
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