{"action":"created","comment":{"url":"https://api.github.com/repos/iov-one/iov-core/pulls/comments/209371228","pull_request_review_id":145381432,"id":209371228,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTM3MTIyOA==","diff_hunk":"@@ -55,6 +55,7 @@ export class TsRepl {\n \n     // Bookmark the point where we should reset the REPL state.\n     const resetEval = this.appendEval(\"\");\n+    +\"\\n\";","path":"packages/iov-cli/src/tsrepl.ts","position":4,"original_position":4,"commit_id":"687b479f22da5ba7f6006b719d3011c93fd64ced","original_commit_id":"687b479f22da5ba7f6006b719d3011c93fd64ced","user":{"login":"webmaster128","id":2603011,"node_id":"MDQ6VXNlcjI2MDMwMTE=","avatar_url":"https://avatars3.githubusercontent.com/u/2603011?v=4","gravatar_id":"","url":"https://api.github.com/users/webmaster128","html_url":"https://github.com/webmaster128","followers_url":"https://api.github.com/users/webmaster128/followers","following_url":"https://api.github.com/users/webmaster128/following{/other_user}","gists_url":"https://api.github.com/users/webmaster128/gists{/gist_id}","starred_url":"https://api.github.com/users/webmaster128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webmaster128/subscriptions","organizations_url":"https://api.github.com/users/webmaster128/orgs","repos_url":"https://api.github.com/users/webmaster128/repos","events_url":"https://api.github.com/users/webmaster128/events{/privacy}","received_events_url":"https://api.github.com/users/webmaster128/received_events","type":"User","site_admin":false},"body":"Is this supposed to be `const resetEval = this.appendEval(\"\\n\");`?","created_at":"2018-08-10T20:05:42Z","updated_at":"2018-08-10T20:06:23Z","html_url":"https://github.com/iov-one/iov-core/pull/260#discussion_r209371228","pull_request_url":"https://api.github.com/repos/iov-one/iov-core/pulls/260","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/iov-one/iov-core/pulls/comments/209371228"},"html":{"href":"https://github.com/iov-one/iov-core/pull/260#discussion_r209371228"},"pull_request":{"href":"https://api.github.com/repos/iov-one/iov-core/pulls/260"}}},"pull_request":{"url":"https://api.github.com/repos/iov-one/iov-core/pulls/260","id":207684398,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3Njg0Mzk4","html_url":"https://github.com/iov-one/iov-core/pull/260","diff_url":"https://github.com/iov-one/iov-core/pull/260.diff","patch_url":"https://github.com/iov-one/iov-core/pull/260.patch","issue_url":"https://api.github.com/repos/iov-one/iov-core/issues/260","number":260,"state":"open","locked":false,"title":"Make .type work in the repl again","user":{"login":"ethanfrey","id":5689864,"node_id":"MDQ6VXNlcjU2ODk4NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5689864?v=4","gravatar_id":"","url":"https://api.github.com/users/ethanfrey","html_url":"https://github.com/ethanfrey","followers_url":"https://api.github.com/users/ethanfrey/followers","following_url":"https://api.github.com/users/ethanfrey/following{/other_user}","gists_url":"https://api.github.com/users/ethanfrey/gists{/gist_id}","starred_url":"https://api.github.com/users/ethanfrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethanfrey/subscriptions","organizations_url":"https://api.github.com/users/ethanfrey/orgs","repos_url":"https://api.github.com/users/ethanfrey/repos","events_url":"https://api.github.com/users/ethanfrey/events{/privacy}","received_events_url":"https://api.github.com/users/ethanfrey/received_events","type":"User","site_admin":false},"body":"Testing out the repl, I discovered the useful `.type` command was broken due to some of the refactoring. This is the simplest change to get it to work again.\r\n\r\nYou can also reject this PR for a better change that addresses the underlying causes.\r\nI was actually taking a short look for #220 to see if I could extend `.type` to show all methods on an object, but then found it wasn't working at all.\r\n\r\nI would love `.type UserProfile` to show static methods, and `const foo = new UserProfile(); .type foo` to show all instance methods... but at least seeing `.type toHex` work is a nice start","created_at":"2018-08-10T18:07:59Z","updated_at":"2018-08-10T20:06:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"863e4b7d95eabb92b305300d8df4a9a6808027b8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/iov-one/iov-core/pulls/260/commits","review_comments_url":"https://api.github.com/repos/iov-one/iov-core/pulls/260/comments","review_comment_url":"https://api.github.com/repos/iov-one/iov-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iov-one/iov-core/issues/260/comments","statuses_url":"https://api.github.com/repos/iov-one/iov-core/statuses/687b479f22da5ba7f6006b719d3011c93fd64ced","head":{"label":"iov-one:fix-dot-type","ref":"fix-dot-type","sha":"687b479f22da5ba7f6006b719d3011c93fd64ced","user":{"login":"iov-one","id":34400253,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NDAwMjUz","avatar_url":"https://avatars2.githubusercontent.com/u/34400253?v=4","gravatar_id":"","url":"https://api.github.com/users/iov-one","html_url":"https://github.com/iov-one","followers_url":"https://api.github.com/users/iov-one/followers","following_url":"https://api.github.com/users/iov-one/following{/other_user}","gists_url":"https://api.github.com/users/iov-one/gists{/gist_id}","starred_url":"https://api.github.com/users/iov-one/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iov-one/subscriptions","organizations_url":"https://api.github.com/users/iov-one/orgs","repos_url":"https://api.github.com/users/iov-one/repos","events_url":"https://api.github.com/users/iov-one/events{/privacy}","received_events_url":"https://api.github.com/users/iov-one/received_events","type":"Organization","site_admin":false},"repo":{"id":129950372,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk5NTAzNzI=","name":"iov-core","full_name":"iov-one/iov-core","owner":{"login":"iov-one","id":34400253,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NDAwMjUz","avatar_url":"https://avatars2.githubusercontent.com/u/34400253?v=4","gravatar_id":"","url":"https://api.github.com/users/iov-one","html_url":"https://github.com/iov-one","followers_url":"https://api.github.com/users/iov-one/followers","following_url":"https://api.github.com/users/iov-one/following{/other_user}","gists_url":"https://api.github.com/users/iov-one/gists{/gist_id}","starred_url":"https://api.github.com/users/iov-one/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iov-one/subscriptions","organizations_url":"https://api.github.com/users/iov-one/orgs","repos_url":"https://api.github.com/users/iov-one/repos","events_url":"https://api.github.com/users/iov-one/events{/privacy}","received_events_url":"https://api.github.com/users/iov-one/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iov-one/iov-core","description":"Client library for secure key management and mutli-blockchain communication","fork":false,"url":"https://api.github.com/repos/iov-one/iov-core","forks_url":"https://api.github.com/repos/iov-one/iov-core/forks","keys_url":"https://api.github.com/repos/iov-one/iov-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iov-one/iov-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iov-one/iov-core/teams","hooks_url":"https://api.github.com/repos/iov-one/iov-core/hooks","issue_events_url":"https://api.github.com/repos/iov-one/iov-core/issues/events{/number}","events_url":"https://api.github.com/repos/iov-one/iov-core/events","assignees_url":"https://api.github.com/repos/iov-one/iov-core/assignees{/user}","branches_url":"https://api.github.com/repos/iov-one/iov-core/branches{/branch}","tags_url":"https://api.github.com/repos/iov-one/iov-core/tags","blobs_url":"https://api.github.com/repos/iov-one/iov-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iov-one/iov-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iov-one/iov-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/iov-one/iov-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iov-one/iov-core/statuses/{sha}","languages_url":"https://api.github.com/repos/iov-one/iov-core/languages","stargazers_url":"https://api.github.com/repos/iov-one/iov-core/stargazers","contributors_url":"https://api.github.com/repos/iov-one/iov-core/contributors","subscribers_url":"https://api.github.com/repos/iov-one/iov-core/subscribers","subscription_url":"https://api.github.com/repos/iov-one/iov-core/subscription","commits_url":"https://api.github.com/repos/iov-one/iov-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/iov-one/iov-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/iov-one/iov-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/iov-one/iov-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/iov-one/iov-core/contents/{+path}","compare_url":"https://api.github.com/repos/iov-one/iov-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iov-one/iov-core/merges","archive_url":"https://api.github.com/repos/iov-one/iov-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iov-one/iov-core/downloads","issues_url":"https://api.github.com/repos/iov-one/iov-core/issues{/number}","pulls_url":"https://api.github.com/repos/iov-one/iov-core/pulls{/number}","milestones_url":"https://api.github.com/repos/iov-one/iov-core/milestones{/number}","notifications_url":"https://api.github.com/repos/iov-one/iov-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iov-one/iov-core/labels{/name}","releases_url":"https://api.github.com/repos/iov-one/iov-core/releases{/id}","deployments_url":"https://api.github.com/repos/iov-one/iov-core/deployments","created_at":"2018-04-17T18:46:16Z","updated_at":"2018-08-10T19:57:50Z","pushed_at":"2018-08-10T19:57:51Z","git_url":"git://github.com/iov-one/iov-core.git","ssh_url":"git@github.com:iov-one/iov-core.git","clone_url":"https://github.com/iov-one/iov-core.git","svn_url":"https://github.com/iov-one/iov-core","homepage":"https://iov-one.github.io/iov-core-docs/","size":2035,"stargazers_count":4,"watchers_count":4,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":33,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":33,"watchers":4,"default_branch":"master"}},"base":{"label":"iov-one:master","ref":"master","sha":"e5db6844180aaa3f385fe8848101b741432626cd","user":{"login":"iov-one","id":34400253,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NDAwMjUz","avatar_url":"https://avatars2.githubusercontent.com/u/34400253?v=4","gravatar_id":"","url":"https://api.github.com/users/iov-one","html_url":"https://github.com/iov-one","followers_url":"https://api.github.com/users/iov-one/followers","following_url":"https://api.github.com/users/iov-one/following{/other_user}","gists_url":"https://api.github.com/users/iov-one/gists{/gist_id}","starred_url":"https://api.github.com/users/iov-one/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iov-one/subscriptions","organizations_url":"https://api.github.com/users/iov-one/orgs","repos_url":"https://api.github.com/users/iov-one/repos","events_url":"https://api.github.com/users/iov-one/events{/privacy}","received_events_url":"https://api.github.com/users/iov-one/received_events","type":"Organization","site_admin":false},"repo":{"id":129950372,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk5NTAzNzI=","name":"iov-core","full_name":"iov-one/iov-core","owner":{"login":"iov-one","id":34400253,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NDAwMjUz","avatar_url":"https://avatars2.githubusercontent.com/u/34400253?v=4","gravatar_id":"","url":"https://api.github.com/users/iov-one","html_url":"https://github.com/iov-one","followers_url":"https://api.github.com/users/iov-one/followers","following_url":"https://api.github.com/users/iov-one/following{/other_user}","gists_url":"https://api.github.com/users/iov-one/gists{/gist_id}","starred_url":"https://api.github.com/users/iov-one/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iov-one/subscriptions","organizations_url":"https://api.github.com/users/iov-one/orgs","repos_url":"https://api.github.com/users/iov-one/repos","events_url":"https://api.github.com/users/iov-one/events{/privacy}","received_events_url":"https://api.github.com/users/iov-one/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iov-one/iov-core","description":"Client library for secure key management and mutli-blockchain communication","fork":false,"url":"https://api.github.com/repos/iov-one/iov-core","forks_url":"https://api.github.com/repos/iov-one/iov-core/forks","keys_url":"https://api.github.com/repos/iov-one/iov-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iov-one/iov-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iov-one/iov-core/teams","hooks_url":"https://api.github.com/repos/iov-one/iov-core/hooks","issue_events_url":"https://api.github.com/repos/iov-one/iov-core/issues/events{/number}","events_url":"https://api.github.com/repos/iov-one/iov-core/events","assignees_url":"https://api.github.com/repos/iov-one/iov-core/assignees{/user}","branches_url":"https://api.github.com/repos/iov-one/iov-core/branches{/branch}","tags_url":"https://api.github.com/repos/iov-one/iov-core/tags","blobs_url":"https://api.github.com/repos/iov-one/iov-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iov-one/iov-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iov-one/iov-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/iov-one/iov-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iov-one/iov-core/statuses/{sha}","languages_url":"https://api.github.com/repos/iov-one/iov-core/languages","stargazers_url":"https://api.github.com/repos/iov-one/iov-core/stargazers","contributors_url":"https://api.github.com/repos/iov-one/iov-core/contributors","subscribers_url":"https://api.github.com/repos/iov-one/iov-core/subscribers","subscription_url":"https://api.github.com/repos/iov-one/iov-core/subscription","commits_url":"https://api.github.com/repos/iov-one/iov-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/iov-one/iov-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/iov-one/iov-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/iov-one/iov-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/iov-one/iov-core/contents/{+path}","compare_url":"https://api.github.com/repos/iov-one/iov-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iov-one/iov-core/merges","archive_url":"https://api.github.com/repos/iov-one/iov-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iov-one/iov-core/downloads","issues_url":"https://api.github.com/repos/iov-one/iov-core/issues{/number}","pulls_url":"https://api.github.com/repos/iov-one/iov-core/pulls{/number}","milestones_url":"https://api.github.com/repos/iov-one/iov-core/milestones{/number}","notifications_url":"https://api.github.com/repos/iov-one/iov-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iov-one/iov-core/labels{/name}","releases_url":"https://api.github.com/repos/iov-one/iov-core/releases{/id}","deployments_url":"https://api.github.com/repos/iov-one/iov-core/deployments","created_at":"2018-04-17T18:46:16Z","updated_at":"2018-08-10T19:57:50Z","pushed_at":"2018-08-10T19:57:51Z","git_url":"git://github.com/iov-one/iov-core.git","ssh_url":"git@github.com:iov-one/iov-core.git","clone_url":"https://github.com/iov-one/iov-core.git","svn_url":"https://github.com/iov-one/iov-core","homepage":"https://iov-one.github.io/iov-core-docs/","size":2035,"stargazers_count":4,"watchers_count":4,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":33,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":33,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iov-one/iov-core/pulls/260"},"html":{"href":"https://github.com/iov-one/iov-core/pull/260"},"issue":{"href":"https://api.github.com/repos/iov-one/iov-core/issues/260"},"comments":{"href":"https://api.github.com/repos/iov-one/iov-core/issues/260/comments"},"review_comments":{"href":"https://api.github.com/repos/iov-one/iov-core/pulls/260/comments"},"review_comment":{"href":"https://api.github.com/repos/iov-one/iov-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iov-one/iov-core/pulls/260/commits"},"statuses":{"href":"https://api.github.com/repos/iov-one/iov-core/statuses/687b479f22da5ba7f6006b719d3011c93fd64ced"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"webmaster128"}}