next-flow-interface 0.18.27 → 0.18.29

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1609,7 +1609,7 @@ interface PluginInformation {
1609
1609
  }
1610
1610
  interface PluginContainerServiceApi {
1611
1611
  plugins: Map<string, PluginInformation>;
1612
- addPlugin(plugin: BasePlugin): Promise<void>;
1612
+ addPlugin(plugin: BasePlugin): void;
1613
1613
  removePlugin(plugin: BasePlugin): void;
1614
1614
  openPlugin(plugin: IconPlugin): Promise<boolean>;
1615
1615
  closePlugin(plugin: IconPlugin): Promise<boolean>;
@@ -2138,7 +2138,7 @@ interface PluginServiceApi {
2138
2138
  *
2139
2139
  * @param config 插件配置
2140
2140
  */
2141
- add(config: PluginConfig): Promise<void>;
2141
+ add(config: PluginConfig): Promise<boolean>;
2142
2142
  /**
2143
2143
  * 安装插件
2144
2144
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-flow-interface",
3
- "version": "0.18.27",
3
+ "version": "0.18.29",
4
4
  "description": "Interface package for NEXT FlOW. You can use this package to build your own plugin that can control anything.",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",