{"action":"created","issue":{"url":"https://api.github.com/repos/jagregory/halgo/issues/11","labels_url":"https://api.github.com/repos/jagregory/halgo/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/jagregory/halgo/issues/11/comments","events_url":"https://api.github.com/repos/jagregory/halgo/issues/11/events","html_url":"https://github.com/jagregory/halgo/issues/11","id":58936661,"number":11,"title":"navigator is not exported","user":{"login":"xogeny","id":1498808,"avatar_url":"https://avatars.githubusercontent.com/u/1498808?v=3","gravatar_id":"","url":"https://api.github.com/users/xogeny","html_url":"https://github.com/xogeny","followers_url":"https://api.github.com/users/xogeny/followers","following_url":"https://api.github.com/users/xogeny/following{/other_user}","gists_url":"https://api.github.com/users/xogeny/gists{/gist_id}","starred_url":"https://api.github.com/users/xogeny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xogeny/subscriptions","organizations_url":"https://api.github.com/users/xogeny/orgs","repos_url":"https://api.github.com/users/xogeny/repos","events_url":"https://api.github.com/users/xogeny/events{/privacy}","received_events_url":"https://api.github.com/users/xogeny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-25T17:14:48Z","updated_at":"2015-04-01T20:25:10Z","closed_at":null,"body":"When writing code, it is nice to be able to write functions that work with `navigator` instances.  This might involve taking them as arguments, returning, etc.  This comes up occasionally when writing testing code or trying to build higher-level functions on top of a hypermedia API.\r\n\r\nHowever, the fact that `navigator` is not exported makes this impossible (as far as I can tell).  I'm not sure what the rationale is behind this, but it is quite frustrating.  Would it be possible to change this?"},"comment":{"url":"https://api.github.com/repos/jagregory/halgo/issues/comments/88621035","html_url":"https://github.com/jagregory/halgo/issues/11#issuecomment-88621035","issue_url":"https://api.github.com/repos/jagregory/halgo/issues/11","id":88621035,"user":{"login":"jhiemer","id":1557826,"avatar_url":"https://avatars.githubusercontent.com/u/1557826?v=3","gravatar_id":"","url":"https://api.github.com/users/jhiemer","html_url":"https://github.com/jhiemer","followers_url":"https://api.github.com/users/jhiemer/followers","following_url":"https://api.github.com/users/jhiemer/following{/other_user}","gists_url":"https://api.github.com/users/jhiemer/gists{/gist_id}","starred_url":"https://api.github.com/users/jhiemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhiemer/subscriptions","organizations_url":"https://api.github.com/users/jhiemer/orgs","repos_url":"https://api.github.com/users/jhiemer/repos","events_url":"https://api.github.com/users/jhiemer/events{/privacy}","received_events_url":"https://api.github.com/users/jhiemer/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T20:25:10Z","updated_at":"2015-04-01T20:25:10Z","body":"You are right. It was a bit short sighted. The main benefit I thought would be to define the Headers (Auth-Token, Content-Type, Accept etc.) once for the whole application and being able to work on this definition during the whole application lifetime throughout different files, without having to redefine it. \r\n\r\nCurrently this is bound the instance of the navigator, if I understand the code correctly. Or?"}}