Comparing version 2.0.2 to 3.0.0
@@ -11,3 +11,3 @@ # JavaScript Client API Reference [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Minio/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
var minioClient = new Minio({ | ||
var minioClient = new Minio.Client({ | ||
endPoint: 'play.minio.io', | ||
@@ -28,3 +28,3 @@ port: 9000, | ||
var s3Client = new Minio({ | ||
var s3Client = new Minio.Client({ | ||
endPoint: 's3.amazonaws.com', | ||
@@ -53,7 +53,7 @@ accessKey: 'YOUR-ACCESSKEYID', | ||
<a name="MinioClient_endpoint"></a> | ||
### new Minio ({endPoint, port, secure, accessKey, secretKey}) | ||
### new Minio.Client ({endPoint, port, secure, accessKey, secretKey}) | ||
| | | ||
| ---- | | ||
|``new Minio ({endPoint, port, secure, accessKey, secretKey})``| | ||
|``new Minio.Client ({endPoint, port, secure, accessKey, secretKey})``| | ||
|Initializes a new client object.| | ||
@@ -85,3 +85,3 @@ | ||
var minioClient = new Minio({ | ||
var minioClient = new Minio.Client({ | ||
endPoint: 'play.minio.io', | ||
@@ -104,3 +104,3 @@ port: 9000, | ||
var s3Client = new Minio({ | ||
var s3Client = new Minio.Client({ | ||
endPoint: 's3.amazonaws.com', | ||
@@ -107,0 +107,0 @@ accessKey: 'YOUR-ACCESSKEYID', |
{ | ||
"name": "minio", | ||
"version": "2.0.2", | ||
"version": "3.0.0", | ||
"description": "S3 Compatible Cloud Storage client", | ||
@@ -5,0 +5,0 @@ "main": "./dist/main/minio.js", |
@@ -50,3 +50,3 @@ # Minio JavaScript Library for Amazon S3 Compatible Cloud Storage [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Minio/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
var minioClient = new Minio({ | ||
var minioClient = new Minio.Client({ | ||
endPoint: 'play.minio.io', | ||
@@ -75,3 +75,3 @@ port: 9000, | ||
// and access keys as shown below. | ||
var minioClient = new Minio({ | ||
var minioClient = new Minio.Client({ | ||
endPoint: 'play.minio.io', | ||
@@ -78,0 +78,0 @@ port: 9000, |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2391073
0
2