From dc62e2779036c6bb229d60d24dcc30ece02c845a Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" <23040076+greenkeeper[bot]@users.noreply.github.com> Date: Thu, 2 Apr 2020 22:20:31 -0700 Subject: [PATCH] fix(typescript): `sponsorship.maintainer` is now `sponsorship.sponsorable` (#120) Co-authored-by: Octokit Bot --- index.d.ts | 4 ++-- package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/index.d.ts b/index.d.ts index 2817b502..acacbaeb 100644 --- a/index.d.ts +++ b/index.d.ts @@ -355,7 +355,7 @@ declare namespace Webhooks { type: string; site_admin: boolean; }; - type WebhookPayloadSponsorshipSponsorshipMaintainer = { + type WebhookPayloadSponsorshipSponsorshipSponsorable = { login: string; id: number; node_id: string; @@ -378,7 +378,7 @@ declare namespace Webhooks { type WebhookPayloadSponsorshipSponsorship = { node_id: string; created_at: string; - maintainer: WebhookPayloadSponsorshipSponsorshipMaintainer; + sponsorable: WebhookPayloadSponsorshipSponsorshipSponsorable; sponsor: WebhookPayloadSponsorshipSponsorshipSponsor; privacy_level: string; tier: WebhookPayloadSponsorshipSponsorshipTier; diff --git a/package-lock.json b/package-lock.json index 97fbe632..5dcbdb77 100644 --- a/package-lock.json +++ b/package-lock.json @@ -307,9 +307,9 @@ } }, "@octokit/webhooks-definitions": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@octokit/webhooks-definitions/-/webhooks-definitions-3.4.1.tgz", - "integrity": "sha512-3CDe8h5Gdq1CPenLJnrJjlmx09chqWzOHZ7CVL5w+LfeiBkcx9ZrjhhVGnq/QyuyRtVdOtu28T9V2DTACVNXxA==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/@octokit/webhooks-definitions/-/webhooks-definitions-3.4.2.tgz", + "integrity": "sha512-mta8Wj8tEAgB+B/nNWAvcqDzh6sfm9XXhNHDP0k6MbbgV8rh+XEJdq6bJZbKinqKi22Bqj8qkvTKuWneM1bVnA==", "dev": true }, "@semantic-release/commit-analyzer": { diff --git a/package.json b/package.json index c49ea4bc..281c0880 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "devDependencies": { "@gimenete/type-writer": "^0.1.5", - "@octokit/webhooks-definitions": "3.4.1", + "@octokit/webhooks-definitions": "3.4.2", "axios": "^0.19.0", "cheerio": "^1.0.0-rc.2", "get-port": "^5.0.0",