@exodus/web3-ethereum 12.14.0 → 12.15.0

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.
@@ -88,7 +88,7 @@ export class EthereumProvider extends BaseProvider {
88
88
  #handleConnect = (chainId) => {
89
89
  if (!this.#isConnected) {
90
90
  this.#isConnected = true;
91
- this.emit('connect', { chainId });
91
+ this.emitAndIgnoreErrors('connect', { chainId });
92
92
  }
93
93
  };
94
94
  #handleChainChanged = (chainId) => {
@@ -98,7 +98,7 @@ export class EthereumProvider extends BaseProvider {
98
98
  if (chainId !== this.#chainId) {
99
99
  this.#chainId = chainId;
100
100
  if (this.#initialized) {
101
- this.emit('chainChanged', chainId);
101
+ this.emitAndIgnoreErrors('chainChanged', chainId);
102
102
  }
103
103
  }
104
104
  };
@@ -108,7 +108,7 @@ export class EthereumProvider extends BaseProvider {
108
108
  this.#accounts = accounts;
109
109
  this.#selectedAddress = accounts[0] ?? null;
110
110
  if (this.#initialized) {
111
- this.emit('accountsChanged', accounts);
111
+ this.emitAndIgnoreErrors('accountsChanged', accounts);
112
112
  }
113
113
  }
114
114
  };
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.14.0",
4
+ "version": "12.15.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "module": "lib/index.js",
@@ -36,7 +36,7 @@
36
36
  "@exodus/ethereum-api": "^6.3.33",
37
37
  "@exodus/web3-constants": "^1.30.0",
38
38
  "@exodus/web3-ethereum-utils": "^3.33.0",
39
- "@exodus/web3-provider": "^3.14.0",
39
+ "@exodus/web3-provider": "^3.15.0",
40
40
  "@exodus/web3-rpc-handlers": "^2.23.1",
41
41
  "@exodus/web3-utils": "^1.46.0",
42
42
  "bn.js": "^5.2.0",
@@ -46,10 +46,10 @@
46
46
  "@exodus/assets": "^8.0.95",
47
47
  "@exodus/json-rpc": "^1.11.0",
48
48
  "@exodus/schemasafe": "^1.0.0",
49
- "@exodus/web3-management": "0.33.0",
49
+ "@exodus/web3-management": "0.34.0",
50
50
  "@exodus/web3-types": "0.0.0",
51
51
  "@exodus/web3-validation": "^1.38.0",
52
52
  "@wallet-standard/base": "^1.0.1"
53
53
  },
54
- "gitHead": "d66f8b3bab52a723efac7fa11e6bf2d72c1827ed"
54
+ "gitHead": "00cec7d8f666e71dc97f88e9c019abcce1e81a94"
55
55
  }