@blocklet/payment-react 1.18.51 → 1.18.53

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/es/locales/en.js CHANGED
@@ -228,8 +228,7 @@ export default flat({
228
228
  fastPay: {
229
229
  title: "Confirm Payment",
230
230
  confirmMessage: "You will pay {amount} {symbol} from {sourceType}.",
231
- autoPaymentReason: "This payment will be processed automatically due to prior delegation or sufficient balance.",
232
- confirmPrompt: "Please confirm the details before proceeding.",
231
+ autoPaymentReason: "Your payment will be processed automatically as your account has sufficient balance. Please confirm the following details before proceeding.",
233
232
  payer: "Account",
234
233
  amount: "Amount",
235
234
  failed: "Account changed, please pay manually.",
@@ -341,7 +340,7 @@ export default flat({
341
340
  plan: "Plan",
342
341
  nextInvoice: "Next Invoice",
343
342
  title: "Manage subscriptions",
344
- view: "View Subscription",
343
+ view: "Manage Subscription",
345
344
  current: "Current subscription",
346
345
  viewAll: "View all",
347
346
  empty: "There are no subscriptions here",
package/es/locales/zh.js CHANGED
@@ -228,8 +228,7 @@ export default flat({
228
228
  fastPay: {
229
229
  title: "\u786E\u8BA4\u652F\u4ED8",
230
230
  confirmMessage: "\u60A8\u5C06\u652F\u4ED8 {amount} {symbol}\uFF0C\u4ECE{sourceType}\u6263\u9664\u3002",
231
- autoPaymentReason: "\u7531\u4E8E\u6388\u6743\u6216\u4F59\u989D\u5145\u8DB3\uFF0C\u7CFB\u7EDF\u5C06\u65E0\u9700\u94B1\u5305\u786E\u8BA4\u81EA\u52A8\u5B8C\u6210\u652F\u4ED8\u3002",
232
- confirmPrompt: "\u8BF7\u786E\u8BA4\u652F\u4ED8\u4FE1\u606F\u65E0\u8BEF\u540E\u7EE7\u7EED\u3002",
231
+ autoPaymentReason: "\u8BE5\u652F\u4ED8\u53EF\u4EE5\u81EA\u52A8\u5904\u7406\uFF0C\u56E0\u4E3A\u60A8\u7684\u8D26\u6237\u4F59\u989D\u5145\u8DB3\uFF0C\u8BF7\u5728\u7EE7\u7EED\u4E4B\u524D\u786E\u8BA4\u4EE5\u4E0B\u8BE6\u7EC6\u4FE1\u606F",
233
232
  payer: "\u8D26\u6237\u5730\u5740",
234
233
  amount: "\u652F\u4ED8\u91D1\u989D",
235
234
  failed: "\u8D26\u6237\u53D1\u751F\u53D8\u5316\uFF0C\u65E0\u6CD5\u81EA\u52A8\u5B8C\u6210\u652F\u4ED8\uFF0C\u8BF7\u624B\u52A8\u652F\u4ED8\u3002",
@@ -453,7 +453,6 @@ export default function PaymentForm({
453
453
  title: t("payment.checkout.fastPay.title"),
454
454
  message: /* @__PURE__ */ jsxs(Stack, { children: [
455
455
  /* @__PURE__ */ jsx(Typography, { children: t("payment.checkout.fastPay.autoPaymentReason") }),
456
- /* @__PURE__ */ jsx(Typography, { children: t("payment.checkout.fastPay.confirmPrompt") }),
457
456
  /* @__PURE__ */ jsx(Divider, { sx: { mt: 1.5, mb: 1.5 } }),
458
457
  /* @__PURE__ */ jsxs(Stack, { spacing: 1, children: [
459
458
  /* @__PURE__ */ jsxs(Stack, { flexDirection: "row", alignItems: "center", justifyContent: "space-between", children: [
package/lib/locales/en.js CHANGED
@@ -235,8 +235,7 @@ module.exports = (0, _flat.default)({
235
235
  fastPay: {
236
236
  title: "Confirm Payment",
237
237
  confirmMessage: "You will pay {amount} {symbol} from {sourceType}.",
238
- autoPaymentReason: "This payment will be processed automatically due to prior delegation or sufficient balance.",
239
- confirmPrompt: "Please confirm the details before proceeding.",
238
+ autoPaymentReason: "Your payment will be processed automatically as your account has sufficient balance. Please confirm the following details before proceeding.",
240
239
  payer: "Account",
241
240
  amount: "Amount",
242
241
  failed: "Account changed, please pay manually.",
@@ -348,7 +347,7 @@ module.exports = (0, _flat.default)({
348
347
  plan: "Plan",
349
348
  nextInvoice: "Next Invoice",
350
349
  title: "Manage subscriptions",
351
- view: "View Subscription",
350
+ view: "Manage Subscription",
352
351
  current: "Current subscription",
353
352
  viewAll: "View all",
354
353
  empty: "There are no subscriptions here",
package/lib/locales/zh.js CHANGED
@@ -235,8 +235,7 @@ module.exports = (0, _flat.default)({
235
235
  fastPay: {
236
236
  title: "\u786E\u8BA4\u652F\u4ED8",
237
237
  confirmMessage: "\u60A8\u5C06\u652F\u4ED8 {amount} {symbol}\uFF0C\u4ECE{sourceType}\u6263\u9664\u3002",
238
- autoPaymentReason: "\u7531\u4E8E\u6388\u6743\u6216\u4F59\u989D\u5145\u8DB3\uFF0C\u7CFB\u7EDF\u5C06\u65E0\u9700\u94B1\u5305\u786E\u8BA4\u81EA\u52A8\u5B8C\u6210\u652F\u4ED8\u3002",
239
- confirmPrompt: "\u8BF7\u786E\u8BA4\u652F\u4ED8\u4FE1\u606F\u65E0\u8BEF\u540E\u7EE7\u7EED\u3002",
238
+ autoPaymentReason: "\u8BE5\u652F\u4ED8\u53EF\u4EE5\u81EA\u52A8\u5904\u7406\uFF0C\u56E0\u4E3A\u60A8\u7684\u8D26\u6237\u4F59\u989D\u5145\u8DB3\uFF0C\u8BF7\u5728\u7EE7\u7EED\u4E4B\u524D\u786E\u8BA4\u4EE5\u4E0B\u8BE6\u7EC6\u4FE1\u606F",
240
239
  payer: "\u8D26\u6237\u5730\u5740",
241
240
  amount: "\u652F\u4ED8\u91D1\u989D",
242
241
  failed: "\u8D26\u6237\u53D1\u751F\u53D8\u5316\uFF0C\u65E0\u6CD5\u81EA\u52A8\u5B8C\u6210\u652F\u4ED8\uFF0C\u8BF7\u624B\u52A8\u652F\u4ED8\u3002",
@@ -533,8 +533,6 @@ function PaymentForm({
533
533
  message: /* @__PURE__ */(0, _jsxRuntime.jsxs)(_material.Stack, {
534
534
  children: [/* @__PURE__ */(0, _jsxRuntime.jsx)(_material.Typography, {
535
535
  children: t("payment.checkout.fastPay.autoPaymentReason")
536
- }), /* @__PURE__ */(0, _jsxRuntime.jsx)(_material.Typography, {
537
- children: t("payment.checkout.fastPay.confirmPrompt")
538
536
  }), /* @__PURE__ */(0, _jsxRuntime.jsx)(_material.Divider, {
539
537
  sx: {
540
538
  mt: 1.5,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/payment-react",
3
- "version": "1.18.51",
3
+ "version": "1.18.53",
4
4
  "description": "Reusable react components for payment kit v2",
5
5
  "keywords": [
6
6
  "react",
@@ -54,16 +54,16 @@
54
54
  }
55
55
  },
56
56
  "dependencies": {
57
- "@arcblock/did-connect": "^2.13.61",
58
- "@arcblock/ux": "^2.13.61",
59
- "@arcblock/ws": "^1.20.12",
60
- "@blocklet/theme": "^2.13.61",
61
- "@blocklet/ui-react": "^2.13.61",
57
+ "@arcblock/did-connect": "^2.13.62",
58
+ "@arcblock/ux": "^2.13.62",
59
+ "@arcblock/ws": "^1.20.13",
60
+ "@blocklet/theme": "^2.13.62",
61
+ "@blocklet/ui-react": "^2.13.62",
62
62
  "@mui/icons-material": "^5.16.6",
63
63
  "@mui/lab": "^5.0.0-alpha.173",
64
64
  "@mui/material": "^5.16.6",
65
65
  "@mui/system": "^5.16.6",
66
- "@ocap/util": "^1.20.12",
66
+ "@ocap/util": "^1.20.13",
67
67
  "@stripe/react-stripe-js": "^2.7.3",
68
68
  "@stripe/stripe-js": "^2.4.0",
69
69
  "@vitejs/plugin-legacy": "^5.4.1",
@@ -94,7 +94,7 @@
94
94
  "@babel/core": "^7.25.2",
95
95
  "@babel/preset-env": "^7.25.2",
96
96
  "@babel/preset-react": "^7.24.7",
97
- "@blocklet/payment-types": "1.18.51",
97
+ "@blocklet/payment-types": "1.18.53",
98
98
  "@storybook/addon-essentials": "^7.6.20",
99
99
  "@storybook/addon-interactions": "^7.6.20",
100
100
  "@storybook/addon-links": "^7.6.20",
@@ -125,5 +125,5 @@
125
125
  "vite-plugin-babel": "^1.2.0",
126
126
  "vite-plugin-node-polyfills": "^0.21.0"
127
127
  },
128
- "gitHead": "7aa2db4015aad46e2eb8529ff013791d5321c7bf"
128
+ "gitHead": "39ab3a392c2367ceff0441fa968c442074827d92"
129
129
  }
@@ -236,8 +236,7 @@ export default flat({
236
236
  title: 'Confirm Payment',
237
237
  confirmMessage: 'You will pay {amount} {symbol} from {sourceType}.',
238
238
  autoPaymentReason:
239
- 'This payment will be processed automatically due to prior delegation or sufficient balance.',
240
- confirmPrompt: 'Please confirm the details before proceeding.',
239
+ 'Your payment will be processed automatically as your account has sufficient balance. Please confirm the following details before proceeding.',
241
240
  payer: 'Account',
242
241
  amount: 'Amount',
243
242
  failed: 'Account changed, please pay manually.',
@@ -356,7 +355,7 @@ export default flat({
356
355
  plan: 'Plan',
357
356
  nextInvoice: 'Next Invoice',
358
357
  title: 'Manage subscriptions',
359
- view: 'View Subscription',
358
+ view: 'Manage Subscription',
360
359
  current: 'Current subscription',
361
360
  viewAll: 'View all',
362
361
  empty: 'There are no subscriptions here',
@@ -231,8 +231,7 @@ export default flat({
231
231
  fastPay: {
232
232
  title: '确认支付',
233
233
  confirmMessage: '您将支付 {amount} {symbol},从{sourceType}扣除。',
234
- autoPaymentReason: '由于授权或余额充足,系统将无需钱包确认自动完成支付。',
235
- confirmPrompt: '请确认支付信息无误后继续。',
234
+ autoPaymentReason: '该支付可以自动处理,因为您的账户余额充足,请在继续之前确认以下详细信息',
236
235
  payer: '账户地址',
237
236
  amount: '支付金额',
238
237
  failed: '账户发生变化,无法自动完成支付,请手动支付。',
@@ -594,7 +594,6 @@ export default function PaymentForm({
594
594
  message={
595
595
  <Stack>
596
596
  <Typography>{t('payment.checkout.fastPay.autoPaymentReason')}</Typography>
597
- <Typography>{t('payment.checkout.fastPay.confirmPrompt')}</Typography>
598
597
  <Divider sx={{ mt: 1.5, mb: 1.5 }} />
599
598
  <Stack spacing={1}>
600
599
  <Stack flexDirection="row" alignItems="center" justifyContent="space-between">