fix lints
This commit is contained in:
parent
badb5dc990
commit
515abb492f
3 changed files with 1 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue