@paddle/paddle-node-sdk 3.0.0 → 3.2.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/dist/cjs/entities/client-token/client-token-collection.js +11 -0
- package/dist/cjs/entities/client-token/client-token.js +24 -0
- package/dist/cjs/entities/client-token/index.js +18 -0
- package/dist/cjs/entities/discount/discount.js +4 -0
- package/dist/cjs/entities/shared/transaction-payout-totals-adjusted.js +2 -0
- package/dist/cjs/entities/shared/transaction-payout-totals.js +4 -0
- package/dist/cjs/enums/client-tokens/client-token-status.js +2 -0
- package/dist/cjs/enums/client-tokens/index.js +17 -0
- package/dist/cjs/enums/index.js +1 -0
- package/dist/cjs/notifications/entities/client-token/client-token-notification.js +24 -0
- package/dist/cjs/notifications/entities/client-token/index.js +17 -0
- package/dist/cjs/notifications/entities/discount/discount-notification.js +2 -0
- package/dist/cjs/notifications/entities/index.js +1 -0
- package/dist/cjs/notifications/entities/shared/transaction-payout-totals-adjusted-notification.js +2 -0
- package/dist/cjs/notifications/events/client-token/client-token-created-event.js +15 -0
- package/dist/cjs/notifications/events/client-token/client-token-revoked-event.js +15 -0
- package/dist/cjs/notifications/events/client-token/client-token-updated-event.js +15 -0
- package/dist/cjs/notifications/events/client-token/index.js +19 -0
- package/dist/cjs/notifications/events/discount-group/discount-group-updated-event.js +15 -0
- package/dist/cjs/notifications/events/discount-group/index.js +1 -0
- package/dist/cjs/notifications/events/index.js +1 -0
- package/dist/cjs/notifications/helpers/types.js +4 -0
- package/dist/cjs/notifications/helpers/webhooks.js +8 -0
- package/dist/cjs/notifications/types/client-token/client-token-notification-response.js +2 -0
- package/dist/cjs/notifications/types/client-token/index.js +17 -0
- package/dist/cjs/notifications/types/index.js +1 -0
- package/dist/cjs/paddle.js +2 -0
- package/dist/cjs/resources/client-tokens/index.js +57 -0
- package/dist/cjs/resources/client-tokens/operations/create-client-token-request-body.js +2 -0
- package/dist/cjs/resources/client-tokens/operations/index.js +19 -0
- package/dist/cjs/resources/client-tokens/operations/list-client-token-query-parameters.js +2 -0
- package/dist/cjs/resources/client-tokens/operations/update-client-token-request-body.js +2 -0
- package/dist/cjs/resources/discount-groups/index.js +21 -0
- package/dist/cjs/resources/discount-groups/operations/index.js +1 -0
- package/dist/cjs/resources/discount-groups/operations/update-discount-group-request-body.js +2 -0
- package/dist/cjs/resources/discounts/index.js +3 -2
- package/dist/cjs/resources/discounts/operations/get-discount-query-parameters.js +2 -0
- package/dist/cjs/resources/discounts/operations/index.js +1 -0
- package/dist/cjs/resources/index.js +1 -0
- package/dist/cjs/types/client-token/client-token-response.js +2 -0
- package/dist/cjs/types/client-token/index.js +17 -0
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/version.js +1 -1
- package/dist/esm/entities/client-token/client-token-collection.js +7 -0
- package/dist/esm/entities/client-token/client-token.js +20 -0
- package/dist/esm/entities/client-token/index.js +2 -0
- package/dist/esm/entities/discount/discount.js +5 -1
- package/dist/esm/entities/shared/transaction-payout-totals-adjusted.js +2 -0
- package/dist/esm/entities/shared/transaction-payout-totals.js +4 -0
- package/dist/esm/enums/client-tokens/client-token-status.js +1 -0
- package/dist/esm/enums/client-tokens/index.js +1 -0
- package/dist/esm/enums/index.js +1 -0
- package/dist/esm/notifications/entities/client-token/client-token-notification.js +20 -0
- package/dist/esm/notifications/entities/client-token/index.js +1 -0
- package/dist/esm/notifications/entities/discount/discount-notification.js +2 -0
- package/dist/esm/notifications/entities/index.js +1 -0
- package/dist/esm/notifications/entities/shared/transaction-payout-totals-adjusted-notification.js +2 -0
- package/dist/esm/notifications/events/client-token/client-token-created-event.js +11 -0
- package/dist/esm/notifications/events/client-token/client-token-revoked-event.js +11 -0
- package/dist/esm/notifications/events/client-token/client-token-updated-event.js +11 -0
- package/dist/esm/notifications/events/client-token/index.js +3 -0
- package/dist/esm/notifications/events/discount-group/discount-group-updated-event.js +11 -0
- package/dist/esm/notifications/events/discount-group/index.js +1 -0
- package/dist/esm/notifications/events/index.js +1 -0
- package/dist/esm/notifications/helpers/types.js +4 -0
- package/dist/esm/notifications/helpers/webhooks.js +9 -1
- package/dist/esm/notifications/types/client-token/client-token-notification-response.js +1 -0
- package/dist/esm/notifications/types/client-token/index.js +1 -0
- package/dist/esm/notifications/types/index.js +1 -0
- package/dist/esm/paddle.js +3 -1
- package/dist/esm/resources/client-tokens/index.js +39 -0
- package/dist/esm/resources/client-tokens/operations/create-client-token-request-body.js +1 -0
- package/dist/esm/resources/client-tokens/operations/index.js +3 -0
- package/dist/esm/resources/client-tokens/operations/list-client-token-query-parameters.js +1 -0
- package/dist/esm/resources/client-tokens/operations/update-client-token-request-body.js +1 -0
- package/dist/esm/resources/discount-groups/index.js +22 -1
- package/dist/esm/resources/discount-groups/operations/index.js +1 -0
- package/dist/esm/resources/discount-groups/operations/update-discount-group-request-body.js +1 -0
- package/dist/esm/resources/discounts/index.js +3 -2
- package/dist/esm/resources/discounts/operations/get-discount-query-parameters.js +1 -0
- package/dist/esm/resources/discounts/operations/index.js +1 -0
- package/dist/esm/resources/index.js +1 -0
- package/dist/esm/types/client-token/client-token-response.js +1 -0
- package/dist/esm/types/client-token/index.js +1 -0
- package/dist/esm/types/index.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/client-token/client-token-collection.d.ts +6 -0
- package/dist/types/entities/client-token/client-token.d.ts +13 -0
- package/dist/types/entities/client-token/index.d.ts +2 -0
- package/dist/types/entities/discount/discount.d.ts +3 -1
- package/dist/types/entities/shared/transaction-payout-totals-adjusted.d.ts +1 -0
- package/dist/types/entities/shared/transaction-payout-totals.d.ts +2 -0
- package/dist/types/enums/api-key/api-key-permission.d.ts +1 -1
- package/dist/types/enums/client-tokens/client-token-status.d.ts +1 -0
- package/dist/types/enums/client-tokens/index.d.ts +1 -0
- package/dist/types/enums/index.d.ts +1 -0
- package/dist/types/notifications/entities/client-token/client-token-notification.d.ts +13 -0
- package/dist/types/notifications/entities/client-token/index.d.ts +1 -0
- package/dist/types/notifications/entities/discount/discount-notification.d.ts +1 -0
- package/dist/types/notifications/entities/index.d.ts +1 -0
- package/dist/types/notifications/entities/shared/transaction-payout-totals-adjusted-notification.d.ts +1 -0
- package/dist/types/notifications/events/client-token/client-token-created-event.d.ts +10 -0
- package/dist/types/notifications/events/client-token/client-token-revoked-event.d.ts +10 -0
- package/dist/types/notifications/events/client-token/client-token-updated-event.d.ts +10 -0
- package/dist/types/notifications/events/client-token/index.d.ts +3 -0
- package/dist/types/notifications/events/discount-group/discount-group-updated-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 +1 -0
- package/dist/types/notifications/helpers/types.d.ts +7 -3
- package/dist/types/notifications/types/client-token/client-token-notification-response.d.ts +11 -0
- package/dist/types/notifications/types/client-token/index.d.ts +1 -0
- package/dist/types/notifications/types/discount/discount-notification-response.d.ts +1 -0
- package/dist/types/notifications/types/index.d.ts +1 -0
- package/dist/types/notifications/types/shared/payment-method-details.d.ts +1 -1
- package/dist/types/notifications/types/shared/transaction-payout-totals-adjusted-notification-response.d.ts +1 -0
- package/dist/types/paddle.d.ts +2 -1
- package/dist/types/resources/client-tokens/index.d.ts +11 -0
- package/dist/types/resources/client-tokens/operations/create-client-token-request-body.d.ts +4 -0
- package/dist/types/resources/client-tokens/operations/index.d.ts +3 -0
- package/dist/types/resources/client-tokens/operations/list-client-token-query-parameters.d.ts +7 -0
- package/dist/types/resources/client-tokens/operations/update-client-token-request-body.d.ts +4 -0
- package/dist/types/resources/discount-groups/index.d.ts +4 -1
- package/dist/types/resources/discount-groups/operations/index.d.ts +1 -0
- package/dist/types/resources/discount-groups/operations/update-discount-group-request-body.d.ts +5 -0
- package/dist/types/resources/discounts/index.d.ts +2 -2
- package/dist/types/resources/discounts/operations/create-discount-request-body.d.ts +1 -0
- package/dist/types/resources/discounts/operations/get-discount-query-parameters.d.ts +3 -0
- package/dist/types/resources/discounts/operations/index.d.ts +1 -0
- package/dist/types/resources/discounts/operations/list-discount-query-parameters.d.ts +2 -0
- package/dist/types/resources/discounts/operations/update-discount-request-body.d.ts +1 -0
- package/dist/types/resources/events/operations/list-events-query-parameters.d.ts +2 -0
- package/dist/types/resources/index.d.ts +1 -0
- package/dist/types/types/client-token/client-token-response.d.ts +11 -0
- package/dist/types/types/client-token/index.d.ts +1 -0
- package/dist/types/types/discount/discount-response.d.ts +4 -1
- package/dist/types/types/events/events-response.d.ts +14 -2
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/shared/payment-method-details.d.ts +1 -1
- package/dist/types/types/shared/transaction-payout-totals-adjusted-response.d.ts +1 -0
- package/dist/types/types/shared/transaction-payout-totals-response.d.ts +2 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseResource } from '../../internal/base/index.js';
|
|
2
|
+
import { CreateClientTokenRequestBody, ListClientTokenQueryParameters, UpdateClientTokenRequestBody } from './operations/index.js';
|
|
3
|
+
import { ClientToken, ClientTokenCollection } from '../../entities/client-token/index.js';
|
|
4
|
+
export * from './operations/index.js';
|
|
5
|
+
export declare class ClientTokensResource extends BaseResource {
|
|
6
|
+
list(queryParams?: ListClientTokenQueryParameters): ClientTokenCollection;
|
|
7
|
+
create(createClientTokenRequestBody: CreateClientTokenRequestBody): Promise<ClientToken>;
|
|
8
|
+
get(clientTokenId: string): Promise<ClientToken>;
|
|
9
|
+
update(clientTokenId: string, updateClientToken: UpdateClientTokenRequestBody): Promise<ClientToken>;
|
|
10
|
+
revoke(clientTokenId: string): Promise<ClientToken>;
|
|
11
|
+
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { DiscountGroup, DiscountGroupCollection } from '../../entities/index.js';
|
|
2
2
|
import { BaseResource } from '../../internal/base/index.js';
|
|
3
|
-
import { CreateDiscountGroupRequestBody, type ListDiscountGroupQueryParameters } from './operations/index.js';
|
|
3
|
+
import { type CreateDiscountGroupRequestBody, type ListDiscountGroupQueryParameters, type UpdateDiscountGroupRequestBody } from './operations/index.js';
|
|
4
4
|
export * from './operations/index.js';
|
|
5
5
|
export declare class DiscountGroupsResource extends BaseResource {
|
|
6
6
|
list(queryParams?: ListDiscountGroupQueryParameters): DiscountGroupCollection;
|
|
7
7
|
create(createDiscountGroupRequestBody: CreateDiscountGroupRequestBody): Promise<DiscountGroup>;
|
|
8
|
+
get(discountGroupId: string): Promise<DiscountGroup>;
|
|
9
|
+
update(discountGroupId: string, updateDiscountGroup: UpdateDiscountGroupRequestBody): Promise<DiscountGroup>;
|
|
10
|
+
archive(discountGroupId: string): Promise<DiscountGroup>;
|
|
8
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BaseResource } from '../../internal/base/index.js';
|
|
2
|
-
import { type CreateDiscountRequestBody, type ListDiscountQueryParameters, type UpdateDiscountRequestBody } from './operations/index.js';
|
|
2
|
+
import { type CreateDiscountRequestBody, type GetDiscountQueryParameters, type ListDiscountQueryParameters, type UpdateDiscountRequestBody } from './operations/index.js';
|
|
3
3
|
import { Discount, DiscountCollection } from '../../entities/index.js';
|
|
4
4
|
export * from './operations/index.js';
|
|
5
5
|
export declare class DiscountsResource extends BaseResource {
|
|
6
6
|
list(queryParams?: ListDiscountQueryParameters): DiscountCollection;
|
|
7
7
|
create(createDiscountParameters: CreateDiscountRequestBody): Promise<Discount>;
|
|
8
|
-
get(discountId: string): Promise<Discount>;
|
|
8
|
+
get(discountId: string, queryParams?: GetDiscountQueryParameters): Promise<Discount>;
|
|
9
9
|
update(discountId: string, updateDiscount: UpdateDiscountRequestBody): Promise<Discount>;
|
|
10
10
|
archive(discountId: string): Promise<Discount>;
|
|
11
11
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ClientTokenStatus } from '../../enums/index.js';
|
|
2
|
+
export interface IClientTokenResponse {
|
|
3
|
+
id: string;
|
|
4
|
+
token: string;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string | null;
|
|
7
|
+
status: ClientTokenStatus;
|
|
8
|
+
created_at: string;
|
|
9
|
+
updated_at: string;
|
|
10
|
+
revoked_at: string | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './client-token-response.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type CurrencyCode, type DiscountMode, type DiscountStatus, type DiscountType } from '../../enums/index.js';
|
|
2
2
|
import { type ICustomData, type IImportMetaResponse } from '../shared/index.js';
|
|
3
|
+
import { IDiscountGroupResponse } from '../discount-group/index.js';
|
|
3
4
|
export interface IDiscountResponse {
|
|
4
5
|
id: string;
|
|
5
6
|
status: DiscountStatus;
|
|
@@ -19,5 +20,7 @@ export interface IDiscountResponse {
|
|
|
19
20
|
times_used: number;
|
|
20
21
|
created_at: string;
|
|
21
22
|
updated_at: string;
|
|
22
|
-
import_meta
|
|
23
|
+
import_meta: IImportMetaResponse | null;
|
|
24
|
+
discount_group_id: string | null;
|
|
25
|
+
discount_group: IDiscountGroupResponse | null;
|
|
23
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
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';
|
|
1
|
+
import { type EventName, type IAddressNotificationResponse, type IAdjustmentNotificationResponse, type IApiKeyNotificationResponse, type IBusinessNotificationResponse, type IClientTokenNotificationResponse, 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;
|
|
@@ -45,6 +45,15 @@ interface IBusinessUpdated extends IEventsResponse<IBusinessNotificationResponse
|
|
|
45
45
|
interface IBusinessImported extends IEventsResponse<IBusinessNotificationResponse> {
|
|
46
46
|
event_type: EventName.BusinessImported;
|
|
47
47
|
}
|
|
48
|
+
interface IClientTokenCreated extends IEventsResponse<IClientTokenNotificationResponse> {
|
|
49
|
+
event_type: EventName.ClientTokenCreated;
|
|
50
|
+
}
|
|
51
|
+
interface IClientTokenUpdated extends IEventsResponse<IClientTokenNotificationResponse> {
|
|
52
|
+
event_type: EventName.ClientTokenUpdated;
|
|
53
|
+
}
|
|
54
|
+
interface IClientTokenRevoked extends IEventsResponse<IClientTokenNotificationResponse> {
|
|
55
|
+
event_type: EventName.ClientTokenRevoked;
|
|
56
|
+
}
|
|
48
57
|
interface ICustomerCreated extends IEventsResponse<ICustomerNotificationResponse> {
|
|
49
58
|
event_type: EventName.CustomerCreated;
|
|
50
59
|
}
|
|
@@ -66,6 +75,9 @@ interface IDiscountImported extends IEventsResponse<IDiscountNotificationRespons
|
|
|
66
75
|
interface IDiscountGroupCreated extends IEventsResponse<IDiscountGroupNotificationResponse> {
|
|
67
76
|
event_type: EventName.DiscountGroupCreated;
|
|
68
77
|
}
|
|
78
|
+
interface IDiscountGroupUpdated extends IEventsResponse<IDiscountGroupNotificationResponse> {
|
|
79
|
+
event_type: EventName.DiscountGroupUpdated;
|
|
80
|
+
}
|
|
69
81
|
interface IPaymentMethodDeleted extends IEventsResponse<IPaymentMethodDeletedNotificationResponse> {
|
|
70
82
|
event_type: EventName.PaymentMethodDeleted;
|
|
71
83
|
}
|
|
@@ -159,5 +171,5 @@ interface IReportCreated extends IEventsResponse<IReportNotificationResponse> {
|
|
|
159
171
|
interface IReportUpdated extends IEventsResponse<IReportNotificationResponse> {
|
|
160
172
|
event_type: EventName.ReportUpdated;
|
|
161
173
|
}
|
|
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;
|
|
174
|
+
export type IEvents = IAddressCreated | IAddressUpdated | IAddressImported | IAdjustmentCreated | IAdjustmentUpdated | IApiKeyCreated | IApiKeyExpired | IApiKeyExpiring | IApiKeyRevoked | IApiKeyUpdated | IBusinessCreated | IBusinessUpdated | IBusinessImported | ICustomerCreated | ICustomerUpdated | ICustomerImported | IClientTokenCreated | IClientTokenUpdated | IClientTokenRevoked | IDiscountCreated | IDiscountUpdated | IDiscountImported | IDiscountGroupCreated | IDiscountGroupUpdated | 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;
|
|
163
175
|
export {};
|
|
@@ -4,5 +4,5 @@ import { IPaymentMethodUnderlyingDetails } from './payment-method-underlying-det
|
|
|
4
4
|
export interface IPaymentMethodDetails {
|
|
5
5
|
type: PaymentType;
|
|
6
6
|
card: IPaymentCardResponse | null;
|
|
7
|
-
underlying_details: IPaymentMethodUnderlyingDetails;
|
|
7
|
+
underlying_details: IPaymentMethodUnderlyingDetails | null;
|
|
8
8
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.
|
|
1
|
+
export declare const SDK_VERSION = "3.2.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paddle/paddle-node-sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.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",
|
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
"build-esm": "tsc -b tsconfig.esm.json && echo '{\"type\":\"module\"}' > ./dist/esm/package.json",
|
|
82
82
|
"build-cjs": "tsc -b tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
|
|
83
83
|
"build-types": "tsc -b tsconfig.types.json",
|
|
84
|
+
"typecheck:tests": "tsc -b tsconfig.tests.json",
|
|
84
85
|
"prettier": "prettier --check ./src",
|
|
85
86
|
"prettier:fix": "prettier --check ./src --write",
|
|
86
87
|
"lint": "eslint ./src",
|