@vlprojects-chat/chat 0.11.1 → 0.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.
Files changed (2) hide show
  1. package/dist/index.mjs +9 -3
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -30520,7 +30520,13 @@ let zf = class extends er({
30520
30520
  S == null || S.cleanAllMessages();
30521
30521
  }, f = (b) => {
30522
30522
  const { displayName: y, avatarUrl: S, userId: x, lang: w, role: E } = b;
30523
- return w && +t.auth.me.id == +x && t.ui.setLang(w), E && +t.auth.me.id == +x && t.auth.setMe({ ...t.auth.me, role: E }), t.chat.updateUser({ userId: x, displayName: y, avatarUrl: S, role: E });
30523
+ return w && +t.auth.me.id == +x && t.ui.setLang(w), E && +t.auth.me.id == +x && t.auth.setMe({
30524
+ id: t.auth.me.id,
30525
+ displayName: t.auth.me.displayName,
30526
+ username: t.auth.me.username,
30527
+ avatarUrl: t.auth.me.avatarUrl,
30528
+ role: E
30529
+ }), t.chat.updateUser({ userId: x, displayName: y, avatarUrl: S, role: E });
30524
30530
  }, p = (b) => {
30525
30531
  const { user: y } = b;
30526
30532
  t.chat.addUsers([y]);
@@ -35423,7 +35429,7 @@ const YA = {
35423
35429
  }, Vse = () => {
35424
35430
  const e = te.useContext(wS);
35425
35431
  return e ? e.chatSnackbarContainer : null;
35426
- }, Bse = "@vlprojects-chat/chat", Use = "vlprojects", Wse = "0.11.1-LD-7325-zero-pin.1", Hse = "vlprojects chat", Gse = "ISC", qse = "dist/index.d.ts", zse = "./dist/index.mjs", Yse = "./dist/index.mjs", Kse = [
35432
+ }, Bse = "@vlprojects-chat/chat", Use = "vlprojects", Wse = "0.11.1", Hse = "vlprojects chat", Gse = "ISC", qse = "dist/index.d.ts", zse = "./dist/index.mjs", Yse = "./dist/index.mjs", Kse = [
35427
35433
  "dist"
35428
35434
  ], Xse = {
35429
35435
  type: "git",
@@ -57351,7 +57357,7 @@ const Eye = (e) => {
57351
57357
  /* @__PURE__ */ h.jsx(i1e, {})
57352
57358
  ] });
57353
57359
  };
57354
- var uu = { VITE_APP_VERSION: "0.11.1-LD-7325-zero-pin.1", VITE_APP_API_BASEURL: "https://api.livedigital.chat", VITE_APP_SENTRY_DSN: "https://445426b388f045748970982694bb1520@o1158674.ingest.sentry.io/6242013", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
57360
+ var uu = { VITE_APP_VERSION: "0.11.1", VITE_APP_API_BASEURL: "https://api.livedigital.chat", VITE_APP_SENTRY_DSN: "https://445426b388f045748970982694bb1520@o1158674.ingest.sentry.io/6242013", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
57355
57361
  const KD = (e) => {
57356
57362
  $e.error("Chat init error", { case: "handleInitError", errorInfo: e }), Do.emit(so.App, {
57357
57363
  event: Po.ChatInitError,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vlprojects-chat/chat",
3
3
  "author": "vlprojects",
4
- "version": "0.11.1",
4
+ "version": "0.11.2",
5
5
  "description": "vlprojects chat",
6
6
  "license": "ISC",
7
7
  "types": "dist/index.d.ts",