{"action":"opened","number":266,"pull_request":{"url":"https://api.github.com/repos/sparkswap/broker/pulls/266","id":226163310,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MTYzMzEw","html_url":"https://github.com/sparkswap/broker/pull/266","diff_url":"https://github.com/sparkswap/broker/pull/266.diff","patch_url":"https://github.com/sparkswap/broker/pull/266.patch","issue_url":"https://api.github.com/repos/sparkswap/broker/issues/266","number":266,"state":"open","locked":false,"title":"FIX - Update CLI commands to support newest version of Caporal","user":{"login":"dannypaz","id":5478311,"node_id":"MDQ6VXNlcjU0NzgzMTE=","avatar_url":"https://avatars3.githubusercontent.com/u/5478311?v=4","gravatar_id":"","url":"https://api.github.com/users/dannypaz","html_url":"https://github.com/dannypaz","followers_url":"https://api.github.com/users/dannypaz/followers","following_url":"https://api.github.com/users/dannypaz/following{/other_user}","gists_url":"https://api.github.com/users/dannypaz/gists{/gist_id}","starred_url":"https://api.github.com/users/dannypaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannypaz/subscriptions","organizations_url":"https://api.github.com/users/dannypaz/orgs","repos_url":"https://api.github.com/users/dannypaz/repos","events_url":"https://api.github.com/users/dannypaz/events{/privacy}","received_events_url":"https://api.github.com/users/dannypaz/received_events","type":"User","site_admin":false},"body":"## Description\r\nThis PR fixes minor issues in our CLI to allow us to use Caporal V1 (which is merged here: https://github.com/mattallty/Caporal.js/pull/115). Caporal V1 is important because it fixes a major security vulnerability through the upgrade of cli-table2 to cli-table3 (which is the current supported project).\r\n\r\nRegression tests included:\r\n- order summary\r\n- commit\r\n- placing buys sells\r\n- full swaps\r\n- healthcheck\r\n\r\n## Related PRs\r\nList related PRs if applicable\r\n\r\n\r\n## Todos\r\n- [n/a] Tests\r\n- [n/a] Documentation\r\n- [x] Link to Trello\r\n","created_at":"2018-10-26T16:55:33Z","updated_at":"2018-10-26T16:55:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sparkswap/broker/pulls/266/commits","review_comments_url":"https://api.github.com/repos/sparkswap/broker/pulls/266/comments","review_comment_url":"https://api.github.com/repos/sparkswap/broker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sparkswap/broker/issues/266/comments","statuses_url":"https://api.github.com/repos/sparkswap/broker/statuses/233856cec054b61e54ec1c30aad824c39583e389","head":{"label":"sparkswap:test/caporal","ref":"test/caporal","sha":"233856cec054b61e54ec1c30aad824c39583e389","user":{"login":"sparkswap","id":38089564,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDg5NTY0","avatar_url":"https://avatars0.githubusercontent.com/u/38089564?v=4","gravatar_id":"","url":"https://api.github.com/users/sparkswap","html_url":"https://github.com/sparkswap","followers_url":"https://api.github.com/users/sparkswap/followers","following_url":"https://api.github.com/users/sparkswap/following{/other_user}","gists_url":"https://api.github.com/users/sparkswap/gists{/gist_id}","starred_url":"https://api.github.com/users/sparkswap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparkswap/subscriptions","organizations_url":"https://api.github.com/users/sparkswap/orgs","repos_url":"https://api.github.com/users/sparkswap/repos","events_url":"https://api.github.com/users/sparkswap/events{/privacy}","received_events_url":"https://api.github.com/users/sparkswap/received_events","type":"Organization","site_admin":false},"repo":{"id":128998646,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg5OTg2NDY=","name":"broker","full_name":"sparkswap/broker","private":false,"owner":{"login":"sparkswap","id":38089564,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDg5NTY0","avatar_url":"https://avatars0.githubusercontent.com/u/38089564?v=4","gravatar_id":"","url":"https://api.github.com/users/sparkswap","html_url":"https://github.com/sparkswap","followers_url":"https://api.github.com/users/sparkswap/followers","following_url":"https://api.github.com/users/sparkswap/following{/other_user}","gists_url":"https://api.github.com/users/sparkswap/gists{/gist_id}","starred_url":"https://api.github.com/users/sparkswap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparkswap/subscriptions","organizations_url":"https://api.github.com/users/sparkswap/orgs","repos_url":"https://api.github.com/users/sparkswap/repos","events_url":"https://api.github.com/users/sparkswap/events{/privacy}","received_events_url":"https://api.github.com/users/sparkswap/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/sparkswap/broker","description":"Broker to trade on sparkswap","fork":false,"url":"https://api.github.com/repos/sparkswap/broker","forks_url":"https://api.github.com/repos/sparkswap/broker/forks","keys_url":"https://api.github.com/repos/sparkswap/broker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sparkswap/broker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sparkswap/broker/teams","hooks_url":"https://api.github.com/repos/sparkswap/broker/hooks","issue_events_url":"https://api.github.com/repos/sparkswap/broker/issues/events{/number}","events_url":"https://api.github.com/repos/sparkswap/broker/events","assignees_url":"https://api.github.com/repos/sparkswap/broker/assignees{/user}","branches_url":"https://api.github.com/repos/sparkswap/broker/branches{/branch}","tags_url":"https://api.github.com/repos/sparkswap/broker/tags","blobs_url":"https://api.github.com/repos/sparkswap/broker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sparkswap/broker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sparkswap/broker/git/refs{/sha}","trees_url":"https://api.github.com/repos/sparkswap/broker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sparkswap/broker/statuses/{sha}","languages_url":"https://api.github.com/repos/sparkswap/broker/languages","stargazers_url":"https://api.github.com/repos/sparkswap/broker/stargazers","contributors_url":"https://api.github.com/repos/sparkswap/broker/contributors","subscribers_url":"https://api.github.com/repos/sparkswap/broker/subscribers","subscription_url":"https://api.github.com/repos/sparkswap/broker/subscription","commits_url":"https://api.github.com/repos/sparkswap/broker/commits{/sha}","git_commits_url":"https://api.github.com/repos/sparkswap/broker/git/commits{/sha}","comments_url":"https://api.github.com/repos/sparkswap/broker/comments{/number}","issue_comment_url":"https://api.github.com/repos/sparkswap/broker/issues/comments{/number}","contents_url":"https://api.github.com/repos/sparkswap/broker/contents/{+path}","compare_url":"https://api.github.com/repos/sparkswap/broker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sparkswap/broker/merges","archive_url":"https://api.github.com/repos/sparkswap/broker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sparkswap/broker/downloads","issues_url":"https://api.github.com/repos/sparkswap/broker/issues{/number}","pulls_url":"https://api.github.com/repos/sparkswap/broker/pulls{/number}","milestones_url":"https://api.github.com/repos/sparkswap/broker/milestones{/number}","notifications_url":"https://api.github.com/repos/sparkswap/broker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sparkswap/broker/labels{/name}","releases_url":"https://api.github.com/repos/sparkswap/broker/releases{/id}","deployments_url":"https://api.github.com/repos/sparkswap/broker/deployments","created_at":"2018-04-10T21:46:17Z","updated_at":"2018-10-15T17:04:18Z","pushed_at":"2018-10-26T16:52:06Z","git_url":"git://github.com/sparkswap/broker.git","ssh_url":"git@github.com:sparkswap/broker.git","clone_url":"https://github.com/sparkswap/broker.git","svn_url":"https://github.com/sparkswap/broker","homepage":"https://sparkswap.com/docs","size":3164,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":3,"open_issues":3,"watchers":15,"default_branch":"master"}},"base":{"label":"sparkswap:master","ref":"master","sha":"4163dafe89b1b8c6d7bab08048a3cbcc21b0a0ea","user":{"login":"sparkswap","id":38089564,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDg5NTY0","avatar_url":"https://avatars0.githubusercontent.com/u/38089564?v=4","gravatar_id":"","url":"https://api.github.com/users/sparkswap","html_url":"https://github.com/sparkswap","followers_url":"https://api.github.com/users/sparkswap/followers","following_url":"https://api.github.com/users/sparkswap/following{/other_user}","gists_url":"https://api.github.com/users/sparkswap/gists{/gist_id}","starred_url":"https://api.github.com/users/sparkswap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparkswap/subscriptions","organizations_url":"https://api.github.com/users/sparkswap/orgs","repos_url":"https://api.github.com/users/sparkswap/repos","events_url":"https://api.github.com/users/sparkswap/events{/privacy}","received_events_url":"https://api.github.com/users/sparkswap/received_events","type":"Organization","site_admin":false},"repo":{"id":128998646,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg5OTg2NDY=","name":"broker","full_name":"sparkswap/broker","private":false,"owner":{"login":"sparkswap","id":38089564,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDg5NTY0","avatar_url":"https://avatars0.githubusercontent.com/u/38089564?v=4","gravatar_id":"","url":"https://api.github.com/users/sparkswap","html_url":"https://github.com/sparkswap","followers_url":"https://api.github.com/users/sparkswap/followers","following_url":"https://api.github.com/users/sparkswap/following{/other_user}","gists_url":"https://api.github.com/users/sparkswap/gists{/gist_id}","starred_url":"https://api.github.com/users/sparkswap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparkswap/subscriptions","organizations_url":"https://api.github.com/users/sparkswap/orgs","repos_url":"https://api.github.com/users/sparkswap/repos","events_url":"https://api.github.com/users/sparkswap/events{/privacy}","received_events_url":"https://api.github.com/users/sparkswap/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/sparkswap/broker","description":"Broker to trade on sparkswap","fork":false,"url":"https://api.github.com/repos/sparkswap/broker","forks_url":"https://api.github.com/repos/sparkswap/broker/forks","keys_url":"https://api.github.com/repos/sparkswap/broker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sparkswap/broker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sparkswap/broker/teams","hooks_url":"https://api.github.com/repos/sparkswap/broker/hooks","issue_events_url":"https://api.github.com/repos/sparkswap/broker/issues/events{/number}","events_url":"https://api.github.com/repos/sparkswap/broker/events","assignees_url":"https://api.github.com/repos/sparkswap/broker/assignees{/user}","branches_url":"https://api.github.com/repos/sparkswap/broker/branches{/branch}","tags_url":"https://api.github.com/repos/sparkswap/broker/tags","blobs_url":"https://api.github.com/repos/sparkswap/broker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sparkswap/broker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sparkswap/broker/git/refs{/sha}","trees_url":"https://api.github.com/repos/sparkswap/broker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sparkswap/broker/statuses/{sha}","languages_url":"https://api.github.com/repos/sparkswap/broker/languages","stargazers_url":"https://api.github.com/repos/sparkswap/broker/stargazers","contributors_url":"https://api.github.com/repos/sparkswap/broker/contributors","subscribers_url":"https://api.github.com/repos/sparkswap/broker/subscribers","subscription_url":"https://api.github.com/repos/sparkswap/broker/subscription","commits_url":"https://api.github.com/repos/sparkswap/broker/commits{/sha}","git_commits_url":"https://api.github.com/repos/sparkswap/broker/git/commits{/sha}","comments_url":"https://api.github.com/repos/sparkswap/broker/comments{/number}","issue_comment_url":"https://api.github.com/repos/sparkswap/broker/issues/comments{/number}","contents_url":"https://api.github.com/repos/sparkswap/broker/contents/{+path}","compare_url":"https://api.github.com/repos/sparkswap/broker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sparkswap/broker/merges","archive_url":"https://api.github.com/repos/sparkswap/broker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sparkswap/broker/downloads","issues_url":"https://api.github.com/repos/sparkswap/broker/issues{/number}","pulls_url":"https://api.github.com/repos/sparkswap/broker/pulls{/number}","milestones_url":"https://api.github.com/repos/sparkswap/broker/milestones{/number}","notifications_url":"https://api.github.com/repos/sparkswap/broker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sparkswap/broker/labels{/name}","releases_url":"https://api.github.com/repos/sparkswap/broker/releases{/id}","deployments_url":"https://api.github.com/repos/sparkswap/broker/deployments","created_at":"2018-04-10T21:46:17Z","updated_at":"2018-10-15T17:04:18Z","pushed_at":"2018-10-26T16:52:06Z","git_url":"git://github.com/sparkswap/broker.git","ssh_url":"git@github.com:sparkswap/broker.git","clone_url":"https://github.com/sparkswap/broker.git","svn_url":"https://github.com/sparkswap/broker","homepage":"https://sparkswap.com/docs","size":3164,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":3,"open_issues":3,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sparkswap/broker/pulls/266"},"html":{"href":"https://github.com/sparkswap/broker/pull/266"},"issue":{"href":"https://api.github.com/repos/sparkswap/broker/issues/266"},"comments":{"href":"https://api.github.com/repos/sparkswap/broker/issues/266/comments"},"review_comments":{"href":"https://api.github.com/repos/sparkswap/broker/pulls/266/comments"},"review_comment":{"href":"https://api.github.com/repos/sparkswap/broker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sparkswap/broker/pulls/266/commits"},"statuses":{"href":"https://api.github.com/repos/sparkswap/broker/statuses/233856cec054b61e54ec1c30aad824c39583e389"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":645,"deletions":218,"changed_files":17}}
{"actor":{"display_login":"dannypaz"}}