After a successful registration or login, the payload of the success state now includes the user object. This is needed to modify the JavaScript event "hanko-session-created" to include this data.
Implementation
A new hook has been implemented to gather data from the database and add the user model to the payload.
The type interfaces of the JS SDK have been modified accordingly
Description
After a successful registration or login, the payload of the success state now includes the user object. This is needed to modify the JavaScript event "hanko-session-created" to include this data.
Implementation