Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move from the Node events module to eventemitter3 #8

Merged
merged 1 commit into from
Dec 5, 2020

Conversation

bpierre
Copy link
Contributor

@bpierre bpierre commented Dec 5, 2020

This removes the need for bundlers to polyfill the Node events module in order to use ethereum-provider.

See also floating/eth-provider#38

This removes the need for bundlers to polyfill the Node `events` module in order to use ethereum-provider.
@floating floating merged commit ec9602c into floating:master Dec 5, 2020
@bpierre bpierre deleted the eventemitter3 branch December 5, 2020 22:44
@floating
Copy link
Owner

floating commented Dec 6, 2020

Hey @bpierre! I think I am going opt for using events here as we use newListener events (which are removed in eventemitter3) to create accountsChanged and chainChainged subscriptions.

@floating
Copy link
Owner

floating commented Dec 6, 2020

This update is available now in [email protected]

@bpierre
Copy link
Contributor Author

bpierre commented Dec 6, 2020

Hey @floating, sounds good! Sorry I missed that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants