Allow null JSON-RPC response ids
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user