@midwayjs/oss 4.0.0-alpha.1 → 4.0.0-beta.2

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/README.md CHANGED
@@ -9,4 +9,4 @@ Document: [https://midwayjs.org](https://midwayjs.org)
9
9
 
10
10
  ## License
11
11
 
12
- [MIT]((http://github.com/midwayjs/midway/blob/master/LICENSE))
12
+ [MIT]((https://github.com/midwayjs/midway/blob/master/LICENSE))
package/dist/manager.js CHANGED
@@ -19,7 +19,9 @@ function checkBucketConfig(config) {
19
19
  }
20
20
  let OSSServiceFactory = class OSSServiceFactory extends core_1.ServiceFactory {
21
21
  async init() {
22
- await this.initClients(this.ossConfig);
22
+ await this.initClients(this.ossConfig, {
23
+ concurrent: true,
24
+ });
23
25
  }
24
26
  async createClient(config) {
25
27
  if (config['cluster'] && !config.clusters) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midwayjs/oss",
3
3
  "description": "midway oss component",
4
- "version": "4.0.0-alpha.1",
4
+ "version": "4.0.0-beta.2",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
7
7
  "files": [
@@ -10,13 +10,13 @@
10
10
  "index.d.ts"
11
11
  ],
12
12
  "devDependencies": {
13
- "@midwayjs/core": "^4.0.0-alpha.1",
14
- "@midwayjs/mock": "^4.0.0-alpha.1",
13
+ "@midwayjs/core": "^4.0.0-beta.2",
14
+ "@midwayjs/mock": "^4.0.0-beta.2",
15
15
  "dotenv": "16.4.7"
16
16
  },
17
17
  "dependencies": {
18
18
  "@types/ali-oss": "6.16.11",
19
- "ali-oss": "6.21.0"
19
+ "ali-oss": "6.23.0"
20
20
  },
21
21
  "keywords": [
22
22
  "aliyun",
@@ -32,11 +32,11 @@
32
32
  "lint": "mwts check"
33
33
  },
34
34
  "engines": {
35
- "node": ">=12"
35
+ "node": ">=20"
36
36
  },
37
37
  "repository": {
38
38
  "type": "git",
39
39
  "url": "https://github.com/midwayjs/midway.git"
40
40
  },
41
- "gitHead": "14bb4da91805a1cf52f190c0d37a74b395dd6372"
41
+ "gitHead": "53bfef4c5279da5f09025e4610bdbf64f94f60bd"
42
42
  }