@exodus/web3-ethereum-utils 3.36.2 → 3.36.4
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.
|
@@ -2,7 +2,7 @@ import BN from 'bn.js';
|
|
|
2
2
|
import type { Asset } from '@exodus/web3-types';
|
|
3
3
|
import type { CreateCurrencyParams } from '@exodus/web3-utils';
|
|
4
4
|
export declare const getCreateCurrencyParams: (asset: Asset, amount: CreateCurrencyParams['amount']) => {
|
|
5
|
-
amount: string | number
|
|
5
|
+
amount: string | number;
|
|
6
6
|
base: string;
|
|
7
7
|
symbol: string;
|
|
8
8
|
denominator: number;
|
|
@@ -72,6 +72,8 @@ const handleExpectedBalanceChange = (expectedBalanceChange, simulationResult, {
|
|
|
72
72
|
spender: data.spender.address,
|
|
73
73
|
unitName: unitsToUse,
|
|
74
74
|
balance: approvingBalance,
|
|
75
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
76
|
+
// @ts-ignore _number exists on NumberUnit, but deprecated
|
|
75
77
|
isMaxApproval: approvingBalance._number.gte(MAX_INT256_SOLIDITY),
|
|
76
78
|
});
|
|
77
79
|
return;
|
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.36.
|
|
4
|
+
"version": "3.36.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"module": "lib/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@exodus/basic-utils": "^3.0.1",
|
|
34
34
|
"@exodus/ethereumjs-common": "^2.4.0-exodus.6",
|
|
35
35
|
"@exodus/ethereumjs-tx": "^3.3.0-exodus.6",
|
|
36
|
-
"@exodus/web3-utils": "^1.48.
|
|
36
|
+
"@exodus/web3-utils": "^1.48.2",
|
|
37
37
|
"@metamask/eth-sig-util": "^4.0.1"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "3b453dd744cb1a0a234d323751faecbf0112fdd8"
|
|
40
40
|
}
|