@exodus/ethereum-api 7.0.9 → 7.0.11

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/LICENSE.md ADDED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-api",
3
- "version": "7.0.9",
3
+ "version": "7.0.11",
4
4
  "description": "Ethereum Api",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -17,7 +17,7 @@
17
17
  "@exodus/asset-lib": "^3.7.1",
18
18
  "@exodus/crypto": "^1.0.0-rc.0",
19
19
  "@exodus/currency": "^2.1.3",
20
- "@exodus/ethereum-lib": "^4.1.3",
20
+ "@exodus/ethereum-lib": "^4.2.1",
21
21
  "@exodus/ethereumjs-util": "^7.1.0-exodus.6",
22
22
  "@exodus/fetch": "^1.3.0-beta.4",
23
23
  "@exodus/simple-retry": "^0.0.6",
@@ -37,5 +37,6 @@
37
37
  "@exodus/assets-base": "^8.1.14",
38
38
  "@exodus/assets-testing": "file:../../../__testing__",
39
39
  "@exodus/models": "^11.0.0"
40
- }
40
+ },
41
+ "gitHead": "419d8b4d0d4f8617b8da97a5dd9d3e328a948ae6"
41
42
  }
@@ -181,7 +181,11 @@ export class ClarityMonitor extends BaseMonitor {
181
181
  }
182
182
 
183
183
  async deriveDataNeededForTick({ assetName, walletAccount }) {
184
- const receiveAddress = await this.aci.getReceiveAddress({ assetName, walletAccount })
184
+ const receiveAddress = await this.aci.getReceiveAddress({
185
+ assetName,
186
+ walletAccount,
187
+ useCache: true,
188
+ })
185
189
  const currentAccountState = await this.aci.getAccountState({ assetName, walletAccount })
186
190
  return {
187
191
  ourWalletAddress: receiveAddress.toLowerCase(),
@@ -2,7 +2,7 @@
2
2
 
3
3
  export default function getDeriveDataNeededForTick(aci) {
4
4
  return async function({ assetName, walletAccount }) {
5
- const receiveAddress = await aci.getReceiveAddress({ assetName, walletAccount })
5
+ const receiveAddress = await aci.getReceiveAddress({ assetName, walletAccount, useCache: true })
6
6
  const currentAccountState = await aci.getAccountState({ assetName, walletAccount })
7
7
  return {
8
8
  ourWalletAddress: receiveAddress.toLowerCase(),
@@ -2,7 +2,7 @@
2
2
 
3
3
  export default function getDeriveDataNeededForTick(aci) {
4
4
  return async function({ assetName, walletAccount }) {
5
- const receiveAddress = await aci.getReceiveAddress({ assetName, walletAccount })
5
+ const receiveAddress = await aci.getReceiveAddress({ assetName, walletAccount, useCache: true })
6
6
  const currentAccountState = await aci.getAccountState({ assetName, walletAccount })
7
7
  const minimumConfirmations = await aci.getConfirmationsNumber({ assetName })
8
8
  return {