@paddle/paddle-node-sdk 2.1.1 → 2.1.2
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/CHANGELOG.md +10 -0
- package/dist/cjs/resources/payment-methods/index.js +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/resources/payment-methods/index.js +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/resources/payment-methods/index.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,16 @@ When we make [non-breaking changes](https://developer.paddle.com/api-reference/a
|
|
|
12
12
|
|
|
13
13
|
This means when upgrading minor versions of the SDK, you may notice type errors. You can safely ignore these or fix by adding additional type guards.
|
|
14
14
|
|
|
15
|
+
## 2.1.2 - 2024-11-26
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- Updated payment-methods export to use `.js` extension
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- ESLint rule to ensure `.js` extension is provided
|
|
24
|
+
|
|
15
25
|
## 2.1.1 - 2024-11-25
|
|
16
26
|
|
|
17
27
|
### Fixed
|
|
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.PaymentMethodsResource = void 0;
|
|
27
27
|
const index_js_1 = require("../../entities/index.js");
|
|
28
28
|
const index_js_2 = require("../../internal/base/index.js");
|
|
29
|
-
__exportStar(require("./operations"), exports);
|
|
29
|
+
__exportStar(require("./operations/index.js"), exports);
|
|
30
30
|
const PaymentMethodPaths = {
|
|
31
31
|
list: '/customers/{customer_id}/payment-methods',
|
|
32
32
|
get: '/customers/{customer_id}/payment-methods/{payment_method_id}',
|
package/dist/cjs/version.js
CHANGED
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import { PaymentMethod, PaymentMethodCollection } from '../../entities/index.js';
|
|
11
11
|
import { BaseResource, PathParameters, QueryParameters } from '../../internal/base/index.js';
|
|
12
|
-
export * from './operations';
|
|
12
|
+
export * from './operations/index.js';
|
|
13
13
|
const PaymentMethodPaths = {
|
|
14
14
|
list: '/customers/{customer_id}/payment-methods',
|
|
15
15
|
get: '/customers/{customer_id}/payment-methods/{payment_method_id}',
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = '2.1.
|
|
1
|
+
export const SDK_VERSION = '2.1.2';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PaymentMethod, PaymentMethodCollection } from '../../entities/index.js';
|
|
2
2
|
import { BaseResource } from '../../internal/base/index.js';
|
|
3
3
|
import { type ListCustomerPaymentMethodQueryParameters } from './operations/index.js';
|
|
4
|
-
export * from './operations';
|
|
4
|
+
export * from './operations/index.js';
|
|
5
5
|
export declare class PaymentMethodsResource extends BaseResource {
|
|
6
6
|
list(customerId: string, queryParams?: ListCustomerPaymentMethodQueryParameters): PaymentMethodCollection;
|
|
7
7
|
get(customerId: string, paymentMethodId: string): Promise<PaymentMethod>;
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.1.
|
|
1
|
+
export declare const SDK_VERSION = "2.1.2";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paddle/paddle-node-sdk",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
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",
|