@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/dist/index.node.js
CHANGED
|
@@ -4257,6 +4257,9 @@ class Feed extends FeedApi {
|
|
|
4257
4257
|
const newComment = {
|
|
4258
4258
|
...newComments[commentIndex],
|
|
4259
4259
|
...commentCopy,
|
|
4260
|
+
// TODO: FIXME this should be handled by the backend
|
|
4261
|
+
latest_reactions: commentCopy.latest_reactions ?? [],
|
|
4262
|
+
reaction_groups: commentCopy.reaction_groups ?? {},
|
|
4260
4263
|
};
|
|
4261
4264
|
newComments[commentIndex] = newComment;
|
|
4262
4265
|
if (reaction.user.id === connectedUser?.id) {
|