Skip to content

Commit 515abb4

Browse files
committed
fix lints
1 parent badb5dc commit 515abb4

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

src/client/sse.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { EventSource, type ErrorEvent, type EventSourceInit } from "eventsource"
22
import { Transport } from "../shared/transport.js";
33
import { JSONRPCMessage, JSONRPCMessageSchema } from "../types.js";
44
import { auth, AuthResult, extractResourceMetadataUrl, OAuthClientProvider, UnauthorizedError } from "./auth.js";
5-
import { resourceUrlFromServerUrl } from "../shared/auth-utils.js";
65

76
export class SseError extends Error {
87
constructor(

src/client/streamableHttp.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { Transport } from "../shared/transport.js";
22
import { isInitializedNotification, isJSONRPCRequest, isJSONRPCResponse, JSONRPCMessage, JSONRPCMessageSchema } from "../types.js";
33
import { auth, AuthResult, extractResourceMetadataUrl, OAuthClientProvider, UnauthorizedError } from "./auth.js";
44
import { EventSourceParserStream } from "eventsource-parser/stream";
5-
import { resourceUrlFromServerUrl } from "../shared/auth-utils.js";
65

76
// Default reconnection options for StreamableHTTP connections
87
const DEFAULT_STREAMABLE_HTTP_RECONNECTION_OPTIONS: StreamableHTTPReconnectionOptions = {

src/examples/server/demoInMemoryOAuthProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export class DemoInMemoryAuthProvider implements OAuthServerProvider {
130130
_client: OAuthClientInformationFull,
131131
_refreshToken: string,
132132
_scopes?: string[],
133-
resource?: URL
133+
_resource?: URL
134134
): Promise<OAuthTokens> {
135135
throw new Error('Not implemented for example demo');
136136
}

0 commit comments

Comments
 (0)