@vlprojects-chat/chat 0.17.0-LD-8093.4 → 0.17.0-LD-8093.5

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -33952,7 +33952,7 @@ let gp = class extends br({
33952
33952
  const c = e.chat.channels.get(a);
33953
33953
  c && (s.forEach((l) => l.randomId && c.drafts.cancelDraft(l.randomId)), c.addMessages(s));
33954
33954
  });
33955
- const o = e.chat.channelsList.filter(({ type: s }) => [nn.Public, nn.Private].includes(s)).map((s) => s.unreadMessagesCount);
33955
+ const o = e.chat.channelsList.filter(({ type: s }) => [nn.Public, nn.Private].includes(s)).map((s) => s.unreadMessagesCount).reduce((s, a) => s + a, 0);
33956
33956
  console.log(`${sl.UpdateUnreadMsgCount}=> ${o}`), (i = e.chat.hostEventBus) == null || i.emit(
33957
33957
  sl.UpdateUnreadMsgCount,
33958
33958
  { count: o }
@@ -39128,7 +39128,7 @@ const yP = {
39128
39128
  }, gce = () => {
39129
39129
  const e = pe.useContext(_2);
39130
39130
  return e ? e.chatSnackbarContainer : null;
39131
- }, vce = "@vlprojects-chat/chat", yce = "vlprojects", bce = "0.17.0-LD-8093.3", wce = "vlprojects chat", Sce = "ISC", Ece = "dist/index.d.ts", xce = "./dist/index.mjs", Cce = "./dist/index.mjs", Tce = [
39131
+ }, vce = "@vlprojects-chat/chat", yce = "vlprojects", bce = "0.17.0-LD-8093.4", wce = "vlprojects chat", Sce = "ISC", Ece = "dist/index.d.ts", xce = "./dist/index.mjs", Cce = "./dist/index.mjs", Tce = [
39132
39132
  "dist"
39133
39133
  ], Oce = {
39134
39134
  type: "git",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vlprojects-chat/chat",
3
3
  "author": "vlprojects",
4
- "version": "0.17.0-LD-8093.4",
4
+ "version": "0.17.0-LD-8093.5",
5
5
  "description": "vlprojects chat",
6
6
  "license": "ISC",
7
7
  "types": "dist/index.d.ts",