palladians / pallad

Progressive Mina Protocol Wallet
https://pallad.co/
Apache License 2.0
26 stars 10 forks source link

feat: add mina_requestAccounts provider method and return an empty ar… #217

Closed DeMonkeyCoder closed 6 days ago

DeMonkeyCoder commented 1 week ago

This PR is made to add mina_requestAccounts provider method and return an empty array in response to mina_accounts if the wallet is not connected.

I tried to make minimum changes to the code, but it's better if this is managed by a complete permission system in the wallet

deepsource-io[bot] commented 1 week ago

Here's the code health analysis summary for commits a814f80..291f345. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ Success
❗ 1 occurence introduced
🎯 1 occurence resolved
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.