Explicitly allow cancelled notifications without any capability

This commit is contained in:
Justin Spahr-Summers 2024-11-14 14:07:28 +00:00
commit 1451d0ea24
No known key found for this signature in database
2 changed files with 8 additions and 0 deletions

View file

@ -244,6 +244,10 @@ export class Client<
// No specific capability required for initialized
break;
case "notifications/cancelled":
// Cancellation notifications are always allowed
break;
case "notifications/progress":
// Progress notifications are always allowed
break;

View file

@ -157,6 +157,10 @@ export class Server<
}
break;
case "notifications/cancelled":
// Cancellation notifications are always allowed
break;
case "notifications/progress":
// Progress notifications are always allowed
break;