eclipse / paho.mqtt.javascript

paho.mqtt.javascript
Other
1.14k stars 468 forks source link

Version on CDNjs is not latest version #225

Open aaron-613 opened 3 years ago

aaron-613 commented 3 years ago

Hi there... I believe this has been the case for many years. The CDN location snippet provided on the JavaScript client page (https://www.eclipse.org/paho/clients/js/) is given as: <script src="https://cdnjs.cloudflare.com/ajax/libs/paho-mqtt/1.0.1/mqttws31.js" type="text/javascript"></script>

This version is not the latest, it doesn't have the reconnect code in it. The online client utility https://www.eclipse.org/paho/clients/js/utility/ references a different library, located at: https://www.eclipse.org/paho/js/paho-mqtt.js

Could the CDN version be updated to the latest? Thank you.