Merge branch 'main' into ihrpr/http-streamable-server

This commit is contained in:
ihrpr 2025-04-07 14:29:09 +01:00
commit 251bb9d97d
No known key found for this signature in database

View file

@ -110,11 +110,6 @@ export type RequestHandlerExtra<SendRequestT extends Request,
*/
sessionId?: string;
/**
* The authenticated user, if available.
*/
user?: unknown;
/**
* Sends a notification that relates to the current request being handled.
*
@ -354,7 +349,6 @@ export abstract class Protocol<
const extra: RequestHandlerExtra<SendRequestT, SendNotificationT> = {
signal: abortController.signal,
sessionId: this._transport?.sessionId,
user: this._transport?.user,
sendNotification:
(notification) =>
this.notification(notification, { relatedRequestId: request.id }),