Enhancements
- Flows support in mobile SDK: Flows can now run using our mobile SDK! First up was Kotlin, and we’re actively working on updating our Swift and Flutter SDKs.
useDescope
hook: Added a newuseDescope
hook that exposes all Descope SDK functions.
Bug fixes
- Do not reset session and user when flow does not end with a session: Up until now, the session and the user got reset whenever a flow didn’t end with a session. This was fixed and now both session and user are kept.
- Loop when
useSession
got called multiple times: Fixed a bug where, upon calling theuseSession
hook multiple times, would cause a refresh loop. - Add
tslib
to dependencies:tslib
was missing from our dependency list, and was now added.