{"action":"opened","number":296,"pull_request":{"url":"https://api.github.com/repos/squaremo/amqp.node/pulls/296","id":91892202,"html_url":"https://github.com/squaremo/amqp.node/pull/296","diff_url":"https://github.com/squaremo/amqp.node/pull/296.diff","patch_url":"https://github.com/squaremo/amqp.node/pull/296.patch","issue_url":"https://api.github.com/repos/squaremo/amqp.node/issues/296","number":296,"state":"open","locked":false,"title":"Add typescript type definitions","user":{"login":"nfantone","id":476069,"avatar_url":"https://avatars.githubusercontent.com/u/476069?v=3","gravatar_id":"","url":"https://api.github.com/users/nfantone","html_url":"https://github.com/nfantone","followers_url":"https://api.github.com/users/nfantone/followers","following_url":"https://api.github.com/users/nfantone/following{/other_user}","gists_url":"https://api.github.com/users/nfantone/gists{/gist_id}","starred_url":"https://api.github.com/users/nfantone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfantone/subscriptions","organizations_url":"https://api.github.com/users/nfantone/orgs","repos_url":"https://api.github.com/users/nfantone/repos","events_url":"https://api.github.com/users/nfantone/events{/privacy}","received_events_url":"https://api.github.com/users/nfantone/received_events","type":"User","site_admin":false},"body":"@squaremo I don't know if you are really into this - but _hey_, here it is, nonetheless.\r\n\r\nThis PR would allow library/module writers to consume \"official\" type definitions for `amqplib` in their TS 2.0 projects (such as [rx-amqplib](https://github.com/SkippyZA/rx-amqplib)) without hassle, by just installing the client from `npm`.\r\n\r\n```sh\r\nnpm i --save amqplib @types/bluebird @types/node\r\n```\r\n\r\nAdditional `\"peerDependencies\"` are needed because the definitions file (`index.d.ts`) depends on external typings. Regular users won't need to install those.","created_at":"2016-11-02T00:54:12Z","updated_at":"2016-11-02T00:54:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d12f28d9d9232126b31173dc7b16cbf7bb2d4d36","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/squaremo/amqp.node/pulls/296/commits","review_comments_url":"https://api.github.com/repos/squaremo/amqp.node/pulls/296/comments","review_comment_url":"https://api.github.com/repos/squaremo/amqp.node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/squaremo/amqp.node/issues/296/comments","statuses_url":"https://api.github.com/repos/squaremo/amqp.node/statuses/9d722e490b29a03897b40e1589096188b075fa82","head":{"label":"nfantone:feature/typescript","ref":"feature/typescript","sha":"9d722e490b29a03897b40e1589096188b075fa82","user":{"login":"nfantone","id":476069,"avatar_url":"https://avatars.githubusercontent.com/u/476069?v=3","gravatar_id":"","url":"https://api.github.com/users/nfantone","html_url":"https://github.com/nfantone","followers_url":"https://api.github.com/users/nfantone/followers","following_url":"https://api.github.com/users/nfantone/following{/other_user}","gists_url":"https://api.github.com/users/nfantone/gists{/gist_id}","starred_url":"https://api.github.com/users/nfantone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfantone/subscriptions","organizations_url":"https://api.github.com/users/nfantone/orgs","repos_url":"https://api.github.com/users/nfantone/repos","events_url":"https://api.github.com/users/nfantone/events{/privacy}","received_events_url":"https://api.github.com/users/nfantone/received_events","type":"User","site_admin":false},"repo":{"id":72490013,"name":"amqp.node","full_name":"nfantone/amqp.node","owner":{"login":"nfantone","id":476069,"avatar_url":"https://avatars.githubusercontent.com/u/476069?v=3","gravatar_id":"","url":"https://api.github.com/users/nfantone","html_url":"https://github.com/nfantone","followers_url":"https://api.github.com/users/nfantone/followers","following_url":"https://api.github.com/users/nfantone/following{/other_user}","gists_url":"https://api.github.com/users/nfantone/gists{/gist_id}","starred_url":"https://api.github.com/users/nfantone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfantone/subscriptions","organizations_url":"https://api.github.com/users/nfantone/orgs","repos_url":"https://api.github.com/users/nfantone/repos","events_url":"https://api.github.com/users/nfantone/events{/privacy}","received_events_url":"https://api.github.com/users/nfantone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nfantone/amqp.node","description":"AMQP 0-9-1 library and client for Node.JS","fork":true,"url":"https://api.github.com/repos/nfantone/amqp.node","forks_url":"https://api.github.com/repos/nfantone/amqp.node/forks","keys_url":"https://api.github.com/repos/nfantone/amqp.node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nfantone/amqp.node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nfantone/amqp.node/teams","hooks_url":"https://api.github.com/repos/nfantone/amqp.node/hooks","issue_events_url":"https://api.github.com/repos/nfantone/amqp.node/issues/events{/number}","events_url":"https://api.github.com/repos/nfantone/amqp.node/events","assignees_url":"https://api.github.com/repos/nfantone/amqp.node/assignees{/user}","branches_url":"https://api.github.com/repos/nfantone/amqp.node/branches{/branch}","tags_url":"https://api.github.com/repos/nfantone/amqp.node/tags","blobs_url":"https://api.github.com/repos/nfantone/amqp.node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nfantone/amqp.node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nfantone/amqp.node/git/refs{/sha}","trees_url":"https://api.github.com/repos/nfantone/amqp.node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nfantone/amqp.node/statuses/{sha}","languages_url":"https://api.github.com/repos/nfantone/amqp.node/languages","stargazers_url":"https://api.github.com/repos/nfantone/amqp.node/stargazers","contributors_url":"https://api.github.com/repos/nfantone/amqp.node/contributors","subscribers_url":"https://api.github.com/repos/nfantone/amqp.node/subscribers","subscription_url":"https://api.github.com/repos/nfantone/amqp.node/subscription","commits_url":"https://api.github.com/repos/nfantone/amqp.node/commits{/sha}","git_commits_url":"https://api.github.com/repos/nfantone/amqp.node/git/commits{/sha}","comments_url":"https://api.github.com/repos/nfantone/amqp.node/comments{/number}","issue_comment_url":"https://api.github.com/repos/nfantone/amqp.node/issues/comments{/number}","contents_url":"https://api.github.com/repos/nfantone/amqp.node/contents/{+path}","compare_url":"https://api.github.com/repos/nfantone/amqp.node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nfantone/amqp.node/merges","archive_url":"https://api.github.com/repos/nfantone/amqp.node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nfantone/amqp.node/downloads","issues_url":"https://api.github.com/repos/nfantone/amqp.node/issues{/number}","pulls_url":"https://api.github.com/repos/nfantone/amqp.node/pulls{/number}","milestones_url":"https://api.github.com/repos/nfantone/amqp.node/milestones{/number}","notifications_url":"https://api.github.com/repos/nfantone/amqp.node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nfantone/amqp.node/labels{/name}","releases_url":"https://api.github.com/repos/nfantone/amqp.node/releases{/id}","deployments_url":"https://api.github.com/repos/nfantone/amqp.node/deployments","created_at":"2016-11-01T00:39:36Z","updated_at":"2016-11-01T00:39:37Z","pushed_at":"2016-11-02T00:46:47Z","git_url":"git://github.com/nfantone/amqp.node.git","ssh_url":"git@github.com:nfantone/amqp.node.git","clone_url":"https://github.com/nfantone/amqp.node.git","svn_url":"https://github.com/nfantone/amqp.node","homepage":"https://squaremo.github.io/amqp.node/","size":648,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"squaremo:master","ref":"master","sha":"e5c19d4da864954ba907daa00f0dd3910f239715","user":{"login":"squaremo","id":62033,"avatar_url":"https://avatars.githubusercontent.com/u/62033?v=3","gravatar_id":"","url":"https://api.github.com/users/squaremo","html_url":"https://github.com/squaremo","followers_url":"https://api.github.com/users/squaremo/followers","following_url":"https://api.github.com/users/squaremo/following{/other_user}","gists_url":"https://api.github.com/users/squaremo/gists{/gist_id}","starred_url":"https://api.github.com/users/squaremo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squaremo/subscriptions","organizations_url":"https://api.github.com/users/squaremo/orgs","repos_url":"https://api.github.com/users/squaremo/repos","events_url":"https://api.github.com/users/squaremo/events{/privacy}","received_events_url":"https://api.github.com/users/squaremo/received_events","type":"User","site_admin":false},"repo":{"id":10634962,"name":"amqp.node","full_name":"squaremo/amqp.node","owner":{"login":"squaremo","id":62033,"avatar_url":"https://avatars.githubusercontent.com/u/62033?v=3","gravatar_id":"","url":"https://api.github.com/users/squaremo","html_url":"https://github.com/squaremo","followers_url":"https://api.github.com/users/squaremo/followers","following_url":"https://api.github.com/users/squaremo/following{/other_user}","gists_url":"https://api.github.com/users/squaremo/gists{/gist_id}","starred_url":"https://api.github.com/users/squaremo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squaremo/subscriptions","organizations_url":"https://api.github.com/users/squaremo/orgs","repos_url":"https://api.github.com/users/squaremo/repos","events_url":"https://api.github.com/users/squaremo/events{/privacy}","received_events_url":"https://api.github.com/users/squaremo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/squaremo/amqp.node","description":"AMQP 0-9-1 library and client for Node.JS","fork":false,"url":"https://api.github.com/repos/squaremo/amqp.node","forks_url":"https://api.github.com/repos/squaremo/amqp.node/forks","keys_url":"https://api.github.com/repos/squaremo/amqp.node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/squaremo/amqp.node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/squaremo/amqp.node/teams","hooks_url":"https://api.github.com/repos/squaremo/amqp.node/hooks","issue_events_url":"https://api.github.com/repos/squaremo/amqp.node/issues/events{/number}","events_url":"https://api.github.com/repos/squaremo/amqp.node/events","assignees_url":"https://api.github.com/repos/squaremo/amqp.node/assignees{/user}","branches_url":"https://api.github.com/repos/squaremo/amqp.node/branches{/branch}","tags_url":"https://api.github.com/repos/squaremo/amqp.node/tags","blobs_url":"https://api.github.com/repos/squaremo/amqp.node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/squaremo/amqp.node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/squaremo/amqp.node/git/refs{/sha}","trees_url":"https://api.github.com/repos/squaremo/amqp.node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/squaremo/amqp.node/statuses/{sha}","languages_url":"https://api.github.com/repos/squaremo/amqp.node/languages","stargazers_url":"https://api.github.com/repos/squaremo/amqp.node/stargazers","contributors_url":"https://api.github.com/repos/squaremo/amqp.node/contributors","subscribers_url":"https://api.github.com/repos/squaremo/amqp.node/subscribers","subscription_url":"https://api.github.com/repos/squaremo/amqp.node/subscription","commits_url":"https://api.github.com/repos/squaremo/amqp.node/commits{/sha}","git_commits_url":"https://api.github.com/repos/squaremo/amqp.node/git/commits{/sha}","comments_url":"https://api.github.com/repos/squaremo/amqp.node/comments{/number}","issue_comment_url":"https://api.github.com/repos/squaremo/amqp.node/issues/comments{/number}","contents_url":"https://api.github.com/repos/squaremo/amqp.node/contents/{+path}","compare_url":"https://api.github.com/repos/squaremo/amqp.node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/squaremo/amqp.node/merges","archive_url":"https://api.github.com/repos/squaremo/amqp.node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/squaremo/amqp.node/downloads","issues_url":"https://api.github.com/repos/squaremo/amqp.node/issues{/number}","pulls_url":"https://api.github.com/repos/squaremo/amqp.node/pulls{/number}","milestones_url":"https://api.github.com/repos/squaremo/amqp.node/milestones{/number}","notifications_url":"https://api.github.com/repos/squaremo/amqp.node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/squaremo/amqp.node/labels{/name}","releases_url":"https://api.github.com/repos/squaremo/amqp.node/releases{/id}","deployments_url":"https://api.github.com/repos/squaremo/amqp.node/deployments","created_at":"2013-06-12T02:29:36Z","updated_at":"2016-11-01T21:49:45Z","pushed_at":"2016-11-02T00:54:12Z","git_url":"git://github.com/squaremo/amqp.node.git","ssh_url":"git@github.com:squaremo/amqp.node.git","clone_url":"https://github.com/squaremo/amqp.node.git","svn_url":"https://github.com/squaremo/amqp.node","homepage":"https://squaremo.github.io/amqp.node/","size":1292,"stargazers_count":907,"watchers_count":907,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":166,"mirror_url":null,"open_issues_count":88,"forks":166,"open_issues":88,"watchers":907,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/squaremo/amqp.node/pulls/296"},"html":{"href":"https://github.com/squaremo/amqp.node/pull/296"},"issue":{"href":"https://api.github.com/repos/squaremo/amqp.node/issues/296"},"comments":{"href":"https://api.github.com/repos/squaremo/amqp.node/issues/296/comments"},"review_comments":{"href":"https://api.github.com/repos/squaremo/amqp.node/pulls/296/comments"},"review_comment":{"href":"https://api.github.com/repos/squaremo/amqp.node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/squaremo/amqp.node/pulls/296/commits"},"statuses":{"href":"https://api.github.com/repos/squaremo/amqp.node/statuses/9d722e490b29a03897b40e1589096188b075fa82"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":237,"deletions":6,"changed_files":3}}
{"actor":{"display_login":"nfantone"}}