From bc38bb29c7e988ea58d56b533c7fa589e4fa485f Mon Sep 17 00:00:00 2001 From: Allen Zhou <46854522+allenzhou101@users.noreply.github.com> Date: Tue, 8 Apr 2025 12:49:58 -0500 Subject: [PATCH] Update src/inMemory.ts Co-authored-by: Justin Spahr-Summers --- src/inMemory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inMemory.ts b/src/inMemory.ts index 9de100c2..8889fdd8 100644 --- a/src/inMemory.ts +++ b/src/inMemory.ts @@ -53,7 +53,7 @@ export class InMemoryTransport implements Transport { * Sends a message with optional auth info. * This is useful for testing authentication scenarios. */ - async sendWithAuth(message: JSONRPCMessage, authInfo?: AuthInfo): Promise { + async send(message: JSONRPCMessage, options?: { authInfo?: AuthInfo }): Promise if (!this._otherTransport) { throw new Error("Not connected"); }