@did-space/s3-driver 0.2.146 → 0.2.147

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.
@@ -27,7 +27,6 @@ const lib_storage_1 = require("@aws-sdk/lib-storage");
27
27
  const mime_types_1 = __importDefault(require("mime-types"));
28
28
  const isEmpty_1 = __importDefault(require("lodash/isEmpty"));
29
29
  const debug_1 = __importDefault(require("debug"));
30
- const utils_1 = require("../utils");
31
30
  const { version: s3ClientVersion } = require('@aws-sdk/client-s3/package.json');
32
31
  const { version: libStorageVersion } = require('@aws-sdk/lib-storage/package.json');
33
32
  const debug = (0, debug_1.default)('@did-space/s3-driver:S3SpaceOperator');
@@ -209,7 +208,7 @@ class S3SpaceOperator {
209
208
  const output = yield this.s3Client.send(new client_s3_1.HeadObjectCommand({
210
209
  Bucket: this.options.bucket,
211
210
  Key: key,
212
- }), { requestTimeout: utils_1.DEFAULT_TIME_OUT });
211
+ }));
213
212
  debug('getHash.after', `Bucket=${this.options.bucket} Key=${key}`);
214
213
  return output.Metadata['x-hash'];
215
214
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@did-space/s3-driver",
3
- "version": "0.2.146",
3
+ "version": "0.2.147",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,9 +32,9 @@
32
32
  ]
33
33
  },
34
34
  "dependencies": {
35
- "@aws-sdk/client-s3": "^3.370.0",
36
- "@aws-sdk/lib-storage": "^3.370.0",
37
- "@did-space/core": "0.2.146",
35
+ "@aws-sdk/client-s3": "3.241.0",
36
+ "@aws-sdk/lib-storage": "3.241.0",
37
+ "@did-space/core": "0.2.147",
38
38
  "debug": "^4.3.4",
39
39
  "js-yaml": "^4.1.0",
40
40
  "lodash": "^4.17.21",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@arcblock/eslint-config-ts": "^0.2.4",
45
- "@aws-sdk/types": "^3.370.0",
45
+ "@aws-sdk/types": "^3.241.0",
46
46
  "@types/fs-extra": "^9.0.13",
47
47
  "@types/jest": "^28.1.5",
48
48
  "@types/js-yaml": "^4.0.5",
@@ -56,5 +56,5 @@
56
56
  "ts-jest": "^28.0.6",
57
57
  "typescript": "^4.9.5"
58
58
  },
59
- "gitHead": "cdb84c66288ba119ca51ef7e4d4c5ee9cefdc283"
59
+ "gitHead": "e3a8b2878644bca1494aa9eb2d196d1b080edd89"
60
60
  }