react-s3-uploader
Advanced tools
Comparing version 3.0.2 to 3.0.3
{ | ||
"name": "react-s3-uploader", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "React component that renders a file input and automatically uploads to an S3 bucket", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -59,2 +59,3 @@ react-s3-uploader | ||
region: 'us-east-1', //optional | ||
signatureVersion: 'v4', //optional (use for some amazon regions: frankfurt and others) | ||
headers: {'Access-Control-Allow-Origin': '*'}, // optional | ||
@@ -126,2 +127,6 @@ ACL: 'private' // this is default | ||
##### 3.0.3 | ||
* Support signatureVersion option | ||
##### 3.0.2 | ||
@@ -128,0 +133,0 @@ |
@@ -27,2 +27,5 @@ | ||
} | ||
if (options.signatureVersion) { | ||
s3Options.signatureVersion = options.signatureVersion; | ||
} | ||
@@ -29,0 +32,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
18466
303
169