Skip to content

Conversation

@Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Apr 13, 2023

Description

The initializeProvider method has been made async. This method already triggered various async operations, but they were not being await-ed. Now they are, making this method easier to use and easier to test.

Changes

  • BREAKING: The initializeProvider method is now async

References

This relates to MetaMask/metamask-extension#18587

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation for new or updated code as appropriate (note: this will usually be JSDoc)
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

@Gudahtt Gudahtt marked this pull request as ready for review April 13, 2023 22:54
@Gudahtt Gudahtt requested a review from a team as a code owner April 13, 2023 22:54
Gudahtt added 2 commits April 14, 2023 14:21
The `initializeProvider` method has been made async. This method
already triggered various async operations, but they were not being
`await`-ed. Now they are, making this method easier to use and easier
to test.

This relates to MetaMask/metamask-extension#18587
@Gudahtt Gudahtt force-pushed the make-initialize-provider-async branch from 4e54636 to c8006ef Compare April 14, 2023 16:54
@Gudahtt Gudahtt requested a review from mcmire April 14, 2023 17:47
@Gudahtt Gudahtt merged commit 364e229 into main Apr 14, 2023
@Gudahtt Gudahtt deleted the make-initialize-provider-async branch April 14, 2023 18:35
@legobeat legobeat mentioned this pull request Apr 25, 2023
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* Make `initializeProvider` async

The `initializeProvider` method has been made async. This method
already triggered various async operations, but they were not being
`await`-ed. Now they are, making this method easier to use and easier
to test.

This relates to MetaMask/metamask-extension#18587

* Simply reset connection proxy test
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* Make `initializeProvider` async

The `initializeProvider` method has been made async. This method
already triggered various async operations, but they were not being
`await`-ed. Now they are, making this method easier to use and easier
to test.

This relates to MetaMask/metamask-extension#18587

* Simply reset connection proxy test
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.

3 participants