@widget-js/core 0.11.22-beta.3 → 24.1.1-beta.1
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.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2282,7 +2282,7 @@ var BrowserWindowApiImpl = class extends BaseApi {
|
|
|
2282
2282
|
return await this.invokeMethod("unmaximize");
|
|
2283
2283
|
}
|
|
2284
2284
|
async setZoomLevel(level) {
|
|
2285
|
-
return await this.invokeMethod("setZoomLevel");
|
|
2285
|
+
return await this.invokeMethod("setZoomLevel", level);
|
|
2286
2286
|
}
|
|
2287
2287
|
async reload() {
|
|
2288
2288
|
return await this.invokeMethod("reload");
|
|
@@ -2646,8 +2646,8 @@ var AppApiImpl = class extends BaseApi {
|
|
|
2646
2646
|
/**
|
|
2647
2647
|
* 获取应用版本号,格式为 x.y.z
|
|
2648
2648
|
*/
|
|
2649
|
-
async getVersion() {
|
|
2650
|
-
return this.invokeMethod("getVersion");
|
|
2649
|
+
async getVersion(type) {
|
|
2650
|
+
return this.invokeMethod("getVersion", type);
|
|
2651
2651
|
}
|
|
2652
2652
|
async getPreloadPath() {
|
|
2653
2653
|
return this.invokeMethod("getPreloadPath");
|