Skip to content

Conversation

@lnbc1QWFyb24
Copy link
Contributor

Description

This PR fixes an issue where the call to connectWallet would not resolve or reject if called with the autoSelect parameter for a wallet that is no longer available.

Fixes #1153

Checklist

  • The version field in package.json is incremented following semantic versioning
  • The box that allows repo maintainers to update this PR is checked
  • I tested locally to make sure this feature/fix works
  • I have run yarn type-check & yarn build to confirm there are not any associated errors
  • This PR passes the Circle CI checks

@lnbc1QWFyb24 lnbc1QWFyb24 merged commit 183ce59 into v2-web3-onboard-develop Jul 20, 2022
@lnbc1QWFyb24 lnbc1QWFyb24 deleted the fix/autoselect-resolve branch July 20, 2022 00:21
This was referenced Jul 27, 2022
@zLikeMario
Copy link

这个问题解决了吗?我现在用 @web-onboard/core ^2.21.1 的版本。label 随便填写一个钱包,并不会报错,我没法 catch 到这个错误,以至于我的代码不知道是不是除了问题

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.

[Bug]: await connectWallet with autoSelect and disableModals will stuck forever if the injected provider is not found

4 participants