payment-kit 1.13.180 → 1.13.181

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/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.13.180
17
+ version: 1.13.181
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.13.180",
3
+ "version": "1.13.181",
4
4
  "scripts": {
5
5
  "dev": "cross-env COMPONENT_STORE_URL=https://test.store.blocklet.dev blocklet dev --open",
6
6
  "eject": "vite eject",
@@ -50,7 +50,7 @@
50
50
  "@arcblock/jwt": "^1.18.110",
51
51
  "@arcblock/ux": "^2.9.39",
52
52
  "@blocklet/logger": "1.16.23",
53
- "@blocklet/payment-react": "1.13.180",
53
+ "@blocklet/payment-react": "1.13.181",
54
54
  "@blocklet/sdk": "1.16.23",
55
55
  "@blocklet/ui-react": "^2.9.39",
56
56
  "@blocklet/uploader": "^0.0.74",
@@ -110,7 +110,7 @@
110
110
  "devDependencies": {
111
111
  "@abtnode/types": "1.16.23",
112
112
  "@arcblock/eslint-config-ts": "^0.2.4",
113
- "@blocklet/payment-types": "1.13.180",
113
+ "@blocklet/payment-types": "1.13.181",
114
114
  "@types/cookie-parser": "^1.4.6",
115
115
  "@types/cors": "^2.8.17",
116
116
  "@types/dotenv-flow": "^3.3.3",
@@ -149,5 +149,5 @@
149
149
  "parser": "typescript"
150
150
  }
151
151
  },
152
- "gitHead": "515023c9584f424628a3e291cdeb9ad5ff8420aa"
152
+ "gitHead": "41ae4de4f5af08670937d5328ea809623afeab87"
153
153
  }
@@ -142,16 +142,14 @@ export default function CustomerInvoiceDetail() {
142
142
  label={t('admin.paymentCurrency.name')}
143
143
  value={<Currency logo={data.paymentCurrency.logo} name={data.paymentCurrency.symbol} />}
144
144
  />
145
- <InfoRow
146
- label={t(`common.${data.paymentIntent.payment_details?.arcblock?.type || 'transfer'}TxHash`)}
147
- value={
148
- data.paymentIntent?.payment_details ? (
145
+ {data.paymentIntent && data.paymentIntent.payment_details && (
146
+ <InfoRow
147
+ label={t(`common.${data.paymentIntent.payment_details?.arcblock?.type || 'transfer'}TxHash`)}
148
+ value={
149
149
  <TxLink details={data.paymentIntent.payment_details} method={data.paymentMethod} mode="customer" />
150
- ) : (
151
- ''
152
- )
153
- }
154
- />
150
+ }
151
+ />
152
+ )}
155
153
  {data.subscription && (
156
154
  <InfoRow
157
155
  label={t('admin.subscription.name')}