Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

paddle-sdk

Package Overview
Dependencies
Maintainers
1
Versions
28
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 3.2.0 to 3.3.0

8

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

@@ -45,5 +45,5 @@ "types": "sdk.d.ts",

"devDependencies": {
"eslint": "^6.8.0",
"eslint": "^8.0.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"jest": "^29.0.0",
"jsdoc-to-markdown": "^5.0.3",

@@ -53,3 +53,3 @@ "lint-staged": "^9.5.0",

"prettier": "^1.19.1",
"standard-version": "^7.0.1",
"standard-version": "^8.0.0",
"typescript": "^3.8.3",

@@ -56,0 +56,0 @@ "validate-commit-msg": "^2.14.0"

@@ -291,2 +291,15 @@ export = PaddleSDK;

/**
* Change the due date of an upcoming subscription payment
*
* @method
* @param {number} paymentID
* @param {Date} date - Only the date portion of the date value is used
* @returns {Promise}
* @fulfill {object} - The result of the operation
*
* @example
* const result = await client.reschedulePayment(123, new Date('2022-12-04'));
*/
reschedulePayment(paymentID: number, date: Date): Promise<any>;
/**
* Generate a custom pay link

@@ -293,0 +306,0 @@ *

@@ -532,2 +532,23 @@ const crypto = require('crypto');

/**
* Change the due date of an upcoming subscription payment
*
* @method
* @param {number} paymentID
* @param {Date} date - Only the date portion of the date value is used
* @returns {Promise}
* @fulfill {object} - The result of the operation
*
* @example
* const result = await client.reschedulePayment(123, new Date('2022-12-04'));
*/
reschedulePayment(paymentID, date) {
return this._request('/subscription/payments_reschedule', {
body: {
payment_id: paymentID,
date: date.toISOString().substring(0, 10),
},
});
}
/**
* Generate a custom pay link

@@ -534,0 +555,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