Retrieve OTP info via keycloak-js

In React application I have to check if user has configured OTP for his account. I’m using keycloak-js version 11.
I found that profile info should have totp property but when I tried to get info via getUserInfo or getUserProfile it doesn’t contain information about it.
How can I get OTP info via javascript? Do I need to configure something special in keycloak?