tasmota-webserial-esptool 9.1.1 → 9.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1025,4 +1025,11 @@ async function requestSerialPort(forceNew = false) {
1025
1025
  }
1026
1026
 
1027
1027
  // Export as ES modules
1028
+ export { WebUSBSerial, requestSerialPort };
1029
+
1030
+ // Also set on globalThis for non-module usage (e.g., dynamic script loading)
1031
+ if (typeof globalThis !== 'undefined') {
1032
+ globalThis.WebUSBSerial = WebUSBSerial;
1033
+ globalThis.requestSerialPort = requestSerialPort;
1034
+ }
1028
1035
  export { WebUSBSerial, requestSerialPort };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tasmota-webserial-esptool",
3
- "version": "9.1.1",
3
+ "version": "9.1.2",
4
4
  "description": "World's first tool for flashing and reading ESP devices on Android mobile devices using WebUSB. Flash & Read ESP devices using WebSerial/WebUSB - up to 10x faster flash read than esptool.py",
5
5
  "main": "dist/index.js",
6
6
  "repository": {