From bcf9862937aceed28cbb59eff143d4a0224aa203 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 4 Nov 2024 20:50:12 +0000 Subject: [PATCH] `progressToken` should be required in progress notifications --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index aa2c6970..8fd47863 100644 --- a/src/types.ts +++ b/src/types.ts @@ -338,7 +338,7 @@ export const ProgressNotificationSchema = NotificationSchema.extend({ /** * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding. */ - progressToken: z.optional(ProgressTokenSchema), + progressToken: ProgressTokenSchema, }), });