@mcpfn/auth 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -225,7 +225,7 @@ interface McpFnAuthorizationServerMetadataOptions {
225
225
  declare function createMcpAuthorizationCompatibilityHandler(options: McpFnAuthorizationCompatibilityOptions): (request: Request) => Promise<Response>;
226
226
  declare function createMcpAuthorizationServerMetadata(options: McpFnAuthorizationServerMetadataOptions): Record<string, unknown>;
227
227
 
228
- type McpFnOAuthCredentialScope = "all" | "client" | "tokens" | "verifier" | "state";
228
+ type McpFnOAuthCredentialScope = "all" | "client" | "tokens" | "verifier" | "discovery" | "state";
229
229
  interface McpFnOAuthSessionStore {
230
230
  readonly security: "memory" | "encrypted";
231
231
  getClientInformation(): Promise<OAuthClientInformationMixed | undefined>;
package/dist/index.d.ts CHANGED
@@ -225,7 +225,7 @@ interface McpFnAuthorizationServerMetadataOptions {
225
225
  declare function createMcpAuthorizationCompatibilityHandler(options: McpFnAuthorizationCompatibilityOptions): (request: Request) => Promise<Response>;
226
226
  declare function createMcpAuthorizationServerMetadata(options: McpFnAuthorizationServerMetadataOptions): Record<string, unknown>;
227
227
 
228
- type McpFnOAuthCredentialScope = "all" | "client" | "tokens" | "verifier" | "state";
228
+ type McpFnOAuthCredentialScope = "all" | "client" | "tokens" | "verifier" | "discovery" | "state";
229
229
  interface McpFnOAuthSessionStore {
230
230
  readonly security: "memory" | "encrypted";
231
231
  getClientInformation(): Promise<OAuthClientInformationMixed | undefined>;