From 6b5dfb37f4e0bf1d3e3f4b8809ef8ebec17edcb2 Mon Sep 17 00:00:00 2001 From: "Timothy J. Aveni" Date: Thu, 25 Jun 2026 21:08:30 -0700 Subject: [PATCH] Allow null JSON-RPC response ids --- src/rpc.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpc.ts b/src/rpc.ts index 1fba228..b098eed 100644 --- a/src/rpc.ts +++ b/src/rpc.ts @@ -5,6 +5,7 @@ export const JsonRpcVersionSchema = z.literal("2.0"); export const JsonRpcIdSchema = z.union([ z.string().min(1), z.number().finite(), + z.null(), ]); export const JsonRpcIdempotencyMetadataSchema = z