{"action":"created","issue":{"url":"https://api.github.com/repos/anton-johansson/klarna-nodejs/issues/5","repository_url":"https://api.github.com/repos/anton-johansson/klarna-nodejs","labels_url":"https://api.github.com/repos/anton-johansson/klarna-nodejs/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/anton-johansson/klarna-nodejs/issues/5/comments","events_url":"https://api.github.com/repos/anton-johansson/klarna-nodejs/issues/5/events","html_url":"https://github.com/anton-johansson/klarna-nodejs/pull/5","id":150056502,"number":5,"title":"Updates and bump to v2.0.0","user":{"login":"ziadsawalha","id":729918,"avatar_url":"https://avatars.githubusercontent.com/u/729918?v=3","gravatar_id":"","url":"https://api.github.com/users/ziadsawalha","html_url":"https://github.com/ziadsawalha","followers_url":"https://api.github.com/users/ziadsawalha/followers","following_url":"https://api.github.com/users/ziadsawalha/following{/other_user}","gists_url":"https://api.github.com/users/ziadsawalha/gists{/gist_id}","starred_url":"https://api.github.com/users/ziadsawalha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziadsawalha/subscriptions","organizations_url":"https://api.github.com/users/ziadsawalha/orgs","repos_url":"https://api.github.com/users/ziadsawalha/repos","events_url":"https://api.github.com/users/ziadsawalha/events{/privacy}","received_events_url":"https://api.github.com/users/ziadsawalha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-04-21T12:16:38Z","updated_at":"2016-05-04T07:02:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/anton-johansson/klarna-nodejs/pulls/5","html_url":"https://github.com/anton-johansson/klarna-nodejs/pull/5","diff_url":"https://github.com/anton-johansson/klarna-nodejs/pull/5.diff","patch_url":"https://github.com/anton-johansson/klarna-nodejs/pull/5.patch"},"body":"Hi - please review changes here. We have a few changes, some of which change the interface so we've bumped the version to 2.0. Let us know if this looks good. More changes may be coming...\r\n\r\n- In order to support reusing the Klarna instance for multiple estores and calls, we've exposed the config as an object with a `setConfig()` method.\r\n- We've added a `cancelReservation` call (it's the first and simplest one we tested with)\r\n- Fixed/changed a couple of things at the root for better dev and deployment workflow\r\n\r\nNice work on the tests, BTW.\r\n"},"comment":{"url":"https://api.github.com/repos/anton-johansson/klarna-nodejs/issues/comments/216761817","html_url":"https://github.com/anton-johansson/klarna-nodejs/pull/5#issuecomment-216761817","issue_url":"https://api.github.com/repos/anton-johansson/klarna-nodejs/issues/5","id":216761817,"user":{"login":"ziadsawalha","id":729918,"avatar_url":"https://avatars.githubusercontent.com/u/729918?v=3","gravatar_id":"","url":"https://api.github.com/users/ziadsawalha","html_url":"https://github.com/ziadsawalha","followers_url":"https://api.github.com/users/ziadsawalha/followers","following_url":"https://api.github.com/users/ziadsawalha/following{/other_user}","gists_url":"https://api.github.com/users/ziadsawalha/gists{/gist_id}","starred_url":"https://api.github.com/users/ziadsawalha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziadsawalha/subscriptions","organizations_url":"https://api.github.com/users/ziadsawalha/orgs","repos_url":"https://api.github.com/users/ziadsawalha/repos","events_url":"https://api.github.com/users/ziadsawalha/events{/privacy}","received_events_url":"https://api.github.com/users/ziadsawalha/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T07:02:51Z","updated_at":"2016-05-04T07:02:51Z","body":"Sounds great! Yes, please."}}