chargebee
Advanced tools
Comparing version 2.25.2 to 2.25.3
@@ -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
525513
9711