Socket
Socket
Sign inDemoInstall

paddle-sdk

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paddle-sdk - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

2

package.json
{
"name": "paddle-sdk",
"description": "The Paddle.com Node.js SDK",
"version": "2.4.0",
"version": "2.5.0",
"main": "sdk.js",

@@ -6,0 +6,0 @@ "types": "sdk.d.ts",

@@ -72,6 +72,6 @@ export = PaddleSDK;

/**
* Get the current list of plans for a subscription
* Get the current list of all plans or plans for a subscription
*
* @method
* @param {number} productID
* @param {number} [productID]
* @returns {Promise}

@@ -81,10 +81,11 @@ * @fulfil {object} - The plans list

* @example
* const plans = await client.getProductPlans();
* const plans = await client.getProductPlans(123);
*/
getProductPlans(productID: number): Promise<any>;
getProductPlans(productID?: number): Promise<any>;
/**
* Get the current list of users for a subscription plan
* Get the current list of all users or users for a subscription plan
*
* @method
* @param {number} planID
* @param {number} [planID]
* @returns {Promise}

@@ -94,10 +95,11 @@ * @fulfil {object} - The users list

* @example
* const users = await client.getPlanUsers();
* const users = await client.getPlanUsers(123);
*/
getPlanUsers(planID: number): Promise<any>;
getPlanUsers(planID?: number): Promise<any>;
/**
* Get the list of payments for a subscription plan
* Get the list of all payments or payments for a subscription plan
*
* @method
* @param {number} planID
* @param {number} [planID]
* @returns {Promise}

@@ -107,5 +109,6 @@ * @fulfil {object} - The payments list

* @example
* const payments = await client.getPlanPayments();
* const payments = await client.getPlanPayments(123);
*/
getPlanPayments(planID: number): Promise<any>;
getPlanPayments(planID?: number): Promise<any>;
/**

@@ -112,0 +115,0 @@ * Get the list of webhooks history

@@ -132,6 +132,6 @@ const crypto = require('crypto');

/**
* Get the current list of plans for a subscription
* Get the current list of all plans or plans for a subscription
*
* @method
* @param {number} productID
* @param {number} [productID]
* @returns {Promise}

@@ -141,2 +141,3 @@ * @fulfil {object} - The plans list

* @example
* const plans = await client.getProductPlans();
* const plans = await client.getProductPlans(123);

@@ -151,6 +152,6 @@ */

/**
* Get the current list of users for a subscription plan
* Get the current list of all users or users for a subscription plan
*
* @method
* @param {number} planID
* @param {number} [planID]
* @returns {Promise}

@@ -160,2 +161,3 @@ * @fulfil {object} - The users list

* @example
* const users = await client.getPlanUsers();
* const users = await client.getPlanUsers(123);

@@ -170,6 +172,6 @@ */

/**
* Get the list of payments for a subscription plan
* Get the list of all payments or payments for a subscription plan
*
* @method
* @param {number} planID
* @param {number} [planID]
* @returns {Promise}

@@ -179,2 +181,3 @@ * @fulfil {object} - The payments list

* @example
* const payments = await client.getPlanPayments();
* const payments = await client.getPlanPayments(123);

@@ -181,0 +184,0 @@ */

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