stream-chat-angular 4.66.1 → 4.66.3

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.
@@ -327,6 +327,7 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
327
327
  pin_expires?: string | null | undefined;
328
328
  pinned?: boolean | undefined;
329
329
  pinned_at?: string | null | undefined;
330
+ poll_id?: string | undefined;
330
331
  quoted_message_id?: string | undefined;
331
332
  show_in_channel?: boolean | undefined;
332
333
  silent?: boolean | undefined;
@@ -334,8 +335,10 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
334
335
  user?: UserResponse<T> | null | undefined;
335
336
  user_id?: string | undefined;
336
337
  } & {
338
+ poll: import("stream-chat").PollResponse<T>;
337
339
  type: import("stream-chat").MessageLabel;
338
340
  args?: string | undefined;
341
+ before_message_send_failed?: boolean | undefined;
339
342
  channel?: ChannelResponse<T> | undefined;
340
343
  cid?: string | undefined;
341
344
  command?: string | undefined;
@@ -373,8 +376,13 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
373
376
  attachmentType: import("stream-chat").UR;
374
377
  channelType: import("stream-chat").UR;
375
378
  commandType: import("stream-chat").LiteralStringForUnion;
379
+ /**
380
+ * The provided method will be called before a message is sent to Stream's API for update. You can use this hook to tranfrom or enrich the message being updated.
381
+ */
376
382
  eventType: import("stream-chat").UR;
377
383
  messageType: {};
384
+ pollOptionType: import("stream-chat").UR;
385
+ pollType: import("stream-chat").UR;
378
386
  reactionType: import("stream-chat").UR;
379
387
  userType: import("stream-chat").UR;
380
388
  }>, "created_at" | "pinned_at" | "updated_at" | "status"> & import("stream-chat").UR & {
@@ -65,6 +65,7 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
65
65
  popperTriggerClick: NgxPopperjsTriggers;
66
66
  popperTriggerHover: NgxPopperjsTriggers;
67
67
  popperPlacementAuto: NgxPopperjsPlacements;
68
+ popperPlacementTop: NgxPopperjsPlacements;
68
69
  shouldDisplayTranslationNotice: boolean;
69
70
  displayedMessageTextContent: 'original' | 'translation';
70
71
  imageAttachmentModalState: 'opened' | 'closed';
@@ -120,6 +120,8 @@ export declare class MessageInputComponent implements OnInit, OnChanges, OnDestr
120
120
  commandType: string & {};
121
121
  eventType: import("stream-chat").UR & import("../types").UnknownType;
122
122
  messageType: {};
123
+ pollOptionType: import("stream-chat").UR;
124
+ pollType: import("stream-chat").UR;
123
125
  reactionType: import("stream-chat").UR & import("../types").UnknownType;
124
126
  userType: import("stream-chat").UR & import("../types").UnknownType & import("../types").DefaultUserTypeInternal & {
125
127
  mutes?: import("stream-chat").Mute<DefaultStreamChatGenerics>[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-angular",
3
- "version": "4.66.1",
3
+ "version": "4.66.3",
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,7 +12,7 @@
12
12
  "@angular/common": "^12.2.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
13
13
  "@angular/core": "^12.2.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
14
14
  "@ngx-translate/core": "^13.0.0 || ^14.0.0 || ^15.0.0",
15
- "stream-chat": "^8.24.0"
15
+ "stream-chat": "^8.26.0"
16
16
  },
17
17
  "dependencies": {
18
18
  "angular-mentions": "^1.4.0",
@@ -1 +1 @@
1
- export const version = '4.66.1';
1
+ export const version = '4.66.3';