{"action":"created","comment":{"url":"https://api.github.com/repos/binary-com/binary-live-api/pulls/comments/75983871","id":75983871,"diff_hunk":"@@ -13,6 +13,8 @@ let WebSocket = typeof window !== 'undefined' ? window.WebSocket : MockWebSocket\n const shouldIgnoreError = error =>\n     error.message.includes('You are already subscribed to') ||\n         error.message.includes('Input validation failed: forget');\n+const shouldNotThrow = json => \n+    json.error.code === 'SelfExclusion' && json.msg_type === 'authorize';\n ","path":"src/LiveApi.js","position":6,"original_position":6,"commit_id":"51bb33ca8df31ec26757ca008cab931c98be28a4","original_commit_id":"51bb33ca8df31ec26757ca008cab931c98be28a4","user":{"login":"qingweibinary","id":14971922,"avatar_url":"https://avatars.githubusercontent.com/u/14971922?v=3","gravatar_id":"","url":"https://api.github.com/users/qingweibinary","html_url":"https://github.com/qingweibinary","followers_url":"https://api.github.com/users/qingweibinary/followers","following_url":"https://api.github.com/users/qingweibinary/following{/other_user}","gists_url":"https://api.github.com/users/qingweibinary/gists{/gist_id}","starred_url":"https://api.github.com/users/qingweibinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qingweibinary/subscriptions","organizations_url":"https://api.github.com/users/qingweibinary/orgs","repos_url":"https://api.github.com/users/qingweibinary/repos","events_url":"https://api.github.com/users/qingweibinary/events{/privacy}","received_events_url":"https://api.github.com/users/qingweibinary/received_events","type":"User","site_admin":false},"body":"@nuruddeensalihu any updates?","created_at":"2016-08-24T01:58:24Z","updated_at":"2016-08-24T01:58:24Z","html_url":"https://github.com/binary-com/binary-live-api/pull/70#discussion_r75983871","pull_request_url":"https://api.github.com/repos/binary-com/binary-live-api/pulls/70","_links":{"self":{"href":"https://api.github.com/repos/binary-com/binary-live-api/pulls/comments/75983871"},"html":{"href":"https://github.com/binary-com/binary-live-api/pull/70#discussion_r75983871"},"pull_request":{"href":"https://api.github.com/repos/binary-com/binary-live-api/pulls/70"}}},"pull_request":{"url":"https://api.github.com/repos/binary-com/binary-live-api/pulls/70","id":82102936,"html_url":"https://github.com/binary-com/binary-live-api/pull/70","diff_url":"https://github.com/binary-com/binary-live-api/pull/70.diff","patch_url":"https://github.com/binary-com/binary-live-api/pull/70.patch","issue_url":"https://api.github.com/repos/binary-com/binary-live-api/issues/70","number":70,"state":"open","locked":false,"title":"Add throw error exceptions on some api calls.","user":{"login":"nuruddeensalihu","id":12234030,"avatar_url":"https://avatars.githubusercontent.com/u/12234030?v=3","gravatar_id":"","url":"https://api.github.com/users/nuruddeensalihu","html_url":"https://github.com/nuruddeensalihu","followers_url":"https://api.github.com/users/nuruddeensalihu/followers","following_url":"https://api.github.com/users/nuruddeensalihu/following{/other_user}","gists_url":"https://api.github.com/users/nuruddeensalihu/gists{/gist_id}","starred_url":"https://api.github.com/users/nuruddeensalihu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuruddeensalihu/subscriptions","organizations_url":"https://api.github.com/users/nuruddeensalihu/orgs","repos_url":"https://api.github.com/users/nuruddeensalihu/repos","events_url":"https://api.github.com/users/nuruddeensalihu/events{/privacy}","received_events_url":"https://api.github.com/users/nuruddeensalihu/received_events","type":"User","site_admin":false},"body":"Except few api calls from throwing error on live api.","created_at":"2016-08-21T11:08:20Z","updated_at":"2016-08-24T01:58:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d45316eceed64f25adcdaabf3757147933ccdf37","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/binary-com/binary-live-api/pulls/70/commits","review_comments_url":"https://api.github.com/repos/binary-com/binary-live-api/pulls/70/comments","review_comment_url":"https://api.github.com/repos/binary-com/binary-live-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/binary-com/binary-live-api/issues/70/comments","statuses_url":"https://api.github.com/repos/binary-com/binary-live-api/statuses/51bb33ca8df31ec26757ca008cab931c98be28a4","head":{"label":"nuruddeensalihu:nuru/donot_throw","ref":"nuru/donot_throw","sha":"51bb33ca8df31ec26757ca008cab931c98be28a4","user":{"login":"nuruddeensalihu","id":12234030,"avatar_url":"https://avatars.githubusercontent.com/u/12234030?v=3","gravatar_id":"","url":"https://api.github.com/users/nuruddeensalihu","html_url":"https://github.com/nuruddeensalihu","followers_url":"https://api.github.com/users/nuruddeensalihu/followers","following_url":"https://api.github.com/users/nuruddeensalihu/following{/other_user}","gists_url":"https://api.github.com/users/nuruddeensalihu/gists{/gist_id}","starred_url":"https://api.github.com/users/nuruddeensalihu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuruddeensalihu/subscriptions","organizations_url":"https://api.github.com/users/nuruddeensalihu/orgs","repos_url":"https://api.github.com/users/nuruddeensalihu/repos","events_url":"https://api.github.com/users/nuruddeensalihu/events{/privacy}","received_events_url":"https://api.github.com/users/nuruddeensalihu/received_events","type":"User","site_admin":false},"repo":{"id":51740427,"name":"binary-live-api","full_name":"nuruddeensalihu/binary-live-api","owner":{"login":"nuruddeensalihu","id":12234030,"avatar_url":"https://avatars.githubusercontent.com/u/12234030?v=3","gravatar_id":"","url":"https://api.github.com/users/nuruddeensalihu","html_url":"https://github.com/nuruddeensalihu","followers_url":"https://api.github.com/users/nuruddeensalihu/followers","following_url":"https://api.github.com/users/nuruddeensalihu/following{/other_user}","gists_url":"https://api.github.com/users/nuruddeensalihu/gists{/gist_id}","starred_url":"https://api.github.com/users/nuruddeensalihu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuruddeensalihu/subscriptions","organizations_url":"https://api.github.com/users/nuruddeensalihu/orgs","repos_url":"https://api.github.com/users/nuruddeensalihu/repos","events_url":"https://api.github.com/users/nuruddeensalihu/events{/privacy}","received_events_url":"https://api.github.com/users/nuruddeensalihu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nuruddeensalihu/binary-live-api","description":"JS library to consume Binary.com WebSocket API","fork":true,"url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api","forks_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/forks","keys_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/teams","hooks_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/hooks","issue_events_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/issues/events{/number}","events_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/events","assignees_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/assignees{/user}","branches_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/branches{/branch}","tags_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/tags","blobs_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/statuses/{sha}","languages_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/languages","stargazers_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/stargazers","contributors_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/contributors","subscribers_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/subscribers","subscription_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/subscription","commits_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/contents/{+path}","compare_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/merges","archive_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/downloads","issues_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/issues{/number}","pulls_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/pulls{/number}","milestones_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/milestones{/number}","notifications_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/labels{/name}","releases_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/releases{/id}","deployments_url":"https://api.github.com/repos/nuruddeensalihu/binary-live-api/deployments","created_at":"2016-02-15T08:16:35Z","updated_at":"2016-02-15T08:16:36Z","pushed_at":"2016-08-23T04:05:42Z","git_url":"git://github.com/nuruddeensalihu/binary-live-api.git","ssh_url":"git@github.com:nuruddeensalihu/binary-live-api.git","clone_url":"https://github.com/nuruddeensalihu/binary-live-api.git","svn_url":"https://github.com/nuruddeensalihu/binary-live-api","homepage":"https://developers.binary.com","size":374,"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":"binary-com:master","ref":"master","sha":"5a2aa6a16a86f44d138def668cb2873b29b27d91","user":{"login":"binary-com","id":7437559,"avatar_url":"https://avatars.githubusercontent.com/u/7437559?v=3","gravatar_id":"","url":"https://api.github.com/users/binary-com","html_url":"https://github.com/binary-com","followers_url":"https://api.github.com/users/binary-com/followers","following_url":"https://api.github.com/users/binary-com/following{/other_user}","gists_url":"https://api.github.com/users/binary-com/gists{/gist_id}","starred_url":"https://api.github.com/users/binary-com/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binary-com/subscriptions","organizations_url":"https://api.github.com/users/binary-com/orgs","repos_url":"https://api.github.com/users/binary-com/repos","events_url":"https://api.github.com/users/binary-com/events{/privacy}","received_events_url":"https://api.github.com/users/binary-com/received_events","type":"Organization","site_admin":false},"repo":{"id":36850842,"name":"binary-live-api","full_name":"binary-com/binary-live-api","owner":{"login":"binary-com","id":7437559,"avatar_url":"https://avatars.githubusercontent.com/u/7437559?v=3","gravatar_id":"","url":"https://api.github.com/users/binary-com","html_url":"https://github.com/binary-com","followers_url":"https://api.github.com/users/binary-com/followers","following_url":"https://api.github.com/users/binary-com/following{/other_user}","gists_url":"https://api.github.com/users/binary-com/gists{/gist_id}","starred_url":"https://api.github.com/users/binary-com/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binary-com/subscriptions","organizations_url":"https://api.github.com/users/binary-com/orgs","repos_url":"https://api.github.com/users/binary-com/repos","events_url":"https://api.github.com/users/binary-com/events{/privacy}","received_events_url":"https://api.github.com/users/binary-com/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/binary-com/binary-live-api","description":"JS library to consume Binary.com WebSocket API","fork":false,"url":"https://api.github.com/repos/binary-com/binary-live-api","forks_url":"https://api.github.com/repos/binary-com/binary-live-api/forks","keys_url":"https://api.github.com/repos/binary-com/binary-live-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/binary-com/binary-live-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/binary-com/binary-live-api/teams","hooks_url":"https://api.github.com/repos/binary-com/binary-live-api/hooks","issue_events_url":"https://api.github.com/repos/binary-com/binary-live-api/issues/events{/number}","events_url":"https://api.github.com/repos/binary-com/binary-live-api/events","assignees_url":"https://api.github.com/repos/binary-com/binary-live-api/assignees{/user}","branches_url":"https://api.github.com/repos/binary-com/binary-live-api/branches{/branch}","tags_url":"https://api.github.com/repos/binary-com/binary-live-api/tags","blobs_url":"https://api.github.com/repos/binary-com/binary-live-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/binary-com/binary-live-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/binary-com/binary-live-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/binary-com/binary-live-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/binary-com/binary-live-api/statuses/{sha}","languages_url":"https://api.github.com/repos/binary-com/binary-live-api/languages","stargazers_url":"https://api.github.com/repos/binary-com/binary-live-api/stargazers","contributors_url":"https://api.github.com/repos/binary-com/binary-live-api/contributors","subscribers_url":"https://api.github.com/repos/binary-com/binary-live-api/subscribers","subscription_url":"https://api.github.com/repos/binary-com/binary-live-api/subscription","commits_url":"https://api.github.com/repos/binary-com/binary-live-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/binary-com/binary-live-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/binary-com/binary-live-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/binary-com/binary-live-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/binary-com/binary-live-api/contents/{+path}","compare_url":"https://api.github.com/repos/binary-com/binary-live-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/binary-com/binary-live-api/merges","archive_url":"https://api.github.com/repos/binary-com/binary-live-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/binary-com/binary-live-api/downloads","issues_url":"https://api.github.com/repos/binary-com/binary-live-api/issues{/number}","pulls_url":"https://api.github.com/repos/binary-com/binary-live-api/pulls{/number}","milestones_url":"https://api.github.com/repos/binary-com/binary-live-api/milestones{/number}","notifications_url":"https://api.github.com/repos/binary-com/binary-live-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/binary-com/binary-live-api/labels{/name}","releases_url":"https://api.github.com/repos/binary-com/binary-live-api/releases{/id}","deployments_url":"https://api.github.com/repos/binary-com/binary-live-api/deployments","created_at":"2015-06-04T05:50:49Z","updated_at":"2016-08-05T19:20:59Z","pushed_at":"2016-08-21T11:08:20Z","git_url":"git://github.com/binary-com/binary-live-api.git","ssh_url":"git@github.com:binary-com/binary-live-api.git","clone_url":"https://github.com/binary-com/binary-live-api.git","svn_url":"https://github.com/binary-com/binary-live-api","homepage":"https://developers.binary.com","size":386,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":3,"forks":17,"open_issues":3,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/binary-com/binary-live-api/pulls/70"},"html":{"href":"https://github.com/binary-com/binary-live-api/pull/70"},"issue":{"href":"https://api.github.com/repos/binary-com/binary-live-api/issues/70"},"comments":{"href":"https://api.github.com/repos/binary-com/binary-live-api/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/binary-com/binary-live-api/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/binary-com/binary-live-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/binary-com/binary-live-api/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/binary-com/binary-live-api/statuses/51bb33ca8df31ec26757ca008cab931c98be28a4"}}}}
{"actor":{"display_login":"qingweibinary"}}