Weirdly the import is not available

Question:
listSecretInfo() method is not available on “wit-secrets-backend”

Product:
Wix Editor

What are you trying to achieve:
Hi community, I am working on Wix for the first time and on the backend api.
I am able to use other methods as listed in documentation: getSecret, createSecret, deleteSecret, updateSecret
but when trying to import listSecretInfo it says it is not available. Am I doing something wrong?

What have you already tried:
Nothing to try

Additional information:
I guess someone broke the API

Hi Melroy

As you can see in this documentation, you can’t import listSecretInfo seperately. You’ll have to:

import wixSecretsBackend from 'wix-secrets-backend';

Documentation: