@vlprojects-chat/chat 0.17.0-LD-8093.19 → 0.17.0
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.
- package/dist/index.mjs +7 -6
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -39132,7 +39132,7 @@ const vP = {
|
|
|
39132
39132
|
}, gce = () => {
|
|
39133
39133
|
const e = pe.useContext(D2);
|
|
39134
39134
|
return e ? e.chatSnackbarContainer : null;
|
|
39135
|
-
}, vce = "@vlprojects-chat/chat", yce = "vlprojects", bce = "0.
|
|
39135
|
+
}, vce = "@vlprojects-chat/chat", yce = "vlprojects", bce = "0.18.1", wce = "vlprojects chat", Sce = "ISC", Ece = "dist/index.d.ts", xce = "./dist/index.mjs", Cce = "./dist/index.mjs", Tce = [
|
|
39136
39136
|
"dist"
|
|
39137
39137
|
], Oce = {
|
|
39138
39138
|
type: "git",
|
|
@@ -65040,7 +65040,7 @@ const C1e = (e) => {
|
|
|
65040
65040
|
const r = n[1];
|
|
65041
65041
|
return t.getPropertyValue(r);
|
|
65042
65042
|
}, nwe = () => {
|
|
65043
|
-
const e = ot(), { auth: t
|
|
65043
|
+
const e = ot(), { auth: t, initialChannel: n } = e, r = n == null ? void 0 : n.getActivePoll, o = ewe();
|
|
65044
65044
|
if (!r)
|
|
65045
65045
|
return null;
|
|
65046
65046
|
const i = r.options.reduce((s, a) => s + a.votesCount, 0);
|
|
@@ -65234,8 +65234,9 @@ const C1e = (e) => {
|
|
|
65234
65234
|
const {
|
|
65235
65235
|
settings: e,
|
|
65236
65236
|
chat: t,
|
|
65237
|
-
ui: n
|
|
65238
|
-
|
|
65237
|
+
ui: n,
|
|
65238
|
+
initialChannel: r
|
|
65239
|
+
} = ot();
|
|
65239
65240
|
if (!e.showPolls || !r)
|
|
65240
65241
|
return null;
|
|
65241
65242
|
const o = r.getActivePoll;
|
|
@@ -65394,9 +65395,9 @@ const C1e = (e) => {
|
|
|
65394
65395
|
if (!E)
|
|
65395
65396
|
return;
|
|
65396
65397
|
E(() => {
|
|
65397
|
-
|
|
65398
|
+
var _;
|
|
65398
65399
|
return {
|
|
65399
|
-
settings: _ == null ? void 0 : _.settings,
|
|
65400
|
+
settings: (_ = A.initialChannel) == null ? void 0 : _.settings,
|
|
65400
65401
|
isModerator: A.auth.isModerator
|
|
65401
65402
|
};
|
|
65402
65403
|
});
|