dep: add register method
This commit is contained in:
parent
10f283dcec
commit
13cb0a8f54
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue