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"); }