From 8a4fc5076a68ea2908169e287d1cefdc624156c8 Mon Sep 17 00:00:00 2001 From: Tomek Marciniak Date: Mon, 28 Oct 2024 13:51:33 +0100 Subject: [PATCH] feat(providers): update mina_getState --- packages/providers/src/validation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/providers/src/validation.ts b/packages/providers/src/validation.ts index d2f06bf..f8279a6 100644 --- a/packages/providers/src/validation.ts +++ b/packages/providers/src/validation.ts @@ -81,7 +81,7 @@ export const SetStateRequestParamsSchema = RequestWithContext.extend({ }).strict(); export const GetStateRequestParamsSchema = RequestWithContext.extend({ method: z.literal("mina_getState"), - params: z.array(z.string()), + params: z.array(JsonSchema), }).strict(); // Returns