Comparing version 7.0.0 to 7.0.1
{ | ||
"name": "minio", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "S3 Compatible Cloud Storage client", | ||
@@ -5,0 +5,0 @@ "main": "./dist/main/minio.js", |
@@ -81,4 +81,9 @@ # 适用于Amazon S3兼容云存储的Minio JavaScript Library [![Slack](https://slack.minio.io/slack?type=svg)](https://slack.minio.io) | ||
var metaData = { | ||
'Content-Type': 'application/octet-stream', | ||
'X-Amz-Meta-Testing': 1234, | ||
'example': 5678 | ||
} | ||
// Using fPutObject API upload your file to the bucket europetrip. | ||
minioClient.fPutObject('europetrip', 'photos-europe.tar', file, 'application/octet-stream', function(err, etag) { | ||
minioClient.fPutObject('europetrip', 'photos-europe.tar', file, metaData, function(err, etag) { | ||
if (err) return console.log(err) | ||
@@ -85,0 +90,0 @@ console.log('File uploaded successfully.') |
@@ -89,4 +89,9 @@ # Minio JavaScript Library for Amazon S3 Compatible Cloud Storage [![Slack](https://slack.minio.io/slack?type=svg)](https://slack.minio.io) | ||
var metaData = { | ||
'Content-Type': 'application/octet-stream', | ||
'X-Amz-Meta-Testing': 1234, | ||
'example': 5678 | ||
} | ||
// Using fPutObject API upload your file to the bucket europetrip. | ||
minioClient.fPutObject('europetrip', 'photos-europe.tar', file, 'application/octet-stream', function(err, etag) { | ||
minioClient.fPutObject('europetrip', 'photos-europe.tar', file, metaData, function(err, etag) { | ||
if (err) return console.log(err) | ||
@@ -93,0 +98,0 @@ console.log('File uploaded successfully.') |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
555071
212