import { Client, factory } from "@lumeweb/libkernel-universal"; const MODULE = "AABCDWpcbyCkTWy5ZP6qZWZ5eiFe--CRJSMKxRYLE4usfQ"; export interface Response { id?: number; error?: string; result: any; } export class HandshakeClient extends Client { public async ready(): Promise { return this.callModuleReturn("ready"); } public async query(method: string, params: any): Promise { return this.callModuleReturn("query", { method, params }); } } export const createClient = factory(HandshakeClient, MODULE);