From f889afbdba1b8840f78939cc23cd160f23277779 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 8 Jul 2023 07:52:36 -0400 Subject: [PATCH] dep: update module hash --- src/index.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/index.ts b/src/index.ts index 7d06940..2a9228d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,7 +8,7 @@ import { RpcQueryOptions } from "@lumeweb/rpc-client"; import { Buffer } from "buffer"; import { Client, factory } from "@lumeweb/libkernel/module"; -const RPC_MODULE = "fAAKlPuoD2FgKq27nhNILSmf7nTYmI9mMmOfTujwXma-1g"; +const MODULE = "zduP1ZfjVbyTrNuJ6aCsRVSNkd4G26BEdZ9RpThBjcmfKfM2pG2YWLVubD-1g"; export class RpcNetwork extends Client { private _def: boolean; @@ -29,7 +29,7 @@ export class RpcNetwork extends Client { this._networkId = 1; } else { Promise.resolve() - .then(() => this.callModuleReturn(RPC_MODULE, "createNetwork")) + .then(() => this.callModuleReturn(MODULE, "createNetwork")) .then((ret: ErrTuple) => (this._networkId = ret[0])); } @@ -131,8 +131,5 @@ export class SimpleRpcQuery extends RpcQueryBase { } } -export const createClient = factory(RpcNetwork, RPC_MODULE); -const createSimpleRpcQuery = factory( - SimpleRpcQuery, - RPC_MODULE, -); +export const createClient = factory(RpcNetwork, MODULE); +const createSimpleRpcQuery = factory(SimpleRpcQuery, MODULE);