@exodus/web3-ethereum 2.3.0 → 2.4.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.
@@ -1,5 +1,6 @@
1
- import type { Asset, EthBalanceChanges } from './types.js';
1
+ import type { EthBalanceChanges } from './types.js';
2
2
  import type { EthTransaction } from '@exodus/web3-ethereum-utils';
3
+ import type { Asset, NumberUnit } from '@exodus/web3-types';
3
4
  export declare const simulateTransaction: (asset: Asset, transaction: EthTransaction) => Promise<{
4
5
  assetName: string;
5
6
  advancedDetails: never[];
@@ -7,7 +8,7 @@ export declare const simulateTransaction: (asset: Asset, transaction: EthTransac
7
8
  displayInfo: {
8
9
  title: string;
9
10
  };
10
- txFee: unknown;
11
+ txFee: NumberUnit;
11
12
  txFeeDetails: {
12
13
  gasLimit: number;
13
14
  maxFeePerGas: number | undefined;
@@ -1,5 +1,3 @@
1
- import type { Asset } from '@exodus/web3-types';
2
- export { Asset };
3
1
  export interface CurrencyParams {
4
2
  amount: string;
5
3
  symbol: string;
@@ -1,7 +1,7 @@
1
1
  import type { EthereumProvider } from '../provider/provider.js';
2
2
  import type { Wallet } from '@wallet-standard/base';
3
3
  export declare type EthereumProviderFeature = {
4
- 'ethereum:provider': {
4
+ 'eip1193:provider': {
5
5
  provider: EthereumProvider;
6
6
  };
7
7
  };
@@ -18,7 +18,7 @@ export class ExodusEthereumWallet {
18
18
  }
19
19
  get features() {
20
20
  return {
21
- 'ethereum:provider': {
21
+ 'eip1193:provider': {
22
22
  provider: this.#provider,
23
23
  },
24
24
  };
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": "2.3.0",
4
+ "version": "2.4.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "module": "lib/index.js",
@@ -33,22 +33,22 @@
33
33
  "dependencies": {
34
34
  "@exodus/currency": "^2.1.2",
35
35
  "@exodus/ethereum-api": "^6.0.0",
36
- "@exodus/web3-constants": "^1.17.0",
36
+ "@exodus/web3-constants": "^1.18.0",
37
37
  "@exodus/web3-ethereum-utils": "^1.8.0",
38
- "@exodus/web3-provider": "^2.15.0",
39
- "@exodus/web3-rpc-handlers": "^0.12.0",
38
+ "@exodus/web3-provider": "^2.16.0",
39
+ "@exodus/web3-rpc-handlers": "^0.13.0",
40
40
  "eth-rpc-errors": "^4.0.3"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@exodus/assets": "^8.0.72",
44
44
  "@exodus/json-rpc": "^1.11.0",
45
45
  "@exodus/schemasafe": "^1.0.0",
46
- "@exodus/web3-types": "^1.13.0",
47
- "@exodus/web3-validation": "^1.32.0",
46
+ "@exodus/web3-types": "^1.14.0",
47
+ "@exodus/web3-validation": "^1.33.0",
48
48
  "@wallet-standard/base": "^1.0.1"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "@exodus/assets": "^8.0.72"
52
52
  },
53
- "gitHead": "d9f5deb5407eeaaf0976c35fb597d337d6a02153"
53
+ "gitHead": "3bfe3ffd37584b844b60cef81a2d951cb867438e"
54
54
  }