stream-chat-angular 2.7.0 → 2.8.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.
- package/assets/version.d.ts +1 -1
- package/bundles/stream-chat-angular.umd.js +4 -4
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/attachment-preview-list/attachment-preview-list.component.js +2 -2
- package/esm2015/lib/message/message.component.js +2 -2
- package/esm2015/lib/message-actions-box/message-actions-box.component.js +2 -2
- package/fesm2015/stream-chat-angular.js +4 -4
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/lib/attachment.service.d.ts +1 -1
- package/lib/channel.service.d.ts +1 -1
- package/lib/chat-client.service.d.ts +1 -1
- package/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.d.ts +1 -1
- package/lib/message-input/textarea.directive.d.ts +1 -1
- package/lib/message-preview.d.ts +1 -1
- package/lib/read-by.d.ts +1 -1
- package/package.json +3 -3
- package/src/assets/version.ts +1 -1
|
@@ -16,7 +16,7 @@ export declare class AttachmentService {
|
|
|
16
16
|
filesSelected(fileList: FileList | null): Promise<void>;
|
|
17
17
|
retryAttachmentUpload(file: File): Promise<void>;
|
|
18
18
|
deleteAttachment(upload: AttachmentUpload): Promise<void>;
|
|
19
|
-
mapToAttachments(): Attachment<import("stream-chat").
|
|
19
|
+
mapToAttachments(): Attachment<import("stream-chat").UR>[];
|
|
20
20
|
createFromAttachments(attachments: Attachment[]): void;
|
|
21
21
|
private createPreview;
|
|
22
22
|
private uploadAttachments;
|
package/lib/channel.service.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare class ChannelService {
|
|
|
44
44
|
deleteMessage(message: StreamMessage): Promise<void>;
|
|
45
45
|
uploadAttachments(uploads: AttachmentUpload[]): Promise<AttachmentUpload[]>;
|
|
46
46
|
deleteAttachment(attachmentUpload: AttachmentUpload): Promise<void>;
|
|
47
|
-
autocompleteMembers(searchTerm: string): Promise<import("stream-chat").ChannelMemberResponse<import("stream-chat").
|
|
47
|
+
autocompleteMembers(searchTerm: string): Promise<import("stream-chat").ChannelMemberResponse<import("stream-chat").UR>[]>;
|
|
48
48
|
private sendMessageRequest;
|
|
49
49
|
private handleNotification;
|
|
50
50
|
private handleRemovedFromChannelNotification;
|
|
@@ -22,7 +22,7 @@ export declare class ChatClientService {
|
|
|
22
22
|
init(apiKey: string, userOrId: string | OwnUserResponse, userTokenOrProvider: TokenOrProvider): Promise<void>;
|
|
23
23
|
getAppSettings(): Promise<void>;
|
|
24
24
|
flagMessage(messageId: string): Promise<void>;
|
|
25
|
-
autocompleteUsers(searchTerm: string): Promise<import("stream-chat").UserResponse<import("stream-chat").
|
|
25
|
+
autocompleteUsers(searchTerm: string): Promise<import("stream-chat").UserResponse<import("stream-chat").UR>[]>;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChatClientService, never>;
|
|
27
27
|
static ɵprov: i0.ɵɵInjectableDeclaration<ChatClientService>;
|
|
28
28
|
}
|
|
@@ -18,7 +18,7 @@ export declare class AutocompleteTextareaComponent implements TextareaInterface,
|
|
|
18
18
|
mentionScope: 'channel' | 'application';
|
|
19
19
|
readonly valueChange: EventEmitter<string>;
|
|
20
20
|
readonly send: EventEmitter<void>;
|
|
21
|
-
readonly userMentions: EventEmitter<UserResponse<import("stream-chat").
|
|
21
|
+
readonly userMentions: EventEmitter<UserResponse<import("stream-chat").UR>[]>;
|
|
22
22
|
private readonly labelKey;
|
|
23
23
|
private readonly mentionTriggerChar;
|
|
24
24
|
autocompleteConfig: MentionConfig;
|
|
@@ -12,7 +12,7 @@ export declare class TextareaDirective implements OnChanges {
|
|
|
12
12
|
value: string;
|
|
13
13
|
readonly valueChange: EventEmitter<string>;
|
|
14
14
|
readonly send: EventEmitter<void>;
|
|
15
|
-
readonly userMentions: EventEmitter<UserResponse<import("stream-chat").
|
|
15
|
+
readonly userMentions: EventEmitter<UserResponse<import("stream-chat").UR>[]>;
|
|
16
16
|
private subscriptions;
|
|
17
17
|
private unpropagatedChanges;
|
|
18
18
|
constructor(viewContainerRef: ViewContainerRef);
|
package/lib/message-preview.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Attachment, MessageResponse, UserResponse } from 'stream-chat';
|
|
2
|
-
export declare const createMessagePreview: (user: UserResponse, text: string, attachments: Attachment[], mentionedUsers: UserResponse[]) => MessageResponse<import("stream-chat").
|
|
2
|
+
export declare const createMessagePreview: (user: UserResponse, text: string, attachments: Attachment[], mentionedUsers: UserResponse[]) => MessageResponse<import("stream-chat").UR, import("stream-chat").UR, import("stream-chat").LiteralStringForUnion, import("stream-chat").UR, import("stream-chat").UR, import("stream-chat").UR>;
|
package/lib/read-by.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Channel, FormatMessageResponse, UserResponse } from 'stream-chat';
|
|
2
|
-
export declare const getReadBy: (message: FormatMessageResponse, channel: Channel) => UserResponse<import("stream-chat").
|
|
2
|
+
export declare const getReadBy: (message: FormatMessageResponse, channel: Channel) => UserResponse<import("stream-chat").UR>[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-angular",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.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/",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"@angular/common": "^12.2.0 || ^13.0.0",
|
|
13
13
|
"@angular/core": "^12.2.0 || ^13.0.0",
|
|
14
14
|
"@ngx-translate/core": "^13.0.0 || ^14.0.0",
|
|
15
|
-
"stream-chat": "
|
|
16
|
-
"stream-chat-css": "
|
|
15
|
+
"stream-chat": ">=4.3.0",
|
|
16
|
+
"stream-chat-css": "2.0.1",
|
|
17
17
|
"@stream-io/stream-chat-css": "1.0.26"
|
|
18
18
|
},
|
|
19
19
|
"peerDependenciesMeta": {
|
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '2.
|
|
1
|
+
export const version = '2.8.0';
|