{"action":"opened","issue":{"url":"https://api.github.com/repos/qlik-oss/enigma.js/issues/158","repository_url":"https://api.github.com/repos/qlik-oss/enigma.js","labels_url":"https://api.github.com/repos/qlik-oss/enigma.js/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/qlik-oss/enigma.js/issues/158/comments","events_url":"https://api.github.com/repos/qlik-oss/enigma.js/issues/158/events","html_url":"https://github.com/qlik-oss/enigma.js/issues/158","id":246518625,"number":158,"title":"enigma.connect not a function","user":{"login":"QHose","id":12411165,"avatar_url":"https://avatars0.githubusercontent.com/u/12411165?v=4","gravatar_id":"","url":"https://api.github.com/users/QHose","html_url":"https://github.com/QHose","followers_url":"https://api.github.com/users/QHose/followers","following_url":"https://api.github.com/users/QHose/following{/other_user}","gists_url":"https://api.github.com/users/QHose/gists{/gist_id}","starred_url":"https://api.github.com/users/QHose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QHose/subscriptions","organizations_url":"https://api.github.com/users/QHose/orgs","repos_url":"https://api.github.com/users/QHose/repos","events_url":"https://api.github.com/users/QHose/events{/privacy}","received_events_url":"https://api.github.com/users/QHose/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-29T12:23:06Z","updated_at":"2017-07-29T12:23:06Z","closed_at":null,"body":"when I try to follow the examples, please specify you have to ensure you are authenticated first, this is currently not in the prereqs.\r\n```\r\nconst config = {\r\n            QIXSchema,\r\n            url: 'ws://localhost:4747/app/' + appId,\r\n            createSocket(url) {\r\n                return new WebSocket(url, {\r\n                    ca: engineConfig.ca,\r\n                    key: engineConfig.key,\r\n                    cert: engineConfig.cert,\r\n                    headers: {\r\n                        'X-Qlik-User': `UserDirectory=${process.env.USERDOMAIN};UserId=${process.env.USERNAME}`,\r\n                    }\r\n                });\r\n            },\r\n            Promise: bluebird,\r\n            listeners: {\r\n                'traffic:*': (dir, data) => console.log(dir, data),\r\n            },\r\n        };\r\n        console.log('Connecting to Engine');\r\n        enigma.connect(config).then((qix) => {\r\n            console.log('Connected');\r\n```\r\n\r\ngives me `[TypeError: enigma.connect is not a function]`"}}
{"actor":{"display_login":"QHose"}}