@cometchat/chat-uikit-react 4.3.19 → 4.3.21

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.
@@ -188,6 +188,13 @@ export type Action = {
188
188
  } | {
189
189
  type: "updateGroup";
190
190
  group: CometChat.Group;
191
+ } | {
192
+ type: "updateGroupForSDKEvents";
193
+ group: CometChat.Group;
194
+ newScope?: CometChat.GroupMemberScope;
195
+ newCount?: number;
196
+ hasJoined?: boolean;
197
+ addGroup?: boolean;
191
198
  } | {
192
199
  type: "removeGroup";
193
200
  guid: string;
@@ -58,6 +58,7 @@ type Args = {
58
58
  userMemberWrapperRef: any;
59
59
  getComposerId: Function;
60
60
  parentMessageIdPropRef: any;
61
+ isPartOfCurrentChatForUIEvent: (message: CometChat.BaseMessage) => boolean | undefined;
61
62
  propsText: string | undefined;
62
63
  };
63
64
  export declare function Hooks(args: Args): void;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@cometchat/chat-uikit-react",
3
- "version": "4.3.19",
3
+ "version": "4.3.21",
4
4
  "description": "Ready-to-use Chat UI Components for React(Javascript/Web)",
5
5
  "author": "CometChat",
6
6
  "peerDependencies": {
7
- "@cometchat/chat-sdk-javascript": "^4.0.9",
8
- "@cometchat/uikit-elements": "^4.3.15",
9
- "@cometchat/uikit-resources": "^4.3.11",
10
- "@cometchat/uikit-shared": "^4.3.17"
7
+ "@cometchat/chat-sdk-javascript": "^4.0.10",
8
+ "@cometchat/uikit-elements": "^4.3.16",
9
+ "@cometchat/uikit-resources": "^4.3.12",
10
+ "@cometchat/uikit-shared": "^4.3.18"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@babel/cli": "^7.17.0",