@widget-js/core 24.1.1-beta.85 → 24.1.1-beta.86

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.js CHANGED
@@ -3259,14 +3259,8 @@ var SystemApiImpl = class extends BaseApi {
3259
3259
  getWallpaper() {
3260
3260
  return this.invokeMethod("getWallpaper");
3261
3261
  }
3262
- getHardware(hardwareType) {
3263
- return this.invokeMethod("getHardware", hardwareType);
3264
- }
3265
- getHardwareSensor(hardwareType, sensorType) {
3266
- return this.invokeMethod("getHardwareSensor", hardwareType, sensorType);
3267
- }
3268
- isMonitorStarted() {
3269
- return this.invokeMethod("isMonitorStarted");
3262
+ getInfo(valuesObject) {
3263
+ return this.invokeMethod("getInfo", valuesObject);
3270
3264
  }
3271
3265
  getUptime() {
3272
3266
  return this.invokeMethod("getUptime");
@@ -3341,11 +3335,11 @@ var WidgetPackageApiImpl = class extends BaseApi {
3341
3335
  }
3342
3336
  return this.invokeMethod("install", JSON.stringify(widgetPackage));
3343
3337
  }
3344
- async uninstall(widgetPackage) {
3338
+ async uninstall(widgetPackage, clearData) {
3345
3339
  if (typeof widgetPackage == "string") {
3346
- return this.invokeMethod("uninstall", widgetPackage);
3340
+ return this.invokeMethod("uninstall", widgetPackage, clearData);
3347
3341
  }
3348
- return this.invokeMethod("uninstall", widgetPackage.name);
3342
+ return this.invokeMethod("uninstall", widgetPackage.name, clearData);
3349
3343
  }
3350
3344
  upgrade(packageName, remoteUrlInfo) {
3351
3345
  return this.invokeMethod("upgrade", packageName, remoteUrlInfo);