Skip to content

Commit

Permalink
Merge pull request #8 from bpierre/eventemitter3
Browse files Browse the repository at this point in the history
Move from the Node events module to eventemitter3
  • Loading branch information
floating authored Dec 5, 2020
2 parents 85a256e + 6ad4358 commit ec9602c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const EventEmitter = require('events')
const EventEmitter = require('eventemitter3')

class EthereumProvider extends EventEmitter {
constructor (connection) {
Expand Down
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@
"devDependencies": {
"standard": "16.0.3"
},
"dependencies": {}
"dependencies": {
"eventemitter3": "^4.0.7"
}
}

0 comments on commit ec9602c

Please sign in to comment.