ispapi-apiconnector
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -46,2 +46,4 @@ /* | ||
Client.prototype.request = function(p_cmd, p_cfg, p_cb, p_cberr, p_type) { | ||
if (!p_type || !/^(hash|list)$/.test(p_type)) | ||
p_type = 'hash'; | ||
if (!p_cfg) { | ||
@@ -52,4 +54,2 @@ var r = new Response(Response.responses.expired, p_cmd); | ||
} | ||
if (!p_type || (p_type !== 'hash' && p_type !== 'list')) | ||
p_type = 'hash'; | ||
//----- the socket configuration ---- | ||
@@ -56,0 +56,0 @@ //keys that may change in cfg: |
@@ -0,1 +1,6 @@ | ||
4.0.4 / 2017-02-13 | ||
=================== | ||
* Fix request method: in case no socket configuration and no response format type is provided (logout when not being logged in). | ||
4.0.3 / 2017-02-09 | ||
@@ -2,0 +7,0 @@ =================== |
{ | ||
"name": "ispapi-apiconnector", | ||
"description": "1API API Connector for node.js", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Kai Schwarz", |
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
78250