*Add createClient

This commit is contained in:
Derrick Hammer 2023-03-23 13:02:29 -04:00
parent b5b7c9e0fe
commit 09825ea3c7
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import type {
} from "@lumeweb/interface-relay";
import { RpcQueryOptions } from "@lumeweb/rpc-client";
import { Buffer } from "buffer";
import { Client } from "@lumeweb/libkernel-universal";
import { Client, factory } from "@lumeweb/libkernel-universal";
const RPC_MODULE = "fAAgZfXMqN3YOn0-b9DICt8OPsOFeWw3YKY2p84aytzBww";
@ -123,3 +123,5 @@ export class SimpleRpcQuery extends RpcQueryBase {
return this;
}
}
export const createClient = factory<RpcNetwork>(RpcNetwork, RPC_MODULE);