@blocklet/payment-js 1.19.23 → 1.20.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
CHANGED
|
@@ -233,7 +233,6 @@ const webhook = await payment.webhookEndpoints.create({
|
|
|
233
233
|
- `payment.prices.inventory(id, data)`
|
|
234
234
|
|
|
235
235
|
### Payments & Refunds
|
|
236
|
-
- `payment.paymentIntents.create(data)`
|
|
237
236
|
- `payment.paymentIntents.retrieve(id)`
|
|
238
237
|
- `payment.paymentIntents.update(id, data)`
|
|
239
238
|
- `payment.paymentIntents.list(params)`
|
package/lib/index.d.ts
CHANGED
|
@@ -83,11 +83,6 @@ declare const _default: {
|
|
|
83
83
|
}>>;
|
|
84
84
|
};
|
|
85
85
|
paymentIntents: {
|
|
86
|
-
create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
|
|
87
|
-
omit: never;
|
|
88
|
-
}>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
|
|
89
|
-
omit: never;
|
|
90
|
-
}>>;
|
|
91
86
|
retrieve: (_params: string, data?: never) => Promise<import("@blocklet/payment-types").TPaymentIntentExpanded>;
|
|
92
87
|
update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
|
|
93
88
|
omit: never;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import type { Paginated, Pagination, TPaymentIntentExpanded, TRefundExpanded } from '@blocklet/payment-types';
|
|
2
2
|
declare const _default: {
|
|
3
|
-
create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
|
|
4
|
-
omit: never;
|
|
5
|
-
}>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
|
|
6
|
-
omit: never;
|
|
7
|
-
}>>;
|
|
8
3
|
retrieve: (_params: string, data?: never) => Promise<TPaymentIntentExpanded>;
|
|
9
4
|
update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
|
|
10
5
|
omit: never;
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const resource_1 = require("../resource");
|
|
4
4
|
exports.default = {
|
|
5
|
-
create: (0, resource_1.createResourceCreateMethod)({
|
|
6
|
-
method: 'POST',
|
|
7
|
-
path: '/api/payment-intents',
|
|
8
|
-
}),
|
|
9
5
|
retrieve: (0, resource_1.createResourceMethod)({
|
|
10
6
|
method: 'GET',
|
|
11
7
|
path: '/api/payment-intents/{id}',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/payment-js",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"description": "Node.js client for Payment Kit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"types",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@blocklet/constant": "^1.16.48",
|
|
40
|
-
"@blocklet/payment-types": "1.
|
|
40
|
+
"@blocklet/payment-types": "1.20.0",
|
|
41
41
|
"@blocklet/sdk": "^1.16.48"
|
|
42
42
|
},
|
|
43
43
|
"importSort": {
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"type-fest": "^4.41.0",
|
|
65
65
|
"typescript": "5.5.4"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "ca71d3996c6c5be18827a9f3d516bab117b327dd"
|
|
68
68
|
}
|