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.
@@ -83,7 +83,7 @@ export default {
83
83
  await ensureRechargeInvoice(
84
84
  {
85
85
  total: amount,
86
- description: 'Subscription recharge',
86
+ description: 'Add funds for subscription',
87
87
  currency_id: paymentCurrency.id,
88
88
  metadata: {
89
89
  payment_details: {
@@ -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 || 'Subscription recharge',
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
@@ -14,7 +14,7 @@ repository:
14
14
  type: git
15
15
  url: git+https://github.com/blocklet/payment-kit.git
16
16
  specVersion: 1.2.8
17
- version: 1.15.36
17
+ version: 1.16.1
18
18
  logo: logo.png
19
19
  files:
20
20
  - dist
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payment-kit",
3
- "version": "1.15.36",
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.15.36",
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.15.36",
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": "0139cb00a67b6ebd845d932fa6f240cf95b1cc16"
168
+ "gitHead": "590597d056e31eafd2b8ebd2a9d0a0c236c33440"
169
169
  }
@@ -626,17 +626,17 @@ export default flat({
626
626
  empty: 'No Product',
627
627
  },
628
628
  recharge: {
629
- title: 'Recharge',
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: 'Recharge successfully',
635
+ success: 'Add funds successfully',
636
636
  custom: 'Custom',
637
637
  estimatedDuration: '{duration} {unit} est.',
638
638
  intervals: 'intervals',
639
- history: 'Recharge History',
639
+ history: 'Fund History',
640
640
  },
641
641
  },
642
642
  });