@exodus/ethereum-api 6.3.14 → 6.3.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-api",
3
- "version": "6.3.14",
3
+ "version": "6.3.15",
4
4
  "description": "Ethereum Api",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -34,5 +34,5 @@
34
34
  "devDependencies": {
35
35
  "@exodus/models": "^8.10.4"
36
36
  },
37
- "gitHead": "a3f47ac29169f74502d0889f1cf867416fdce821"
37
+ "gitHead": "f3e3f031b8de37e0540523227469c0991d90c8b3"
38
38
  }
@@ -29,7 +29,7 @@ export default function getLogItemsFromServerTx({
29
29
  const ourWalletWasSender = serverTx.from === ourWalletAddress
30
30
  const METHOD_ID_LENGTH = 10
31
31
  const methodId = serverTx.data && { methodId: serverTx.data.substring(0, METHOD_ID_LENGTH) }
32
-
32
+ const data = serverTx.data || '0x'
33
33
  const logItemCommonProperties = {
34
34
  confirmations,
35
35
  date,
@@ -60,7 +60,7 @@ export default function getLogItemsFromServerTx({
60
60
  coinAmount,
61
61
  coinName: asset.name,
62
62
  data: {
63
- data: serverTx.data || '0x',
63
+ data,
64
64
  nonce,
65
65
  gasLimit,
66
66
  ...methodId,
@@ -115,7 +115,7 @@ export default function getLogItemsFromServerTx({
115
115
  ...logItemCommonProperties,
116
116
  coinAmount,
117
117
  coinName: tokenName,
118
- data: { nonce, gasLimit, ...methodId },
118
+ data: { data, nonce, gasLimit, ...methodId },
119
119
  ...(isConsideredSent
120
120
  ? { from: [], to: tokenTransferToAddress, feeAmount, feeCoinName: asset.feeAsset.name }
121
121
  : { from: tokenFromAddresses }),