{"action":"created","comment":{"url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls/comments/65424356","id":65424356,"diff_hunk":"@@ -37,9 +37,10 @@ const cc = new CC(opts);\n async.series([\n   (cb) => cc.auth.login({ username: 'mochatest', password: 'mochapassword' }, cb),\n   (cb) => cc.initialize(cb),\n-], (err, user) => {\n+], (err) => {\n+  /* eslint-disable no-console */\n   if (err) {\n-    conosole.error(err && err.message);","path":"test/demo.js","position":41,"original_position":41,"commit_id":"342f53d2a232281eb239e779019a316b4e89c185","original_commit_id":"342f53d2a232281eb239e779019a316b4e89c185","user":{"login":"cdaringe","id":1003261,"avatar_url":"https://avatars.githubusercontent.com/u/1003261?v=3","gravatar_id":"","url":"https://api.github.com/users/cdaringe","html_url":"https://github.com/cdaringe","followers_url":"https://api.github.com/users/cdaringe/followers","following_url":"https://api.github.com/users/cdaringe/following{/other_user}","gists_url":"https://api.github.com/users/cdaringe/gists{/gist_id}","starred_url":"https://api.github.com/users/cdaringe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdaringe/subscriptions","organizations_url":"https://api.github.com/users/cdaringe/orgs","repos_url":"https://api.github.com/users/cdaringe/repos","events_url":"https://api.github.com/users/cdaringe/events{/privacy}","received_events_url":"https://api.github.com/users/cdaringe/received_events","type":"User","site_admin":false},"body":"no, put it back the way it was!!!! :)  ... jk","created_at":"2016-06-01T19:14:41Z","updated_at":"2016-06-01T19:14:41Z","html_url":"https://github.com/MRN-Code/coinstac-client-core/pull/58#discussion_r65424356","pull_request_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls/comments/65424356"},"html":{"href":"https://github.com/MRN-Code/coinstac-client-core/pull/58#discussion_r65424356"},"pull_request":{"href":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls/58","id":72229335,"html_url":"https://github.com/MRN-Code/coinstac-client-core/pull/58","diff_url":"https://github.com/MRN-Code/coinstac-client-core/pull/58.diff","patch_url":"https://github.com/MRN-Code/coinstac-client-core/pull/58.patch","issue_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/issues/58","number":58,"state":"open","locked":false,"title":"Enhancement/refactor initialize","user":{"login":"swashcap","id":1858316,"avatar_url":"https://avatars.githubusercontent.com/u/1858316?v=3","gravatar_id":"","url":"https://api.github.com/users/swashcap","html_url":"https://github.com/swashcap","followers_url":"https://api.github.com/users/swashcap/followers","following_url":"https://api.github.com/users/swashcap/following{/other_user}","gists_url":"https://api.github.com/users/swashcap/gists{/gist_id}","starred_url":"https://api.github.com/users/swashcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swashcap/subscriptions","organizations_url":"https://api.github.com/users/swashcap/orgs","repos_url":"https://api.github.com/users/swashcap/repos","events_url":"https://api.github.com/users/swashcap/events{/privacy}","received_events_url":"https://api.github.com/users/swashcap/received_events","type":"User","site_admin":false},"body":"Asana task: https://app.asana.com/0/45796090191289/139350388636120\r\n\r\n* **Problem:**\r\n  * _coinstac-client-core explodes_ during Halfpenny instantiation due to a directory not existing\r\n  * instantiation lifecycle and login/signup process are confusing\r\n* **Solution:**\r\n  * Make major class instantiation async by moving it to `CoinstacClient#initialize` (see https://github.com/MRN-Code/coinstac-client-core/pull/58/commits/4632d48bb9fab548532a42127c91f845b5500040)\r\n  * Refactor tests (see aca95d8c53fe20973344ca2af920cea87d382899)\r\n* **Testing:**\r\n  1. Pull down latest\r\n  2. Run `npm test`\r\n  3. Make it great","created_at":"2016-06-01T18:28:35Z","updated_at":"2016-06-01T19:14:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ff22a95a0e56952a7e76d9ec25cd5b4655630d4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls/58/commits","review_comments_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls/58/comments","review_comment_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/issues/58/comments","statuses_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/statuses/342f53d2a232281eb239e779019a316b4e89c185","head":{"label":"MRN-Code:enhancement/refactor-initialize","ref":"enhancement/refactor-initialize","sha":"342f53d2a232281eb239e779019a316b4e89c185","user":{"login":"MRN-Code","id":5330818,"avatar_url":"https://avatars.githubusercontent.com/u/5330818?v=3","gravatar_id":"","url":"https://api.github.com/users/MRN-Code","html_url":"https://github.com/MRN-Code","followers_url":"https://api.github.com/users/MRN-Code/followers","following_url":"https://api.github.com/users/MRN-Code/following{/other_user}","gists_url":"https://api.github.com/users/MRN-Code/gists{/gist_id}","starred_url":"https://api.github.com/users/MRN-Code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MRN-Code/subscriptions","organizations_url":"https://api.github.com/users/MRN-Code/orgs","repos_url":"https://api.github.com/users/MRN-Code/repos","events_url":"https://api.github.com/users/MRN-Code/events{/privacy}","received_events_url":"https://api.github.com/users/MRN-Code/received_events","type":"Organization","site_admin":false},"repo":{"id":49157861,"name":"coinstac-client-core","full_name":"MRN-Code/coinstac-client-core","owner":{"login":"MRN-Code","id":5330818,"avatar_url":"https://avatars.githubusercontent.com/u/5330818?v=3","gravatar_id":"","url":"https://api.github.com/users/MRN-Code","html_url":"https://github.com/MRN-Code","followers_url":"https://api.github.com/users/MRN-Code/followers","following_url":"https://api.github.com/users/MRN-Code/following{/other_user}","gists_url":"https://api.github.com/users/MRN-Code/gists{/gist_id}","starred_url":"https://api.github.com/users/MRN-Code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MRN-Code/subscriptions","organizations_url":"https://api.github.com/users/MRN-Code/orgs","repos_url":"https://api.github.com/users/MRN-Code/repos","events_url":"https://api.github.com/users/MRN-Code/events{/privacy}","received_events_url":"https://api.github.com/users/MRN-Code/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MRN-Code/coinstac-client-core","description":"coinstac core functionality api","fork":false,"url":"https://api.github.com/repos/MRN-Code/coinstac-client-core","forks_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/forks","keys_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/teams","hooks_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/hooks","issue_events_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/issues/events{/number}","events_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/events","assignees_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/assignees{/user}","branches_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/branches{/branch}","tags_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/tags","blobs_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/statuses/{sha}","languages_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/languages","stargazers_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/stargazers","contributors_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/contributors","subscribers_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/subscribers","subscription_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/subscription","commits_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/contents/{+path}","compare_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/merges","archive_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/downloads","issues_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/issues{/number}","pulls_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls{/number}","milestones_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/milestones{/number}","notifications_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/labels{/name}","releases_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/releases{/id}","deployments_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/deployments","created_at":"2016-01-06T19:52:06Z","updated_at":"2016-01-19T16:59:50Z","pushed_at":"2016-06-01T18:28:36Z","git_url":"git://github.com/MRN-Code/coinstac-client-core.git","ssh_url":"git@github.com:MRN-Code/coinstac-client-core.git","clone_url":"https://github.com/MRN-Code/coinstac-client-core.git","svn_url":"https://github.com/MRN-Code/coinstac-client-core","homepage":null,"size":817,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"MRN-Code:master","ref":"master","sha":"de544be83024610b4c230e96111a9b34b690025e","user":{"login":"MRN-Code","id":5330818,"avatar_url":"https://avatars.githubusercontent.com/u/5330818?v=3","gravatar_id":"","url":"https://api.github.com/users/MRN-Code","html_url":"https://github.com/MRN-Code","followers_url":"https://api.github.com/users/MRN-Code/followers","following_url":"https://api.github.com/users/MRN-Code/following{/other_user}","gists_url":"https://api.github.com/users/MRN-Code/gists{/gist_id}","starred_url":"https://api.github.com/users/MRN-Code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MRN-Code/subscriptions","organizations_url":"https://api.github.com/users/MRN-Code/orgs","repos_url":"https://api.github.com/users/MRN-Code/repos","events_url":"https://api.github.com/users/MRN-Code/events{/privacy}","received_events_url":"https://api.github.com/users/MRN-Code/received_events","type":"Organization","site_admin":false},"repo":{"id":49157861,"name":"coinstac-client-core","full_name":"MRN-Code/coinstac-client-core","owner":{"login":"MRN-Code","id":5330818,"avatar_url":"https://avatars.githubusercontent.com/u/5330818?v=3","gravatar_id":"","url":"https://api.github.com/users/MRN-Code","html_url":"https://github.com/MRN-Code","followers_url":"https://api.github.com/users/MRN-Code/followers","following_url":"https://api.github.com/users/MRN-Code/following{/other_user}","gists_url":"https://api.github.com/users/MRN-Code/gists{/gist_id}","starred_url":"https://api.github.com/users/MRN-Code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MRN-Code/subscriptions","organizations_url":"https://api.github.com/users/MRN-Code/orgs","repos_url":"https://api.github.com/users/MRN-Code/repos","events_url":"https://api.github.com/users/MRN-Code/events{/privacy}","received_events_url":"https://api.github.com/users/MRN-Code/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MRN-Code/coinstac-client-core","description":"coinstac core functionality api","fork":false,"url":"https://api.github.com/repos/MRN-Code/coinstac-client-core","forks_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/forks","keys_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/teams","hooks_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/hooks","issue_events_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/issues/events{/number}","events_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/events","assignees_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/assignees{/user}","branches_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/branches{/branch}","tags_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/tags","blobs_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/statuses/{sha}","languages_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/languages","stargazers_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/stargazers","contributors_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/contributors","subscribers_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/subscribers","subscription_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/subscription","commits_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/contents/{+path}","compare_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/merges","archive_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/downloads","issues_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/issues{/number}","pulls_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls{/number}","milestones_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/milestones{/number}","notifications_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/labels{/name}","releases_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/releases{/id}","deployments_url":"https://api.github.com/repos/MRN-Code/coinstac-client-core/deployments","created_at":"2016-01-06T19:52:06Z","updated_at":"2016-01-19T16:59:50Z","pushed_at":"2016-06-01T18:28:36Z","git_url":"git://github.com/MRN-Code/coinstac-client-core.git","ssh_url":"git@github.com:MRN-Code/coinstac-client-core.git","clone_url":"https://github.com/MRN-Code/coinstac-client-core.git","svn_url":"https://github.com/MRN-Code/coinstac-client-core","homepage":null,"size":817,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls/58"},"html":{"href":"https://github.com/MRN-Code/coinstac-client-core/pull/58"},"issue":{"href":"https://api.github.com/repos/MRN-Code/coinstac-client-core/issues/58"},"comments":{"href":"https://api.github.com/repos/MRN-Code/coinstac-client-core/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MRN-Code/coinstac-client-core/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/MRN-Code/coinstac-client-core/statuses/342f53d2a232281eb239e779019a316b4e89c185"}}}}
{"actor":{"display_login":"cdaringe"}}