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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
@metamask/social-controllers 3.13.0
Added
Add optional sourceLanguage (string | null) and translations (Record<string, string>) to AuthorComment and AuthorCommentStruct. Feed validation and the realtime feed parser keep both when social-api sends them, and responses that omit them still validate (#11137)
Add translateComment to SocialController and SocialService (SocialController:translateComment, SocialService:translateComment). Calls POST /swap-comment/:commentId/translate with { targetLanguage }. social-api does not expose that route yet: a 404 is logged as Translation endpoint does not exist yet and rethrown (#11137)
Add optional flags to Position, so open positions, closed positions, position-by-id, and feed items (including realtime hydration) can carry an open list of server flags. insider (INSIDER_POSITION_FLAG) marks a Codex insider wallet/token pair that is excluded from the trader's realized PnL and must not be copy-traded. developer (DEVELOPER_POSITION_FLAG) is also a known flag. Unrecognized flag strings are preserved, null is accepted, and responses that omit flags still validate (#11097)
Changed
Bump @metamask/utils from ^12.0.0 to ^12.0.1 (#11107)