@ethora/chat-component 25.11.1 → 25.11.2

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.
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import { FC } from 'react';
2
2
  import { CustomScrollableAreaProps } from '../../types/models/customComponents.model';
3
- declare const CustomScrollableArea: React.FC<CustomScrollableAreaProps>;
3
+ export declare const CustomScrollableArea: FC<CustomScrollableAreaProps>;
4
4
  export default CustomScrollableArea;
package/dist/main.js CHANGED
@@ -13537,7 +13537,7 @@ const zx = (e) => e.length === 0 ? "" : e.length === 1 ? `${e[0]} is typing` : e
13537
13537
  })), [u, u.length]), E = Ve(() => s ? v.filter(
13538
13538
  (q) => q.roomJid === n && q.isReply && q.isReply === "true" && q.mainMessage && JSON.parse(q.mainMessage).id === a.id
13539
13539
  ) : v.filter(
13540
- (q) => q.showInChannel === "true" || (!q.isReply || q.isReply === "false") && !q.mainMessage
13540
+ (q) => q.isSystemMessage === "true" || q.showInChannel === "true" || (!q.isReply || q.isReply === "false") && !q.mainMessage
13541
13541
  ), [u, u.length]), I = Ve(
13542
13542
  () => u.length && u[u.length - 1].user.id === f.xmppUsername,
13543
13543
  [u.length, f.xmppUsername]
@@ -48161,7 +48161,14 @@ const Oj = ({
48161
48161
  I.deleteMessageStanza(o.roomJid, o.messageId), d(mo({ isDeleteModal: !1 }));
48162
48162
  }, E = () => {
48163
48163
  d(mo({ isDeleteModal: !1 }));
48164
- }, { client: I, inited: B, isRetrying: x, showModal: D, setShowModal: P, isConnectionLost: _ } = Oj({
48164
+ }, {
48165
+ client: I,
48166
+ inited: B,
48167
+ isRetrying: x,
48168
+ showModal: D,
48169
+ setShowModal: P,
48170
+ isConnectionLost: _
48171
+ } = Oj({
48165
48172
  roomJID: n,
48166
48173
  wasAutoSelected: m,
48167
48174
  config: t
@@ -48265,12 +48272,7 @@ const Oj = ({
48265
48272
  user: s,
48266
48273
  customMessageComponent: r
48267
48274
  }
48268
- ) : /* @__PURE__ */ p(
48269
- zl,
48270
- {
48271
- CustomMessageComponent: r
48272
- }
48273
- ),
48275
+ ) : /* @__PURE__ */ p(zl, { CustomMessageComponent: r }),
48274
48276
  /* @__PURE__ */ p(
48275
48277
  Tj,
48276
48278
  {