feathers-blob
Advanced tools
Comparing version 1.3.1 to 1.4.0
# Change Log | ||
## [v1.3.1](https://github.com/feathersjs/feathers-blob/tree/v1.3.1) (2017-06-30) | ||
[Full Changelog](https://github.com/feathersjs/feathers-blob/compare/v1.3.0...v1.3.1) | ||
**Merged pull requests:** | ||
- Reject if Model.createWriteStream returns with error [\#24](https://github.com/feathersjs/feathers-blob/pull/24) ([3bola](https://github.com/3bola)) | ||
## [v1.3.0](https://github.com/feathersjs/feathers-blob/tree/v1.3.0) (2017-06-21) | ||
@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/feathersjs/feathers-blob/compare/v1.2.0...v1.3.0) |
@@ -116,3 +116,3 @@ 'use strict'; | ||
}, function (error) { | ||
return error ? reject(error) : resolve(); | ||
return error ? reject(error) : resolve({ id: id }); | ||
}); | ||
@@ -119,0 +119,0 @@ }); |
{ | ||
"name": "feathers-blob", | ||
"description": "Feathers blob service", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"homepage": "https://github.com/feathersjs/feathers-blob", | ||
@@ -64,3 +64,3 @@ "main": "lib/", | ||
"dauria": "^2.0.0", | ||
"debug": "^2.2.0", | ||
"debug": "^3.0.0", | ||
"from2": "^2.1.1", | ||
@@ -83,7 +83,7 @@ "mime-types": "^2.1.10", | ||
"istanbul": "^1.1.0-alpha.1", | ||
"mocha": "^3.2.0", | ||
"mocha": "^5.0.0", | ||
"rimraf": "^2.5.4", | ||
"s3-blob-store": "^2.0.1", | ||
"semistandard": "^11.0.0" | ||
"s3-blob-store": "^3.0.0", | ||
"semistandard": "^12.0.0" | ||
} | ||
} |
@@ -36,3 +36,3 @@ # feathers-blob | ||
Optionally, you can specify in the `body` the blob `key` which can be the file | ||
Optionally, you can specify in the `body` the blob `id` which can be the file | ||
path where you want to store the file, otherwise it would default to | ||
@@ -69,2 +69,3 @@ `${hash(content)}.${extension(contentType)}`. | ||
const s3 = new AWS.S3({ | ||
endpoint: 'https://{service}.{region}.{provider}.com', | ||
accessKeyId: process.env.AWS_ACCESS_KEY_ID, | ||
@@ -71,0 +72,0 @@ secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY, |
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
132596
111
9
+ Addeddebug@3.2.7(transitive)
+ Addedms@2.1.3(transitive)
- Removeddebug@2.6.9(transitive)
- Removedms@2.0.0(transitive)
Updateddebug@^3.0.0