Overview
EmitterEvents type represents the events that can be emitted by the web SDK for monitoring session state and handling responses. The code snippet below shows how to use theEmitterEvents type to create a emitter events object.
Version 2.0.4 of the Suki Web SDK updates the EmitterEvents type. You can now use these events to track granular details for authentication processes and ambient session lifecycles.
Authentication Events
The web SDK supports six new auth events that allow you to monitor registration and token refreshes:Ambient Events
These addtional events will help you monitor the state of the ambient session and handle responses accordingly.JavaScript