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 1
1
import { Transport } from "./shared/transport.js" ;
2
- import { JSONRPCMessage } from "./types.js" ;
2
+ import { JSONRPCMessage , RequestId } from "./types.js" ;
3
3
import { AuthInfo } from "./server/auth/types.js" ;
4
4
5
5
interface QueuedMessage {
@@ -49,7 +49,7 @@ export class InMemoryTransport implements Transport {
49
49
* Sends a message with optional auth info.
50
50
* This is useful for testing authentication scenarios.
51
51
*/
52
- async send ( message : JSONRPCMessage , options ?: { authInfo ?: AuthInfo } ) : Promise < void > {
52
+ async send ( message : JSONRPCMessage , options ?: { relatedRequestId ?: RequestId , authInfo ?: AuthInfo } ) : Promise < void > {
53
53
if ( ! this . _otherTransport ) {
54
54
throw new Error ( "Not connected" ) ;
55
55
}
You can’t perform that action at this time.
0 commit comments