@widget-js/core 0.10.6 → 0.10.8

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.d.ts CHANGED
@@ -514,6 +514,7 @@ interface IAppApi {
514
514
  getConfig(key: string, defaultValue: string | number | boolean): Promise<string | number | boolean>;
515
515
  getVersion(): Promise<string>;
516
516
  getPreloadPath(): Promise<string>;
517
+ getAppPath(): Promise<string>;
517
518
  openAddWidgetWindow(): Promise<void>;
518
519
  openSettingWindow(): Promise<void>;
519
520
  getIconFile(): Promise<string>;
package/dist/index.js CHANGED
@@ -1810,6 +1810,9 @@ var AppApiConstants = /* @__PURE__ */ ((AppApiConstants2) => {
1810
1810
  return AppApiConstants2;
1811
1811
  })(AppApiConstants || {});
1812
1812
  var AppApiImpl = class extends BaseApi {
1813
+ getAppPath() {
1814
+ return this.invokeMethod("getAppPath");
1815
+ }
1813
1816
  async getIconFile() {
1814
1817
  return this.invokeMethod("getIconFile");
1815
1818
  }