@did-space/s3-driver 1.0.9 → 1.0.11
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/dist/operator/index.js +2 -1
- package/package.json +10 -10
package/dist/operator/index.js
CHANGED
|
@@ -524,12 +524,13 @@ class S3SpaceOperator {
|
|
|
524
524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
525
525
|
debug('readAsOwner.before', JSON.stringify({ key, options }));
|
|
526
526
|
const $key = (0, common_1.getSafeKey)((options === null || options === void 0 ? void 0 : options.useGlobal) ? key : (0, path_1.join)(this.options.root, key));
|
|
527
|
-
debug('readAsOwner.$key', $key);
|
|
527
|
+
debug('readAsOwner.$key.before', $key);
|
|
528
528
|
const output = yield this.s3Client.send(new client_s3_1.GetObjectCommand({
|
|
529
529
|
Bucket: this.options.bucket,
|
|
530
530
|
Key: $key,
|
|
531
531
|
ResponseContentType: 'application/octet-stream',
|
|
532
532
|
}));
|
|
533
|
+
debug('readAsOwner.$key.after', $key);
|
|
533
534
|
return output.Body;
|
|
534
535
|
});
|
|
535
536
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@did-space/s3-driver",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -28,9 +28,10 @@
|
|
|
28
28
|
"verify": "npm run lint && npm run test && npm run build"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/client-s3": "3.
|
|
32
|
-
"@aws-sdk/lib-storage": "3.
|
|
33
|
-
"@
|
|
31
|
+
"@aws-sdk/client-s3": "^3.744.0",
|
|
32
|
+
"@aws-sdk/lib-storage": "^3.744.0",
|
|
33
|
+
"@aws-sdk/util-utf8-browser": "^3.259.0",
|
|
34
|
+
"@did-space/core": "^1.0.11",
|
|
34
35
|
"aws-sdk-v3-proxy": "^2.2.0",
|
|
35
36
|
"debug": "^4.4.0",
|
|
36
37
|
"js-yaml": "^4.1.0",
|
|
@@ -40,21 +41,20 @@
|
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
43
|
"@arcblock/eslint-config-ts": "^0.3.3",
|
|
43
|
-
"@aws-sdk/types": "^3.
|
|
44
|
+
"@aws-sdk/types": "^3.734.0",
|
|
44
45
|
"@types/fs-extra": "^9.0.13",
|
|
45
46
|
"@types/jest": "^28.1.8",
|
|
46
47
|
"@types/js-yaml": "^4.0.9",
|
|
47
|
-
"@types/json-stable-stringify": "^1.
|
|
48
|
-
"@types/lodash": "^4.17.14",
|
|
48
|
+
"@types/json-stable-stringify": "^1.2.0",
|
|
49
49
|
"@types/mime-types": "^2.1.4",
|
|
50
50
|
"@types/node": "18.19.31",
|
|
51
51
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
52
|
-
"@vitest/spy": "^3.0.
|
|
52
|
+
"@vitest/spy": "^3.0.5",
|
|
53
53
|
"eslint": "^8.57.1",
|
|
54
54
|
"lint-staged": "^13.3.0",
|
|
55
55
|
"ts-jest": "^28.0.8",
|
|
56
56
|
"typescript": "^4.9.5",
|
|
57
|
-
"vitest": "^3.0.
|
|
57
|
+
"vitest": "^3.0.5"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "a6ef4e989848b33ea26c84fe0d93109587143d34"
|
|
60
60
|
}
|