@ezychat/web 0.1.91 → 0.1.92
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-lib/index.js +12 -4
- package/package.json +2 -2
package/dist-lib/index.js
CHANGED
|
@@ -28334,15 +28334,23 @@ function rI({ inbox: e, justCreated: t }) {
|
|
|
28334
28334
|
a,
|
|
28335
28335
|
s
|
|
28336
28336
|
]);
|
|
28337
|
-
let
|
|
28338
|
-
return
|
|
28337
|
+
let _ = a || !m && (t || p.needsLink), v = h(!1), { mutate: y, isPending: b } = i;
|
|
28338
|
+
return u(() => {
|
|
28339
|
+
r.state === "logged_out" ? !_ || a || b || v.current || (v.current = !0, y("takeover")) : v.current = !1;
|
|
28340
|
+
}, [
|
|
28341
|
+
r.state,
|
|
28342
|
+
_,
|
|
28343
|
+
a,
|
|
28344
|
+
b,
|
|
28345
|
+
y
|
|
28346
|
+
]), /* @__PURE__ */ z("div", {
|
|
28339
28347
|
className: "flex min-w-0 flex-col gap-4",
|
|
28340
28348
|
children: [
|
|
28341
28349
|
i.error && /* @__PURE__ */ R(J, {
|
|
28342
28350
|
tone: "danger",
|
|
28343
28351
|
children: H(i.error)
|
|
28344
28352
|
}),
|
|
28345
|
-
!
|
|
28353
|
+
!_ && /* @__PURE__ */ z("div", {
|
|
28346
28354
|
className: "flex flex-wrap items-center justify-between gap-3",
|
|
28347
28355
|
children: [/* @__PURE__ */ R(Lm, {
|
|
28348
28356
|
tone: p.tone,
|
|
@@ -28373,7 +28381,7 @@ function rI({ inbox: e, justCreated: t }) {
|
|
|
28373
28381
|
})]
|
|
28374
28382
|
}),
|
|
28375
28383
|
r.state === "logged_out" && /* @__PURE__ */ R(LF, { info: f.data }),
|
|
28376
|
-
|
|
28384
|
+
_ && /* @__PURE__ */ R(iI, {
|
|
28377
28385
|
inboxId: e.id,
|
|
28378
28386
|
status: r
|
|
28379
28387
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ezychat/web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.92",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "EzyChat core: the team inbox web app (React) as a library, with createInboxApp and its extension API.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"build:lib": "node ../../scripts/build-web-lib.mjs"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@ezychat/shared": "0.1.
|
|
43
|
+
"@ezychat/shared": "0.1.92",
|
|
44
44
|
"@fontsource-variable/inter": "^5.3.0",
|
|
45
45
|
"@tanstack/react-query": "^5.107.1",
|
|
46
46
|
"@types/react": "^19.3.0",
|