Comparing version 6.0.0 to 7.0.0
@@ -13,3 +13,3 @@ # JavaScript Client API Reference [![Slack](https://slack.minio.io/slack?type=svg)](https://slack.minio.io) | ||
port: 9000, | ||
secure: true, | ||
useSSL: true, | ||
accessKey: 'Q3AM3UQ867SPQQA43P2F', | ||
@@ -49,7 +49,7 @@ secretKey: 'zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG' | ||
<a name="MinioClient_endpoint"></a> | ||
### new Minio.Client ({endPoint, port, secure, accessKey, secretKey}) | ||
### new Minio.Client ({endPoint, port, useSSL, accessKey, secretKey}) | ||
| | | ||
| ---- | | ||
|``new Minio.Client ({endPoint, port, secure, accessKey, secretKey})``| | ||
|``new Minio.Client ({endPoint, port, useSSL, accessKey, secretKey})``| | ||
|Initializes a new client object.| | ||
@@ -63,3 +63,3 @@ | ||
| `port` | _number_ | TCP/IP port number. This input is optional. Default value set to 80 for HTTP and 443 for HTTPs. | | ||
|`secure` | _bool_ |If set to true, https is used instead of http. Default is true. | | ||
|`useSSL` | _bool_ |If set to true, https is used instead of http. Default is true. | | ||
|`accessKey` | _string_ |accessKey is like user-id that uniquely identifies your account. | | ||
@@ -82,3 +82,3 @@ |`secretKey` | _string_ | secretKey is the password to your account.| | ||
port: 9000, | ||
secure: true, | ||
useSSL: true, | ||
accessKey: 'Q3AM3UQ867SPQQA43P2F', | ||
@@ -85,0 +85,0 @@ secretKey: 'zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG' |
@@ -13,3 +13,3 @@ # JavaScript Client API参考文档 [![Slack](https://slack.minio.io/slack?type=svg)](https://slack.minio.io) | ||
port: 9000, | ||
secure: true, | ||
useSSL: true, | ||
accessKey: 'Q3AM3UQ867SPQQA43P2F', | ||
@@ -48,7 +48,7 @@ secretKey: 'zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG' | ||
<a name="MinioClient_endpoint"></a> | ||
### new Minio.Client ({endPoint, port, secure, accessKey, secretKey}) | ||
### new Minio.Client ({endPoint, port, useSSL, accessKey, secretKey}) | ||
| | | ||
| ---- | | ||
|``new Minio.Client ({endPoint, port, secure, accessKey, secretKey})``| | ||
|``new Minio.Client ({endPoint, port, useSSL, accessKey, secretKey})``| | ||
|初使化一个新的client对象。| | ||
@@ -64,3 +64,3 @@ | ||
|`secretKey` | _string_ | secretKey是你账户的密码。| | ||
|`secure` | _bool_ |如果是true,则用的是https而不是http,默认值是true。 | | ||
|`useSSL` | _bool_ |如果是true,则用的是https而不是http,默认值是true。 | | ||
|`region` | _string_ |设置该值以覆盖自动发现存储桶region。(可选)| | ||
@@ -79,3 +79,3 @@ | ||
port: 9000, | ||
secure: true, | ||
useSSL: true, | ||
accessKey: 'Q3AM3UQ867SPQQA43P2F', | ||
@@ -82,0 +82,0 @@ secretKey: 'zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG' |
@@ -26,3 +26,3 @@ /* | ||
secretKey: 'YOUR-SECRETACCESSKEY', | ||
secure: true // Default is true. | ||
useSSL: true // Default is true. | ||
}) | ||
@@ -29,0 +29,0 @@ |
@@ -26,3 +26,3 @@ /* | ||
secretKey: 'YOUR-SECRETACCESSKEY', | ||
secure: true // Default is true. | ||
useSSL: true // Default is true. | ||
}) | ||
@@ -29,0 +29,0 @@ |
@@ -26,3 +26,3 @@ /* | ||
secretKey: 'YOUR-SECRETACCESSKEY', | ||
secure: true // Default is true. | ||
useSSL: true // Default is true. | ||
}) | ||
@@ -29,0 +29,0 @@ |
@@ -26,3 +26,3 @@ /* | ||
port: 9000, | ||
secure: false, | ||
useSSL: false, | ||
accessKey: 'YOUR-ACCESSKEYID', | ||
@@ -29,0 +29,0 @@ secretKey: 'YOUR-SECRETACCESSKEY' |
{ | ||
"name": "minio", | ||
"version": "6.0.0", | ||
"version": "7.0.0", | ||
"description": "S3 Compatible Cloud Storage client", | ||
@@ -42,3 +42,2 @@ "main": "./dist/main/minio.js", | ||
"querystring": "0.2.0", | ||
"source-map-support": "^0.4.12", | ||
"through2": "^0.6.5", | ||
@@ -63,3 +62,4 @@ "uuid": "^3.1.0", | ||
"rewire": "^2.3.3", | ||
"superagent": "^1.8.5" | ||
"source-map-support": "^0.4.12", | ||
"superagent": "^3.7.0" | ||
}, | ||
@@ -66,0 +66,0 @@ "keywords": [ |
@@ -36,3 +36,3 @@ # 适用于Amazon S3兼容云存储的Minio JavaScript Library [![Slack](https://slack.minio.io/slack?type=svg)](https://slack.minio.io) | ||
| secretKey | Secret key是你账户的密码。 | | ||
|secure |true代表使用HTTPS | | ||
|useSSL |true代表使用HTTPS | | ||
@@ -46,3 +46,3 @@ | ||
port: 9000, | ||
secure: true, | ||
useSSL: true, | ||
accessKey: 'Q3AM3UQ867SPQQA43P2F', | ||
@@ -69,3 +69,3 @@ secretKey: 'zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG' | ||
port: 9000, | ||
secure: true, | ||
useSSL: true, | ||
accessKey: 'Q3AM3UQ867SPQQA43P2F', | ||
@@ -72,0 +72,0 @@ secretKey: 'zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG' |
@@ -44,3 +44,3 @@ # Minio JavaScript Library for Amazon S3 Compatible Cloud Storage [![Slack](https://slack.minio.io/slack?type=svg)](https://slack.minio.io) | ||
| secretKey | Secret key is the password to your account. | | ||
|secure |Set this value to 'true' to enable secure (HTTPS) access | | ||
|useSSL |Set this value to 'true' to enable secure (HTTPS) access | | ||
@@ -54,3 +54,3 @@ | ||
port: 9000, | ||
secure: true, | ||
useSSL: true, | ||
accessKey: 'Q3AM3UQ867SPQQA43P2F', | ||
@@ -77,3 +77,3 @@ secretKey: 'zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG' | ||
port: 9000, | ||
secure: true, | ||
useSSL: true, | ||
accessKey: 'Q3AM3UQ867SPQQA43P2F', | ||
@@ -80,0 +80,0 @@ secretKey: 'zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG' |
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
554768
13
5021
15
- Removedsource-map-support@^0.4.12
- Removedsource-map@0.5.7(transitive)
- Removedsource-map-support@0.4.18(transitive)