@exodus/web3-ethereum-utils 3.37.0 → 3.37.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.
|
@@ -53,7 +53,11 @@ const handleExpectedBalanceChange = (expectedBalanceChange, simulationResult, {
|
|
|
53
53
|
]);
|
|
54
54
|
// According to the Blowfish docs, `symbol` and `name` can be null as they are not required by the standard.
|
|
55
55
|
// Using `NFT` as a fallback ensures a user sees a meaningful UI in that case.
|
|
56
|
-
|
|
56
|
+
let symbol = asset.symbol || asset.name || 'NFT';
|
|
57
|
+
// TODO: remove this once Blowfish completes their migration from Matic to POL.
|
|
58
|
+
if (network === 'polygon' && asset.symbol === 'MATIC') {
|
|
59
|
+
symbol = 'POL';
|
|
60
|
+
}
|
|
57
61
|
if (isNftTransfer || isNftTransferApproval) {
|
|
58
62
|
asset_.imageUrl = data?.metadata?.rawImageUrl;
|
|
59
63
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/web3-ethereum-utils",
|
|
3
3
|
"description": "Web3 Ethereum utils.",
|
|
4
|
-
"version": "3.37.
|
|
4
|
+
"version": "3.37.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"module": "lib/index.js",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"@exodus/web3-utils": "^1.48.2",
|
|
37
37
|
"@metamask/eth-sig-util": "^4.0.1"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "8d8e177836c133fc9f355d7ee2566f1311000dbf"
|
|
40
40
|
}
|