Update protocol.ts

This commit is contained in:
Allen Zhou 2025-04-12 16:47:18 -07:00
commit 85e6457b84
No known key found for this signature in database
GPG key ID: 5817C145DE5C5556

View file

@ -357,8 +357,6 @@ export abstract class Protocol<
const abortController = new AbortController();
this._requestHandlerAbortControllers.set(request.id, abortController);
// Create `fullExtra` object with both abort signal and sessionId from transport
// in addition to any authInfo provided
const fullExtra: RequestHandlerExtra<SendRequestT, SendNotificationT> = {
signal: abortController.signal,
sessionId: this._transport?.sessionId,