picgo 1.5.2 → 1.5.4

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.
@@ -352,12 +352,12 @@ export interface IConfig {
352
352
  debug?: boolean;
353
353
  silent?: boolean;
354
354
  settings?: {
355
- logLevel?: string;
355
+ logLevel?: string[];
356
356
  logPath?: string;
357
357
  /** for npm */
358
- registry?: string;
358
+ npmRegistry?: string;
359
359
  /** for npm */
360
- proxy?: string;
360
+ npmProxy?: string;
361
361
  [others: string]: any;
362
362
  };
363
363
  [configOptions: string]: any;
@@ -395,8 +395,8 @@ export interface IPluginHandlerResult<T> {
395
395
  body: T extends true ? string[] : string;
396
396
  }
397
397
  export interface IPluginHandlerOptions {
398
- proxy?: string;
399
- registry?: string;
398
+ npmProxy?: string;
399
+ npmRegistry?: string;
400
400
  }
401
401
  /**
402
402
  * for picgo npm plugins
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picgo",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "description": "A tool for picture uploading",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",