Skip to content

Commit bcf9862

Browse files
committed
progressToken should be required in progress notifications
1 parent f02952a commit bcf9862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ export const ProgressNotificationSchema = NotificationSchema.extend({
338338
/**
339339
* The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
340340
*/
341-
progressToken: z.optional(ProgressTokenSchema),
341+
progressToken: ProgressTokenSchema,
342342
}),
343343
});
344344

0 commit comments

Comments
 (0)