{"action":"created","issue":{"url":"https://api.github.com/repos/inProgress-team/react-native-meteor/issues/25","repository_url":"https://api.github.com/repos/inProgress-team/react-native-meteor","labels_url":"https://api.github.com/repos/inProgress-team/react-native-meteor/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/inProgress-team/react-native-meteor/issues/25/comments","events_url":"https://api.github.com/repos/inProgress-team/react-native-meteor/issues/25/events","html_url":"https://github.com/inProgress-team/react-native-meteor/pull/25","id":141444851,"number":25,"title":"Hash password and add `createUser` function","user":{"login":"spencercarli","id":1105429,"avatar_url":"https://avatars.githubusercontent.com/u/1105429?v=3","gravatar_id":"","url":"https://api.github.com/users/spencercarli","html_url":"https://github.com/spencercarli","followers_url":"https://api.github.com/users/spencercarli/followers","following_url":"https://api.github.com/users/spencercarli/following{/other_user}","gists_url":"https://api.github.com/users/spencercarli/gists{/gist_id}","starred_url":"https://api.github.com/users/spencercarli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spencercarli/subscriptions","organizations_url":"https://api.github.com/users/spencercarli/orgs","repos_url":"https://api.github.com/users/spencercarli/repos","events_url":"https://api.github.com/users/spencercarli/events{/privacy}","received_events_url":"https://api.github.com/users/spencercarli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-17T01:01:59Z","updated_at":"2016-03-19T16:09:54Z","closed_at":"2016-03-19T05:03:01Z","pull_request":{"url":"https://api.github.com/repos/inProgress-team/react-native-meteor/pulls/25","html_url":"https://github.com/inProgress-team/react-native-meteor/pull/25","diff_url":"https://github.com/inProgress-team/react-native-meteor/pull/25.diff","patch_url":"https://github.com/inProgress-team/react-native-meteor/pull/25.patch"},"body":"Thanks for your work on this! It's looking great :smile:.\r\n\r\nThought I would lend hand an hash passwords before we send them over the wire. I also implemented [`createUser`](http://docs.meteor.com/#/full/accounts_createuser) so a user can now call `Meteor.createUser(options)`.\r\n\r\nLet me know if there's anything you would like me to do prior to merging. Let me know if I can help you out in any other way! I've been looking for a replacement to the ddp client in my [Meteor + React Native boilerplate](https://github.com/spencercarli/react-native-meteor-boilerplate) and this is looking like it would very nicely fit that bill.\r\n\r\n## TODO\r\n- [x] Add `digest` field to the password login\r\n- [x] Use `typeof callback == 'function' && callback(err);` for more concise code\r\n- [x] Add `createUser` to the README\r\n- [x] Remove trimInputs to match Meteor code\r\n- [x] Create and export `Accounts` and put createUser on that. \r\n\r\n> We should do import Meteor, { Accounts } from 'react-native-meteor';\r\n"},"comment":{"url":"https://api.github.com/repos/inProgress-team/react-native-meteor/issues/comments/198739269","html_url":"https://github.com/inProgress-team/react-native-meteor/pull/25#issuecomment-198739269","issue_url":"https://api.github.com/repos/inProgress-team/react-native-meteor/issues/25","id":198739269,"user":{"login":"spencercarli","id":1105429,"avatar_url":"https://avatars.githubusercontent.com/u/1105429?v=3","gravatar_id":"","url":"https://api.github.com/users/spencercarli","html_url":"https://github.com/spencercarli","followers_url":"https://api.github.com/users/spencercarli/followers","following_url":"https://api.github.com/users/spencercarli/following{/other_user}","gists_url":"https://api.github.com/users/spencercarli/gists{/gist_id}","starred_url":"https://api.github.com/users/spencercarli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spencercarli/subscriptions","organizations_url":"https://api.github.com/users/spencercarli/orgs","repos_url":"https://api.github.com/users/spencercarli/repos","events_url":"https://api.github.com/users/spencercarli/events{/privacy}","received_events_url":"https://api.github.com/users/spencercarli/received_events","type":"User","site_admin":false},"created_at":"2016-03-19T16:09:54Z","updated_at":"2016-03-19T16:09:54Z","body":":+1: I'll try and tackle some of the todo items when I get the chance!"}}