Fetching the server info is the first thing NG does.
At this point the user is not yet logged in.
example
// log server info in the console, once the server has responded
JMap.Event.Server.on.infoReady(
"custom-server-info-ready",
params =>console.log("Server info:", params.serverInfo)
)
JMap.Event.Server.on
Here have all JMap NG Core server related events.