New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

chargebee

Package Overview
Dependencies
Maintainers
1
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chargebee - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

8

CHANGELOG.md

@@ -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 @@ * * *

8

lib/chargebee.js

@@ -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);

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc