payment-kit 1.18.34 → 1.18.36

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.
@@ -203,6 +203,7 @@ export default function PayoutDetail(props: { id: string }) {
203
203
  label={t('customer.payout.payer')}
204
204
  value={
205
205
  <InfoCard
206
+ variant="circular"
206
207
  logo={getCustomerAvatar(
207
208
  paymentIntent?.customer?.did,
208
209
  paymentIntent?.customer?.updated_at
@@ -242,7 +243,6 @@ export default function PayoutDetail(props: { id: string }) {
242
243
  />
243
244
  }
244
245
  size={40}
245
- variant="rounded"
246
246
  />
247
247
  }
248
248
  divider
@@ -27,6 +27,7 @@ import {
27
27
  formatBNStr,
28
28
  formatPrice,
29
29
  formatNumber,
30
+ getTokenBalanceLink,
30
31
  } from '@blocklet/payment-react';
31
32
  import type { TPaymentCurrency, TPaymentMethod } from '@blocklet/payment-types';
32
33
  import { joinURL } from 'ufo';
@@ -34,7 +35,7 @@ import { AccountBalanceWalletOutlined, ArrowBackOutlined, ArrowForwardOutlined }
34
35
  import Empty from '@arcblock/ux/lib/Empty';
35
36
  import { BN, fromUnitToToken } from '@ocap/util';
36
37
  import RechargeList from '../../../components/invoice/recharge';
37
- import { getTokenBalanceLink, goBackOrFallback } from '../../../libs/util';
38
+ import { goBackOrFallback } from '../../../libs/util';
38
39
  import { useSessionContext } from '../../../contexts/session';
39
40
  import { formatSmartDuration, TimeUnit } from '../../../libs/dayjs';
40
41
 
@@ -25,6 +25,7 @@ import {
25
25
  formatTime,
26
26
  api,
27
27
  formatBNStr,
28
+ getTokenBalanceLink,
28
29
  } from '@blocklet/payment-react';
29
30
  import { joinURL } from 'ufo';
30
31
  import type { TSubscriptionExpanded } from '@blocklet/payment-types';
@@ -35,7 +36,7 @@ import SubscriptionDescription from '../../../components/subscription/descriptio
35
36
  import InfoRow from '../../../components/info-row';
36
37
  import Currency from '../../../components/currency';
37
38
  import SubscriptionMetrics from '../../../components/subscription/metrics';
38
- import { getTokenBalanceLink, goBackOrFallback } from '../../../libs/util';
39
+ import { goBackOrFallback } from '../../../libs/util';
39
40
  import CustomerLink from '../../../components/customer/link';
40
41
  import { useSessionContext } from '../../../contexts/session';
41
42
  import { formatSmartDuration, TimeUnit } from '../../../libs/dayjs';
@@ -229,6 +229,7 @@ export default function SubscriptionEmbed() {
229
229
  </Stack>
230
230
  }
231
231
  size={24}
232
+ variant="circular"
232
233
  />
233
234
  ),
234
235
  });