@vlprojects-chat/chat 0.10.2-fix-updateUser.1 → 0.10.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 +3 -3
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -28234,7 +28234,7 @@ let Gn = class extends er({
28234
28234
  }
28235
28235
  updateUser(t) {
28236
28236
  const { userId: n, displayName: r, avatarUrl: o, role: i } = t, s = this.users.get(`${n}`);
28237
- s && r && (s.displayName = r), s && (o || o === null) && (s.avatarUrl = o), s && i && (s.role = i);
28237
+ s && r && (s.displayName = r), s && o !== void 0 && (s.avatarUrl = o), s && i && (s.role = i);
28238
28238
  }
28239
28239
  addUsersFromEvent({ payload: t }) {
28240
28240
  this.addUsers(t);
@@ -35394,7 +35394,7 @@ const qA = {
35394
35394
  }, _se = () => {
35395
35395
  const e = te.useContext(yS);
35396
35396
  return e ? e.chatSnackbarContainer : null;
35397
- }, Fse = "@vlprojects-chat/chat", Lse = "vlprojects", Vse = "0.10.1", Bse = "vlprojects chat", Use = "ISC", Wse = "dist/index.d.ts", Hse = "./dist/index.mjs", Gse = "./dist/index.mjs", qse = [
35397
+ }, Fse = "@vlprojects-chat/chat", Lse = "vlprojects", Vse = "0.10.2-fix-updateUser.1", Bse = "vlprojects chat", Use = "ISC", Wse = "dist/index.d.ts", Hse = "./dist/index.mjs", Gse = "./dist/index.mjs", qse = [
35398
35398
  "dist"
35399
35399
  ], zse = {
35400
35400
  type: "git",
@@ -57192,7 +57192,7 @@ const gye = (e) => {
57192
57192
  /* @__PURE__ */ h.jsx(t1e, {})
57193
57193
  ] });
57194
57194
  };
57195
- var uu = { VITE_APP_VERSION: "0.10.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 };
57195
+ var uu = { VITE_APP_VERSION: "0.10.2-fix-updateUser.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 };
57196
57196
  const zD = (e) => {
57197
57197
  $e.error("Chat init error", { case: "handleInitError", errorInfo: e }), Do.emit(so.App, {
57198
57198
  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.10.2-fix-updateUser.1",
4
+ "version": "0.10.2",
5
5
  "description": "vlprojects chat",
6
6
  "license": "ISC",
7
7
  "types": "dist/index.d.ts",