Luckily I have a local (slightly modified) version of the ws-module (without the crypto module), and with this one the code from above works as before!
Gordon, can you please modify the following lines in the ws module?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ok, I nailed the problem. My code doesn't work with the latest remote version of ws module -> http://www.espruino.com/modules/ws.js.
Luckily I have a local (slightly modified) version of the ws-module (without the crypto module), and with this one the code from above works as before!
Gordon, can you please modify the following lines in the ws module?
so that I can further test my stuff the new ws code