@paddle/paddle-node-sdk 2.7.2 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1935 -70
- package/dist/cjs/entities/discount/discount.js +1 -0
- package/dist/cjs/entities/discount-group/discount-group-collection.js +11 -0
- package/dist/cjs/entities/discount-group/discount-group.js +15 -0
- package/dist/cjs/entities/discount-group/index.js +18 -0
- package/dist/cjs/entities/index.js +1 -0
- package/dist/cjs/entities/payment-method/payment-method.js +3 -0
- package/dist/cjs/entities/shared/index.js +2 -0
- package/dist/cjs/entities/shared/korean-market-underlying-details.js +9 -0
- package/dist/cjs/entities/shared/payment-method-details.js +4 -0
- package/dist/cjs/entities/shared/payment-method-underlying-details.js +12 -0
- package/dist/cjs/enums/api-key/api-key-permission.js +2 -0
- package/dist/cjs/enums/api-key/api-key-status.js +2 -0
- package/dist/cjs/enums/api-key/index.js +18 -0
- package/dist/cjs/enums/discount/discount-mode.js +2 -0
- package/dist/cjs/enums/discount/index.js +1 -0
- package/dist/cjs/enums/index.js +1 -0
- package/dist/cjs/enums/shared/index.js +1 -0
- package/dist/cjs/enums/shared/korean-market-underlying-payment-method-type.js +2 -0
- package/dist/cjs/notifications/entities/api-key/api-key-notification.js +19 -0
- package/dist/cjs/notifications/entities/api-key/index.js +17 -0
- package/dist/cjs/notifications/entities/discount/discount-notification.js +1 -0
- package/dist/cjs/notifications/entities/discount-group/discount-group-notification.js +17 -0
- package/dist/cjs/notifications/entities/discount-group/index.js +17 -0
- package/dist/cjs/notifications/entities/index.js +2 -0
- package/dist/cjs/notifications/entities/shared/index.js +2 -0
- package/dist/cjs/notifications/entities/shared/korean-market-underlying-details-notification.js +9 -0
- package/dist/cjs/notifications/entities/shared/payment-method-details-notification.js +4 -0
- package/dist/cjs/notifications/entities/shared/payment-method-underlying-details-notification.js +12 -0
- package/dist/cjs/notifications/events/api-key/api-key-created-event.js +14 -0
- package/dist/cjs/notifications/events/api-key/api-key-expired-event.js +14 -0
- package/dist/cjs/notifications/events/api-key/api-key-expiring-event.js +14 -0
- package/dist/cjs/notifications/events/api-key/api-key-revoked-event.js +14 -0
- package/dist/cjs/notifications/events/api-key/api-key-updated-event.js +14 -0
- package/dist/cjs/notifications/events/api-key/index.js +21 -0
- package/dist/cjs/notifications/events/discount-group/discount-group-created-event.js +14 -0
- package/dist/cjs/notifications/events/discount-group/index.js +17 -0
- package/dist/cjs/notifications/events/index.js +2 -0
- package/dist/cjs/notifications/helpers/types.js +6 -0
- package/dist/cjs/notifications/helpers/webhooks.js +12 -0
- package/dist/cjs/notifications/types/api-key/api-key-notification-response.js +2 -0
- package/dist/cjs/notifications/types/api-key/index.js +17 -0
- package/dist/cjs/notifications/types/discount-group/discount-group-notification-response.js +2 -0
- package/dist/cjs/notifications/types/discount-group/index.js +17 -0
- package/dist/cjs/notifications/types/index.js +2 -0
- package/dist/cjs/notifications/types/shared/index.js +2 -0
- package/dist/cjs/notifications/types/shared/korean-market-underlying-details-notification.js +2 -0
- package/dist/cjs/notifications/types/shared/payment-method-underlying-details-notification.js +2 -0
- package/dist/cjs/paddle.js +1 -0
- package/dist/cjs/resources/businesses/index.js +2 -2
- package/dist/cjs/resources/discount-groups/index.js +47 -0
- package/dist/cjs/resources/discount-groups/operations/create-discount-group-request-body.js +2 -0
- package/dist/cjs/resources/discount-groups/operations/index.js +18 -0
- package/dist/cjs/resources/discount-groups/operations/list-discount-group-query-parameters.js +2 -0
- package/dist/cjs/resources/index.js +1 -0
- package/dist/cjs/types/discount-group/discount-group-response.js +2 -0
- package/dist/cjs/types/discount-group/index.js +17 -0
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/shared/index.js +2 -0
- package/dist/cjs/types/shared/korean-market-underlying-details.js +2 -0
- package/dist/cjs/types/shared/payment-method-underlying-details.js +2 -0
- package/dist/cjs/version.js +1 -1
- package/dist/esm/entities/discount/discount.js +1 -0
- package/dist/esm/entities/discount-group/discount-group-collection.js +7 -0
- package/dist/esm/entities/discount-group/discount-group.js +11 -0
- package/dist/esm/entities/discount-group/index.js +2 -0
- package/dist/esm/entities/index.js +1 -0
- package/dist/esm/entities/payment-method/payment-method.js +4 -1
- package/dist/esm/entities/shared/index.js +2 -0
- package/dist/esm/entities/shared/korean-market-underlying-details.js +5 -0
- package/dist/esm/entities/shared/payment-method-details.js +4 -0
- package/dist/esm/entities/shared/payment-method-underlying-details.js +8 -0
- package/dist/esm/enums/api-key/api-key-permission.js +1 -0
- package/dist/esm/enums/api-key/api-key-status.js +1 -0
- package/dist/esm/enums/api-key/index.js +2 -0
- package/dist/esm/enums/discount/discount-mode.js +1 -0
- package/dist/esm/enums/discount/index.js +1 -0
- package/dist/esm/enums/index.js +1 -0
- package/dist/esm/enums/shared/index.js +1 -0
- package/dist/esm/enums/shared/korean-market-underlying-payment-method-type.js +1 -0
- package/dist/esm/notifications/entities/api-key/api-key-notification.js +15 -0
- package/dist/esm/notifications/entities/api-key/index.js +1 -0
- package/dist/esm/notifications/entities/discount/discount-notification.js +1 -0
- package/dist/esm/notifications/entities/discount-group/discount-group-notification.js +13 -0
- package/dist/esm/notifications/entities/discount-group/index.js +1 -0
- package/dist/esm/notifications/entities/index.js +2 -0
- package/dist/esm/notifications/entities/shared/index.js +2 -0
- package/dist/esm/notifications/entities/shared/korean-market-underlying-details-notification.js +5 -0
- package/dist/esm/notifications/entities/shared/payment-method-details-notification.js +4 -0
- package/dist/esm/notifications/entities/shared/payment-method-underlying-details-notification.js +8 -0
- package/dist/esm/notifications/events/api-key/api-key-created-event.js +10 -0
- package/dist/esm/notifications/events/api-key/api-key-expired-event.js +10 -0
- package/dist/esm/notifications/events/api-key/api-key-expiring-event.js +10 -0
- package/dist/esm/notifications/events/api-key/api-key-revoked-event.js +10 -0
- package/dist/esm/notifications/events/api-key/api-key-updated-event.js +10 -0
- package/dist/esm/notifications/events/api-key/index.js +5 -0
- package/dist/esm/notifications/events/discount-group/discount-group-created-event.js +10 -0
- package/dist/esm/notifications/events/discount-group/index.js +1 -0
- package/dist/esm/notifications/events/index.js +2 -0
- package/dist/esm/notifications/helpers/types.js +6 -0
- package/dist/esm/notifications/helpers/webhooks.js +13 -1
- package/dist/esm/notifications/types/api-key/api-key-notification-response.js +1 -0
- package/dist/esm/notifications/types/api-key/index.js +1 -0
- package/dist/esm/notifications/types/discount-group/discount-group-notification-response.js +1 -0
- package/dist/esm/notifications/types/discount-group/index.js +1 -0
- package/dist/esm/notifications/types/index.js +2 -0
- package/dist/esm/notifications/types/shared/index.js +2 -0
- package/dist/esm/notifications/types/shared/korean-market-underlying-details-notification.js +1 -0
- package/dist/esm/notifications/types/shared/payment-method-underlying-details-notification.js +1 -0
- package/dist/esm/paddle.js +2 -1
- package/dist/esm/resources/businesses/index.js +2 -2
- package/dist/esm/resources/discount-groups/index.js +29 -0
- package/dist/esm/resources/discount-groups/operations/create-discount-group-request-body.js +1 -0
- package/dist/esm/resources/discount-groups/operations/index.js +2 -0
- package/dist/esm/resources/discount-groups/operations/list-discount-group-query-parameters.js +1 -0
- package/dist/esm/resources/index.js +1 -0
- package/dist/esm/types/discount-group/discount-group-response.js +1 -0
- package/dist/esm/types/discount-group/index.js +1 -0
- package/dist/esm/types/index.js +1 -0
- package/dist/esm/types/shared/index.js +2 -0
- package/dist/esm/types/shared/korean-market-underlying-details.js +1 -0
- package/dist/esm/types/shared/payment-method-underlying-details.js +1 -0
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/entities/discount/discount.d.ts +2 -1
- package/dist/types/entities/discount-group/discount-group-collection.d.ts +6 -0
- package/dist/types/entities/discount-group/discount-group.d.ts +12 -0
- package/dist/types/entities/discount-group/index.d.ts +2 -0
- package/dist/types/entities/index.d.ts +1 -0
- package/dist/types/entities/payment-method/payment-method.d.ts +2 -1
- package/dist/types/entities/shared/index.d.ts +2 -0
- package/dist/types/entities/shared/korean-market-underlying-details.d.ts +6 -0
- package/dist/types/entities/shared/payment-method-details.d.ts +2 -0
- package/dist/types/entities/shared/payment-method-underlying-details.d.ts +6 -0
- package/dist/types/enums/adjustment/adjustment-action.d.ts +1 -1
- package/dist/types/enums/api-key/api-key-permission.d.ts +1 -0
- package/dist/types/enums/api-key/api-key-status.d.ts +1 -0
- package/dist/types/enums/api-key/index.d.ts +2 -0
- package/dist/types/enums/discount/discount-mode.d.ts +1 -0
- package/dist/types/enums/discount/index.d.ts +1 -0
- package/dist/types/enums/index.d.ts +1 -0
- package/dist/types/enums/report/report-type.d.ts +1 -1
- package/dist/types/enums/shared/available-payment-methods.d.ts +1 -1
- package/dist/types/enums/shared/index.d.ts +1 -0
- package/dist/types/enums/shared/korean-market-underlying-payment-method-type.d.ts +1 -0
- package/dist/types/enums/shared/payment-type.d.ts +1 -1
- package/dist/types/notifications/entities/api-key/api-key-notification.d.ts +15 -0
- package/dist/types/notifications/entities/api-key/index.d.ts +1 -0
- package/dist/types/notifications/entities/discount/discount-notification.d.ts +2 -1
- package/dist/types/notifications/entities/discount-group/discount-group-notification.d.ts +12 -0
- package/dist/types/notifications/entities/discount-group/index.d.ts +1 -0
- package/dist/types/notifications/entities/index.d.ts +2 -0
- package/dist/types/notifications/entities/payment-method/payment-method-deleted-notification.d.ts +1 -1
- package/dist/types/notifications/entities/shared/index.d.ts +2 -0
- package/dist/types/notifications/entities/shared/korean-market-underlying-details-notification.d.ts +6 -0
- package/dist/types/notifications/entities/shared/payment-method-details-notification.d.ts +2 -0
- package/dist/types/notifications/entities/shared/payment-method-underlying-details-notification.d.ts +6 -0
- package/dist/types/notifications/events/api-key/api-key-created-event.d.ts +10 -0
- package/dist/types/notifications/events/api-key/api-key-expired-event.d.ts +10 -0
- package/dist/types/notifications/events/api-key/api-key-expiring-event.d.ts +10 -0
- package/dist/types/notifications/events/api-key/api-key-revoked-event.d.ts +10 -0
- package/dist/types/notifications/events/api-key/api-key-updated-event.d.ts +10 -0
- package/dist/types/notifications/events/api-key/index.d.ts +5 -0
- package/dist/types/notifications/events/discount-group/discount-group-created-event.d.ts +10 -0
- package/dist/types/notifications/events/discount-group/index.d.ts +1 -0
- package/dist/types/notifications/events/index.d.ts +2 -0
- package/dist/types/notifications/helpers/types.d.ts +9 -3
- package/dist/types/notifications/types/api-key/api-key-notification-response.d.ts +13 -0
- package/dist/types/notifications/types/api-key/index.d.ts +1 -0
- package/dist/types/notifications/types/discount/discount-notification-response.d.ts +2 -1
- package/dist/types/notifications/types/discount-group/discount-group-notification-response.d.ts +10 -0
- package/dist/types/notifications/types/discount-group/index.d.ts +1 -0
- package/dist/types/notifications/types/index.d.ts +2 -0
- package/dist/types/notifications/types/shared/index.d.ts +2 -0
- package/dist/types/notifications/types/shared/korean-market-underlying-details-notification.d.ts +4 -0
- package/dist/types/notifications/types/shared/payment-method-details.d.ts +3 -1
- package/dist/types/notifications/types/shared/payment-method-underlying-details-notification.d.ts +4 -0
- package/dist/types/paddle.d.ts +2 -1
- package/dist/types/resources/businesses/index.d.ts +1 -1
- package/dist/types/resources/discount-groups/index.d.ts +8 -0
- package/dist/types/resources/discount-groups/operations/create-discount-group-request-body.d.ts +3 -0
- package/dist/types/resources/discount-groups/operations/index.d.ts +2 -0
- package/dist/types/resources/discount-groups/operations/list-discount-group-query-parameters.d.ts +6 -0
- package/dist/types/resources/discounts/operations/create-discount-request-body.d.ts +2 -1
- package/dist/types/resources/discounts/operations/list-discount-query-parameters.d.ts +2 -1
- package/dist/types/resources/discounts/operations/update-discount-request-body.d.ts +2 -1
- package/dist/types/resources/index.d.ts +1 -0
- package/dist/types/types/discount/discount-response.d.ts +2 -1
- package/dist/types/types/discount-group/discount-group-response.d.ts +10 -0
- package/dist/types/types/discount-group/index.d.ts +1 -0
- package/dist/types/types/events/events-response.d.ts +20 -2
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/payment-method/payment-method.d.ts +4 -2
- package/dist/types/types/shared/index.d.ts +2 -0
- package/dist/types/types/shared/korean-market-underlying-details.d.ts +4 -0
- package/dist/types/types/shared/payment-method-details.d.ts +3 -1
- package/dist/types/types/shared/payment-method-underlying-details.d.ts +4 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Status } from '../../enums/index.js';
|
|
2
|
+
import type { IImportMetaResponse } from '../shared/index.js';
|
|
3
|
+
export interface IDiscountGroupResponse {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
status: Status;
|
|
7
|
+
created_at: string;
|
|
8
|
+
updated_at: string;
|
|
9
|
+
import_meta: IImportMetaResponse | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './discount-group-response.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type EventName, type IAddressNotificationResponse, type IAdjustmentNotificationResponse, type IBusinessNotificationResponse, type ICustomerNotificationResponse, type
|
|
1
|
+
import { type EventName, type IAddressNotificationResponse, type IAdjustmentNotificationResponse, type IApiKeyNotificationResponse, type IBusinessNotificationResponse, type ICustomerNotificationResponse, type IDiscountGroupNotificationResponse, type IDiscountNotificationResponse, type IPaymentMethodDeletedNotificationResponse, type IPaymentMethodNotificationResponse, type IPayoutNotificationResponse, type IPriceNotificationResponse, type IProductNotificationResponse, type IReportNotificationResponse, type ISubscriptionCreatedNotificationResponse, type ISubscriptionNotificationResponse, type ITransactionNotificationResponse } from '../../notifications/index.js';
|
|
2
2
|
export interface IEventsResponse<T = object> {
|
|
3
3
|
event_id: string;
|
|
4
4
|
notification_id: string | null;
|
|
@@ -21,6 +21,21 @@ interface IAdjustmentCreated extends IEventsResponse<IAdjustmentNotificationResp
|
|
|
21
21
|
interface IAdjustmentUpdated extends IEventsResponse<IAdjustmentNotificationResponse> {
|
|
22
22
|
event_type: EventName.AdjustmentUpdated;
|
|
23
23
|
}
|
|
24
|
+
interface IApiKeyCreated extends IEventsResponse<IApiKeyNotificationResponse> {
|
|
25
|
+
event_type: EventName.ApiKeyCreated;
|
|
26
|
+
}
|
|
27
|
+
interface IApiKeyExpired extends IEventsResponse<IApiKeyNotificationResponse> {
|
|
28
|
+
event_type: EventName.ApiKeyExpired;
|
|
29
|
+
}
|
|
30
|
+
interface IApiKeyExpiring extends IEventsResponse<IApiKeyNotificationResponse> {
|
|
31
|
+
event_type: EventName.ApiKeyExpiring;
|
|
32
|
+
}
|
|
33
|
+
interface IApiKeyRevoked extends IEventsResponse<IApiKeyNotificationResponse> {
|
|
34
|
+
event_type: EventName.ApiKeyRevoked;
|
|
35
|
+
}
|
|
36
|
+
interface IApiKeyUpdated extends IEventsResponse<IApiKeyNotificationResponse> {
|
|
37
|
+
event_type: EventName.ApiKeyUpdated;
|
|
38
|
+
}
|
|
24
39
|
interface IBusinessCreated extends IEventsResponse<IBusinessNotificationResponse> {
|
|
25
40
|
event_type: EventName.BusinessCreated;
|
|
26
41
|
}
|
|
@@ -48,6 +63,9 @@ interface IDiscountUpdated extends IEventsResponse<IDiscountNotificationResponse
|
|
|
48
63
|
interface IDiscountImported extends IEventsResponse<IDiscountNotificationResponse> {
|
|
49
64
|
event_type: EventName.DiscountImported;
|
|
50
65
|
}
|
|
66
|
+
interface IDiscountGroupCreated extends IEventsResponse<IDiscountGroupNotificationResponse> {
|
|
67
|
+
event_type: EventName.DiscountGroupCreated;
|
|
68
|
+
}
|
|
51
69
|
interface IPaymentMethodDeleted extends IEventsResponse<IPaymentMethodDeletedNotificationResponse> {
|
|
52
70
|
event_type: EventName.PaymentMethodDeleted;
|
|
53
71
|
}
|
|
@@ -141,5 +159,5 @@ interface IReportCreated extends IEventsResponse<IReportNotificationResponse> {
|
|
|
141
159
|
interface IReportUpdated extends IEventsResponse<IReportNotificationResponse> {
|
|
142
160
|
event_type: EventName.ReportUpdated;
|
|
143
161
|
}
|
|
144
|
-
export type IEvents = IAddressCreated | IAddressUpdated | IAddressImported | IAdjustmentCreated | IAdjustmentUpdated | IBusinessCreated | IBusinessUpdated | IBusinessImported | ICustomerCreated | ICustomerUpdated | ICustomerImported | IDiscountCreated | IDiscountUpdated | IDiscountImported | IPaymentMethodDeleted | IPaymentMethodSaved | IPayoutCreated | IPayoutPaid | IPriceCreated | IPriceUpdated | IPriceImported | IProductCreated | IProductUpdated | IProductImported | ISubscriptionActivated | ISubscriptionCanceled | ISubscriptionCreated | ISubscriptionImported | ISubscriptionPastDue | ISubscriptionPaused | ISubscriptionResumed | ISubscriptionTrialing | ISubscriptionUpdated | ITransactionBilled | ITransactionCanceled | ITransactionCompleted | ITransactionCreated | ITransactionPaid | ITransactionPastDue | ITransactionPaymentFailed | ITransactionReady | ITransactionUpdated | ITransactionRevised | IReportCreated | IReportUpdated;
|
|
162
|
+
export type IEvents = IAddressCreated | IAddressUpdated | IAddressImported | IAdjustmentCreated | IAdjustmentUpdated | IApiKeyCreated | IApiKeyExpired | IApiKeyExpiring | IApiKeyRevoked | IApiKeyUpdated | IBusinessCreated | IBusinessUpdated | IBusinessImported | ICustomerCreated | ICustomerUpdated | ICustomerImported | IDiscountCreated | IDiscountUpdated | IDiscountImported | IDiscountGroupCreated | IPaymentMethodDeleted | IPaymentMethodSaved | IPayoutCreated | IPayoutPaid | IPriceCreated | IPriceUpdated | IPriceImported | IProductCreated | IProductUpdated | IProductImported | ISubscriptionActivated | ISubscriptionCanceled | ISubscriptionCreated | ISubscriptionImported | ISubscriptionPastDue | ISubscriptionPaused | ISubscriptionResumed | ISubscriptionTrialing | ISubscriptionUpdated | ITransactionBilled | ITransactionCanceled | ITransactionCompleted | ITransactionCreated | ITransactionPaid | ITransactionPastDue | ITransactionPaymentFailed | ITransactionReady | ITransactionUpdated | ITransactionRevised | IReportCreated | IReportUpdated;
|
|
145
163
|
export {};
|
|
@@ -9,6 +9,7 @@ export * from './business/index.js';
|
|
|
9
9
|
export * from './subscription/index.js';
|
|
10
10
|
export * from './address/index.js';
|
|
11
11
|
export * from './discount/index.js';
|
|
12
|
+
export * from './discount-group/index.js';
|
|
12
13
|
export * from './payment-method/index.js';
|
|
13
14
|
export * from './pricing-preview/index.js';
|
|
14
15
|
export * from './events/index.js';
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { type IPaymentCardResponse, type IPayPalResponse } from '../index.js';
|
|
2
2
|
import { type SavedPaymentMethodType, type SavedPaymentOrigin } from '../../enums/index.js';
|
|
3
|
+
import { IPaymentMethodUnderlyingDetails } from '../shared/index.js';
|
|
3
4
|
export interface IPaymentMethodResponse {
|
|
4
5
|
id: string;
|
|
5
6
|
customer_id: string;
|
|
6
7
|
address_id: string;
|
|
7
8
|
type: SavedPaymentMethodType;
|
|
8
|
-
card
|
|
9
|
-
paypal
|
|
9
|
+
card: IPaymentCardResponse | null;
|
|
10
|
+
paypal: IPayPalResponse | null;
|
|
11
|
+
underlying_details: IPaymentMethodUnderlyingDetails | null;
|
|
10
12
|
origin: SavedPaymentOrigin;
|
|
11
13
|
saved_at: string;
|
|
12
14
|
updated_at: string;
|
|
@@ -31,3 +31,5 @@ export * from './import-meta-response.js';
|
|
|
31
31
|
export * from './simulation-event-request.js';
|
|
32
32
|
export * from './simulation-event-response.js';
|
|
33
33
|
export * from './simulation-payload.js';
|
|
34
|
+
export * from './payment-method-underlying-details.js';
|
|
35
|
+
export * from './korean-market-underlying-details.js';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { type PaymentType } from '../../enums/index.js';
|
|
2
2
|
import { type IPaymentCardResponse } from './payment-card-response.js';
|
|
3
|
+
import { IPaymentMethodUnderlyingDetails } from './payment-method-underlying-details.js';
|
|
3
4
|
export interface IPaymentMethodDetails {
|
|
4
5
|
type: PaymentType;
|
|
5
|
-
card
|
|
6
|
+
card: IPaymentCardResponse | null;
|
|
7
|
+
underlying_details: IPaymentMethodUnderlyingDetails;
|
|
6
8
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.
|
|
1
|
+
export declare const SDK_VERSION = "2.8.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paddle/paddle-node-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"description": "A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.",
|
|
5
5
|
"main": "dist/cjs/index.cjs.node.js",
|
|
6
6
|
"module": "dist/esm/index.esm.node.js",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"@babel/preset-typescript": "^7.23.0",
|
|
30
30
|
"@eslint/js": "^9.17.0",
|
|
31
31
|
"@stylistic/eslint-plugin": "^4.0.1",
|
|
32
|
-
"@types/jest": "^
|
|
32
|
+
"@types/jest": "^30.0.0",
|
|
33
33
|
"@types/lodash": "^4.14.202",
|
|
34
|
-
"@types/node": "^
|
|
34
|
+
"@types/node": "^24.0.2",
|
|
35
35
|
"@typescript-eslint/eslint-plugin": "^8.18.1",
|
|
36
|
-
"babel-jest": "^
|
|
36
|
+
"babel-jest": "^30.0.0",
|
|
37
37
|
"dotenv": "^16.3.1",
|
|
38
38
|
"eslint": "^9.17.0",
|
|
39
39
|
"eslint-config-standard-with-typescript": "^43.0.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"eslint-plugin-n": "^17.15.1 ",
|
|
42
42
|
"eslint-plugin-promise": "^7.2.1",
|
|
43
43
|
"globals": "^16.0.0",
|
|
44
|
-
"jest": "^
|
|
44
|
+
"jest": "^30.0.0",
|
|
45
45
|
"prettier": "^3.0.3",
|
|
46
46
|
"typescript": "^5.2.2",
|
|
47
47
|
"typescript-eslint": "^8.19.0"
|