{"action":"created","issue":{"url":"https://api.github.com/repos/sjones6/vue-gun/issues/3","repository_url":"https://api.github.com/repos/sjones6/vue-gun","labels_url":"https://api.github.com/repos/sjones6/vue-gun/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/sjones6/vue-gun/issues/3/comments","events_url":"https://api.github.com/repos/sjones6/vue-gun/issues/3/events","html_url":"https://github.com/sjones6/vue-gun/pull/3","id":341289251,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNDc5MjQx","number":3,"title":"Added SEA so gun.user() would work","user":{"login":"jmcudd","id":1785592,"node_id":"MDQ6VXNlcjE3ODU1OTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1785592?v=4","gravatar_id":"","url":"https://api.github.com/users/jmcudd","html_url":"https://github.com/jmcudd","followers_url":"https://api.github.com/users/jmcudd/followers","following_url":"https://api.github.com/users/jmcudd/following{/other_user}","gists_url":"https://api.github.com/users/jmcudd/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcudd/subscriptions","organizations_url":"https://api.github.com/users/jmcudd/orgs","repos_url":"https://api.github.com/users/jmcudd/repos","events_url":"https://api.github.com/users/jmcudd/events{/privacy}","received_events_url":"https://api.github.com/users/jmcudd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-15T03:37:02Z","updated_at":"2018-07-17T15:59:40Z","closed_at":"2018-07-17T15:59:30Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/sjones6/vue-gun/pulls/3","html_url":"https://github.com/sjones6/vue-gun/pull/3","diff_url":"https://github.com/sjones6/vue-gun/pull/3.diff","patch_url":"https://github.com/sjones6/vue-gun/pull/3.patch"},"body":"I was getting this error when trying to create a new users with `this.$gun.user()`. Making this change seems to fix the issue. It looks `gun.user()` is dependent on SEA and it just wasn't being imported.\r\n![screenshot_2018-07-14_23-34-12](https://user-images.githubusercontent.com/1785592/42730261-87482d50-87be-11e8-8a0d-3f592f2c7348.png)\r\n\r\nObviously the workaround for this is to just use your own instance of gun with the SEA import, but it wasn't obvious to me. I figured vue-gun's default configuration would just come with SEA, and the gunjs docs don't list any options that can be passed to Gun() to enabled SEA without an import of SEA.\r\n\r\nIf you prefer the workaround to importing SEA by default, then I suggest it be added to the README so users following the gunjs tutorials will  know that they have to import SEA in order to use `gun.user()`\r\n\r\n```javascript\r\n// Workaround\r\nimport Gun from 'gun';\r\nimport SEA from 'gun/sea';\r\n\r\nvar gun = Gun();\r\nVue.use(VueGun, {gun: gun});\r\n```"},"comment":{"url":"https://api.github.com/repos/sjones6/vue-gun/issues/comments/405634909","html_url":"https://github.com/sjones6/vue-gun/pull/3#issuecomment-405634909","issue_url":"https://api.github.com/repos/sjones6/vue-gun/issues/3","id":405634909,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTYzNDkwOQ==","user":{"login":"sjones6","id":12819256,"node_id":"MDQ6VXNlcjEyODE5MjU2","avatar_url":"https://avatars0.githubusercontent.com/u/12819256?v=4","gravatar_id":"","url":"https://api.github.com/users/sjones6","html_url":"https://github.com/sjones6","followers_url":"https://api.github.com/users/sjones6/followers","following_url":"https://api.github.com/users/sjones6/following{/other_user}","gists_url":"https://api.github.com/users/sjones6/gists{/gist_id}","starred_url":"https://api.github.com/users/sjones6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjones6/subscriptions","organizations_url":"https://api.github.com/users/sjones6/orgs","repos_url":"https://api.github.com/users/sjones6/repos","events_url":"https://api.github.com/users/sjones6/events{/privacy}","received_events_url":"https://api.github.com/users/sjones6/received_events","type":"User","site_admin":false},"created_at":"2018-07-17T15:59:40Z","updated_at":"2018-07-17T15:59:40Z","author_association":"OWNER","body":"Thanks for the PR! Much appreciated!"}}
{"actor":{"display_login":"sjones6"}}