@exodus/web3-ethereum-utils 3.35.0 → 3.35.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.
|
@@ -44,7 +44,7 @@ const handleExpectedBalanceChange = (expectedBalanceChange, simulationResult, {
|
|
|
44
44
|
(kind === 'ERC721_APPROVAL_FOR_ALL' && !asset.decimals) ||
|
|
45
45
|
(kind === 'ERC1155_APPROVAL_FOR_ALL' && !asset.decimals);
|
|
46
46
|
const symbol = asset.symbol;
|
|
47
|
-
const decimals = isNftTransfer || isNftTransferApproval ?
|
|
47
|
+
const decimals = isNftTransfer || isNftTransferApproval ? 0 : asset.decimals;
|
|
48
48
|
const asset_ = pick(asset, [
|
|
49
49
|
'address',
|
|
50
50
|
'imageUrl',
|
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.35.
|
|
4
|
+
"version": "3.35.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"module": "lib/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"build": "yarn clean && run -T tsc"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@exodus/web3-types": "1.
|
|
30
|
+
"@exodus/web3-types": "1.50.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@exodus/basic-utils": "^2.5.1",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"@exodus/web3-utils": "^1.47.1",
|
|
37
37
|
"@metamask/eth-sig-util": "^4.0.1"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "992c27d7dac0eb76f94ddbc1db8ccf270d540d51"
|
|
40
40
|
}
|