@blocklet/payment-js 1.14.5 → 1.14.7
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/lib/index.d.ts +1 -1
- package/lib/resources/price.d.ts +1 -1
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -166,7 +166,7 @@ declare const _default: {
|
|
|
166
166
|
}>>;
|
|
167
167
|
inventory: (_params: string, data?: {
|
|
168
168
|
quantity: number;
|
|
169
|
-
action: "
|
|
169
|
+
action: "increment" | "decrement";
|
|
170
170
|
}) => Promise<import("@blocklet/payment-types").TPriceExpanded>;
|
|
171
171
|
};
|
|
172
172
|
subscriptions: {
|
package/lib/resources/price.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ type ListParams = {
|
|
|
8
8
|
};
|
|
9
9
|
type InventoryParams = {
|
|
10
10
|
quantity: number;
|
|
11
|
-
action: '
|
|
11
|
+
action: 'increment' | 'decrement';
|
|
12
12
|
};
|
|
13
13
|
declare const _default: {
|
|
14
14
|
create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Price, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/payment-js",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.7",
|
|
4
4
|
"description": "Node.js client for Payment Kit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"types",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"url": "https://github.com/blocklet/payment-kit/issues"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@blocklet/payment-types": "1.14.
|
|
39
|
+
"@blocklet/payment-types": "1.14.7",
|
|
40
40
|
"@blocklet/sdk": "1.16.28"
|
|
41
41
|
},
|
|
42
42
|
"importSort": {
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"type-fest": "^4.19.0",
|
|
63
63
|
"typescript": "^5.4.5"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "683097ae01a97a7b303194d68cdabbae24201c14"
|
|
66
66
|
}
|