Bear Auth v3.0.8
·
22 commits
to main
since this release
- 613065e ✨ Return the same promise when calling async fn multiple times
- 831e703 ♻️ Refactor state management, fix race-condition issue
- 41a11f2 ✨ Enhance
continueWhenOnlineto accept task names & usecontinueWhenOnlinein fetchAuthInfo tooimport { setContinueWhenOnline } from '@bear-auth/core'; setContinueWhenOnline('myInstance', async taskName => { // Set custom code to tell the Bear Auth when the app is online and can proceed with given task. // Optionally, you can decide based on the `taskName` ('logout', 'refreshToken', etc.) });
Full Changelog: https://github.com/AckeeCZ/bear-auth/compare/@bear-auth/core@3.0.7...@bear-auth/core@3.0.8