Skip to content

Commit 82931fd

Browse files
committed
Fixed prettier and lint errors
1 parent 48c15ca commit 82931fd

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

packages/client/src/client/middleware.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import type { FetchLike } from '@modelcontextprotocol/core';
22

33
import type { OAuthClientProvider } from './auth.js';
44
import { auth, extractWWWAuthenticateParams, UnauthorizedError } from './auth.js';
5-
import { getAccessToken, XAAOptions } from './xaa-util.js';
5+
import type { XAAOptions } from './xaa-util.js';
6+
import { getAccessToken } from './xaa-util.js';
67

78
/**
89
* Middleware function that wraps and enhances fetch functionality.

packages/client/src/client/xaa-util.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import qs from 'qs';
21
import type { FetchLike } from '@modelcontextprotocol/core';
2+
import qs from 'qs';
3+
34
import { discoverAuthorizationServerMetadata } from './auth.js';
45
// ============================================================================
56
// CONSTANTS
@@ -590,4 +591,4 @@ class OauthTokenExchangeResponse implements OAuthTokenExchangeResponseType {
590591
this.refresh_token = refresh_token;
591592
}
592593
}
593-
}
594+
}

packages/client/test/client/xaa-util.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,4 +991,4 @@ describe('XAA Util', () => {
991991
});
992992
});
993993
});
994-
});
994+
});

test/integration/test/taskResumability.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import { randomUUID } from 'node:crypto';
22
import { createServer, type Server } from 'node:http';
33

44
import { Client, StreamableHTTPClientTransport } from '@modelcontextprotocol/client';
5+
import type { EventStore, JSONRPCMessage } from '@modelcontextprotocol/server';
56
import {
67
CallToolResultSchema,
78
LoggingMessageNotificationSchema,
89
McpServer,
910
StreamableHTTPServerTransport
1011
} from '@modelcontextprotocol/server';
11-
import type { EventStore, JSONRPCMessage } from '@modelcontextprotocol/server';
1212
import type { ZodMatrixEntry } from '@modelcontextprotocol/test-helpers';
1313
import { listenOnRandomPort, zodTestMatrix } from '@modelcontextprotocol/test-helpers';
1414

0 commit comments

Comments
 (0)