picgo 1.5.0-alpha.8 → 1.5.0-alpha.9

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,19 @@
1
+ # :tada: 1.5.0-alpha.9 (2022-09-03)
2
+
3
+
4
+ ### :sparkles: Features
5
+
6
+ * finish request -> axios ([b89cf1e](https://github.com/PicGo/PicGo-Core/commit/b89cf1e))
7
+
8
+
9
+ ### :bug: Bug Fixes
10
+
11
+ * qiniu error msg can't show ([0e4661b](https://github.com/PicGo/PicGo-Core/commit/0e4661b))
12
+ * sm.ms backupDomain message text ([45424d1](https://github.com/PicGo/PicGo-Core/commit/45424d1))
13
+ * when request-options resolveWithFullResponse is false bug ([eb8217a](https://github.com/PicGo/PicGo-Core/commit/eb8217a))
14
+
15
+
16
+
1
17
  # :tada: 1.5.0-alpha.8 (2022-08-27)
2
18
 
3
19
 
@@ -2,10 +2,9 @@
2
2
  import { EventEmitter } from 'events';
3
3
  import Commander from '../lib/Commander';
4
4
  import { Logger } from '../lib/Logger';
5
- import { IHelper, IImgInfo, IPicGo, IStringKeyMap, IPluginLoader, II18nManager, IPicGoPlugin, IPicGoPluginInterface } from '../types';
5
+ import { IHelper, IImgInfo, IPicGo, IStringKeyMap, IPluginLoader, II18nManager, IPicGoPlugin, IPicGoPluginInterface, IRequest } from '../types';
6
6
  import Request from '../lib/Request';
7
7
  import PluginHandler from '../lib/PluginHandler';
8
- import { RequestPromiseAPI } from 'request-promise-native';
9
8
  export declare class PicGo extends EventEmitter implements IPicGo {
10
9
  private _config;
11
10
  private lifecycle;
@@ -40,6 +39,6 @@ export declare class PicGo extends EventEmitter implements IPicGo {
40
39
  removeConfig(key: string, propName: string): void;
41
40
  setConfig(config: IStringKeyMap<any>): void;
42
41
  unsetConfig(key: string, propName: string): void;
43
- get request(): RequestPromiseAPI;
42
+ get request(): IRequest['request'];
44
43
  upload(input?: any[]): Promise<IImgInfo[] | Error>;
45
44
  }