Ok, found and fixed it! If you upload again now it should work.
We were using String.charCodeAt in a String, and expecting it would report back 0 if the string didn't include the character. A recent PR for Espruino changed it to report back NaN as per the spec, and that broke this MQTT lib.
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, found and fixed it! If you upload again now it should work.
We were using
String.charCodeAt
in a String, and expecting it would report back 0 if the string didn't include the character. A recent PR for Espruino changed it to report backNaN
as per the spec, and that broke this MQTT lib.