@ethora/chat-component 26.3.12 → 26.3.14
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/main.js +8 -14
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as g, jsxs as U, Fragment as je } from "react/jsx-runtime";
|
|
2
2
|
import * as Ft from "react";
|
|
3
3
|
import at, { useRef as be, useState as le, useCallback as he, useEffect as ge, createContext as jA, useContext as YA, useDebugValue as gh, createElement as x6, useMemo as Ve, Fragment as Uu, forwardRef as I6, PureComponent as S6 } from "react";
|
|
4
4
|
function fi(e) {
|
|
@@ -19026,20 +19026,14 @@ const IB = (e) => {
|
|
|
19026
19026
|
return;
|
|
19027
19027
|
}
|
|
19028
19028
|
const W = await N;
|
|
19029
|
-
await C(
|
|
19030
|
-
R,
|
|
19031
|
-
void 0,
|
|
19032
|
-
W
|
|
19033
|
-
);
|
|
19029
|
+
await C(R, void 0, W);
|
|
19034
19030
|
const z = await R.getChatsPrivateStoreRequestStanza();
|
|
19035
19031
|
Zy(
|
|
19036
19032
|
z,
|
|
19037
19033
|
K.dispatch
|
|
19038
19034
|
), zf({
|
|
19039
19035
|
client: R,
|
|
19040
|
-
//
|
|
19041
|
-
// comment above. The scheduler has its own internal pause-on-hidden
|
|
19042
|
-
// and active-room-gate logic; that's enough lifecycle.
|
|
19036
|
+
// intentionally no signal — see comment above
|
|
19043
19037
|
concurrency: 3,
|
|
19044
19038
|
pageSize: 10,
|
|
19045
19039
|
retryLimit: 2,
|
|
@@ -19090,7 +19084,7 @@ const IB = (e) => {
|
|
|
19090
19084
|
return window.addEventListener("ethora-xmpp-logout", b), () => {
|
|
19091
19085
|
typeof window < "u" && window.removeEventListener("ethora-xmpp-logout", b);
|
|
19092
19086
|
};
|
|
19093
|
-
}, [i, v]), /* @__PURE__ */
|
|
19087
|
+
}, [i, v]), /* @__PURE__ */ g(
|
|
19094
19088
|
Rw.Provider,
|
|
19095
19089
|
{
|
|
19096
19090
|
value: {
|
|
@@ -19101,15 +19095,15 @@ const IB = (e) => {
|
|
|
19101
19095
|
setClient: r
|
|
19102
19096
|
},
|
|
19103
19097
|
"data-xmpp-provider": "true",
|
|
19104
|
-
children: [
|
|
19105
|
-
/* @__PURE__ */ g(
|
|
19098
|
+
children: /* @__PURE__ */ U(Ev, { store: K, children: [
|
|
19099
|
+
/* @__PURE__ */ g(
|
|
19106
19100
|
BB,
|
|
19107
19101
|
{
|
|
19108
19102
|
pushNotifications: n
|
|
19109
19103
|
}
|
|
19110
|
-
)
|
|
19104
|
+
),
|
|
19111
19105
|
e
|
|
19112
|
-
]
|
|
19106
|
+
] })
|
|
19113
19107
|
}
|
|
19114
19108
|
);
|
|
19115
19109
|
}, jt = () => {
|