@octokit/auth-app
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -262,3 +262,3 @@ 'use strict'; | ||
const VERSION = '2.2.0'; | ||
const VERSION = '2.3.0'; | ||
@@ -265,0 +265,0 @@ function createAppAuth(options) { |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '2.2.0'; | ||
export const VERSION = '2.3.0'; |
@@ -1,9 +0,2 @@ | ||
import { StrategyOptions } from "./types"; | ||
export declare function createAppAuth(options: StrategyOptions): ((options: import("./types").AuthOptions) => Promise<import("./types").InstallationAccessTokenAuthentication | import("./types").OAuthAccesTokenAuthentication | { | ||
type: string; | ||
token: string; | ||
appId: number; | ||
expiresAt: string; | ||
}>) & { | ||
hook: (request: import("@octokit/types").RequestInterface, route: string | import("@octokit/types").EndpointOptions, parameters?: import("@octokit/types").RequestParameters | undefined) => Promise<import("@octokit/types").OctokitResponse<any>>; | ||
}; | ||
import { AuthInterface, StrategyOptions } from "./types"; | ||
export declare function createAppAuth(options: StrategyOptions): AuthInterface; |
import * as OctokitTypes from "@octokit/types"; | ||
import LRUCache from "lru-cache"; | ||
export declare type AnyResponse = OctokitTypes.OctokitResponse<any>; | ||
export declare type AuthInterface = OctokitTypes.AuthInterface; | ||
export declare type EndpointDefaults = OctokitTypes.EndpointDefaults; | ||
@@ -5,0 +6,0 @@ export declare type EndpointOptions = OctokitTypes.EndpointOptions; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.2.0"; | ||
export declare const VERSION = "2.3.0"; |
@@ -237,3 +237,3 @@ import { getUserAgent } from 'universal-user-agent'; | ||
const VERSION = '2.2.0'; | ||
const VERSION = '2.3.0'; | ||
@@ -240,0 +240,0 @@ function createAppAuth(options) { |
{ | ||
"name": "@octokit/auth-app", | ||
"description": "GitHub App authentication for JavaScript", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"license": "MIT", | ||
@@ -25,3 +25,3 @@ "files": [ | ||
"@octokit/request": "^5.3.0", | ||
"@octokit/types": "^1.0.0", | ||
"@octokit/types": "^1.1.0", | ||
"@types/lru-cache": "^5.1.0", | ||
@@ -28,0 +28,0 @@ "lru-cache": "^5.1.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
86074
863
Updated@octokit/types@^1.1.0