@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/@react-bindings/index.ts +1 -0
- package/CHANGELOG.md +13 -0
- package/dist/@react-bindings/hooks/useOwnCapabilities.d.ts +33 -0
- package/dist/@react-bindings/index.d.ts +1 -0
- package/dist/index-react-bindings.browser.cjs +74 -0
- package/dist/index-react-bindings.browser.cjs.map +1 -1
- package/dist/index-react-bindings.browser.js +74 -1
- package/dist/index-react-bindings.browser.js.map +1 -1
- package/dist/index-react-bindings.node.cjs +74 -0
- package/dist/index-react-bindings.node.cjs.map +1 -1
- package/dist/index-react-bindings.node.js +74 -1
- package/dist/index-react-bindings.node.js.map +1 -1
- package/dist/index.browser.cjs +3 -0
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.js +3 -0
- package/dist/index.browser.js.map +1 -1
- package/dist/index.node.cjs +3 -0
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.js +3 -0
- package/dist/index.node.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/Feed.ts +3 -0
package/package.json
CHANGED
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;
|