Merge pull request #76 from efritz/patch-1

Fix method name in client cancellation send
This commit is contained in:
Justin Spahr-Summers 2024-12-02 07:04:06 -06:00 • committed by GitHub
commit becd787a18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -421,7 +421,7 @@ export abstract class Protocol<
this._transport
?.send({
jsonrpc: "2.0",
method: "cancelled",
method: "notifications/cancelled",
params: {
requestId: messageId,
reason: String(reason),