{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/aws-cognito-angular2-quickstart/issues/76","repository_url":"https://api.github.com/repos/awslabs/aws-cognito-angular2-quickstart","labels_url":"https://api.github.com/repos/awslabs/aws-cognito-angular2-quickstart/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-cognito-angular2-quickstart/issues/76/comments","events_url":"https://api.github.com/repos/awslabs/aws-cognito-angular2-quickstart/issues/76/events","html_url":"https://github.com/awslabs/aws-cognito-angular2-quickstart/pull/76","id":235414557,"number":76,"title":"Refactor typescript bindings","user":{"login":"dpantke","id":5297213,"avatar_url":"https://avatars1.githubusercontent.com/u/5297213?v=3","gravatar_id":"","url":"https://api.github.com/users/dpantke","html_url":"https://github.com/dpantke","followers_url":"https://api.github.com/users/dpantke/followers","following_url":"https://api.github.com/users/dpantke/following{/other_user}","gists_url":"https://api.github.com/users/dpantke/gists{/gist_id}","starred_url":"https://api.github.com/users/dpantke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpantke/subscriptions","organizations_url":"https://api.github.com/users/dpantke/orgs","repos_url":"https://api.github.com/users/dpantke/repos","events_url":"https://api.github.com/users/dpantke/events{/privacy}","received_events_url":"https://api.github.com/users/dpantke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-13T02:00:37Z","updated_at":"2017-06-13T16:18:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/awslabs/aws-cognito-angular2-quickstart/pulls/76","html_url":"https://github.com/awslabs/aws-cognito-angular2-quickstart/pull/76","diff_url":"https://github.com/awslabs/aws-cognito-angular2-quickstart/pull/76.diff","patch_url":"https://github.com/awslabs/aws-cognito-angular2-quickstart/pull/76.patch"},"body":"This a relatively moderate refactor to make the example more \"Angular-esque\" by switching from the JS libraries to using the Typescript bindings for both the AWS SDK and the Cognito Identity SDK. This resulted in some workarounds to deal with circular dependencies ( which will be taken care of with some further refactoring ) and the disabling of the Mobile Analytics client for now."},"comment":{"url":"https://api.github.com/repos/awslabs/aws-cognito-angular2-quickstart/issues/comments/308170175","html_url":"https://github.com/awslabs/aws-cognito-angular2-quickstart/pull/76#issuecomment-308170175","issue_url":"https://api.github.com/repos/awslabs/aws-cognito-angular2-quickstart/issues/76","id":308170175,"user":{"login":"vbudilov","id":2776052,"avatar_url":"https://avatars1.githubusercontent.com/u/2776052?v=3","gravatar_id":"","url":"https://api.github.com/users/vbudilov","html_url":"https://github.com/vbudilov","followers_url":"https://api.github.com/users/vbudilov/followers","following_url":"https://api.github.com/users/vbudilov/following{/other_user}","gists_url":"https://api.github.com/users/vbudilov/gists{/gist_id}","starred_url":"https://api.github.com/users/vbudilov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbudilov/subscriptions","organizations_url":"https://api.github.com/users/vbudilov/orgs","repos_url":"https://api.github.com/users/vbudilov/repos","events_url":"https://api.github.com/users/vbudilov/events{/privacy}","received_events_url":"https://api.github.com/users/vbudilov/received_events","type":"User","site_admin":false},"created_at":"2017-06-13T16:18:04Z","updated_at":"2017-06-13T16:18:04Z","body":"Hi @dpantke , how did you test this? A lot of the functionality doesn't work anymore...for starters, I get the below exception when logging in. I'm going to deny this request since there are a lot of errors here. \r\n\r\ncore.es5.js:1085 ERROR Error: Cannot read property 'identityId' of undefined\r\n    at GetParametersCallback.webpackJsonp.163.GetParametersCallback.callbackWithParam (myprofile.component.ts:55)\r\n    at cognito.service.ts:388\r\n    at Response.<anonymous> (CognitoUser.js:760)\r\n    at Request.<anonymous> (request.js:364)\r\n    at Request.callListeners (sequential_executor.js:105)\r\n    at Request.emit (sequential_executor.js:77)\r\n    at Request.emit (request.js:682)\r\n    at Request.transition (request.js:22)\r\n    at AcceptorStateMachine.runTo (state_machine.js:14)\r\n    at state_machine.js:26\r\n    at Request.<anonymous> (request.js:38)\r\n    at Request.<anonymous> (request.js:684)\r\n    at Request.callListeners (sequential_executor.js:115)\r\n    at Request.emit (sequential_executor.js:77)\r\n    at Request.emit (request.js:682)\r\n﻿\r\n\r\n​\r\n"}}
{"actor":{"display_login":"vbudilov"}}