@octokit/app
Advanced tools
Comparing version 12.0.3 to 12.0.4
@@ -188,3 +188,3 @@ 'use strict'; | ||
const VERSION = "12.0.3"; | ||
const VERSION = "12.0.4"; | ||
@@ -191,0 +191,0 @@ function webhooks(appOctokit, options // Explict return type for better debugability and performance, |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "12.0.3"; | ||
export const VERSION = "12.0.4"; |
@@ -12,2 +12,4 @@ import { Octokit } from "@octokit/core"; | ||
account: (Partial<{ | ||
name?: string | null | undefined; | ||
email?: string | null | undefined; | ||
login: string; | ||
@@ -52,10 +54,33 @@ id: number; | ||
permissions: { | ||
deployments?: string | undefined; | ||
checks?: string | undefined; | ||
metadata?: string | undefined; | ||
contents?: string | undefined; | ||
pull_requests?: string | undefined; | ||
statuses?: string | undefined; | ||
issues?: string | undefined; | ||
organization_administration?: string | undefined; | ||
actions?: "read" | "write" | undefined; | ||
administration?: "read" | "write" | undefined; | ||
checks?: "read" | "write" | undefined; | ||
content_references?: "read" | "write" | undefined; | ||
contents?: "read" | "write" | undefined; | ||
deployments?: "read" | "write" | undefined; | ||
environments?: "read" | "write" | undefined; | ||
issues?: "read" | "write" | undefined; | ||
metadata?: "read" | "write" | undefined; | ||
packages?: "read" | "write" | undefined; | ||
pages?: "read" | "write" | undefined; | ||
pull_requests?: "read" | "write" | undefined; | ||
repository_hooks?: "read" | "write" | undefined; | ||
repository_projects?: "read" | "write" | "admin" | undefined; | ||
secret_scanning_alerts?: "read" | "write" | undefined; | ||
secrets?: "read" | "write" | undefined; | ||
security_events?: "read" | "write" | undefined; | ||
single_file?: "read" | "write" | undefined; | ||
statuses?: "read" | "write" | undefined; | ||
vulnerability_alerts?: "read" | undefined; | ||
workflows?: "write" | undefined; | ||
members?: "read" | "write" | undefined; | ||
organization_administration?: "read" | "write" | undefined; | ||
organization_hooks?: "read" | "write" | undefined; | ||
organization_plan?: "read" | undefined; | ||
organization_projects?: "read" | "write" | "admin" | undefined; | ||
organization_packages?: "read" | "write" | undefined; | ||
organization_secrets?: "read" | "write" | undefined; | ||
organization_self_hosted_runners?: "read" | "write" | undefined; | ||
organization_user_blocking?: "read" | "write" | undefined; | ||
team_discussions?: "read" | "write" | undefined; | ||
}; | ||
@@ -70,2 +95,4 @@ events: string[]; | ||
suspended_by: { | ||
name?: string | null | undefined; | ||
email?: string | null | undefined; | ||
login: string; | ||
@@ -72,0 +99,0 @@ id: number; |
@@ -23,2 +23,4 @@ import { Octokit } from "@octokit/core"; | ||
organization: { | ||
name: string; | ||
email: string; | ||
login: string; | ||
@@ -53,2 +55,4 @@ id: number; | ||
owner: { | ||
name: string; | ||
email: string; | ||
login: string; | ||
@@ -55,0 +59,0 @@ id: number; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "12.0.3"; | ||
export declare const VERSION = "12.0.4"; |
{ | ||
"name": "@octokit/app", | ||
"description": "GitHub Apps toolset for Node.js", | ||
"version": "12.0.3", | ||
"version": "12.0.4", | ||
"license": "MIT", | ||
@@ -26,3 +26,3 @@ "files": [ | ||
"@pika/plugin-ts-standard-pkg": "^0.9.1", | ||
"@types/jest": "^26.0.0", | ||
"@types/jest": "^27.0.0", | ||
"@types/node": "^14.14.6", | ||
@@ -35,3 +35,3 @@ "@types/node-fetch": "^2.5.8", | ||
"node-fetch": "^2.6.1", | ||
"prettier": "2.3.0", | ||
"prettier": "2.3.2", | ||
"semantic-release": "^17.0.0", | ||
@@ -38,0 +38,0 @@ "semantic-release-plugin-update-version-in-files": "^1.0.0", |
@@ -269,3 +269,3 @@ # app.js | ||
```js | ||
const { octokit } = await app.getInstallationOctokit(123); | ||
const octokit = await app.getInstallationOctokit(123); | ||
``` | ||
@@ -272,0 +272,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
80659
1242