worldwide-asset-exchange / waxjs

Javascript API for integration with the WAX Cloud Wallet.
MIT License
126 stars 103 forks source link

calling .login(proof-value) when already having a session will not generate a new proof #222

Open NKCSS opened 1 month ago

NKCSS commented 1 month ago

I encountered this while building the example application for my Labs Grant. If you would call .login(different-proof-from-initial-login), the call will just return the logged in wallet, without showing a dialogue. The .proof property will also be available, but will have the original proof, not using the nonce that was passed to the login function.