@exodus/web3-ethereum 13.6.1 → 13.6.3
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.
|
@@ -57,8 +57,9 @@ const isValidGasLimitValue = (value) => {
|
|
|
57
57
|
if (!value) {
|
|
58
58
|
return false;
|
|
59
59
|
}
|
|
60
|
-
//
|
|
61
|
-
|
|
60
|
+
// Maximum block gas limit is 125 million, which is actually our current highest max block gas limit coming from the Base network.
|
|
61
|
+
// Also, it might be smart to actually encode each network's max block gas limit as this here applies to all.
|
|
62
|
+
const maximumBlockGasLimit = hexToBN('0x7735940');
|
|
62
63
|
const proposedGasLimit = hexToBN(value);
|
|
63
64
|
return proposedGasLimit.lte(maximumBlockGasLimit);
|
|
64
65
|
};
|
|
@@ -3143,7 +3143,7 @@ export function parseAndValidateTypedData(value) {
|
|
|
3143
3143
|
})()
|
|
3144
3144
|
const sub21 = (() => {
|
|
3145
3145
|
if (!(typeof data[key7] === 'string')) return false
|
|
3146
|
-
if (data[key7].length >
|
|
3146
|
+
if (data[key7].length > 10000 && stringLength(data[key7]) > 10000)
|
|
3147
3147
|
return false
|
|
3148
3148
|
if (!format3.test(data[key7])) return false
|
|
3149
3149
|
return true
|
|
@@ -3165,8 +3165,8 @@ export function parseAndValidateTypedData(value) {
|
|
|
3165
3165
|
const sub25 = (() => {
|
|
3166
3166
|
if (!(typeof data[key7][l] === 'string')) return false
|
|
3167
3167
|
if (
|
|
3168
|
-
data[key7][l].length >
|
|
3169
|
-
stringLength(data[key7][l]) >
|
|
3168
|
+
data[key7][l].length > 10000 &&
|
|
3169
|
+
stringLength(data[key7][l]) > 10000
|
|
3170
3170
|
)
|
|
3171
3171
|
return false
|
|
3172
3172
|
if (!format3.test(data[key7][l])) return false
|
|
@@ -3565,8 +3565,8 @@ export function parseAndValidateTypedData(value) {
|
|
|
3565
3565
|
const sub10 = (() => {
|
|
3566
3566
|
if (!(typeof data.message[key5] === 'string')) return false
|
|
3567
3567
|
if (
|
|
3568
|
-
data.message[key5].length >
|
|
3569
|
-
stringLength(data.message[key5]) >
|
|
3568
|
+
data.message[key5].length > 10000 &&
|
|
3569
|
+
stringLength(data.message[key5]) > 10000
|
|
3570
3570
|
)
|
|
3571
3571
|
return false
|
|
3572
3572
|
if (!format3.test(data.message[key5])) return false
|
|
@@ -3592,8 +3592,8 @@ export function parseAndValidateTypedData(value) {
|
|
|
3592
3592
|
const sub14 = (() => {
|
|
3593
3593
|
if (!(typeof data.message[key5][k] === 'string')) return false
|
|
3594
3594
|
if (
|
|
3595
|
-
data.message[key5][k].length >
|
|
3596
|
-
stringLength(data.message[key5][k]) >
|
|
3595
|
+
data.message[key5][k].length > 10000 &&
|
|
3596
|
+
stringLength(data.message[key5][k]) > 10000
|
|
3597
3597
|
)
|
|
3598
3598
|
return false
|
|
3599
3599
|
if (!format3.test(data.message[key5][k])) return false
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/web3-ethereum",
|
|
3
3
|
"description": "Apps connectivity library for EVM-compatible chains.",
|
|
4
|
-
"version": "13.6.
|
|
4
|
+
"version": "13.6.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"module": "lib/index.js",
|
|
@@ -41,28 +41,32 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@exodus/ethereum-api": "^8.31.0",
|
|
44
|
+
"@exodus/ethereumjs": "^1.11.0",
|
|
44
45
|
"@exodus/web3-constants": "^1.30.0",
|
|
46
|
+
"@exodus/web3-errors": "^1.13.0",
|
|
45
47
|
"@exodus/web3-ethereum-utils": "^4.4.0",
|
|
46
48
|
"@exodus/web3-provider": "^3.15.0",
|
|
47
49
|
"@exodus/web3-rpc-handlers": "^2.25.0",
|
|
48
50
|
"@exodus/web3-utils": "^1.48.2",
|
|
49
51
|
"bn.js": "^5.2.0",
|
|
50
|
-
"eth-rpc-errors": "^4.0.3"
|
|
52
|
+
"eth-rpc-errors": "^4.0.3",
|
|
53
|
+
"eventemitter3": "^4.0.7"
|
|
51
54
|
},
|
|
52
55
|
"devDependencies": {
|
|
53
|
-
"@exodus/assets": "^11.
|
|
54
|
-
"@exodus/ethereum-meta": "^2.
|
|
56
|
+
"@exodus/assets": "^11.10.0",
|
|
57
|
+
"@exodus/ethereum-meta": "^2.12.0",
|
|
55
58
|
"@exodus/json-rpc": "^1.11.0",
|
|
56
59
|
"@exodus/schemasafe": "^1.0.0",
|
|
57
60
|
"@exodus/web3-management": "0.36.1",
|
|
58
|
-
"@exodus/web3-types": "1.59.
|
|
61
|
+
"@exodus/web3-types": "1.59.2",
|
|
59
62
|
"@exodus/web3-validation": "^1.38.0",
|
|
60
|
-
"@wallet-standard/base": "^1.0.1"
|
|
63
|
+
"@wallet-standard/base": "^1.0.1",
|
|
64
|
+
"lodash": "^4.17.21"
|
|
61
65
|
},
|
|
62
66
|
"author": "Exodus Movement, Inc.",
|
|
63
67
|
"bugs": {
|
|
64
68
|
"url": "https://github.com/ExodusMovement/assets/issues?q=is%3Aissue+is%3Aopen+label%3Aweb3-ethereum"
|
|
65
69
|
},
|
|
66
70
|
"homepage": "https://github.com/ExodusMovement/assets/tree/master/web3/web3-ethereum",
|
|
67
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "7ce5dcd520154f8631a0a260dd29b794f573dd9d"
|
|
68
72
|
}
|