Skip to content

Commit a783bde

Browse files
committed
Fixed prettier and lint errors
1 parent 3f01cfa commit a783bde

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
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+
});

0 commit comments

Comments
 (0)