Update src/shared/transport.ts

Co-authored-by: Justin Spahr-Summers <justin@jspahrsummers.com>
This commit is contained in:
Allen Zhou 2025-04-08 12:49:31 -05:00 • committed by GitHub
commit 72f46d44c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,7 +44,7 @@ export interface Transport {
* Includes the authInfo if the transport is authenticated.
*
*/
onmessage?: (message: JSONRPCMessage, authInfo?: AuthInfo) => void;
onmessage?: (message: JSONRPCMessage, extra?: { authInfo?: AuthInfo }) => void;
/**
* The session ID generated for this connection.