diff --git a/src/types.ts b/src/types.ts index e58009b..606fbc4 100644 --- a/src/types.ts +++ b/src/types.ts @@ -6,7 +6,7 @@ export interface RPCRequest { bypassCache?: boolean; module: string; method: string; - data: string; + data: any; } export interface RPCResponse { @@ -23,6 +23,7 @@ export interface RPCMethod { ) => Promise; } +// @ts-ignore export const RPC_REQUEST_SCHEMA: JSONSchemaType = { anyOf: [], oneOf: [],