chargebee
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -0,1 +1,9 @@ | ||
### v1.3.5 (2016-04-16) | ||
* * * | ||
#### Issue Fixed | ||
The "meta_data" attribute in Subscription, Customer, Plan, Addon, Coupon create and update operations now accepts String and Json object. | ||
### v1.3.4 (2016-04-06) | ||
@@ -2,0 +10,0 @@ * * * |
@@ -10,3 +10,3 @@ var ChargeBee = {}; | ||
timeout: 40000, | ||
clientVersion: 'v1.3.4', | ||
clientVersion: 'v1.3.5', | ||
port: 443 | ||
@@ -193,2 +193,8 @@ }; | ||
} | ||
} else if(key === "meta_data") { | ||
var attrVal=""; | ||
if(value !== null) { | ||
attrVal = encodeURIComponent(Object.prototype.toString.call(value) === "[object String]" ? ChargeBee._util.trim(value) : JSON.stringify(value)); | ||
} | ||
serialized.push(encodeURIComponent(key) + "=" + attrVal); | ||
} else if (typeof value === 'object' && !ChargeBee._util.isArray(value)) { | ||
@@ -195,0 +201,0 @@ encodeParams(value, serialized, key); |
{ | ||
"name":"chargebee", | ||
"version":"1.3.4", | ||
"version":"1.3.5", | ||
"description":"A library for integrating with ChargeBee.", | ||
@@ -5,0 +5,0 @@ "keywords":[ |
@@ -12,3 +12,3 @@ # Chargebee Node Client Library - API V1 | ||
An attribute, <b>api_version</b>, is added to the [Event](https://apidocs.chargebee.com/docs/api/v1/events) resource, which indicates the API version based on which the event content is structured. In your webhook servers, ensure this _api_version_ is the same as the [API version](https://apidocs.chargebee.com/docs/api/v2#versions) used by your webhook server's client library. | ||
An attribute, <b>api_version</b>, is added to the [Event](https://apidocs.chargebee.com/docs/api/v1/events) resource, which indicates the API version based on which the event content is structured. In your webhook servers, ensure this _api_version_ is the same as the [API version](https://apidocs.chargebee.com/docs/api/v1#versions) used by your webhook server's client library. | ||
@@ -15,0 +15,0 @@ ## Installation |
47135
1027