{"action":"closed","number":16,"pull_request":{"url":"https://api.github.com/repos/TheRusskiy/pusher-redux/pulls/16","id":173771241,"html_url":"https://github.com/TheRusskiy/pusher-redux/pull/16","diff_url":"https://github.com/TheRusskiy/pusher-redux/pull/16.diff","patch_url":"https://github.com/TheRusskiy/pusher-redux/pull/16.patch","issue_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/issues/16","number":16,"state":"closed","locked":false,"title":"Export disconnect function on Pusher client","user":{"login":"SamMolokanov","id":4699081,"avatar_url":"https://avatars3.githubusercontent.com/u/4699081?v=4","gravatar_id":"","url":"https://api.github.com/users/SamMolokanov","html_url":"https://github.com/SamMolokanov","followers_url":"https://api.github.com/users/SamMolokanov/followers","following_url":"https://api.github.com/users/SamMolokanov/following{/other_user}","gists_url":"https://api.github.com/users/SamMolokanov/gists{/gist_id}","starred_url":"https://api.github.com/users/SamMolokanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamMolokanov/subscriptions","organizations_url":"https://api.github.com/users/SamMolokanov/orgs","repos_url":"https://api.github.com/users/SamMolokanov/repos","events_url":"https://api.github.com/users/SamMolokanov/events{/privacy}","received_events_url":"https://api.github.com/users/SamMolokanov/received_events","type":"User","site_admin":false},"body":"Hi there!\r\n\r\nWe have started using your library in production and found some use cases when we need to disconnect from Pusher on component unmount. Especially when we reach a limit of opened connections :)\r\n\r\nHere is an article about connections counting\r\nhttps://support.pusher.com/hc/en-us/articles/202092346-How-are-connections-counted-","created_at":"2018-03-08T15:45:31Z","updated_at":"2018-03-08T16:31:18Z","closed_at":"2018-03-08T16:31:18Z","merged_at":"2018-03-08T16:31:18Z","merge_commit_sha":"690e5560baeafe9099ba928d55033c3b0b4a2ad3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/pulls/16/commits","review_comments_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/pulls/16/comments","review_comment_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/issues/16/comments","statuses_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/statuses/a444123f543aa4bd544d37970d3932662af65cce","head":{"label":"SamMolokanov:export-disconnect-function","ref":"export-disconnect-function","sha":"a444123f543aa4bd544d37970d3932662af65cce","user":{"login":"SamMolokanov","id":4699081,"avatar_url":"https://avatars3.githubusercontent.com/u/4699081?v=4","gravatar_id":"","url":"https://api.github.com/users/SamMolokanov","html_url":"https://github.com/SamMolokanov","followers_url":"https://api.github.com/users/SamMolokanov/followers","following_url":"https://api.github.com/users/SamMolokanov/following{/other_user}","gists_url":"https://api.github.com/users/SamMolokanov/gists{/gist_id}","starred_url":"https://api.github.com/users/SamMolokanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamMolokanov/subscriptions","organizations_url":"https://api.github.com/users/SamMolokanov/orgs","repos_url":"https://api.github.com/users/SamMolokanov/repos","events_url":"https://api.github.com/users/SamMolokanov/events{/privacy}","received_events_url":"https://api.github.com/users/SamMolokanov/received_events","type":"User","site_admin":false},"repo":{"id":124411838,"name":"pusher-redux","full_name":"SamMolokanov/pusher-redux","owner":{"login":"SamMolokanov","id":4699081,"avatar_url":"https://avatars3.githubusercontent.com/u/4699081?v=4","gravatar_id":"","url":"https://api.github.com/users/SamMolokanov","html_url":"https://github.com/SamMolokanov","followers_url":"https://api.github.com/users/SamMolokanov/followers","following_url":"https://api.github.com/users/SamMolokanov/following{/other_user}","gists_url":"https://api.github.com/users/SamMolokanov/gists{/gist_id}","starred_url":"https://api.github.com/users/SamMolokanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamMolokanov/subscriptions","organizations_url":"https://api.github.com/users/SamMolokanov/orgs","repos_url":"https://api.github.com/users/SamMolokanov/repos","events_url":"https://api.github.com/users/SamMolokanov/events{/privacy}","received_events_url":"https://api.github.com/users/SamMolokanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SamMolokanov/pusher-redux","description":"Integration of Pusher into Redux","fork":true,"url":"https://api.github.com/repos/SamMolokanov/pusher-redux","forks_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/forks","keys_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/teams","hooks_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/hooks","issue_events_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/issues/events{/number}","events_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/events","assignees_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/assignees{/user}","branches_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/branches{/branch}","tags_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/tags","blobs_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/git/refs{/sha}","trees_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/statuses/{sha}","languages_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/languages","stargazers_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/stargazers","contributors_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/contributors","subscribers_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/subscribers","subscription_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/subscription","commits_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/commits{/sha}","git_commits_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/git/commits{/sha}","comments_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/comments{/number}","issue_comment_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/issues/comments{/number}","contents_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/contents/{+path}","compare_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/merges","archive_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/downloads","issues_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/issues{/number}","pulls_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/pulls{/number}","milestones_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/milestones{/number}","notifications_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/labels{/name}","releases_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/releases{/id}","deployments_url":"https://api.github.com/repos/SamMolokanov/pusher-redux/deployments","created_at":"2018-03-08T15:36:58Z","updated_at":"2018-03-08T15:37:00Z","pushed_at":"2018-03-08T15:50:40Z","git_url":"git://github.com/SamMolokanov/pusher-redux.git","ssh_url":"git@github.com:SamMolokanov/pusher-redux.git","clone_url":"https://github.com/SamMolokanov/pusher-redux.git","svn_url":"https://github.com/SamMolokanov/pusher-redux","homepage":null,"size":24,"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,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"TheRusskiy:master","ref":"master","sha":"750fcbb3b3a5df010dace1f3dadae3e89e709a03","user":{"login":"TheRusskiy","id":2538374,"avatar_url":"https://avatars3.githubusercontent.com/u/2538374?v=4","gravatar_id":"","url":"https://api.github.com/users/TheRusskiy","html_url":"https://github.com/TheRusskiy","followers_url":"https://api.github.com/users/TheRusskiy/followers","following_url":"https://api.github.com/users/TheRusskiy/following{/other_user}","gists_url":"https://api.github.com/users/TheRusskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/TheRusskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheRusskiy/subscriptions","organizations_url":"https://api.github.com/users/TheRusskiy/orgs","repos_url":"https://api.github.com/users/TheRusskiy/repos","events_url":"https://api.github.com/users/TheRusskiy/events{/privacy}","received_events_url":"https://api.github.com/users/TheRusskiy/received_events","type":"User","site_admin":false},"repo":{"id":70350678,"name":"pusher-redux","full_name":"TheRusskiy/pusher-redux","owner":{"login":"TheRusskiy","id":2538374,"avatar_url":"https://avatars3.githubusercontent.com/u/2538374?v=4","gravatar_id":"","url":"https://api.github.com/users/TheRusskiy","html_url":"https://github.com/TheRusskiy","followers_url":"https://api.github.com/users/TheRusskiy/followers","following_url":"https://api.github.com/users/TheRusskiy/following{/other_user}","gists_url":"https://api.github.com/users/TheRusskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/TheRusskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheRusskiy/subscriptions","organizations_url":"https://api.github.com/users/TheRusskiy/orgs","repos_url":"https://api.github.com/users/TheRusskiy/repos","events_url":"https://api.github.com/users/TheRusskiy/events{/privacy}","received_events_url":"https://api.github.com/users/TheRusskiy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheRusskiy/pusher-redux","description":"Integration of Pusher into Redux","fork":false,"url":"https://api.github.com/repos/TheRusskiy/pusher-redux","forks_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/forks","keys_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/teams","hooks_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/hooks","issue_events_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/issues/events{/number}","events_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/events","assignees_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/assignees{/user}","branches_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/branches{/branch}","tags_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/tags","blobs_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/statuses/{sha}","languages_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/languages","stargazers_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/stargazers","contributors_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/contributors","subscribers_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/subscribers","subscription_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/subscription","commits_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/contents/{+path}","compare_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/merges","archive_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/downloads","issues_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/issues{/number}","pulls_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/pulls{/number}","milestones_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/milestones{/number}","notifications_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/labels{/name}","releases_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/releases{/id}","deployments_url":"https://api.github.com/repos/TheRusskiy/pusher-redux/deployments","created_at":"2016-10-08T18:42:27Z","updated_at":"2018-02-03T08:51:16Z","pushed_at":"2018-03-08T16:31:18Z","git_url":"git://github.com/TheRusskiy/pusher-redux.git","ssh_url":"git@github.com:TheRusskiy/pusher-redux.git","clone_url":"https://github.com/TheRusskiy/pusher-redux.git","svn_url":"https://github.com/TheRusskiy/pusher-redux","homepage":null,"size":24,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":15,"open_issues":3,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TheRusskiy/pusher-redux/pulls/16"},"html":{"href":"https://github.com/TheRusskiy/pusher-redux/pull/16"},"issue":{"href":"https://api.github.com/repos/TheRusskiy/pusher-redux/issues/16"},"comments":{"href":"https://api.github.com/repos/TheRusskiy/pusher-redux/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/TheRusskiy/pusher-redux/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/TheRusskiy/pusher-redux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TheRusskiy/pusher-redux/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/TheRusskiy/pusher-redux/statuses/a444123f543aa4bd544d37970d3932662af65cce"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"TheRusskiy","id":2538374,"avatar_url":"https://avatars3.githubusercontent.com/u/2538374?v=4","gravatar_id":"","url":"https://api.github.com/users/TheRusskiy","html_url":"https://github.com/TheRusskiy","followers_url":"https://api.github.com/users/TheRusskiy/followers","following_url":"https://api.github.com/users/TheRusskiy/following{/other_user}","gists_url":"https://api.github.com/users/TheRusskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/TheRusskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheRusskiy/subscriptions","organizations_url":"https://api.github.com/users/TheRusskiy/orgs","repos_url":"https://api.github.com/users/TheRusskiy/repos","events_url":"https://api.github.com/users/TheRusskiy/events{/privacy}","received_events_url":"https://api.github.com/users/TheRusskiy/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":5,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"TheRusskiy"}}