interledger / web-monetization-extension

An open-source browser extension that enables Web Monetization.
Apache License 2.0
46 stars 2 forks source link

fix(background/storage): set default `hasHostPermissions` to true #340

Closed sidvishnoi closed 1 week ago

sidvishnoi commented 1 week ago

Context

On clicking disconnect, as we clear the storage, the popup shows the permission prompt again, even if we have the permissions.

Changes proposed in this pull request

Set default state to true, so popup doesn't show permission prompt. We'll ask again if we don't have permissions after popup opens again.

raducristianpopa commented 1 week ago

Extension builds preview

Name Link
Latest commit c9ee8f82e4ae3c35c799b9ea192d5886a1ad4177
Latest job logs Run #9514854412
BadgeDownload
BadgeDownload