react-s3-uploader
Advanced tools
Comparing version 1.1.10 to 1.1.11
{ | ||
"name": "react-s3-uploader", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "React component that renders a file input and automatically uploads to an S3 bucket", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -44,2 +44,3 @@ react-s3-uploader | ||
bucket: "MyS3Bucket", | ||
region: 'us-east-1', //optional | ||
ACL: 'private' // this is default | ||
@@ -46,0 +47,0 @@ })); |
@@ -23,2 +23,5 @@ | ||
} | ||
if (options.region) { | ||
aws.config.update({region: options.region}); | ||
} | ||
@@ -25,0 +28,0 @@ var router = express.Router(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11834
209
83