From ea2e4ebc2780f503dee56512d2be0d6d5f2ce414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduard=20Bardaj=C3=AD=20Puig?= Date: Mon, 14 Oct 2024 09:27:29 +0200 Subject: [PATCH] Unwrap id --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 176487f..4db3bd9 100644 --- a/src/types.ts +++ b/src/types.ts @@ -42,7 +42,7 @@ export const rpcRequestMessageSchema = v.object({ v.null(), ]) ), - id: RpcIdSchema, + id: v.unwrap(RpcIdSchema), }); export type RpcRequestMessage = v.InferOutput;