{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleChrome/comlink/issues/6","repository_url":"https://api.github.com/repos/GoogleChrome/comlink","labels_url":"https://api.github.com/repos/GoogleChrome/comlink/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/comlink/issues/6/comments","events_url":"https://api.github.com/repos/GoogleChrome/comlink/issues/6/events","html_url":"https://github.com/GoogleChrome/comlink/issues/6","id":258253678,"number":6,"title":"windowEndpoint smells bad.","user":{"login":"PaulKinlan","id":45510,"avatar_url":"https://avatars0.githubusercontent.com/u/45510?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulKinlan","html_url":"https://github.com/PaulKinlan","followers_url":"https://api.github.com/users/PaulKinlan/followers","following_url":"https://api.github.com/users/PaulKinlan/following{/other_user}","gists_url":"https://api.github.com/users/PaulKinlan/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulKinlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulKinlan/subscriptions","organizations_url":"https://api.github.com/users/PaulKinlan/orgs","repos_url":"https://api.github.com/users/PaulKinlan/repos","events_url":"https://api.github.com/users/PaulKinlan/events{/privacy}","received_events_url":"https://api.github.com/users/PaulKinlan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-16T19:37:18Z","updated_at":"2017-09-18T12:23:55Z","closed_at":null,"author_association":"OWNER","body":"WindowEndpoint smells bad. Why does it exist? Why can't you just detect that its the endpoint and manage it. As a consumer of the endpoint I should never have to care."},"comment":{"url":"https://api.github.com/repos/GoogleChrome/comlink/issues/comments/330203482","html_url":"https://github.com/GoogleChrome/comlink/issues/6#issuecomment-330203482","issue_url":"https://api.github.com/repos/GoogleChrome/comlink/issues/6","id":330203482,"user":{"login":"PaulKinlan","id":45510,"avatar_url":"https://avatars0.githubusercontent.com/u/45510?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulKinlan","html_url":"https://github.com/PaulKinlan","followers_url":"https://api.github.com/users/PaulKinlan/followers","following_url":"https://api.github.com/users/PaulKinlan/following{/other_user}","gists_url":"https://api.github.com/users/PaulKinlan/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulKinlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulKinlan/subscriptions","organizations_url":"https://api.github.com/users/PaulKinlan/orgs","repos_url":"https://api.github.com/users/PaulKinlan/repos","events_url":"https://api.github.com/users/PaulKinlan/events{/privacy}","received_events_url":"https://api.github.com/users/PaulKinlan/received_events","type":"User","site_admin":false},"created_at":"2017-09-18T12:23:55Z","updated_at":"2017-09-18T12:23:55Z","author_association":"OWNER","body":"Just to nit pick, wrt Endpoint you meant similar to `MessagePort` and not `MessageChannel` and when that is the case, that endpoint interface looks almost exactly like the window interface outside of a the origin filter in postMessage.\r\n\r\nRight now I have to do windowEndpoint on both ends if either the opener or opened is an iframe or a window. Ideally the user of comlink shouldn't care, it should do it all for the user of the API and work it out and I just don't see the issue that this is trying to solve."}}
{"actor":{"display_login":"PaulKinlan"}}