labscommunity / arweave-wallet-kit

A React library for interaction with different Arweave wallets
https://docs.arweavekit.com/wallets/wallet-kit
MIT License
19 stars 11 forks source link

fix: ensurepermissions without disconnecting #23

Closed kranthicodes closed 1 month ago

kranthicodes commented 1 month ago

Summary

This PR adds logic to permissions.ts file that is responsible for requesting permissions thru connect method call on active strategy when difference in required permissions is found along with ensurePermissions set to true. A package to test has been published here https://www.npmjs.com/package/@kranthicodes/arweave-wallet-kit

npm i @kranthicodes/arweave-wallet-kit