payload: {"action":"closed","number":29,"pull_request":{"url":"https://api.github.com/repos/auth0/express-jwt-authz/pulls/29","id":322914562,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIyOTE0NTYy","html_url":"https://github.com/auth0/express-jwt-authz/pull/29","diff_url":"https://github.com/auth0/express-jwt-authz/pull/29.diff","patch_url":"https://github.com/auth0/express-jwt-authz/pull/29.patch","issue_url":"https://api.github.com/repos/auth0/express-jwt-authz/issues/29","number":29,"state":"closed","locked":false,"title":"added typescript support","user":{"login":"jake-wickstrom-lb","id":50120379,"node_id":"MDQ6VXNlcjUwMTIwMzc5","avatar_url":"https://avatars0.githubusercontent.com/u/50120379?v=4","gravatar_id":"","url":"https://api.github.com/users/jake-wickstrom-lb","html_url":"https://github.com/jake-wickstrom-lb","followers_url":"https://api.github.com/users/jake-wickstrom-lb/followers","following_url":"https://api.github.com/users/jake-wickstrom-lb/following{/other_user}","gists_url":"https://api.github.com/users/jake-wickstrom-lb/gists{/gist_id}","starred_url":"https://api.github.com/users/jake-wickstrom-lb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jake-wickstrom-lb/subscriptions","organizations_url":"https://api.github.com/users/jake-wickstrom-lb/orgs","repos_url":"https://api.github.com/users/jake-wickstrom-lb/repos","events_url":"https://api.github.com/users/jake-wickstrom-lb/events{/privacy}","received_events_url":"https://api.github.com/users/jake-wickstrom-lb/received_events","type":"User","site_admin":false},"body":"### Description\r\n\r\nAdded Typescript typings to this module \r\n\r\nThe only notable change that affects existing users was to add @types/express as a peer dependency (as the jwtAuthz method returns an express.Handler)\r\n\r\n### References\r\n\r\nfixes #28 \r\n\r\n\r\n### Testing\r\n\r\nNo new functionality was added, this PR just enforces typing\r\n\r\nReviewers should validate that the typings introduced are a complete representation of the objects they represent (are all the variables present? are there additional valid inputs that are not allowed by the type definitions? is the output type correct?)\r\n\r\n### Checklist\r\n\r\n- [x] **(N/A)** I have added documentation for new/changed functionality in this PR or in auth0.com/docs\r\n- [x] All active GitHub checks for tests, formatting, and security are passing\r\n- [x] The correct base branch is being used, if not `master`\r\n","created_at":"2019-09-30T18:29:57Z","updated_at":"2019-10-01T01:50:42Z","closed_at":"2019-10-01T01:50:42Z","merged_at":"2019-10-01T01:50:42Z","merge_commit_sha":"7415fa70aaf2a458843ae14476113f794cb56291","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/auth0/express-jwt-authz/pulls/29/commits","review_comments_url":"https://api.github.com/repos/auth0/express-jwt-authz/pulls/29/comments","review_comment_url":"https://api.github.com/repos/auth0/express-jwt-authz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/auth0/express-jwt-authz/issues/29/comments","statuses_url":"https://api.github.com/repos/auth0/express-jwt-authz/statuses/6a1c3fb524dae9edc08d8562f6435964baf7e6d1","head":{"label":"jake-wickstrom-lb:master","ref":"master","sha":"6a1c3fb524dae9edc08d8562f6435964baf7e6d1","user":{"login":"jake-wickstrom-lb","id":50120379,"node_id":"MDQ6VXNlcjUwMTIwMzc5","avatar_url":"https://avatars0.githubusercontent.com/u/50120379?v=4","gravatar_id":"","url":"https://api.github.com/users/jake-wickstrom-lb","html_url":"https://github.com/jake-wickstrom-lb","followers_url":"https://api.github.com/users/jake-wickstrom-lb/followers","following_url":"https://api.github.com/users/jake-wickstrom-lb/following{/other_user}","gists_url":"https://api.github.com/users/jake-wickstrom-lb/gists{/gist_id}","starred_url":"https://api.github.com/users/jake-wickstrom-lb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jake-wickstrom-lb/subscriptions","organizations_url":"https://api.github.com/users/jake-wickstrom-lb/orgs","repos_url":"https://api.github.com/users/jake-wickstrom-lb/repos","events_url":"https://api.github.com/users/jake-wickstrom-lb/events{/privacy}","received_events_url":"https://api.github.com/users/jake-wickstrom-lb/received_events","type":"User","site_admin":false},"repo":{"id":211925114,"node_id":"MDEwOlJlcG9zaXRvcnkyMTE5MjUxMTQ=","name":"express-jwt-authz","full_name":"jake-wickstrom-lb/express-jwt-authz","private":false,"owner":{"login":"jake-wickstrom-lb","id":50120379,"node_id":"MDQ6VXNlcjUwMTIwMzc5","avatar_url":"https://avatars0.githubusercontent.com/u/50120379?v=4","gravatar_id":"","url":"https://api.github.com/users/jake-wickstrom-lb","html_url":"https://github.com/jake-wickstrom-lb","followers_url":"https://api.github.com/users/jake-wickstrom-lb/followers","following_url":"https://api.github.com/users/jake-wickstrom-lb/following{/other_user}","gists_url":"https://api.github.com/users/jake-wickstrom-lb/gists{/gist_id}","starred_url":"https://api.github.com/users/jake-wickstrom-lb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jake-wickstrom-lb/subscriptions","organizations_url":"https://api.github.com/users/jake-wickstrom-lb/orgs","repos_url":"https://api.github.com/users/jake-wickstrom-lb/repos","events_url":"https://api.github.com/users/jake-wickstrom-lb/events{/privacy}","received_events_url":"https://api.github.com/users/jake-wickstrom-lb/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jake-wickstrom-lb/express-jwt-authz","description":"Validate the JWT scope to authorize access to an endpoint","fork":true,"url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz","forks_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/forks","keys_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/teams","hooks_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/hooks","issue_events_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/issues/events{/number}","events_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/events","assignees_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/assignees{/user}","branches_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/branches{/branch}","tags_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/tags","blobs_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/git/refs{/sha}","trees_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/statuses/{sha}","languages_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/languages","stargazers_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/stargazers","contributors_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/contributors","subscribers_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/subscribers","subscription_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/subscription","commits_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/commits{/sha}","git_commits_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/git/commits{/sha}","comments_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/comments{/number}","issue_comment_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/issues/comments{/number}","contents_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/contents/{+path}","compare_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/merges","archive_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/downloads","issues_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/issues{/number}","pulls_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/pulls{/number}","milestones_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/milestones{/number}","notifications_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/labels{/name}","releases_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/releases{/id}","deployments_url":"https://api.github.com/repos/jake-wickstrom-lb/express-jwt-authz/deployments","created_at":"2019-09-30T18:16:11Z","updated_at":"2019-09-30T18:36:38Z","pushed_at":"2019-09-30T18:36:36Z","git_url":"git://github.com/jake-wickstrom-lb/express-jwt-authz.git","ssh_url":"git@github.com:jake-wickstrom-lb/express-jwt-authz.git","clone_url":"https://github.com/jake-wickstrom-lb/express-jwt-authz.git","svn_url":"https://github.com/jake-wickstrom-lb/express-jwt-authz","homepage":null,"size":44,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"auth0:master","ref":"master","sha":"652c7723734302883594e7f612bb8d6aa1ae8446","user":{"login":"auth0","id":2824157,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MjQxNTc=","avatar_url":"https://avatars1.githubusercontent.com/u/2824157?v=4","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"repo":{"id":59341463,"node_id":"MDEwOlJlcG9zaXRvcnk1OTM0MTQ2Mw==","name":"express-jwt-authz","full_name":"auth0/express-jwt-authz","private":false,"owner":{"login":"auth0","id":2824157,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MjQxNTc=","avatar_url":"https://avatars1.githubusercontent.com/u/2824157?v=4","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/auth0/express-jwt-authz","description":"Validate the JWT scope to authorize access to an endpoint","fork":false,"url":"https://api.github.com/repos/auth0/express-jwt-authz","forks_url":"https://api.github.com/repos/auth0/express-jwt-authz/forks","keys_url":"https://api.github.com/repos/auth0/express-jwt-authz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auth0/express-jwt-authz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auth0/express-jwt-authz/teams","hooks_url":"https://api.github.com/repos/auth0/express-jwt-authz/hooks","issue_events_url":"https://api.github.com/repos/auth0/express-jwt-authz/issues/events{/number}","events_url":"https://api.github.com/repos/auth0/express-jwt-authz/events","assignees_url":"https://api.github.com/repos/auth0/express-jwt-authz/assignees{/user}","branches_url":"https://api.github.com/repos/auth0/express-jwt-authz/branches{/branch}","tags_url":"https://api.github.com/repos/auth0/express-jwt-authz/tags","blobs_url":"https://api.github.com/repos/auth0/express-jwt-authz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auth0/express-jwt-authz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auth0/express-jwt-authz/git/refs{/sha}","trees_url":"https://api.github.com/repos/auth0/express-jwt-authz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auth0/express-jwt-authz/statuses/{sha}","languages_url":"https://api.github.com/repos/auth0/express-jwt-authz/languages","stargazers_url":"https://api.github.com/repos/auth0/express-jwt-authz/stargazers","contributors_url":"https://api.github.com/repos/auth0/express-jwt-authz/contributors","subscribers_url":"https://api.github.com/repos/auth0/express-jwt-authz/subscribers","subscription_url":"https://api.github.com/repos/auth0/express-jwt-authz/subscription","commits_url":"https://api.github.com/repos/auth0/express-jwt-authz/commits{/sha}","git_commits_url":"https://api.github.com/repos/auth0/express-jwt-authz/git/commits{/sha}","comments_url":"https://api.github.com/repos/auth0/express-jwt-authz/comments{/number}","issue_comment_url":"https://api.github.com/repos/auth0/express-jwt-authz/issues/comments{/number}","contents_url":"https://api.github.com/repos/auth0/express-jwt-authz/contents/{+path}","compare_url":"https://api.github.com/repos/auth0/express-jwt-authz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auth0/express-jwt-authz/merges","archive_url":"https://api.github.com/repos/auth0/express-jwt-authz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auth0/express-jwt-authz/downloads","issues_url":"https://api.github.com/repos/auth0/express-jwt-authz/issues{/number}","pulls_url":"https://api.github.com/repos/auth0/express-jwt-authz/pulls{/number}","milestones_url":"https://api.github.com/repos/auth0/express-jwt-authz/milestones{/number}","notifications_url":"https://api.github.com/repos/auth0/express-jwt-authz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auth0/express-jwt-authz/labels{/name}","releases_url":"https://api.github.com/repos/auth0/express-jwt-authz/releases{/id}","deployments_url":"https://api.github.com/repos/auth0/express-jwt-authz/deployments","created_at":"2016-05-21T04:20:22Z","updated_at":"2019-09-25T06:43:34Z","pushed_at":"2019-10-01T01:50:42Z","git_url":"git://github.com/auth0/express-jwt-authz.git","ssh_url":"git@github.com:auth0/express-jwt-authz.git","clone_url":"https://github.com/auth0/express-jwt-authz.git","svn_url":"https://github.com/auth0/express-jwt-authz","homepage":null,"size":51,"stargazers_count":46,"watchers_count":46,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":25,"open_issues":3,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/auth0/express-jwt-authz/pulls/29"},"html":{"href":"https://github.com/auth0/express-jwt-authz/pull/29"},"issue":{"href":"https://api.github.com/repos/auth0/express-jwt-authz/issues/29"},"comments":{"href":"https://api.github.com/repos/auth0/express-jwt-authz/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/auth0/express-jwt-authz/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/auth0/express-jwt-authz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/auth0/express-jwt-authz/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/auth0/express-jwt-authz/statuses/6a1c3fb524dae9edc08d8562f6435964baf7e6d1"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"luisrudge","id":941075,"node_id":"MDQ6VXNlcjk0MTA3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/941075?v=4","gravatar_id":"","url":"https://api.github.com/users/luisrudge","html_url":"https://github.com/luisrudge","followers_url":"https://api.github.com/users/luisrudge/followers","following_url":"https://api.github.com/users/luisrudge/following{/other_user}","gists_url":"https://api.github.com/users/luisrudge/gists{/gist_id}","starred_url":"https://api.github.com/users/luisrudge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisrudge/subscriptions","organizations_url":"https://api.github.com/users/luisrudge/orgs","repos_url":"https://api.github.com/users/luisrudge/repos","events_url":"https://api.github.com/users/luisrudge/events{/privacy}","received_events_url":"https://api.github.com/users/luisrudge/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":21,"deletions":1,"changed_files":2}}
other: {"actor":{"display_login":"luisrudge"}}