Overview
EmitterEvents type represents the events the Web SDK emits to monitor session state and handle responses. The code snippet below shows how to use theEmitterEvents type to create an emitter events object.
Version 2.0.4 of the Suki Web SDK updates the EmitterEvents type. 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 additional events will help you monitor the state of the ambient session and handle responses accordingly.JavaScript