@medusajs/file-s3 0.0.3-snapshot-20240531094527 → 0.0.3-snapshot-20240607093839
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/services/s3-file.js +2 -1
- package/package.json +2 -2
package/dist/services/s3-file.js
CHANGED
@@ -58,6 +58,7 @@ class S3FileService extends utils_1.AbstractFileProviderService {
|
|
58
58
|
// protected private_access_key_id_: string
|
59
59
|
// protected private_secret_access_key_: string
|
60
60
|
// ACL: options.acl ?? (options.isProtected ? "private" : "public-read"),
|
61
|
+
ACL: "public-read",
|
61
62
|
Bucket: this.config_.bucket,
|
62
63
|
Body: content,
|
63
64
|
Key: fileKey,
|
@@ -107,4 +108,4 @@ class S3FileService extends utils_1.AbstractFileProviderService {
|
|
107
108
|
}
|
108
109
|
exports.S3FileService = S3FileService;
|
109
110
|
S3FileService.identifier = "s3";
|
110
|
-
//# sourceMappingURL=data:application/json;base64,
|
111
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiczMtZmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZXJ2aWNlcy9zMy1maWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLGtEQU0yQjtBQUMzQix3RUFBNEQ7QUFFNUQsMkNBQTBFO0FBQzFFLGdEQUF1QjtBQUN2QiwrQkFBMkI7QUFvQjNCLCtGQUErRjtBQUMvRixNQUFhLGFBQWMsU0FBUSxtQ0FBMkI7SUFNNUQsWUFBWSxFQUFFLE1BQU0sRUFBd0IsRUFBRSxPQUE2QjtRQUN6RSxLQUFLLEVBQUUsQ0FBQTtRQUVQLElBQUksQ0FBQyxPQUFPLEdBQUc7WUFDYixPQUFPLEVBQUUsT0FBTyxDQUFDLFFBQVE7WUFDekIsV0FBVyxFQUFFLE9BQU8sQ0FBQyxhQUFhO1lBQ2xDLGVBQWUsRUFBRSxPQUFPLENBQUMsaUJBQWlCO1lBQzF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0FBQyxNQUFNO1lBQzNCLEdBQUcsRUFBRSxHQUFHLFFBQVEsQ0FBQyxPQUFPLEVBQUU7U0FDM0IsQ0FBQyxDQUFBO1FBRUYsT0FBTyxNQUFNLElBQUEsbUNBQVksRUFBQyxJQUFJLENBQUMsT0FBTyxFQUFFLE9BQU8sRUFBRTtZQUMvQyxTQUFTLEVBQUUsSUFBSSxDQUFDLE9BQU8sQ0FBQyxvQkFBb0I7U0FDN0MsQ0FBQyxDQUFBO0lBQ0osQ0FBQzs7QUF6SEgsc0NBMEhDO0FBekhRLHdCQUFVLEdBQUcsSUFBSSxDQUFBIn0=
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/file-s3",
|
3
|
-
"version": "0.0.3-snapshot-
|
3
|
+
"version": "0.0.3-snapshot-20240607093839",
|
4
4
|
"description": "S3 protocol file storage for Medusa. Supports any S3-compatible storage provider",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"repository": {
|
@@ -33,7 +33,7 @@
|
|
33
33
|
"dependencies": {
|
34
34
|
"@aws-sdk/client-s3": "^3.556.0",
|
35
35
|
"@aws-sdk/s3-request-presigner": "^3.556.0",
|
36
|
-
"@medusajs/utils": "1.12.0-snapshot-
|
36
|
+
"@medusajs/utils": "1.12.0-snapshot-20240607093839",
|
37
37
|
"ulid": "^2.3.0"
|
38
38
|
},
|
39
39
|
"keywords": [
|