fix lints

This commit is contained in:
Olivier Chafik 2025-06-17 11:53:26 +01:00
commit 515abb492f
No known key found for this signature in database
3 changed files with 1 additions and 3 deletions

View file

@ -2,7 +2,6 @@ import { EventSource, type ErrorEvent, type EventSourceInit } from "eventsource"
import { Transport } from "../shared/transport.js";
import { JSONRPCMessage, JSONRPCMessageSchema } from "../types.js";
import { auth, AuthResult, extractResourceMetadataUrl, OAuthClientProvider, UnauthorizedError } from "./auth.js";
import { resourceUrlFromServerUrl } from "../shared/auth-utils.js";
export class SseError extends Error {
constructor(

View file

@ -2,7 +2,6 @@ import { Transport } from "../shared/transport.js";
import { isInitializedNotification, isJSONRPCRequest, isJSONRPCResponse, JSONRPCMessage, JSONRPCMessageSchema } from "../types.js";
import { auth, AuthResult, extractResourceMetadataUrl, OAuthClientProvider, UnauthorizedError } from "./auth.js";
import { EventSourceParserStream } from "eventsource-parser/stream";
import { resourceUrlFromServerUrl } from "../shared/auth-utils.js";
// Default reconnection options for StreamableHTTP connections
const DEFAULT_STREAMABLE_HTTP_RECONNECTION_OPTIONS: StreamableHTTPReconnectionOptions = {

View file

@ -130,7 +130,7 @@ export class DemoInMemoryAuthProvider implements OAuthServerProvider {
_client: OAuthClientInformationFull,
_refreshToken: string,
_scopes?: string[],
resource?: URL
_resource?: URL
): Promise<OAuthTokens> {
throw new Error('Not implemented for example demo');
}