Comparing version 0.3.6-1 to 0.3.6-2
@@ -6,2 +6,3 @@ # Changelog | ||
* Fixes query string parameters. | ||
* Fixes Proxy getter issue [096bff8]. | ||
* Remove exception in callREST. | ||
@@ -8,0 +9,0 @@ |
@@ -188,3 +188,5 @@ // | ||
if (typeof(this.$value) !== 'undefined' && typeof(this.$value[name]) !== 'undefined') { | ||
if (typeof(this.$value) !== 'undefined' && | ||
Object.prototype.toString.call(this.$value) != '[object Array]' && | ||
typeof(this.$value[name]) !== 'undefined') { | ||
return this.$value[name]; | ||
@@ -251,6 +253,6 @@ } | ||
OVHWS.prototype.proxyResponseREST = function (response, refer, callback) { | ||
if (Object.prototype.toString.call(response) === '[object Array]') { | ||
if (Object.prototype.toString.call(response) == '[object Array]') { | ||
var result = []; | ||
for (var i = 0 ; i < response.length ; ++i) { | ||
result.push(this.proxyResponseHandlerREST(refer, response[i], response[i])); | ||
result.push(this.proxyResponseHandlerREST(refer, response[i])); | ||
} | ||
@@ -257,0 +259,0 @@ |
{ | ||
"name": "ovh", | ||
"version": "0.3.6-1", | ||
"version": "0.3.6-2", | ||
"description": "An helper library to use OVH web services and REST APIs", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/gierschv/node-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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
49080
987
0