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.1.0
Added
Add optional feed-card stats on FeedItem: actor.winRate30d, actor.pnl30d, actor.tradeCount30d, actor.followerCount, commentCount, replyCount, firstTradeAt, holdTimeMs, and entryPriceUsd. Older social-api responses that omit them still validate (#10352, #10387)
holdTimeMs is the final hold and is only set once a position is closed. While a position is still open it is null, because that span grows every second; count from firstTradeAt (Unix seconds of the first fill) to render a live hold.
Add optional authorComment on FeedItem (uid, text, timestamp, engagement.reactions / userReaction) so clients can render Call-backed feed reactions (#10345)
Add reactToComment and removeCommentReaction methods on SocialService (and the matching messenger actions). Call PUT / DELETE /swap-comment/:id/reaction and return per-emotion counts plus userReaction. Deprecated likeCount / isLikedByUser on the social-api wire are ignored (#10345)
Changed
Bump @metamask/profile-sync-controller from ^32.1.1 to ^32.2.0 (#10348)