We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f852a1 commit b0fdf00Copy full SHA for b0fdf00
src/inMemory.ts
@@ -1,5 +1,5 @@
1
import { Transport } from "./shared/transport.js";
2
-import { JSONRPCMessage } from "./types.js";
+import { JSONRPCMessage, RequestId } from "./types.js";
3
import { AuthInfo } from "./server/auth/types.js";
4
5
interface QueuedMessage {
@@ -49,7 +49,7 @@ export class InMemoryTransport implements Transport {
49
* Sends a message with optional auth info.
50
* This is useful for testing authentication scenarios.
51
*/
52
- async send(message: JSONRPCMessage, options?: { authInfo?: AuthInfo }): Promise<void> {
+ async send(message: JSONRPCMessage, options?: { relatedRequestId?: RequestId, authInfo?: AuthInfo }): Promise<void> {
53
if (!this._otherTransport) {
54
throw new Error("Not connected");
55
}
0 commit comments