Revert "*Update register to use loadBound"

This reverts commit 096da60801.
This commit is contained in:
Derrick Hammer 2023-02-19 16:30:02 -05:00
parent 221ebe70c0
commit b856cf16d2
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 4 deletions

View File

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