dep: add register method

This commit is contained in:
Derrick Hammer 2023-07-19 12:29:30 -04:00
parent 10f283dcec
commit 13cb0a8f54
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@ export class HandshakeClient extends Client {
public async query(method: string, params: any): Promise<Response> { public async query(method: string, params: any): Promise<Response> {
return this.callModuleReturn("query", { method, params }); return this.callModuleReturn("query", { method, params });
} }
public async register(){
return this.callModuleReturn("register");
}
} }
export const createClient = factory<HandshakeClient>(HandshakeClient, MODULE); export const createClient = factory<HandshakeClient>(HandshakeClient, MODULE);