@matchain/matchid-sdk-react 0.1.48-alpha.26 → 0.1.48-alpha.27
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-2MJFQXBZ.mjs → chunk-IKLQAPKE.mjs} +4 -4
- package/dist/{chunk-2MJFQXBZ.mjs.map → chunk-IKLQAPKE.mjs.map} +1 -1
- package/dist/{chunk-PWUDQPH3.mjs → chunk-PV5YB7PG.mjs} +2 -2
- package/dist/components/index.js +3 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-PWUDQPH3.mjs.map → chunk-PV5YB7PG.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-IKLQAPKE.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-PV5YB7PG.mjs.map
|
package/dist/components/index.js
CHANGED
|
@@ -5684,7 +5684,7 @@ var Item = ({ data }) => {
|
|
|
5684
5684
|
data: data.input
|
|
5685
5685
|
});
|
|
5686
5686
|
const value = decodeData.args[1];
|
|
5687
|
-
return (0, import_viem11.formatUnits)(value, contracts[`${chainId}-${data.to}`]?.decimals || 18);
|
|
5687
|
+
return (0, import_viem11.formatUnits)(value, contracts[`${chainId}-${data.to.toLowerCase()}`]?.decimals || 18);
|
|
5688
5688
|
}
|
|
5689
5689
|
return chainFormatUnits(BigInt(data.value));
|
|
5690
5690
|
}, [data.input, transferType, data.value, contracts, chainId, data.to]);
|
|
@@ -5729,8 +5729,8 @@ var Item = ({ data }) => {
|
|
|
5729
5729
|
}, [status, data.hash]);
|
|
5730
5730
|
const symbol = (0, import_react40.useMemo)(() => {
|
|
5731
5731
|
if (transferType == "erc20_transfer") {
|
|
5732
|
-
const contract = contracts[`${chainId}-${data.to}`];
|
|
5733
|
-
return
|
|
5732
|
+
const contract = contracts[`${chainId}-${data.to.toLowerCase()}`];
|
|
5733
|
+
return contract?.symbol || contract?.name || "unknown";
|
|
5734
5734
|
}
|
|
5735
5735
|
return chain?.nativeCurrency.symbol || chain?.nativeCurrency.name;
|
|
5736
5736
|
}, [transferType, chain, contracts, chainId, data.to]);
|