Update src/inMemory.ts
Co-authored-by: Justin Spahr-Summers <justin@jspahrsummers.com>
This commit is contained in:
parent
72f46d44c2
commit
bc38bb29c7
1 changed files with 1 additions and 1 deletions
|
|
@ -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<void> {
|
||||
async send(message: JSONRPCMessage, options?: { authInfo?: AuthInfo }): Promise<void>
|
||||
if (!this._otherTransport) {
|
||||
throw new Error("Not connected");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue