2023-02-19 19:42:51 +00:00
|
|
|
import { Client, factory } from "@lumeweb/libkernel-universal";
|
2023-02-20 16:18:27 +00:00
|
|
|
const MODULE = "AAAz2qQHwKQ7YurprbLmzpHc66BY0pljDZsa_a6QmeBe_g";
|
2023-02-19 19:42:51 +00:00
|
|
|
export class HandshakeClient extends Client {
|
|
|
|
async ready() {
|
|
|
|
return this.callModuleReturn("ready");
|
|
|
|
}
|
|
|
|
async query(method, params) {
|
|
|
|
return this.callModuleReturn("query", { method, params });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export const createClient = factory(HandshakeClient, MODULE);
|