stream-chat-angular 3.5.3 → 3.6.0

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.
@@ -38,10 +38,15 @@ export declare class ChatClientService<T extends DefaultStreamChatGenerics = Def
38
38
  * Emits the list of pending invites of the user. It emits every pending invitation during initialization and then extends the list when a new invite is received. More information can be found in the [channel invitations](../code-examples/channel-invites.mdx) guide.
39
39
  */
40
40
  pendingInvites$: Observable<(ChannelResponse<T> | Channel<T>)[]>;
41
+ /**
42
+ * Emits the current chat user
43
+ */
44
+ user$: Observable<UserResponse<T> | undefined>;
41
45
  private notificationSubject;
42
46
  private connectionStateSubject;
43
47
  private appSettingsSubject;
44
48
  private pendingInvitesSubject;
49
+ private userSubject;
45
50
  private subscriptions;
46
51
  constructor(ngZone: NgZone, notificationService: NotificationService);
47
52
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-angular",
3
- "version": "3.5.3",
3
+ "version": "3.6.0",
4
4
  "description": "Angular components to create chat conversations or livestream style chat",
5
5
  "author": "GetStream",
6
6
  "homepage": "https://getstream.io/chat/",
@@ -1 +1 @@
1
- export const version = '3.5.3';
1
+ export const version = '3.6.0';