{"action":"created","issue":{"url":"https://api.github.com/repos/opentok/opentok-network-test-js/issues/84","repository_url":"https://api.github.com/repos/opentok/opentok-network-test-js","labels_url":"https://api.github.com/repos/opentok/opentok-network-test-js/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/opentok/opentok-network-test-js/issues/84/comments","events_url":"https://api.github.com/repos/opentok/opentok-network-test-js/issues/84/events","html_url":"https://github.com/opentok/opentok-network-test-js/issues/84","id":349538542,"node_id":"MDU6SXNzdWUzNDk1Mzg1NDI=","number":84,"title":"How to use this with AngularJS and Webpack","user":{"login":"slpn1","id":24227821,"node_id":"MDQ6VXNlcjI0MjI3ODIx","avatar_url":"https://avatars3.githubusercontent.com/u/24227821?v=4","gravatar_id":"","url":"https://api.github.com/users/slpn1","html_url":"https://github.com/slpn1","followers_url":"https://api.github.com/users/slpn1/followers","following_url":"https://api.github.com/users/slpn1/following{/other_user}","gists_url":"https://api.github.com/users/slpn1/gists{/gist_id}","starred_url":"https://api.github.com/users/slpn1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slpn1/subscriptions","organizations_url":"https://api.github.com/users/slpn1/orgs","repos_url":"https://api.github.com/users/slpn1/repos","events_url":"https://api.github.com/users/slpn1/events{/privacy}","received_events_url":"https://api.github.com/users/slpn1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-10T14:31:39Z","updated_at":"2018-08-12T10:57:58Z","closed_at":null,"author_association":"NONE","body":"I'm sure this is me being a chump, but I am using it the way described in the readme:\r\n\r\n```\r\nconst OTNetworkTest = require('opentok-network-test-js');\r\n\r\nconst otNetworkTest = new OTNetworkTest(OT, {\r\n            apiKey: roomData.apiKey, // Add the API key for your OpenTok project here.\r\n            sessionId: roomData.sessionId, // Add a test session ID for that project\r\n            token: roomData.token // Add a token for that session here\r\n          });\r\n\r\n```\r\nBut I get this error. I have tried every combination I can think of.\r\n\r\n`angular.js:13920 TypeError: OTNetworkTest is not a constructor`\r\n\r\nThanks,\r\nSimon"},"comment":{"url":"https://api.github.com/repos/opentok/opentok-network-test-js/issues/comments/412334824","html_url":"https://github.com/opentok/opentok-network-test-js/issues/84#issuecomment-412334824","issue_url":"https://api.github.com/repos/opentok/opentok-network-test-js/issues/84","id":412334824,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjMzNDgyNA==","user":{"login":"slpn1","id":24227821,"node_id":"MDQ6VXNlcjI0MjI3ODIx","avatar_url":"https://avatars3.githubusercontent.com/u/24227821?v=4","gravatar_id":"","url":"https://api.github.com/users/slpn1","html_url":"https://github.com/slpn1","followers_url":"https://api.github.com/users/slpn1/followers","following_url":"https://api.github.com/users/slpn1/following{/other_user}","gists_url":"https://api.github.com/users/slpn1/gists{/gist_id}","starred_url":"https://api.github.com/users/slpn1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slpn1/subscriptions","organizations_url":"https://api.github.com/users/slpn1/orgs","repos_url":"https://api.github.com/users/slpn1/repos","events_url":"https://api.github.com/users/slpn1/events{/privacy}","received_events_url":"https://api.github.com/users/slpn1/received_events","type":"User","site_admin":false},"created_at":"2018-08-12T10:57:58Z","updated_at":"2018-08-12T10:57:58Z","author_association":"NONE","body":"Thanks! Working now."}}
{"actor":{"display_login":"slpn1"}}