tasmota-webserial-esptool 9.2.11 → 9.2.12
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.
- package/dist/esp_loader.d.ts +1 -1
- package/package.json +1 -1
- package/src/esp_loader.ts +1 -1
package/dist/esp_loader.d.ts
CHANGED
|
@@ -407,7 +407,7 @@ export declare class ESPLoader extends EventTarget {
|
|
|
407
407
|
* @returns true if USB-JTAG or USB-OTG, false if external serial chip
|
|
408
408
|
* @throws Error if chipFamily is not set
|
|
409
409
|
*/
|
|
410
|
-
|
|
410
|
+
detectUsbConnectionType(): Promise<boolean>;
|
|
411
411
|
/**
|
|
412
412
|
* @name enterConsoleMode
|
|
413
413
|
* Prepare device for console mode by resetting to firmware
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tasmota-webserial-esptool",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.12",
|
|
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": {
|
package/src/esp_loader.ts
CHANGED
|
@@ -3369,7 +3369,7 @@ export class ESPLoader extends EventTarget {
|
|
|
3369
3369
|
* @returns true if USB-JTAG or USB-OTG, false if external serial chip
|
|
3370
3370
|
* @throws Error if chipFamily is not set
|
|
3371
3371
|
*/
|
|
3372
|
-
|
|
3372
|
+
public async detectUsbConnectionType(): Promise<boolean> {
|
|
3373
3373
|
if (!this.chipFamily) {
|
|
3374
3374
|
throw new Error("Cannot detect USB connection type: chipFamily not set");
|
|
3375
3375
|
}
|