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 2.25.2 to 2.25.3

4

lib/chargebee.js

@@ -14,3 +14,3 @@ var ChargeBee = {};

timeout: 80000,
clientVersion: 'v2.25.2',
clientVersion: 'v2.25.3',
port: 443,

@@ -173,3 +173,3 @@ timemachineWaitInMillis: 3000,

function validateIdParam(idParam) {
if (typeof idParam === 'undefined' || typeof idParam !== 'string' || idParam.trim() < 1) {
if (typeof idParam === 'undefined' || typeof idParam !== 'string' || idParam.trim().length < 1) {
throw new Error('the required id parameter missing or wrong');

@@ -176,0 +176,0 @@ }

{
"name":"chargebee",
"version":"2.25.2",
"version":"2.25.3",
"description":"A library for integrating with ChargeBee.",

@@ -5,0 +5,0 @@ "keywords":[

declare module 'chargebee' {
export class RequestConfig {
site ?: string
api_key ?: string
timeout ?: number
timemachineWaitInMillis ?: number
exportWaitInMillis ?: number
}
export class ChargebeeRequest<T> {
setIdempotencyKey(idempotencyKey: string): this;
request(): Promise<T>;
request(config ?: RequestConfig): Promise<T>;
headers(headers : {[key : string] : string}): this;

@@ -6,0 +13,0 @@ }

Sorry, the diff of this file is too big to display

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