@octokit/app
Advanced tools
Comparing version 11.3.0 to 11.3.1
@@ -190,3 +190,3 @@ 'use strict'; | ||
const VERSION = "11.3.0"; | ||
const VERSION = "11.3.1"; | ||
@@ -439,3 +439,2 @@ function webhooks(appOctokit, options // Explict return type for better debugability and performance, | ||
log: logWithDefaults, | ||
// @ts-expect-error TODO: figure out this error | ||
onUnhandledRequest: oauthApp.createNodeMiddleware(app.oauth, { | ||
@@ -484,3 +483,2 @@ onUnhandledRequest, | ||
if (options.oauth) { | ||
// @ts-expect-error TODO: figure this out | ||
this.oauth = new oauthApp.OAuthApp(_objectSpread2(_objectSpread2({}, options.oauth), {}, { | ||
@@ -487,0 +485,0 @@ Octokit |
@@ -46,3 +46,2 @@ import { Octokit as OctokitCore } from "@octokit/core"; | ||
if (options.oauth) { | ||
// @ts-expect-error TODO: figure this out | ||
this.oauth = new OAuthApp({ | ||
@@ -49,0 +48,0 @@ ...options.oauth, |
@@ -15,3 +15,2 @@ import { createNodeMiddleware as oauthNodeMiddleware } from "@octokit/oauth-app"; | ||
log: logWithDefaults, | ||
// @ts-expect-error TODO: figure out this error | ||
onUnhandledRequest: oauthNodeMiddleware(app.oauth, { | ||
@@ -18,0 +17,0 @@ onUnhandledRequest, |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "11.3.0"; | ||
export const VERSION = "11.3.1"; |
@@ -7,10 +7,6 @@ import { Octokit as OctokitCore } from "@octokit/core"; | ||
declare type OctokitType<O extends Options> = O["Octokit"] extends typeof OctokitCore ? InstanceType<O["Octokit"]> : OctokitCore; | ||
declare type OctokitClassType<O extends Options> = O["Octokit"] extends typeof OctokitCore ? O["Octokit"] : OctokitCore; | ||
declare type OctokitClassType<O extends Options> = O["Octokit"] extends typeof OctokitCore ? O["Octokit"] : typeof OctokitCore; | ||
export declare class App<O extends Options = Options> { | ||
static VERSION: string; | ||
static defaults<S extends Constructor<any>>(this: S, defaults: Partial<Options>): { | ||
new (...args: any[]): { | ||
[x: string]: any; | ||
}; | ||
} & S; | ||
static defaults<S extends Constructor<any>>(this: S, defaults: Partial<Options>): S; | ||
octokit: OctokitCore; | ||
@@ -17,0 +13,0 @@ webhooks: Webhooks<{ |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "11.3.0"; | ||
export declare const VERSION = "11.3.1"; |
{ | ||
"name": "@octokit/app", | ||
"description": "GitHub Apps toolset for Node.js", | ||
"version": "11.3.0", | ||
"version": "11.3.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "files": [ |
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
72201
1106