Skip to content

Commit bc38bb2

Browse files
Update src/inMemory.ts
Co-authored-by: Justin Spahr-Summers <[email protected]>
1 parent 72f46d4 commit bc38bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/inMemory.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class InMemoryTransport implements Transport {
5353
* Sends a message with optional auth info.
5454
* This is useful for testing authentication scenarios.
5555
*/
56-
async sendWithAuth(message: JSONRPCMessage, authInfo?: AuthInfo): Promise<void> {
56+
async send(message: JSONRPCMessage, options?: { authInfo?: AuthInfo }): Promise<void>
5757
if (!this._otherTransport) {
5858
throw new Error("Not connected");
5959
}

0 commit comments

Comments
 (0)