@openfin/multer-s3
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -46,2 +46,3 @@ "use strict"; | ||
this.s3 = vopts.s3; | ||
console.log(vopts); | ||
if (kindOf(vopts.bucket) === "string") { | ||
@@ -65,11 +66,2 @@ this.bucket = () => Promise.resolve(vopts.bucket); | ||
} | ||
if (kindOf(vopts.acl) === "string") { | ||
this.acl = () => Promise.resolve(vopts.acl); | ||
} | ||
else if (kindOf(vopts.acl) == "function") { | ||
this.acl = vopts.acl; | ||
} | ||
else { | ||
throw new Error("acl must be a string, function or null/undefined"); | ||
} | ||
if (kindOf(vopts.key) === "function") { | ||
@@ -76,0 +68,0 @@ this.key = vopts.key; |
{ | ||
"name": "@openfin/multer-s3", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
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
38967
385