The latest @forge/api breaks the storage secrets functionality

Hi,
After updating to the latest @forge/api v2.13.0 I got the following error:
image

Upon investigating, I discovered that storage is now typed as StorageAPI interface while it used to be ForgeStorageAPI which includes the getSecret, setSecret, and deleteSecrete methods and extends the StorageAPI
Is this intentional? Are we supposed to use the StorageAPI for storing secrets in a different way? Or this is just a bug?

Regards,
Ismail

1 Like

Hi @IsmailCherri ,

Thanks for reporting this. I’ve reached out to enlist the help of the relevant team. Hopefully you will hear from them shortly.

Regards,
Dugald

Hi @IsmailCherri,

Thanks for raising this to us, this has been fixed in the latest forge release

Regards,
Anirudh

4 Likes