File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import { Transport } from "./shared/transport.js" ;
2- import { JSONRPCMessage } from "./types.js" ;
2+ import { JSONRPCMessage , RequestId } from "./types.js" ;
33import { AuthInfo } from "./server/auth/types.js" ;
44
55interface QueuedMessage {
@@ -49,7 +49,7 @@ export class InMemoryTransport implements Transport {
4949 * Sends a message with optional auth info.
5050 * This is useful for testing authentication scenarios.
5151 */
52- async send ( message : JSONRPCMessage , options ?: { authInfo ?: AuthInfo } ) : Promise < void > {
52+ async send ( message : JSONRPCMessage , options ?: { relatedRequestId ?: RequestId , authInfo ?: AuthInfo } ) : Promise < void > {
5353 if ( ! this . _otherTransport ) {
5454 throw new Error ( "Not connected" ) ;
5555 }
You can’t perform that action at this time.
0 commit comments