payment-kit 1.24.0 → 1.24.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.
- package/blocklet.yml +1 -1
- package/package.json +22 -22
- package/src/components/customer/credit-overview.tsx +1 -1
- package/src/components/subscription/payment-method-info.tsx +1 -1
- package/src/pages/admin/settings/vault-config/index.tsx +1 -1
- package/src/pages/integrations/donations/edit-form.tsx +1 -1
- package/src/pages/integrations/donations/index.tsx +1 -1
- package/vite.config.ts +0 -1
package/blocklet.yml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "payment-kit",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "blocklet dev --open",
|
|
6
6
|
"prelint": "npm run types",
|
|
@@ -46,35 +46,35 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@abtnode/cron": "^1.17.8-beta-20260104-120132-cb5b1914",
|
|
49
|
-
"@arcblock/did": "^1.28.
|
|
50
|
-
"@arcblock/did-connect-react": "^3.
|
|
49
|
+
"@arcblock/did": "^1.28.5",
|
|
50
|
+
"@arcblock/did-connect-react": "^3.4.7",
|
|
51
51
|
"@arcblock/did-connect-storage-nedb": "^1.8.0",
|
|
52
|
-
"@arcblock/did-util": "^1.28.
|
|
53
|
-
"@arcblock/jwt": "^1.28.
|
|
54
|
-
"@arcblock/react-hooks": "^3.
|
|
55
|
-
"@arcblock/ux": "^3.
|
|
56
|
-
"@arcblock/validator": "^1.28.
|
|
57
|
-
"@arcblock/vc": "^1.28.
|
|
58
|
-
"@blocklet/did-space-js": "^1.2.
|
|
52
|
+
"@arcblock/did-util": "^1.28.5",
|
|
53
|
+
"@arcblock/jwt": "^1.28.5",
|
|
54
|
+
"@arcblock/react-hooks": "^3.4.7",
|
|
55
|
+
"@arcblock/ux": "^3.4.7",
|
|
56
|
+
"@arcblock/validator": "^1.28.5",
|
|
57
|
+
"@arcblock/vc": "^1.28.5",
|
|
58
|
+
"@blocklet/did-space-js": "^1.2.15",
|
|
59
59
|
"@blocklet/error": "^0.3.5",
|
|
60
60
|
"@blocklet/js-sdk": "^1.17.8-beta-20260104-120132-cb5b1914",
|
|
61
61
|
"@blocklet/logger": "^1.17.8-beta-20260104-120132-cb5b1914",
|
|
62
|
-
"@blocklet/payment-broker-client": "1.24.
|
|
63
|
-
"@blocklet/payment-react": "1.24.
|
|
64
|
-
"@blocklet/payment-vendor": "1.24.
|
|
62
|
+
"@blocklet/payment-broker-client": "1.24.1",
|
|
63
|
+
"@blocklet/payment-react": "1.24.1",
|
|
64
|
+
"@blocklet/payment-vendor": "1.24.1",
|
|
65
65
|
"@blocklet/sdk": "^1.17.8-beta-20260104-120132-cb5b1914",
|
|
66
|
-
"@blocklet/ui-react": "^3.
|
|
66
|
+
"@blocklet/ui-react": "^3.4.7",
|
|
67
67
|
"@blocklet/uploader": "^0.3.19",
|
|
68
68
|
"@blocklet/xss": "^0.3.16",
|
|
69
69
|
"@mui/icons-material": "^7.1.2",
|
|
70
70
|
"@mui/lab": "7.0.0-beta.14",
|
|
71
71
|
"@mui/material": "^7.1.2",
|
|
72
72
|
"@mui/system": "^7.1.1",
|
|
73
|
-
"@ocap/asset": "^1.28.
|
|
74
|
-
"@ocap/client": "^1.28.
|
|
75
|
-
"@ocap/mcrypto": "^1.28.
|
|
76
|
-
"@ocap/util": "^1.28.
|
|
77
|
-
"@ocap/wallet": "^1.28.
|
|
73
|
+
"@ocap/asset": "^1.28.5",
|
|
74
|
+
"@ocap/client": "^1.28.5",
|
|
75
|
+
"@ocap/mcrypto": "^1.28.5",
|
|
76
|
+
"@ocap/util": "^1.28.5",
|
|
77
|
+
"@ocap/wallet": "^1.28.5",
|
|
78
78
|
"@stripe/react-stripe-js": "^2.9.0",
|
|
79
79
|
"@stripe/stripe-js": "^2.4.0",
|
|
80
80
|
"ahooks": "^3.8.5",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"devDependencies": {
|
|
132
132
|
"@abtnode/types": "^1.17.8-beta-20260104-120132-cb5b1914",
|
|
133
133
|
"@arcblock/eslint-config-ts": "^0.3.3",
|
|
134
|
-
"@blocklet/payment-types": "1.24.
|
|
134
|
+
"@blocklet/payment-types": "1.24.1",
|
|
135
135
|
"@types/cookie-parser": "^1.4.9",
|
|
136
136
|
"@types/cors": "^2.8.19",
|
|
137
137
|
"@types/debug": "^4.1.12",
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"vite": "^7.0.0",
|
|
163
163
|
"vite-node": "^3.2.4",
|
|
164
164
|
"vite-plugin-babel-import": "^2.0.5",
|
|
165
|
-
"vite-plugin-blocklet": "^0.
|
|
165
|
+
"vite-plugin-blocklet": "^0.14.6",
|
|
166
166
|
"vite-plugin-node-polyfills": "^0.23.0",
|
|
167
167
|
"vite-plugin-svgr": "^4.3.0",
|
|
168
168
|
"vite-tsconfig-paths": "^5.1.4",
|
|
@@ -178,5 +178,5 @@
|
|
|
178
178
|
"parser": "typescript"
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
|
-
"gitHead": "
|
|
181
|
+
"gitHead": "37207c8206743f75ad682d9e020fa04ab7b93e7b"
|
|
182
182
|
}
|
|
@@ -13,7 +13,7 @@ import { useSearchParams } from 'react-router-dom';
|
|
|
13
13
|
import type { TPaymentCurrency } from '@blocklet/payment-types';
|
|
14
14
|
import { useRequest } from 'ahooks';
|
|
15
15
|
import { AddOutlined, AutoModeOutlined } from '@mui/icons-material';
|
|
16
|
-
import
|
|
16
|
+
import Toast from '@arcblock/ux/lib/Toast';
|
|
17
17
|
import { formatError } from '@blocklet/error';
|
|
18
18
|
import SplitButton from '@arcblock/ux/lib/SplitButton';
|
|
19
19
|
import { useConditionalSection } from '../conditional-section';
|
|
@@ -6,7 +6,7 @@ import { useRequest, useSetState } from 'ahooks';
|
|
|
6
6
|
import Empty from '@arcblock/ux/lib/Empty';
|
|
7
7
|
import { HelpOutline } from '@mui/icons-material';
|
|
8
8
|
import type { TPaymentCurrencyExpanded } from '@blocklet/payment-types';
|
|
9
|
-
import
|
|
9
|
+
import Toast from '@arcblock/ux/lib/Toast';
|
|
10
10
|
import { styled } from '@mui/system';
|
|
11
11
|
import { useSessionContext } from '../../../../contexts/session';
|
|
12
12
|
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
ToggleButton,
|
|
14
14
|
} from '@mui/material';
|
|
15
15
|
import { api, formatError, clearDonateCache } from '@blocklet/payment-react';
|
|
16
|
-
import
|
|
16
|
+
import Toast from '@arcblock/ux/lib/Toast';
|
|
17
17
|
import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
|
|
18
18
|
import type { TSetting } from '@blocklet/payment-types';
|
|
19
19
|
import { useState, useEffect, useRef } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable react/no-unstable-nested-components */
|
|
2
|
-
import
|
|
2
|
+
import Toast from '@arcblock/ux/lib/Toast';
|
|
3
3
|
import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
|
|
4
4
|
import { api, formatError, Table, ConfirmDialog, Switch, clearDonateCache, getPrefix } from '@blocklet/payment-react';
|
|
5
5
|
import { Alert, Typography, Button, CircularProgress, Stack, Avatar, Box, IconButton, Tooltip } from '@mui/material';
|
package/vite.config.ts
CHANGED
|
@@ -98,7 +98,6 @@ export default defineConfig(({ mode }) => {
|
|
|
98
98
|
moment: ['moment', 'moment-timezone'],
|
|
99
99
|
utils: ['dayjs', 'numbro', 'bn.js'],
|
|
100
100
|
hooks: ['ahooks', 'use-bus'],
|
|
101
|
-
lottie: ['lottie-web', 'react-lottie-player', '@lottiefiles/react-lottie-player'],
|
|
102
101
|
'vendor-arcblock': ['@arcblock/did-connect-react', '@arcblock/ux'],
|
|
103
102
|
'vendor-blocklet': ['@blocklet/ui-react'],
|
|
104
103
|
},
|