@weapp-vite/miniprogram-automator 1.0.4 → 1.0.5
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/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -581,7 +581,7 @@ async function launchHeadlessAutomator(options) {
|
|
|
581
581
|
}
|
|
582
582
|
//#endregion
|
|
583
583
|
//#region package.json
|
|
584
|
-
var version = "1.0.
|
|
584
|
+
var version = "1.0.5";
|
|
585
585
|
//#endregion
|
|
586
586
|
//#region src/Native.ts
|
|
587
587
|
/** Native 的实现。 */
|
|
@@ -953,7 +953,7 @@ var MiniProgram = class extends EventEmitter {
|
|
|
953
953
|
this.connection.dispose();
|
|
954
954
|
}
|
|
955
955
|
on(event, listener) {
|
|
956
|
-
if (event === "console") this.send("App.enableLog");
|
|
956
|
+
if (event === "console") this.send("App.enableLog").catch(() => {});
|
|
957
957
|
super.on(event, listener);
|
|
958
958
|
return this;
|
|
959
959
|
}
|
package/package.json
CHANGED