@widget-js/core 0.10.19 → 0.10.27

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 CHANGED
@@ -1232,7 +1232,7 @@ var Channel = /* @__PURE__ */ ((Channel2) => {
1232
1232
  Channel2["BROWSER_WINDOW"] = "channel::cn.widgetjs.core.browser_window";
1233
1233
  Channel2["BROADCAST"] = "channel::cn.widgetjs.core.broadcast";
1234
1234
  Channel2["WIDGET"] = "channel::cn.widgetjs.core.widget";
1235
- Channel2["HOSTED_WIDGET"] = "channel::cn.widgetjs.core.hosted_widget";
1235
+ Channel2["DEPLOYED_WIDGET"] = "channel::cn.widgetjs.core.deployed_widget";
1236
1236
  Channel2["APP"] = "channel::cn.widgetjs.core.app";
1237
1237
  Channel2["DIALOG"] = "channel::cn.widgetjs.core.dialog";
1238
1238
  Channel2["CLIPBOARD"] = "channel::cn.widgetjs.core.clipboard";
@@ -1647,6 +1647,9 @@ var BrowserWindowApiImpl = class extends BaseApi {
1647
1647
  await this.center();
1648
1648
  }
1649
1649
  }
1650
+ async setProxy(config) {
1651
+ return await this.invokeMethod("setProxy", config);
1652
+ }
1650
1653
  };
1651
1654
  var BrowserWindowApi = new BrowserWindowApiImpl();
1652
1655
 
@@ -1764,7 +1767,7 @@ var NotificationApi = new NotificationApiImpl();
1764
1767
  // src/api/DeployedWidgetApi.ts
1765
1768
  var DeployedWidgetApiImpl = class extends BaseApi {
1766
1769
  getChannel() {
1767
- return "channel::cn.widgetjs.core.hosted_widget" /* HOSTED_WIDGET */;
1770
+ return "channel::cn.widgetjs.core.deployed_widget" /* DEPLOYED_WIDGET */;
1768
1771
  }
1769
1772
  /**
1770
1773
  * 移除组件