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

Don't call provider.enable() directly #1210

Merged
merged 4 commits into from
Jul 15, 2020
Merged

Don't call provider.enable() directly #1210

merged 4 commits into from
Jul 15, 2020

Conversation

Velenir
Copy link
Contributor

@Velenir Velenir commented Jul 9, 2020

As part of #1199, we should try not to rely on deprecated API as much as possible.
This PR changes autoconnect logic to use web3modal.connectors to create providers for us.
And while internally the connectors call provider.enable() we can expect web3modal to eventually switch to provider.request method.

@ghost
Copy link

ghost commented Jul 9, 2020

Travis automatic deployment:
https://pr1210--dexreact.review.gnosisdev.com

Copy link
Contributor

@alfetopito alfetopito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked fine for MM and WC on FF.

@Velenir Velenir merged commit 0f59ba1 into develop Jul 15, 2020
@Velenir Velenir deleted the no_prov.enable branch July 15, 2020 08:44
@alfetopito alfetopito mentioned this pull request Jul 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants