picgo 1.5.0-alpha.16 → 1.5.0-alpha.17

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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # :tada: 1.5.0-alpha.17 (2022-11-13)
2
+
3
+
4
+ ### :sparkles: Features
5
+
6
+ * update picgo.use ([e19bb6e](https://github.com/PicGo/PicGo-Core/commit/e19bb6e))
7
+
8
+
9
+ ### :bug: Bug Fixes
10
+
11
+ * some case will cause proxy not work ([6272303](https://github.com/PicGo/PicGo-Core/commit/6272303))
12
+
13
+
14
+
1
15
  # :tada: 1.5.0-alpha.16 (2022-11-09)
2
16
 
3
17
 
@@ -32,7 +32,12 @@ export declare class PicGo extends EventEmitter implements IPicGo {
32
32
  private initConfigPath;
33
33
  private initConfig;
34
34
  private init;
35
- use(plugin: IPicGoPlugin): IPicGoPluginInterface;
35
+ /**
36
+ * easily mannually load a plugin
37
+ * if provide plugin name, will register plugin by name
38
+ * or just instantiate a plugin
39
+ */
40
+ use(plugin: IPicGoPlugin, name?: string): IPicGoPluginInterface;
36
41
  registerCommands(): void;
37
42
  getConfig<T>(name?: string): T;
38
43
  saveConfig(config: IStringKeyMap<any>): void;