progressToken should be required in progress notifications

This commit is contained in:
Justin Spahr-Summers 2024-11-04 20:50:12 +00:00
commit bcf9862937
No known key found for this signature in database

View file

@ -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,
}),
});