chargebee
Advanced tools
Comparing version 1.2.9 to 1.3.0
@@ -0,1 +1,8 @@ | ||
### v1.3.0 (2015-12-15) | ||
* * * | ||
** APIs updated**: | ||
Wrong API invocation issue if empty/null value passed instead of resource id, is fixed. | ||
### v1.2.9 (2015-11-09) | ||
@@ -2,0 +9,0 @@ * * * |
@@ -8,3 +8,3 @@ var ChargeBee = {}; | ||
timeout: 40000, | ||
clientVersion: 'v1.2.9', | ||
clientVersion: 'v1.3.0', | ||
port: 443 | ||
@@ -54,3 +54,3 @@ }; | ||
function validateIdParam(idParam) { | ||
if (typeof idParam === 'undefined' || typeof idParam !== 'string') { | ||
if (typeof idParam === 'undefined' || typeof idParam !== 'string' || idParam.trim() < 1) { | ||
throw new Error('the required id parameter missing or wrong'); | ||
@@ -57,0 +57,0 @@ } |
{ | ||
"name" : "chargebee", | ||
"version" : "1.2.9", | ||
"version" : "1.3.0", | ||
"description" : "A library for integrating with ChargeBee.", | ||
@@ -5,0 +5,0 @@ "keywords" : ["payments","billing","subscription","chargebee"], |
40044