stream-chat-angular 4.68.0 → 4.68.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/assets/version.d.ts +1 -1
- package/bundles/stream-chat-angular.umd.js +19 -7
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/chat-client.service.js +19 -8
- package/fesm2015/stream-chat-angular.js +19 -8
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/lib/chat-client.service.d.ts +4 -1
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
|
@@ -48,6 +48,7 @@ export declare class ChatClientService<T extends DefaultStreamChatGenerics = Def
|
|
|
48
48
|
private pendingInvitesSubject;
|
|
49
49
|
private userSubject;
|
|
50
50
|
private subscriptions;
|
|
51
|
+
private trackPendingChannelInvites;
|
|
51
52
|
constructor(ngZone: NgZone, notificationService: NotificationService);
|
|
52
53
|
/**
|
|
53
54
|
* Creates a [`StreamChat`](https://github.com/GetStream/stream-chat-js/blob/668b3e5521339f4e14fc657834531b4c8bf8176b/src/client.ts#L124) instance using the provided `apiKey`, and connects a user with the given meta data and token. More info about [connecting users](https://getstream.io/chat/docs/javascript/init_and_users/?language=javascript) can be found in the platform documentation.
|
|
@@ -61,7 +62,9 @@ export declare class ChatClientService<T extends DefaultStreamChatGenerics = Def
|
|
|
61
62
|
* </ul>
|
|
62
63
|
* @param clientOptions Setting to provide to the Stream client instance
|
|
63
64
|
*/
|
|
64
|
-
init(apiKey: string, userOrId: string | OwnUserResponse<T> | UserResponse<T> | undefined, userTokenOrProvider: TokenOrProvider | 'anonymous' | 'guest', clientOptions?: StreamChatOptions
|
|
65
|
+
init(apiKey: string, userOrId: string | OwnUserResponse<T> | UserResponse<T> | undefined, userTokenOrProvider: TokenOrProvider | 'anonymous' | 'guest', clientOptions?: StreamChatOptions & {
|
|
66
|
+
trackPendingChannelInvites?: boolean;
|
|
67
|
+
}): ConnectAPIResponse<T>;
|
|
65
68
|
/**
|
|
66
69
|
* Disconnects the current user, and closes the WebSocket connection. Useful when disconnecting a chat user, use in combination with [`reset`](./ChannelService.mdx/#reset).
|
|
67
70
|
*/
|
package/package.json
CHANGED
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '4.68.
|
|
1
|
+
export const version = '4.68.1';
|