Skip to content

Commit b0fdf00

Browse files
committed
Update inMemory.ts
1 parent 6f852a1 commit b0fdf00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/inMemory.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Transport } from "./shared/transport.js";
2-
import { JSONRPCMessage } from "./types.js";
2+
import { JSONRPCMessage, RequestId } from "./types.js";
33
import { AuthInfo } from "./server/auth/types.js";
44

55
interface 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
}

0 commit comments

Comments
 (0)