@exodus/ethereum-api 8.4.1 → 8.4.2

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [8.4.2](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.4.1...@exodus/ethereum-api@8.4.2) (2024-06-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ethereum:** duplicate 'confirmationsNumber' argument in createAsset() ([#2569](https://github.com/ExodusMovement/assets/issues/2569)) ([7472fe5](https://github.com/ExodusMovement/assets/commit/7472fe5476839f879bad4fc82a9085d84d6868e9))
12
+
13
+
14
+
6
15
  ## [8.4.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.4.0...@exodus/ethereum-api@8.4.1) (2024-06-13)
7
16
 
8
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-api",
3
- "version": "8.4.1",
3
+ "version": "8.4.2",
4
4
  "description": "Ethereum Api",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -66,5 +66,5 @@
66
66
  "type": "git",
67
67
  "url": "git+https://github.com/ExodusMovement/assets.git"
68
68
  },
69
- "gitHead": "fca8781b6cb3e3e3148df5885e4f60ddd6746623"
69
+ "gitHead": "af504da8c4e9f5105c30b97b3e08e4e96f1e8fd4"
70
70
  }
@@ -40,27 +40,26 @@ import { createWeb3API } from './web3'
40
40
  import getFeeAsyncFactory from './get-fee-async'
41
41
 
42
42
  export const createAssetFactory = ({
43
- assetsList,
44
- feeData,
45
43
  AccountState: CustomAccountState,
46
- monitorInterval,
47
- nfts = false,
48
- useEip1191ChainIdChecksum = false,
49
- customTokens = true,
50
- isTestnet = false,
51
- isMaxFeeAsset = false,
52
- erc20FuelBuffer,
53
- fuelThreshold,
44
+ assetsList,
45
+ confirmationsNumber,
54
46
  customBip44,
55
47
  customCreateGetKeyIdentifier,
48
+ customTokens = true,
49
+ erc20FuelBuffer,
50
+ feeData,
56
51
  feeMonitorInterval,
52
+ fuelThreshold,
53
+ isMaxFeeAsset = false,
54
+ isTestnet = false,
57
55
  l1GasOracleAddress, // l1 extra fee for base and optostakingConfiguration = {},
58
- serverUrl,
59
- confirmationsNumber,
56
+ monitorInterval,
60
57
  monitorType = 'magnifier',
61
- tokenType,
62
- confirmationNumber,
58
+ nfts = false,
59
+ serverUrl,
63
60
  stakingConfiguration = {},
61
+ tokenType,
62
+ useEip1191ChainIdChecksum = false,
64
63
  }) => {
65
64
  assert(assetsList, 'assetsList is required')
66
65
  assert(feeData, 'feeData is required')
@@ -216,7 +215,7 @@ export const createAssetFactory = ({
216
215
  features,
217
216
  getBalances,
218
217
  getBalanceForAddress: createGetBalanceForAddress({ asset, server }),
219
- getConfirmationsNumber: () => confirmationNumber,
218
+ getConfirmationsNumber: () => confirmationsNumber,
220
219
  getDefaultAddressPath: () => defaultAddressPath,
221
220
  getFeeAsync: getFeeAsyncFactory({ assetClientInterface, gasLimit, createUnsignedTx }),
222
221
  getFee,