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

paddle-sdk

Package Overview
Dependencies
Maintainers
0
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 4.6.2 to 4.7.0

9

cjs/sdk.d.ts

@@ -282,2 +282,11 @@ import { CreateOneOffChargeResponse, CreateSubscriptionModifierResponse, GeneratePaylinkBody, GeneratePaylinkResponse, GetPricesResponse, GetProductCouponsResponse, GetProductsResponse, GetSubscriptionModifiersResponse, GetSubscriptionPaymentsResponse, GetSubscriptionPlansResponse, GetSubscriptionUsersBody, GetSubscriptionUsersResponse, GetTransactionsResponse, GetWebhookHistoryResponse, PaddleResponseError, UpdateSubscriptionUserResponse } from './types';

/**
* Delete an existing subscription modifier.
*
* API documentation: https://developer.paddle.com/classic/api-reference/dcdd0db5b20a1-delete-modifier
*
* @example
* const result = await client.deleteSubscriptionModifier(123);
*/
deleteSubscriptionModifier(modifierId: number): Promise<true>;
/**
* Make an immediate one-off charge on top of an existing user subscription

@@ -284,0 +293,0 @@ *

@@ -400,2 +400,18 @@ "use strict";

/**
* Delete an existing subscription modifier.
*
* API documentation: https://developer.paddle.com/classic/api-reference/dcdd0db5b20a1-delete-modifier
*
* @example
* const result = await client.deleteSubscriptionModifier(123);
*/
deleteSubscriptionModifier(modifierId) {
const body = {
modifier_id: modifierId,
};
return this._request('/subscription/modifiers/delete', {
body,
});
}
/**
* Make an immediate one-off charge on top of an existing user subscription

@@ -402,0 +418,0 @@ *

3

cjs/types.d.ts

@@ -180,2 +180,5 @@ export interface Product {

}
export interface DeleteSubscriptionModifierBody {
modifier_id: number;
}
export interface CreateSubscriptionModifierResponse {

@@ -182,0 +185,0 @@ subscription_id: number;

2

cjs/version.d.ts

@@ -1,1 +0,1 @@

export declare const VERSION = "4.6.2";
export declare const VERSION = "4.7.0";

@@ -5,2 +5,2 @@ "use strict";

// Generated by yarn build
exports.VERSION = '4.6.2';
exports.VERSION = '4.7.0';

@@ -282,2 +282,11 @@ import { CreateOneOffChargeResponse, CreateSubscriptionModifierResponse, GeneratePaylinkBody, GeneratePaylinkResponse, GetPricesResponse, GetProductCouponsResponse, GetProductsResponse, GetSubscriptionModifiersResponse, GetSubscriptionPaymentsResponse, GetSubscriptionPlansResponse, GetSubscriptionUsersBody, GetSubscriptionUsersResponse, GetTransactionsResponse, GetWebhookHistoryResponse, PaddleResponseError, UpdateSubscriptionUserResponse } from './types';

/**
* Delete an existing subscription modifier.
*
* API documentation: https://developer.paddle.com/classic/api-reference/dcdd0db5b20a1-delete-modifier
*
* @example
* const result = await client.deleteSubscriptionModifier(123);
*/
deleteSubscriptionModifier(modifierId: number): Promise<true>;
/**
* Make an immediate one-off charge on top of an existing user subscription

@@ -284,0 +293,0 @@ *

@@ -401,2 +401,18 @@ import axios from 'axios';

/**
* Delete an existing subscription modifier.
*
* API documentation: https://developer.paddle.com/classic/api-reference/dcdd0db5b20a1-delete-modifier
*
* @example
* const result = await client.deleteSubscriptionModifier(123);
*/
deleteSubscriptionModifier(modifierId) {
const body = {
modifier_id: modifierId,
};
return this._request('/subscription/modifiers/delete', {
body,
});
}
/**
* Make an immediate one-off charge on top of an existing user subscription

@@ -403,0 +419,0 @@ *

@@ -180,2 +180,5 @@ export interface Product {

}
export interface DeleteSubscriptionModifierBody {
modifier_id: number;
}
export interface CreateSubscriptionModifierResponse {

@@ -182,0 +185,0 @@ subscription_id: number;

@@ -1,1 +0,1 @@

export declare const VERSION = "4.6.2";
export declare const VERSION = "4.7.0";
// Generated by yarn build
export const VERSION = '4.6.2';
export const VERSION = '4.7.0';
{
"name": "paddle-sdk",
"description": "The Paddle.com Node.js SDK",
"version": "4.6.2",
"version": "4.7.0",
"type": "module",

@@ -49,3 +49,3 @@ "main": "./cjs/index.js",

"dependencies": {
"axios": "1.6.0"
"axios": "1.7.4"
},

@@ -52,0 +52,0 @@ "devDependencies": {

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