{"action":"created","issue":{"url":"https://api.github.com/repos/polkadot-js/api/issues/176","repository_url":"https://api.github.com/repos/polkadot-js/api","labels_url":"https://api.github.com/repos/polkadot-js/api/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/polkadot-js/api/issues/176/comments","events_url":"https://api.github.com/repos/polkadot-js/api/issues/176/events","html_url":"https://github.com/polkadot-js/api/issues/176","id":365221122,"node_id":"MDU6SXNzdWUzNjUyMjExMjI=","number":176,"title":"Rework api & rpc packages","user":{"login":"jacogr","id":1424473,"node_id":"MDQ6VXNlcjE0MjQ0NzM=","avatar_url":"https://avatars2.githubusercontent.com/u/1424473?v=4","gravatar_id":"","url":"https://api.github.com/users/jacogr","html_url":"https://github.com/jacogr","followers_url":"https://api.github.com/users/jacogr/followers","following_url":"https://api.github.com/users/jacogr/following{/other_user}","gists_url":"https://api.github.com/users/jacogr/gists{/gist_id}","starred_url":"https://api.github.com/users/jacogr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacogr/subscriptions","organizations_url":"https://api.github.com/users/jacogr/orgs","repos_url":"https://api.github.com/users/jacogr/repos","events_url":"https://api.github.com/users/jacogr/events{/privacy}","received_events_url":"https://api.github.com/users/jacogr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-30T12:31:28Z","updated_at":"2018-10-02T08:04:46Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Rename the actual RPC wrappers -\r\n\r\n- api -> rpc-core\r\n- api-rx -> rpc-rx\r\n- api-provider -> rpc-provider\r\n\r\nThen for the actual high-level API -\r\n\r\n- api-observable -> api\r\n\r\nIn this `api-codec` seems like the odd man out, I would make the published package `@polkadot/codec`\r\n\r\n@amaurymartiny Thoughts?"},"comment":{"url":"https://api.github.com/repos/polkadot-js/api/issues/comments/426185352","html_url":"https://github.com/polkadot-js/api/issues/176#issuecomment-426185352","issue_url":"https://api.github.com/repos/polkadot-js/api/issues/176","id":426185352,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjE4NTM1Mg==","user":{"login":"jacogr","id":1424473,"node_id":"MDQ6VXNlcjE0MjQ0NzM=","avatar_url":"https://avatars2.githubusercontent.com/u/1424473?v=4","gravatar_id":"","url":"https://api.github.com/users/jacogr","html_url":"https://github.com/jacogr","followers_url":"https://api.github.com/users/jacogr/followers","following_url":"https://api.github.com/users/jacogr/following{/other_user}","gists_url":"https://api.github.com/users/jacogr/gists{/gist_id}","starred_url":"https://api.github.com/users/jacogr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacogr/subscriptions","organizations_url":"https://api.github.com/users/jacogr/orgs","repos_url":"https://api.github.com/users/jacogr/repos","events_url":"https://api.github.com/users/jacogr/events{/privacy}","received_events_url":"https://api.github.com/users/jacogr/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T08:04:46Z","updated_at":"2018-10-02T08:04:46Z","author_association":"CONTRIBUTOR","body":"Thought about the .toPromise() thing - it is actually an issue, since most of the use is actually queries and these are for anything non-trivial subscription-based. Ror that your options are -\r\n\r\n- observables\r\n- (current) api package\r\n\r\nJust went through what use we actually have out there - 2 datapoints only, Polkabot & UI. So not convinced that the .toPromise() will add any value. Happy to re-visit when we have actual requests and rather focus on making what is there bullet-proof."}}
{"actor":{"display_login":"jacogr"}}