@exodus/web3-ethereum 12.21.2 → 12.21.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.
@@ -127,6 +127,7 @@ export class EthereumProvider extends BaseProvider {
127
127
  const chainId = this.#sanitizeChainId(params.chainId);
128
128
  if (!this.#supportedChainIds.includes(chainId)) {
129
129
  await this._callRpcMethod('wallet_addEthereumChain', [params]);
130
+ this.#supportedChainIds.push(chainId);
130
131
  }
131
132
  return this.#switchChain(chainId);
132
133
  };
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": "12.21.2",
4
+ "version": "12.21.4",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "module": "lib/index.js",
@@ -35,10 +35,10 @@
35
35
  "@exodus/currency": "^2.1.2",
36
36
  "@exodus/ethereum-api": "^6.3.33",
37
37
  "@exodus/web3-constants": "^1.30.0",
38
- "@exodus/web3-ethereum-utils": "^3.34.0",
38
+ "@exodus/web3-ethereum-utils": "^3.34.1",
39
39
  "@exodus/web3-provider": "^3.15.0",
40
40
  "@exodus/web3-rpc-handlers": "^2.25.0",
41
- "@exodus/web3-utils": "^1.47.0",
41
+ "@exodus/web3-utils": "^1.47.1",
42
42
  "bn.js": "^5.2.0",
43
43
  "eth-rpc-errors": "^4.0.3"
44
44
  },
@@ -51,5 +51,5 @@
51
51
  "@exodus/web3-validation": "^1.38.0",
52
52
  "@wallet-standard/base": "^1.0.1"
53
53
  },
54
- "gitHead": "fbff6236b1adf18931a2b7ef888907ec67fa62e4"
54
+ "gitHead": "822fb0be1f1de6b944451914fc9ee1b6335375c8"
55
55
  }