payment-kit 1.15.36 → 1.16.1
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.
|
@@ -1219,7 +1219,7 @@ export async function ensureRechargeInvoice(
|
|
|
1219
1219
|
const rechargeInvoice = await Invoice.create({
|
|
1220
1220
|
livemode: subscription.livemode,
|
|
1221
1221
|
number: await customer.getInvoiceNumber(),
|
|
1222
|
-
description: invoiceProps?.description || '
|
|
1222
|
+
description: invoiceProps?.description || 'Add funds for subscription',
|
|
1223
1223
|
statement_descriptor: '',
|
|
1224
1224
|
period_start: dayjs().unix(),
|
|
1225
1225
|
period_end: dayjs().unix(),
|
package/blocklet.yml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "payment-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "blocklet dev --open",
|
|
6
6
|
"eject": "vite eject",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@arcblock/validator": "^1.18.139",
|
|
54
54
|
"@blocklet/js-sdk": "1.16.33-beta-20241031-073543-49b1ff9b",
|
|
55
55
|
"@blocklet/logger": "1.16.33-beta-20241031-073543-49b1ff9b",
|
|
56
|
-
"@blocklet/payment-react": "1.
|
|
56
|
+
"@blocklet/payment-react": "1.16.1",
|
|
57
57
|
"@blocklet/sdk": "1.16.33-beta-20241031-073543-49b1ff9b",
|
|
58
58
|
"@blocklet/ui-react": "^2.10.65",
|
|
59
59
|
"@blocklet/uploader": "^0.1.51",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"devDependencies": {
|
|
121
121
|
"@abtnode/types": "1.16.33-beta-20241031-073543-49b1ff9b",
|
|
122
122
|
"@arcblock/eslint-config-ts": "^0.3.3",
|
|
123
|
-
"@blocklet/payment-types": "1.
|
|
123
|
+
"@blocklet/payment-types": "1.16.1",
|
|
124
124
|
"@types/cookie-parser": "^1.4.7",
|
|
125
125
|
"@types/cors": "^2.8.17",
|
|
126
126
|
"@types/debug": "^4.1.12",
|
|
@@ -165,5 +165,5 @@
|
|
|
165
165
|
"parser": "typescript"
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
|
-
"gitHead": "
|
|
168
|
+
"gitHead": "590597d056e31eafd2b8ebd2a9d0a0c236c33440"
|
|
169
169
|
}
|
package/src/locales/en.tsx
CHANGED
|
@@ -626,17 +626,17 @@ export default flat({
|
|
|
626
626
|
empty: 'No Product',
|
|
627
627
|
},
|
|
628
628
|
recharge: {
|
|
629
|
-
title: '
|
|
629
|
+
title: 'Add Funds',
|
|
630
630
|
amount: 'Amount',
|
|
631
631
|
submit: 'Submit',
|
|
632
632
|
unsupported: 'Unsupported currency, please select another one',
|
|
633
633
|
receiveAddress: 'Receive Address',
|
|
634
634
|
view: 'View Subscription',
|
|
635
|
-
success: '
|
|
635
|
+
success: 'Add funds successfully',
|
|
636
636
|
custom: 'Custom',
|
|
637
637
|
estimatedDuration: '{duration} {unit} est.',
|
|
638
638
|
intervals: 'intervals',
|
|
639
|
-
history: '
|
|
639
|
+
history: 'Fund History',
|
|
640
640
|
},
|
|
641
641
|
},
|
|
642
642
|
});
|