Comparing version 2.6.0 to 2.6.1
2.6.1 / 2015-09-09 | ||
================== | ||
* add endpoint into readme | ||
* chore: fix codecov link | ||
2.6.0 / 2015-09-07 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -57,3 +57,6 @@ /**! | ||
copy(options).and(DEFAULT_OPTIONS).to(this.options); | ||
// support endpoint, alias to host | ||
this.options.host = this.options.endpoint || this.options.host; | ||
this.setRegion(this.options.region); | ||
this.options.timeout = ms(this.options.timeout); | ||
@@ -60,0 +63,0 @@ this.agent = this.options.agent || new AgentKeepalive(); |
{ | ||
"name": "ali-oss", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"description": "aliyun oss(open storage service) node client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,3 +6,3 @@ ali-oss | ||
[![build status][travis-image]][travis-url] | ||
[![coverage](cov-image)](cov-url) | ||
[![coverage][cov-image]][cov-url] | ||
[![David deps][david-image]][david-url] | ||
@@ -96,11 +96,11 @@ | ||
OSS current have 5 data regions. | ||
[OSS current data regions](http://help.aliyun.com/knowledge_detail.htm?spm=5176.775974651.2.5.zVuYfO&categoryId=8314912&knowledgeId=5974206&pos=1). | ||
name | country | city | domain | ||
--- | --- | --- | --- | ||
oss-cn-hangzhou | China | HangZhou | oss-cn-hangzhou.aliyuncs.com | ||
oss-cn-qingdao | China | QingDao | oss-cn-qingdao.aliyuncs.com | ||
oss-cn-beijing | China | BeiJing | oss-cn-beijing.aliyuncs.com | ||
oss-cn-hongkong | China | HongKong | oss-cn-hongkong.aliyuncs.com | ||
oss-cn-shenzhen | China | ShenZhen | oss-cn-shenzhen.aliyuncs.com | ||
name | country | city | domain | inner domains | ||
--- | --- | --- | --- | --- | ||
oss-cn-hangzhou | China | HangZhou | oss-cn-hangzhou.aliyuncs.com | oss-cn-hangzhou-internal.aliyuncs.com | ||
oss-cn-qingdao | China | QingDao | oss-cn-qingdao.aliyuncs.com | oss-cn-qingdao-internal.aliyuncs.com | ||
oss-cn-beijing | China | BeiJing | oss-cn-beijing.aliyuncs.com | oss-cn-beijing-internal.aliyuncs.com | ||
oss-cn-hongkong | China | HongKong | oss-cn-hongkong.aliyuncs.com | oss-cn-hongkong-internal.aliyuncs.com | ||
oss-cn-shenzhen | China | ShenZhen | oss-cn-shenzhen.aliyuncs.com | oss-cn-shenzhen-internal.aliyuncs.com | ||
@@ -127,2 +127,3 @@ ## Create Account | ||
If you don't have any bucket, please use `putBucket()` create one first. | ||
- [endpoint] {String} oss region domain. It takes priority over `region`. | ||
- [region] {String} the bucket data region location, please see [Data Regions](#data-regions), | ||
@@ -129,0 +130,0 @@ default is `oss-cn-hangzhou` |
90983
1120
1718