walletconnect-monorepo
walletconnect-monorepo copied to clipboard
feat: conditional qr modal ep
Description
Added new util method to ethereum-provider, updateConfigOptions which lets devs update the provider configuration after its initialization. This allows for conditional QR modal behaviour where devs might choose to enable the modal even if they had disabled it during init. This wasn't possible before and required complex work-arounds such as running duplicate provider instances - one with modal enabled and one with the modal disabled
Type of change
- [ ] Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Draft PR (breaking/non-breaking change which needs more work for having a proper functionality [Mark this PR as ready to review only when completely ready])
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
How has this been tested?
tests, dogfooding
Checklist
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
- [ ] Any dependent changes have been merged and published in downstream modules
Additional Information (Optional)
Please include any additional information that may be useful for the reviewer.