JS SDK v1.133.0
about 2 hours ago by Viktor Yordanov
AddedProfile:
sdk.profile.getOwn().getInfo()now takes an optionaldisableCacheparameter. When it istrue, the profile comes straight from the API and skips the in-memory and Local Storage caches, so you always get the latest data. The fresh result also refreshes the caches, so latergetInfo()calls return it as well.const profile = await sdk.profile.getOwn().getInfo(true);If you have chained profile changes (e.g.
setName(),addInterest()) that you haven't saved withupdate()yet,getInfo(true)still returns the server's profile and keeps your unsaved changes.
