tt-uploader 1.3.4 → 1.3.7-alpha.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tt-uploader",
3
- "version": "1.3.4",
3
+ "version": "1.3.7-alpha.0",
4
4
  "description": "upload component for veVod and veImageX",
5
5
  "main": "dist/index.js",
6
6
  "typings": "./types/index.d.ts",
package/types/index.d.ts CHANGED
@@ -40,6 +40,13 @@ export interface InitConfig {
40
40
  noLog?: boolean
41
41
  useServerCurrentTime?: boolean
42
42
  taskParallelLimit?: number
43
+ region?:string
44
+ headers?: any
45
+ processRate?:number
46
+ cnOrOverseas?:'cn' | 'overseas'
47
+ videoHost?:string
48
+ imageHost?:string
49
+ logFromRegion?:string
43
50
  }
44
51
 
45
52
  export interface UpdateOptions {
@@ -70,6 +77,7 @@ export interface ImageXFileOption {
70
77
  skipCommit?: boolean
71
78
  serviceId?: string
72
79
  overwrite?: boolean
80
+ headers?: any
73
81
  }
74
82
 
75
83