@matchain/matchid-sdk-react 0.1.51-alpha.0 → 0.1.51-alpha.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/dist/{chunk-JJGSJGWC.mjs → chunk-55KKIDVT.mjs} +2 -2
- package/dist/{chunk-5P2AOB6Q.mjs → chunk-KKWAYHRG.mjs} +13 -13
- package/dist/components/index.mjs +2 -2
- package/dist/hooks/api/index.mjs +3 -3
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/{index-BU0r26-N.d.mts → index-B-QfwtE5.d.mts} +1 -1
- package/dist/{index-C3aFwrd4.d.ts → index-X_fw5wX_.d.ts} +1 -1
- package/dist/index.css +66 -27
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +9 -9
- package/dist/utils/index.d.mts +2 -1
- package/dist/utils/index.d.ts +2 -1
- package/example/src/pages/Wallet/components/MatchWallet.tsx +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-JJGSJGWC.mjs.map → chunk-55KKIDVT.mjs.map} +0 -0
- /package/dist/{chunk-5P2AOB6Q.mjs.map → chunk-KKWAYHRG.mjs.map} +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
useUserInfo,
|
|
12
12
|
verifyPohApi,
|
|
13
13
|
wallet_exports
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KKWAYHRG.mjs";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
17
|
} from "./chunk-J5LGTIGS.mjs";
|
|
@@ -94,4 +94,4 @@ export {
|
|
|
94
94
|
user_exports,
|
|
95
95
|
api_exports
|
|
96
96
|
};
|
|
97
|
-
//# sourceMappingURL=chunk-
|
|
97
|
+
//# sourceMappingURL=chunk-55KKIDVT.mjs.map
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NumberFormatter,
|
|
3
|
+
encodeBase64,
|
|
4
|
+
formatAddress,
|
|
5
|
+
formatDate,
|
|
6
|
+
getAppClientId,
|
|
7
|
+
getVersion,
|
|
8
|
+
isInTgApp,
|
|
9
|
+
isValidEmail,
|
|
10
|
+
isValidUsername,
|
|
11
|
+
truncateAddress
|
|
12
|
+
} from "./chunk-HLUFAIFV.mjs";
|
|
1
13
|
import {
|
|
2
14
|
AlphaAvatar,
|
|
3
15
|
Button,
|
|
@@ -17,18 +29,6 @@ import {
|
|
|
17
29
|
useHash,
|
|
18
30
|
useLayout_exports
|
|
19
31
|
} from "./chunk-FB5MHLWX.mjs";
|
|
20
|
-
import {
|
|
21
|
-
NumberFormatter,
|
|
22
|
-
encodeBase64,
|
|
23
|
-
formatAddress,
|
|
24
|
-
formatDate,
|
|
25
|
-
getAppClientId,
|
|
26
|
-
getVersion,
|
|
27
|
-
isInTgApp,
|
|
28
|
-
isValidEmail,
|
|
29
|
-
isValidUsername,
|
|
30
|
-
truncateAddress
|
|
31
|
-
} from "./chunk-HLUFAIFV.mjs";
|
|
32
32
|
import {
|
|
33
33
|
ArrowDownIcon,
|
|
34
34
|
ArrowRightIcon,
|
|
@@ -6460,4 +6460,4 @@ export {
|
|
|
6460
6460
|
MatchProvider,
|
|
6461
6461
|
useMatch
|
|
6462
6462
|
};
|
|
6463
|
-
//# sourceMappingURL=chunk-
|
|
6463
|
+
//# sourceMappingURL=chunk-KKWAYHRG.mjs.map
|
|
@@ -15,8 +15,9 @@ import {
|
|
|
15
15
|
UsernameModal,
|
|
16
16
|
WalletAsset,
|
|
17
17
|
WalletModal
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-KKWAYHRG.mjs";
|
|
19
19
|
import "../chunk-UA6XHZHX.mjs";
|
|
20
|
+
import "../chunk-HLUFAIFV.mjs";
|
|
20
21
|
import {
|
|
21
22
|
Button,
|
|
22
23
|
Field,
|
|
@@ -26,7 +27,6 @@ import {
|
|
|
26
27
|
Overlay,
|
|
27
28
|
Popover
|
|
28
29
|
} from "../chunk-FB5MHLWX.mjs";
|
|
29
|
-
import "../chunk-HLUFAIFV.mjs";
|
|
30
30
|
import "../chunk-LHNKZISB.mjs";
|
|
31
31
|
import "../chunk-J5LGTIGS.mjs";
|
|
32
32
|
export {
|
package/dist/hooks/api/index.mjs
CHANGED
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
bind_exports,
|
|
3
3
|
poh_exports,
|
|
4
4
|
user_exports
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-55KKIDVT.mjs";
|
|
6
6
|
import {
|
|
7
7
|
isSuccess,
|
|
8
8
|
wallet_exports
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-KKWAYHRG.mjs";
|
|
10
10
|
import "../../chunk-UA6XHZHX.mjs";
|
|
11
|
-
import "../../chunk-FB5MHLWX.mjs";
|
|
12
11
|
import "../../chunk-HLUFAIFV.mjs";
|
|
12
|
+
import "../../chunk-FB5MHLWX.mjs";
|
|
13
13
|
import "../../chunk-LHNKZISB.mjs";
|
|
14
14
|
import "../../chunk-J5LGTIGS.mjs";
|
|
15
15
|
export {
|
package/dist/hooks/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as useCopyClipboard, n as useLayout, f as useMatchChain, a as useMatchEvents, g as useMatchWallet, k as useMatchWalletAssetList, j as useMatchWalletAssets, h as useMatchWalletRecords, d as useModal, l as useReceipt, e as useToast, m as useTransaction, u as useUserInfo, b as useWallet } from '../index-
|
|
1
|
+
export { c as useCopyClipboard, n as useLayout, f as useMatchChain, a as useMatchEvents, g as useMatchWallet, k as useMatchWalletAssetList, j as useMatchWalletAssets, h as useMatchWalletRecords, d as useModal, l as useReceipt, e as useToast, m as useTransaction, u as useUserInfo, b as useWallet } from '../index-B-QfwtE5.mjs';
|
|
2
2
|
import '../types-Dd_ExpLx.mjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@tanstack/react-query/src/types';
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as useCopyClipboard, n as useLayout, f as useMatchChain, a as useMatchEvents, g as useMatchWallet, k as useMatchWalletAssetList, j as useMatchWalletAssets, h as useMatchWalletRecords, d as useModal, l as useReceipt, e as useToast, m as useTransaction, u as useUserInfo, b as useWallet } from '../index-
|
|
1
|
+
export { c as useCopyClipboard, n as useLayout, f as useMatchChain, a as useMatchEvents, g as useMatchWallet, k as useMatchWalletAssetList, j as useMatchWalletAssets, h as useMatchWalletRecords, d as useModal, l as useReceipt, e as useToast, m as useTransaction, u as useUserInfo, b as useWallet } from '../index-X_fw5wX_.js';
|
|
2
2
|
import '../types-Dd_ExpLx.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@tanstack/react-query/src/types';
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
useTransaction,
|
|
13
13
|
useUserInfo,
|
|
14
14
|
useWallet
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-KKWAYHRG.mjs";
|
|
16
16
|
import "../chunk-UA6XHZHX.mjs";
|
|
17
|
+
import "../chunk-HLUFAIFV.mjs";
|
|
17
18
|
import {
|
|
18
19
|
useLayout_exports
|
|
19
20
|
} from "../chunk-FB5MHLWX.mjs";
|
|
20
|
-
import "../chunk-HLUFAIFV.mjs";
|
|
21
21
|
import "../chunk-LHNKZISB.mjs";
|
|
22
22
|
import "../chunk-J5LGTIGS.mjs";
|
|
23
23
|
export {
|
|
@@ -61,7 +61,7 @@ declare const LOGIN_METHOD_MAP: {
|
|
|
61
61
|
|
|
62
62
|
declare function useUserInfo(): {
|
|
63
63
|
loginByMethod: (method: ISocialLoginMethod) => Promise<Window | null>;
|
|
64
|
-
loginByTelegram: () => Promise<Window | null>;
|
|
64
|
+
loginByTelegram: () => Promise<Window | null | undefined>;
|
|
65
65
|
loginByTwitter: () => Promise<Window | null>;
|
|
66
66
|
loginByGoogle: () => Promise<Window | null>;
|
|
67
67
|
loginByWallet: () => Promise<Window | null>;
|
|
@@ -61,7 +61,7 @@ declare const LOGIN_METHOD_MAP: {
|
|
|
61
61
|
|
|
62
62
|
declare function useUserInfo(): {
|
|
63
63
|
loginByMethod: (method: ISocialLoginMethod) => Promise<Window | null>;
|
|
64
|
-
loginByTelegram: () => Promise<Window | null>;
|
|
64
|
+
loginByTelegram: () => Promise<Window | null | undefined>;
|
|
65
65
|
loginByTwitter: () => Promise<Window | null>;
|
|
66
66
|
loginByGoogle: () => Promise<Window | null>;
|
|
67
67
|
loginByWallet: () => Promise<Window | null>;
|
package/dist/index.css
CHANGED
|
@@ -1001,6 +1001,7 @@ body {
|
|
|
1001
1001
|
|
|
1002
1002
|
display: flex;
|
|
1003
1003
|
justify-content: space-between;
|
|
1004
|
+
|
|
1004
1005
|
.matchid-drawer-header-content {
|
|
1005
1006
|
display: flex;
|
|
1006
1007
|
gap: 12px;
|
|
@@ -1312,6 +1313,9 @@ body {
|
|
|
1312
1313
|
display: flex;
|
|
1313
1314
|
flex-direction: column;
|
|
1314
1315
|
gap: 16px;
|
|
1316
|
+
@media screen and (max-width: 768px) {
|
|
1317
|
+
gap: 8px;
|
|
1318
|
+
}
|
|
1315
1319
|
|
|
1316
1320
|
.matchid-wallet-asset-item {
|
|
1317
1321
|
display: flex;
|
|
@@ -1321,6 +1325,9 @@ body {
|
|
|
1321
1325
|
padding: 16px;
|
|
1322
1326
|
border: 1px solid var(--matchid-line);
|
|
1323
1327
|
border-radius: 16px;
|
|
1328
|
+
@media screen and (max-width: 768px) {
|
|
1329
|
+
padding: 10px 16px;
|
|
1330
|
+
}
|
|
1324
1331
|
|
|
1325
1332
|
&:hover {
|
|
1326
1333
|
border-color: var(--matchid-highlight-orange);
|
|
@@ -1332,11 +1339,18 @@ body {
|
|
|
1332
1339
|
width: 42px;
|
|
1333
1340
|
display: flex;
|
|
1334
1341
|
align-items: center;
|
|
1335
|
-
|
|
1342
|
+
@media screen and (max-width: 768px) {
|
|
1343
|
+
width: 36px;
|
|
1344
|
+
height: 36px;
|
|
1345
|
+
}
|
|
1336
1346
|
.matchid-wallet-asset-icon {
|
|
1337
1347
|
width: 40px;
|
|
1338
1348
|
height: 40px;
|
|
1339
1349
|
border-radius: 8px;
|
|
1350
|
+
@media screen and (max-width: 768px) {
|
|
1351
|
+
width: 36px;
|
|
1352
|
+
height: 36px;
|
|
1353
|
+
}
|
|
1340
1354
|
}
|
|
1341
1355
|
|
|
1342
1356
|
.matchid-wallet-asset-chain {
|
|
@@ -1346,6 +1360,10 @@ body {
|
|
|
1346
1360
|
height: 12px;
|
|
1347
1361
|
right: 0px;
|
|
1348
1362
|
bottom: 1px;
|
|
1363
|
+
@media screen and (max-width: 768px) {
|
|
1364
|
+
wdth:10px;
|
|
1365
|
+
height:10px;
|
|
1366
|
+
}
|
|
1349
1367
|
}
|
|
1350
1368
|
}
|
|
1351
1369
|
|
|
@@ -1357,6 +1375,9 @@ body {
|
|
|
1357
1375
|
justify-content: space-between;
|
|
1358
1376
|
gap: 10px;
|
|
1359
1377
|
|
|
1378
|
+
@media screen and (max-width: 768px) {
|
|
1379
|
+
height: 44px;
|
|
1380
|
+
}
|
|
1360
1381
|
.matchid-wallet-asset-name {
|
|
1361
1382
|
font-size: 16px;
|
|
1362
1383
|
font-weight: 500;
|
|
@@ -1391,10 +1412,8 @@ body {
|
|
|
1391
1412
|
font-size: 14px;
|
|
1392
1413
|
font-weight: 500;
|
|
1393
1414
|
color: var(--matchid-gray-600);
|
|
1394
|
-
@media (max-width: 768px) {
|
|
1395
|
-
font-size: 12px;
|
|
1396
|
-
}
|
|
1397
1415
|
}
|
|
1416
|
+
|
|
1398
1417
|
}
|
|
1399
1418
|
|
|
1400
1419
|
.matchid-wallet-asset-footer {
|
|
@@ -1416,9 +1435,6 @@ body {
|
|
|
1416
1435
|
.matchid-wallet-asset-change {
|
|
1417
1436
|
font-size: 14px;
|
|
1418
1437
|
font-weight: 400;
|
|
1419
|
-
@media (max-width: 768px) {
|
|
1420
|
-
font-size: 12px;
|
|
1421
|
-
}
|
|
1422
1438
|
}
|
|
1423
1439
|
}
|
|
1424
1440
|
}
|
|
@@ -1763,7 +1779,11 @@ body {
|
|
|
1763
1779
|
border: 1px solid var(--matchid-line);
|
|
1764
1780
|
border-radius: 16px;
|
|
1765
1781
|
height: 78px;
|
|
1766
|
-
|
|
1782
|
+
@media screen and (max-width: 768px) {
|
|
1783
|
+
height: 64px;
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
&:hover {
|
|
1767
1787
|
border-color: var(--matchid-highlight-orange);
|
|
1768
1788
|
}
|
|
1769
1789
|
|
|
@@ -1780,6 +1800,10 @@ body {
|
|
|
1780
1800
|
display: flex;
|
|
1781
1801
|
align-items: center;
|
|
1782
1802
|
justify-content: center;
|
|
1803
|
+
@media screen and (max-width: 768px) {
|
|
1804
|
+
width: 36px;
|
|
1805
|
+
height: 36px;
|
|
1806
|
+
}
|
|
1783
1807
|
|
|
1784
1808
|
.rotate-180 {
|
|
1785
1809
|
transform: rotate(180deg);
|
|
@@ -1820,73 +1844,88 @@ body {
|
|
|
1820
1844
|
gap: 8px;
|
|
1821
1845
|
font-size: 16px;
|
|
1822
1846
|
font-weight: 500;
|
|
1847
|
+
span{
|
|
1848
|
+
text-align: right;
|
|
1849
|
+
}
|
|
1823
1850
|
|
|
1824
1851
|
@media screen and (max-width: 768px) {
|
|
1825
1852
|
font-size: 14px;
|
|
1826
1853
|
}
|
|
1827
1854
|
}
|
|
1828
|
-
|
|
1855
|
+
|
|
1856
|
+
.matchid-transaction-item-loading {
|
|
1829
1857
|
color: var(--matchid-black);
|
|
1830
1858
|
}
|
|
1831
|
-
|
|
1859
|
+
|
|
1860
|
+
.matchid-transaction-item-success {
|
|
1832
1861
|
color: var(--matchid-success);
|
|
1833
1862
|
}
|
|
1834
|
-
|
|
1863
|
+
|
|
1864
|
+
.matchid-transaction-item-error {
|
|
1835
1865
|
color: var(--matchid-error);
|
|
1836
1866
|
}
|
|
1837
1867
|
|
|
1838
1868
|
}
|
|
1839
1869
|
|
|
1840
|
-
.matchid-transaction-list{
|
|
1870
|
+
.matchid-transaction-list {
|
|
1841
1871
|
display: flex;
|
|
1842
1872
|
flex-direction: column;
|
|
1843
1873
|
gap: 16px;
|
|
1874
|
+
@media screen and (max-width: 768px) {
|
|
1875
|
+
gap: 8px;
|
|
1876
|
+
}
|
|
1844
1877
|
}
|
|
1845
1878
|
|
|
1846
|
-
.matchid-list-nomore{
|
|
1847
|
-
gap:8px;
|
|
1879
|
+
.matchid-list-nomore {
|
|
1880
|
+
gap: 8px;
|
|
1848
1881
|
text-align: center;
|
|
1849
1882
|
font-size: 16px;
|
|
1850
|
-
padding:16px 0;
|
|
1883
|
+
padding: 16px 0;
|
|
1851
1884
|
display: flex;
|
|
1852
1885
|
align-items: center;
|
|
1853
1886
|
justify-content: center;
|
|
1854
1887
|
color: var(--matchid-secondary-grey);
|
|
1855
|
-
@media screen and (max-width: 768px){
|
|
1888
|
+
@media screen and (max-width: 768px) {
|
|
1856
1889
|
font-size: 14px;
|
|
1857
1890
|
}
|
|
1858
1891
|
}
|
|
1859
|
-
|
|
1892
|
+
|
|
1893
|
+
.matchid-flex {
|
|
1860
1894
|
display: flex;
|
|
1861
1895
|
}
|
|
1862
|
-
|
|
1896
|
+
|
|
1897
|
+
.matchid-import-token-result {
|
|
1863
1898
|
display: flex;
|
|
1864
|
-
flex:1;
|
|
1899
|
+
flex: 1;
|
|
1865
1900
|
flex-direction: column;
|
|
1866
1901
|
padding-bottom: 100px;
|
|
1867
1902
|
gap: 24px;
|
|
1868
1903
|
justify-content: space-between;
|
|
1869
|
-
@media screen and (max-width: 768px){
|
|
1904
|
+
@media screen and (max-width: 768px) {
|
|
1870
1905
|
padding-bottom: 0;
|
|
1871
1906
|
}
|
|
1872
|
-
|
|
1907
|
+
|
|
1908
|
+
.matchid-import-token-result-box {
|
|
1873
1909
|
display: flex;
|
|
1874
1910
|
flex-direction: column;
|
|
1875
1911
|
gap: 48px;
|
|
1876
1912
|
align-items: center;
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1913
|
+
|
|
1914
|
+
.matchid-import-token-result-img {
|
|
1915
|
+
width: 96px;
|
|
1916
|
+
height: 96px;
|
|
1880
1917
|
}
|
|
1881
|
-
|
|
1918
|
+
|
|
1919
|
+
.matchid-import-token-result-text {
|
|
1882
1920
|
font-size: 24px;
|
|
1883
1921
|
font-weight: 500;
|
|
1884
1922
|
color: var(--matchid-success);
|
|
1885
|
-
@media screen and (max-width: 768px){
|
|
1923
|
+
@media screen and (max-width: 768px) {
|
|
1886
1924
|
font-size: 20px;
|
|
1887
1925
|
}
|
|
1888
1926
|
}
|
|
1889
|
-
|
|
1927
|
+
|
|
1928
|
+
.matchid-import-token-result-text-fail {
|
|
1890
1929
|
color: var(--matchid-error);
|
|
1891
1930
|
}
|
|
1892
1931
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-Dd_ExpLx.mjs';
|
|
3
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
3
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-B-QfwtE5.mjs';
|
|
4
4
|
export { i as Components } from './index-XzSw1Bym.mjs';
|
|
5
5
|
export { i as UI } from './index-D5OzNRfu.mjs';
|
|
6
6
|
export { i as Api } from './index-CDqIk5k2.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-Dd_ExpLx.js';
|
|
3
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
3
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-X_fw5wX_.js';
|
|
4
4
|
export { i as Components } from './index-BDoEk1EK.js';
|
|
5
5
|
export { i as UI } from './index-DMUZQqNB.js';
|
|
6
6
|
export { i as Api } from './index-DvM6x6e6.js';
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
chains_exports
|
|
3
|
-
} from "./chunk-HYQ3T6WW.mjs";
|
|
4
|
-
import {
|
|
5
|
-
types_exports
|
|
6
|
-
} from "./chunk-HBOS3RBL.mjs";
|
|
7
1
|
import {
|
|
8
2
|
api_exports
|
|
9
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-55KKIDVT.mjs";
|
|
10
4
|
import {
|
|
11
5
|
MatchProvider,
|
|
12
6
|
ModalProvider,
|
|
@@ -14,13 +8,19 @@ import {
|
|
|
14
8
|
components_exports,
|
|
15
9
|
hooks_exports,
|
|
16
10
|
useMatch
|
|
17
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KKWAYHRG.mjs";
|
|
12
|
+
import {
|
|
13
|
+
types_exports
|
|
14
|
+
} from "./chunk-HBOS3RBL.mjs";
|
|
18
15
|
import "./chunk-UA6XHZHX.mjs";
|
|
16
|
+
import "./chunk-HLUFAIFV.mjs";
|
|
19
17
|
import {
|
|
20
18
|
ui_exports
|
|
21
19
|
} from "./chunk-FB5MHLWX.mjs";
|
|
22
|
-
import "./chunk-HLUFAIFV.mjs";
|
|
23
20
|
import "./chunk-LHNKZISB.mjs";
|
|
21
|
+
import {
|
|
22
|
+
chains_exports
|
|
23
|
+
} from "./chunk-HYQ3T6WW.mjs";
|
|
24
24
|
import "./chunk-J5LGTIGS.mjs";
|
|
25
25
|
export {
|
|
26
26
|
api_exports as Api,
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -22,5 +22,6 @@ interface NumberFormatterProps {
|
|
|
22
22
|
declare const NumberFormatter: React.FC<NumberFormatterProps>;
|
|
23
23
|
declare function formatAddress(address: string, pre?: number, after?: number): string;
|
|
24
24
|
declare const formatDate: (value: any, formatString?: string) => string;
|
|
25
|
+
declare const isInTgApp: () => boolean;
|
|
25
26
|
|
|
26
|
-
export { NumberFormatter, decodeBase64, deepMerge, encodeBase64, firstUpperCase, formatAddress, formatDate, getAppClientId, getVersion, isValidEmail, isValidUsername, truncateAddress };
|
|
27
|
+
export { NumberFormatter, decodeBase64, deepMerge, encodeBase64, firstUpperCase, formatAddress, formatDate, getAppClientId, getVersion, isInTgApp, isValidEmail, isValidUsername, truncateAddress };
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -22,5 +22,6 @@ interface NumberFormatterProps {
|
|
|
22
22
|
declare const NumberFormatter: React.FC<NumberFormatterProps>;
|
|
23
23
|
declare function formatAddress(address: string, pre?: number, after?: number): string;
|
|
24
24
|
declare const formatDate: (value: any, formatString?: string) => string;
|
|
25
|
+
declare const isInTgApp: () => boolean;
|
|
25
26
|
|
|
26
|
-
export { NumberFormatter, decodeBase64, deepMerge, encodeBase64, firstUpperCase, formatAddress, formatDate, getAppClientId, getVersion, isValidEmail, isValidUsername, truncateAddress };
|
|
27
|
+
export { NumberFormatter, decodeBase64, deepMerge, encodeBase64, firstUpperCase, formatAddress, formatDate, getAppClientId, getVersion, isInTgApp, isValidEmail, isValidUsername, truncateAddress };
|
|
@@ -46,7 +46,7 @@ export default function MatchWallet() {
|
|
|
46
46
|
<Button size={"sm"} onClick={wallet.showImportTokenModal}>showImportToken</Button>
|
|
47
47
|
<Button size={"sm"} onClick={wallet.showSendListModal}>showSendListModal</Button>
|
|
48
48
|
</ButtonGroup>
|
|
49
|
-
<div className={`mt-[100px] gap-[20px] grid grid-cols-2`}>
|
|
49
|
+
<div className={`mt-[100px] gap-[20px] grid grid-cols-1 md:grid-cols-2`}>
|
|
50
50
|
<WalletAsset onAssetClick={onAssetClick}/>
|
|
51
51
|
<TransactionList/>
|
|
52
52
|
</div>
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|