@vlprojects-chat/chat 0.9.8 → 0.9.9

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 +6 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -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.9.8", 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.9.9", 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",
@@ -56818,6 +56818,10 @@ const gye = (e) => {
56818
56818
  const { poll: t, voteHandler: n } = e, [r, o] = Be(
56819
56819
  t.options.reduce((a, c) => ({ ...a, [c.id]: !1 }), {})
56820
56820
  ), i = !Object.values(r).find((a) => a), s = (a) => () => {
56821
+ if (t.isMultiselect) {
56822
+ o((c) => ({ ...c, [a]: !c[a] }));
56823
+ return;
56824
+ }
56821
56825
  o((c) => ({
56822
56826
  ...t.options.reduce((u, l) => ({ ...u, [l.id]: !1 }), {}),
56823
56827
  [a]: !c[a]
@@ -57184,7 +57188,7 @@ const gye = (e) => {
57184
57188
  /* @__PURE__ */ h.jsx(t1e, {})
57185
57189
  ] });
57186
57190
  };
57187
- var uu = { VITE_APP_VERSION: "0.9.8", 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 };
57191
+ var uu = { VITE_APP_VERSION: "0.9.9", 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 };
57188
57192
  const zD = (e) => {
57189
57193
  $e.error("Chat init error", { case: "handleInitError", errorInfo: e }), Do.emit(so.App, {
57190
57194
  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.9.8",
4
+ "version": "0.9.9",
5
5
  "description": "VLprojects chat",
6
6
  "license": "ISC",
7
7
  "types": "dist/index.d.ts",