@octokit/oauth-app
Advanced tools
Comparing version 3.3.1 to 3.3.2
@@ -64,3 +64,3 @@ 'use strict'; | ||
const VERSION = "3.3.1"; | ||
const VERSION = "3.3.2"; | ||
@@ -67,0 +67,0 @@ function addEventHandler(state, eventName, eventHandler) { |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "3.3.1"; | ||
export const VERSION = "3.3.2"; |
@@ -1,5 +0,4 @@ | ||
/// <reference types="node" /> | ||
import { OAuthApp } from "../../index"; | ||
import { MiddlewareOptions } from "./types"; | ||
import { ClientType, Options } from "../../types"; | ||
export declare function createNodeMiddleware(app: OAuthApp<Options<ClientType>>, { pathPrefix, onUnhandledRequest, }?: MiddlewareOptions): (request: import("http").IncomingMessage, response: import("http").ServerResponse) => Promise<void>; | ||
export declare function createNodeMiddleware(app: OAuthApp<Options<ClientType>>, { pathPrefix, onUnhandledRequest, }?: MiddlewareOptions): (request: any, response: any) => Promise<any>; |
@@ -1,6 +0,7 @@ | ||
/// <reference types="node" /> | ||
import { IncomingMessage, ServerResponse } from "http"; | ||
declare type IncomingMessage = any; | ||
declare type ServerResponse = any; | ||
import { OAuthApp } from "../../index"; | ||
import { MiddlewareOptions } from "./types"; | ||
import { Options, ClientType } from "../../types"; | ||
export declare function middleware(app: OAuthApp<Options<ClientType>>, options: Required<MiddlewareOptions>, request: IncomingMessage, response: ServerResponse): Promise<void>; | ||
export declare function middleware(app: OAuthApp<Options<ClientType>>, options: Required<MiddlewareOptions>, request: IncomingMessage, response: ServerResponse): Promise<any>; | ||
export {}; |
@@ -1,3 +0,4 @@ | ||
/// <reference types="node" /> | ||
import { IncomingMessage, ServerResponse } from "http"; | ||
declare type IncomingMessage = any; | ||
declare type ServerResponse = any; | ||
export declare function onUnhandledRequestDefault(request: IncomingMessage, response: ServerResponse): void; | ||
export {}; |
@@ -1,3 +0,2 @@ | ||
/// <reference types="node" /> | ||
import { IncomingMessage } from "http"; | ||
declare type IncomingMessage = any; | ||
declare type ParsedRequest = { | ||
@@ -4,0 +3,0 @@ headers: { |
@@ -1,3 +0,3 @@ | ||
/// <reference types="node" /> | ||
import { IncomingMessage, ServerResponse } from "http"; | ||
declare type IncomingMessage = any; | ||
declare type ServerResponse = any; | ||
export declare type MiddlewareOptions = { | ||
@@ -7,1 +7,2 @@ pathPrefix?: string; | ||
}; | ||
export {}; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "3.3.1"; | ||
export declare const VERSION = "3.3.2"; |
{ | ||
"name": "@octokit/oauth-app", | ||
"description": "GitHub OAuth toolset for Node.js", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
1471
132246