paddle-sdk
Advanced tools
Comparing version 3.0.0 to 3.1.0
{ | ||
"name": "paddle-sdk", | ||
"description": "The Paddle.com Node.js SDK", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"main": "sdk.js", | ||
@@ -6,0 +6,0 @@ "types": "sdk.d.ts", |
@@ -425,3 +425,3 @@ const crypto = require('crypto'); | ||
* @param {number} subscriptionID | ||
* @param {Object} postData { quantity, price, planID, currency, prorate, keepModifiers, billImmediately } | ||
* @param {Object} postData { quantity, price, planID, currency, prorate, keepModifiers, billImmediately, pause } | ||
* @returns {Promise} | ||
@@ -442,2 +442,3 @@ * @fulfill {object} - The result of the operation | ||
billImmediately, | ||
pause, | ||
} = postData; | ||
@@ -468,2 +469,5 @@ const body = { | ||
} | ||
if (typeof pause === 'boolean') { | ||
body.pause = pause; | ||
} | ||
@@ -470,0 +474,0 @@ return this._request('/subscription/users/update', { |
31826
985