@strapi/provider-upload-aws-s3 4.11.1-beta.2 → 4.11.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -74,7 +74,7 @@ module.exports = ({ env }) => ({
74
74
 
75
75
  If your bucket is configured to be private, you will need to set the `ACL` option to `private` in the `params` object. This will ensure that the signed URL is generated with the correct permissions.
76
76
 
77
- You can also define the expiration time of the signed URL by setting the `signedUrlExpires` option in the `params` object. The default value is 7 days.
77
+ You can also define the expiration time of the signed URL by setting the `signedUrlExpires` option in the `params` object. The default value is 15 minutes.
78
78
 
79
79
  `./config/plugins.js`
80
80
 
@@ -90,7 +90,7 @@ module.exports = ({ env }) => ({
90
90
  region: env('AWS_REGION'),
91
91
  params: {
92
92
  ACL: 'private', // <== set ACL to private
93
- signedUrlExpires: env('AWS_SIGNED_URL_EXPIRES', 60 * 60 * 24 * 7),
93
+ signedUrlExpires: env('AWS_SIGNED_URL_EXPIRES', 15 * 60),
94
94
  Bucket: env('AWS_BUCKET'),
95
95
  },
96
96
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/provider-upload-aws-s3",
3
- "version": "4.11.1-beta.2",
3
+ "version": "4.11.2",
4
4
  "description": "AWS S3 provider for strapi upload",
5
5
  "keywords": [
6
6
  "upload",
@@ -45,17 +45,17 @@
45
45
  "lint": "run -T eslint ."
46
46
  },
47
47
  "dependencies": {
48
- "aws-sdk": "2.1372.0",
48
+ "aws-sdk": "2.1399.0",
49
49
  "lodash": "4.17.21"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/jest": "29.2.0",
53
- "eslint-config-custom": "4.11.1-beta.2",
54
- "tsconfig": "4.11.1-beta.2"
53
+ "eslint-config-custom": "4.11.2",
54
+ "tsconfig": "4.11.2"
55
55
  },
56
56
  "engines": {
57
57
  "node": ">=14.19.1 <=18.x.x",
58
58
  "npm": ">=6.0.0"
59
59
  },
60
- "gitHead": "0b01fbf9cc6729527d823c9c36c0065d660965c1"
60
+ "gitHead": "6f7c815c2bbe41dda7d77136eb8df736c028ff67"
61
61
  }