@matchain/matchid-sdk-react 0.1.51-alpha.0 → 0.1.51-alpha.2
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-5W2S6QMI.mjs} +2 -2
- package/dist/{chunk-5P2AOB6Q.mjs → chunk-OWEJPD4R.mjs} +18 -16
- package/dist/chunk-OWEJPD4R.mjs.map +1 -0
- package/dist/components/index.js +5 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +2 -2
- package/dist/hooks/api/index.js.map +1 -1
- 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.js +5 -3
- package/dist/hooks/index.js.map +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 +136 -43
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +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-5P2AOB6Q.mjs.map +0 -1
- /package/dist/{chunk-JJGSJGWC.mjs.map → chunk-5W2S6QMI.mjs.map} +0 -0
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-5W2S6QMI.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-OWEJPD4R.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>
|