Comparing version 1.1.1 to 1.1.2
# Changelog | ||
## 1.1.2 | ||
* Add aliases soyoustart-eu, soyoustart-ca, kimsufi-eu, kimsufi-ca to sys-eu, sys-ca, ks-eu and ks-ca. | ||
## 1.1.1 | ||
@@ -4,0 +8,0 @@ |
@@ -54,2 +54,8 @@ /** | ||
}, | ||
'soyoustart-eu': { | ||
'host': 'eu.api.soyoustart.com' | ||
}, | ||
'soyoustart-ca': { | ||
'host': 'ca.api.soyoustart.com' | ||
}, | ||
'ks-eu': { | ||
@@ -61,2 +67,8 @@ 'host': 'eu.api.kimsufi.com' | ||
}, | ||
'kimsufi-eu': { | ||
'host': 'eu.api.kimsufi.com' | ||
}, | ||
'kimsufi-ca': { | ||
'host': 'ca.api.kimsufi.com' | ||
}, | ||
}; |
{ | ||
"name": "ovh", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Official Node.js wrapper for the OVH APIs", | ||
@@ -5,0 +5,0 @@ "homepage": "http://ovh.github.io/node-ovh", |
@@ -5,3 +5,3 @@ [![Node.js Wrapper for OVH APIs](http://ovh.github.io/node-ovh/img/logo.png)](http://ovh.github.io/node-ovh) | ||
[![NPM Version](https://img.shields.io/npm/v/ovh.svg?style=flat)](https://www.npmjs.org/package/express) | ||
[![NPM Version](https://img.shields.io/npm/v/ovh.svg?style=flat)](https://www.npmjs.org/package/ovh) | ||
[![Build Status](https://img.shields.io/travis/ovh/node-ovh.svg?style=flat)](http://travis-ci.org/ovh/node-ovh) | ||
@@ -71,6 +71,6 @@ [![Coverage Status](https://img.shields.io/coveralls/ovh/node-ovh.svg?style=flat)](https://coveralls.io/r/ovh/node-ovh?branch=master) | ||
* RunAbove: ```runabove-ca``` | ||
* SoYouStart Europe: ```sys-eu``` | ||
* SoYouStart North-America: ```sys-ca``` | ||
* Kimsufi Europe: ```ks-eu``` | ||
* Kimsufi North-America: ```ks-ca``` | ||
* SoYouStart Europe: ```soyoustart-eu``` | ||
* SoYouStart North-America: ```soyoustart-ca``` | ||
* Kimsufi Europe: ```kimsufi-eu``` | ||
* Kimsufi North-America: ```kimsufi-ca``` | ||
@@ -104,3 +104,3 @@ ```js | ||
This consumer key can be scoped with a **specific authorization**. | ||
For example if your application will only send SMS: | ||
For example if your application will only send SMS: | ||
@@ -118,3 +118,3 @@ ```javascript | ||
Once the consumer key will be authorized on the specified URL, | ||
you'll be able to play with the API calls allowed by this key. | ||
you'll be able to play with the API calls allowed by this key. | ||
@@ -221,3 +221,3 @@ #### 3. Let's play! | ||
#### Kimsufi Europe | ||
### Kimsufi Europe | ||
@@ -230,3 +230,3 @@ - **Documentation**: https://eu.api.kimsufi.com/ | ||
#### Kimsufi North America | ||
### Kimsufi North America | ||
@@ -239,3 +239,3 @@ - **Documentation**: https://ca.api.kimsufi.com/ | ||
### Related links | ||
## Related links | ||
@@ -242,0 +242,0 @@ - **Contribute**: https://github.com/ovh/node-ovh |
@@ -88,9 +88,18 @@ /** | ||
appKey: 'XXX', appSecret: 'XXX', | ||
endpoint: 'runabove-ca' | ||
endpoint: 'sys-ca' | ||
}); | ||
assert.equal(rest.host, 'api.runabove.com'); | ||
assert.equal(rest.host, 'ca.api.soyoustart.com'); | ||
assert.equal(rest.port, 443); | ||
assert.equal(rest.basePath, '/1.0'); | ||
rest = ovh({ | ||
appKey: 'XXX', appSecret: 'XXX', | ||
endpoint: 'soyoustart-ca' | ||
}); | ||
assert.equal(rest.host, 'ca.api.soyoustart.com'); | ||
assert.equal(rest.port, 443); | ||
assert.equal(rest.basePath, '/1.0'); | ||
assert.throws( | ||
@@ -102,2 +111,1 @@ function () { ovh({ appKey: 'XXX', appSecret: 'XXX', endpoint: 'eu-ovh' }); }, | ||
}; | ||
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
89515
1959
5524