@stream-io/feeds-client 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/feeds-client",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "./dist/index.node.js",
6
6
  "exports": {
package/src/Feed.ts CHANGED
@@ -516,6 +516,9 @@ export class Feed extends FeedApi {
516
516
  const newComment: CommentResponse = {
517
517
  ...newComments[commentIndex],
518
518
  ...commentCopy,
519
+ // TODO: FIXME this should be handled by the backend
520
+ latest_reactions: commentCopy.latest_reactions ?? [],
521
+ reaction_groups: commentCopy.reaction_groups ?? {},
519
522
  };
520
523
 
521
524
  newComments[commentIndex] = newComment;