Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
ethereumjs libraries are using TypeScript which create named and default
exports we have to use now
  • Loading branch information
rvagg authored and vmx committed Jan 13, 2020
1 parent 640126a commit 7be9969
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion eth-account-snapshot/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict'
const EthAccount = require('ethereumjs-account')
const EthAccount = require('ethereumjs-account').default
const multicodec = require('multicodec')

const cidFromHash = require('../util/cidFromHash')
Expand Down
2 changes: 1 addition & 1 deletion eth-account-snapshot/test/resolver.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ chai.use(require('dirty-chai'))
const expect = chai.expect
const dagEthAccount = require('../index')
const resolver = dagEthAccount.resolver
const Account = require('ethereumjs-account')
const Account = require('ethereumjs-account').default
const emptyCodeHash = require('../../util/emptyCodeHash')
const CID = require('cids')
const multicodec = require('multicodec')
Expand Down
2 changes: 1 addition & 1 deletion eth-state-trie/test/resolver.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const chai = require('chai')
chai.use(require('dirty-chai'))
const expect = chai.expect
const Account = require('ethereumjs-account')
const Account = require('ethereumjs-account').default
const Trie = require('merkle-patricia-tree')
const multicodec = require('multicodec')
const CID = require('cids')
Expand Down
2 changes: 1 addition & 1 deletion eth-tx-trie/test/resolver.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ chai.use(require('dirty-chai'))
const expect = chai.expect
const CID = require('cids')
const EthBlock = require('ethereumjs-block')
const EthTx = require('ethereumjs-tx')
const EthTx = require('ethereumjs-tx').Transaction
const multicodec = require('multicodec')
const promisify = require('promisify-es6')
const ipldEthTxTrie = require('../index')
Expand Down
2 changes: 1 addition & 1 deletion eth-tx/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict'
const EthTx = require('ethereumjs-tx')
const EthTx = require('ethereumjs-tx').Transaction
const createResolver = require('../util/createResolver')
const multicodec = require('multicodec')

Expand Down
2 changes: 1 addition & 1 deletion eth-tx/test/resolver.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const chai = require('chai')
chai.use(require('dirty-chai'))
const expect = chai.expect
const Transaction = require('ethereumjs-tx')
const Transaction = require('ethereumjs-tx').Transaction
const dagEthTx = require('../index')
const resolver = dagEthTx.resolver
const util = dagEthTx.util
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
"license": "MIT",
"dependencies": {
"cids": "~0.7.0",
"ethereumjs-account": "^2.0.4",
"ethereumjs-block": "^2.1.0",
"ethereumjs-tx": "^1.3.3",
"ethereumjs-account": "^3.0.0",
"ethereumjs-block": "^2.2.1",
"ethereumjs-tx": "^2.1.1",
"merkle-patricia-tree": "^3.0.0",
"multicodec": "^1.0.0",
"multihashes": "~0.4.12",
"multihashes": "~0.4.15",
"multihashing-async": "~0.8.0",
"rlp": "^2.0.0"
"rlp": "^2.2.4"
},
"devDependencies": {
"aegir": "^20.0.0",
"chai": "^4.1.2",
"aegir": "^20.4.1",
"chai": "^4.2.0",
"dirty-chai": "^2.0.1",
"promisify-es6": "^1.0.3"
},
Expand Down

0 comments on commit 7be9969

Please sign in to comment.