payment-kit 1.16.11 → 1.16.12

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.16.11
17
+ version: 1.16.12
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.16.11",
3
+ "version": "1.16.12",
4
4
  "scripts": {
5
5
  "dev": "blocklet dev --open",
6
6
  "eject": "vite eject",
@@ -53,7 +53,7 @@
53
53
  "@arcblock/validator": "^1.18.150",
54
54
  "@blocklet/js-sdk": "^1.16.33",
55
55
  "@blocklet/logger": "^1.16.33",
56
- "@blocklet/payment-react": "1.16.11",
56
+ "@blocklet/payment-react": "1.16.12",
57
57
  "@blocklet/sdk": "^1.16.33",
58
58
  "@blocklet/ui-react": "^2.10.74",
59
59
  "@blocklet/uploader": "^0.1.53",
@@ -120,7 +120,7 @@
120
120
  "devDependencies": {
121
121
  "@abtnode/types": "^1.16.33",
122
122
  "@arcblock/eslint-config-ts": "^0.3.3",
123
- "@blocklet/payment-types": "1.16.11",
123
+ "@blocklet/payment-types": "1.16.12",
124
124
  "@types/cookie-parser": "^1.4.7",
125
125
  "@types/cors": "^2.8.17",
126
126
  "@types/debug": "^4.1.12",
@@ -166,5 +166,5 @@
166
166
  "parser": "typescript"
167
167
  }
168
168
  },
169
- "gitHead": "13f546e16f95e5bcd09c74a8fbaaf71ee9648954"
169
+ "gitHead": "1af1e91e65dfb78b39d65a1d8d3396be83a9c04f"
170
170
  }
@@ -103,7 +103,7 @@ export default function CustomerSubscriptionDetail() {
103
103
  </Typography>
104
104
  </Stack>
105
105
  <Stack direction="row" gap={1}>
106
- {noDelegation && (
106
+ {noDelegation && ['active', 'trialing', 'past_due'].includes(data?.status) && (
107
107
  <Tooltip title={t('customer.delegation.title')}>
108
108
  <Button variant="outlined" color="primary" onClick={() => handleDelegate()}>
109
109
  {t('customer.delegation.btn')}