@exodus/ethereum-lib 2.9.2 → 2.9.3

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-lib",
3
- "version": "2.9.2",
3
+ "version": "2.9.3",
4
4
  "description": "Ethereum Library",
5
5
  "main": "src/index.js",
6
6
  "author": "Exodus Movement, Inc.",
@@ -10,13 +10,13 @@
10
10
  "access": "restricted"
11
11
  },
12
12
  "dependencies": {
13
- "@ethereumjs/common": "^2.3.1",
14
- "@ethereumjs/tx": "^3.2.1",
15
13
  "@exodus/asset-lib": "^3.4.0",
14
+ "@exodus/ethereumjs-common": "^2.4.0-exodus.3",
15
+ "@exodus/ethereumjs-tx": "^3.3.0-exodus.3",
16
+ "@exodus/ethereumjs-util": "^7.1.0-exodus.3",
16
17
  "@exodus/models": "^8.5.12",
17
18
  "@exodus/solidity-contract": "^0.1.3",
18
19
  "base-x": "^3.0.2",
19
- "ethereumjs-util": "^7.0.10",
20
20
  "lodash": "^4.17.15",
21
21
  "ms": "^2.1.1",
22
22
  "reselect": "~3.0.1"
@@ -24,5 +24,5 @@
24
24
  "peerDependencies": {
25
25
  "@exodus/assets": "8.0.x"
26
26
  },
27
- "gitHead": "af9e866f1c91afe63f709b7517c7ba11c8f8e7d5"
27
+ "gitHead": "eae6b9f748f998f441875426e473d37f5a9809dc"
28
28
  }
@@ -1,4 +1,4 @@
1
- import ethUtil from 'ethereumjs-util'
1
+ import ethUtil from '@exodus/ethereumjs-util'
2
2
 
3
3
  // TODO: obsolete, remove this
4
4
  // TODO: migrate to using solidity-contract
package/src/encode.js CHANGED
@@ -1,4 +1,4 @@
1
- import * as etherUtil from 'ethereumjs-util'
1
+ import * as etherUtil from '@exodus/ethereumjs-util'
2
2
 
3
3
  export function validate(address) {
4
4
  if (typeof address !== 'string') return false
@@ -1,4 +1,4 @@
1
- import { bufferToHex, privateToAddress, toBuffer } from 'ethereumjs-util'
1
+ import { bufferToHex, privateToAddress, toBuffer } from '@exodus/ethereumjs-util'
2
2
  import { intToBuffer } from 'ethjs-util'
3
3
 
4
4
  import { isToken, currency2buffer } from '../utils'
@@ -1,5 +1,5 @@
1
1
  /* @flow */
2
- import * as ethUtil from 'ethereumjs-util'
2
+ import * as ethUtil from '@exodus/ethereumjs-util'
3
3
  import { isToken, buffer2currency } from '../utils'
4
4
  import { CHAIN_IDS } from '../constants'
5
5
 
@@ -1,6 +1,6 @@
1
1
  /* @flow */
2
- import { Transaction, FeeMarketEIP1559Transaction } from '@ethereumjs/tx'
3
- import Common from '@ethereumjs/common'
2
+ import { Transaction, FeeMarketEIP1559Transaction } from '@exodus/ethereumjs-tx'
3
+ import Common from '@exodus/ethereumjs-common'
4
4
 
5
5
  import type { UnsignedTransaction, SignedTransaction } from '@exodus/models/lib/types'
6
6
 
@@ -1,8 +1,8 @@
1
1
  import baseX from 'base-x'
2
- import * as ethUtil from 'ethereumjs-util'
2
+ import * as ethUtil from '@exodus/ethereumjs-util'
3
3
  import assets from '@exodus/assets'
4
4
  import { ETHEREUM_LIKE_ASSETS, ETHEREUM_LIKE_TOKEN_TYPES } from '../constants'
5
- import { FeeMarketEIP1559Transaction, Transaction } from '@ethereumjs/tx'
5
+ import { FeeMarketEIP1559Transaction, Transaction } from '@exodus/ethereumjs-tx'
6
6
 
7
7
  export { default as calculateExtraEth } from './calculate-extra-eth'
8
8