@octokit/app
Advanced tools
Comparing version 11.4.0 to 11.4.1
@@ -190,3 +190,3 @@ 'use strict'; | ||
const VERSION = "11.4.0"; | ||
const VERSION = "11.4.1"; | ||
@@ -483,2 +483,3 @@ function webhooks(appOctokit, options // Explict return type for better debugability and performance, | ||
this.oauth = new oauthApp.OAuthApp(_objectSpread2(_objectSpread2({}, options.oauth), {}, { | ||
clientType: "github-app", | ||
Octokit | ||
@@ -485,0 +486,0 @@ })); |
@@ -11,3 +11,4 @@ import { Octokit as OctokitCore } from "@octokit/core"; | ||
constructor(options) { | ||
const Octokit = options.Octokit || OctokitCore; | ||
const Octokit = (options.Octokit || | ||
OctokitCore); | ||
const authOptions = Object.assign({ | ||
@@ -49,2 +50,3 @@ appId: options.appId, | ||
...options.oauth, | ||
clientType: "github-app", | ||
Octokit, | ||
@@ -51,0 +53,0 @@ }); |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "11.4.0"; | ||
export const VERSION = "11.4.1"; |
@@ -16,3 +16,6 @@ import { Octokit as OctokitCore } from "@octokit/core"; | ||
}>; | ||
oauth: OAuthApp<"github-app", OctokitClassType<TDefaults>>; | ||
oauth: OAuthApp<{ | ||
clientType: "github-app"; | ||
Octokit: OctokitClassType<TDefaults>; | ||
}>; | ||
getInstallationOctokit: GetInstallationOctokitInterface<OctokitType<TDefaults>>; | ||
@@ -34,3 +37,6 @@ eachInstallation: EachInstallationInterface<OctokitType<TDefaults>>; | ||
}>; | ||
oauth: OAuthApp<"github-app", OctokitClassType<TOptions>>; | ||
oauth: OAuthApp<{ | ||
clientType: "github-app"; | ||
Octokit: OctokitClassType<TOptions>; | ||
}>; | ||
getInstallationOctokit: GetInstallationOctokitInterface<OctokitType<TOptions>>; | ||
@@ -37,0 +43,0 @@ eachInstallation: EachInstallationInterface<OctokitType<TOptions>>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "11.4.0"; | ||
export declare const VERSION = "11.4.1"; |
{ | ||
"name": "@octokit/app", | ||
"description": "GitHub Apps toolset for Node.js", | ||
"version": "11.4.0", | ||
"version": "11.4.1", | ||
"license": "MIT", | ||
@@ -14,3 +14,3 @@ "files": [ | ||
"dependencies": { | ||
"@octokit/auth-app": "^3.0.0", | ||
"@octokit/auth-app": "^3.3.0", | ||
"@octokit/auth-unauthenticated": "^2.0.4", | ||
@@ -17,0 +17,0 @@ "@octokit/core": "^3.2.0", |
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
73762
1137
Updated@octokit/auth-app@^3.3.0