You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation / Problem statement
The package already exposes getUser(connection) for the current user.
At the moment, developers have to hand-roll a connection.sendMessagePromise({ type: "config/auth/list" }) call, which is verbose and easy to overlook. Wrapping this call in a first-class helper (parallel to getUser) will make the common pattern obvious and type-safe.