@ai-matrx/meet 0.11.37 → 0.11.39
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/CHANGELOG.md +12 -0
- package/dist/core.cjs +54 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +6 -0
- package/dist/core.d.ts +6 -0
- package/dist/core.js +54 -1
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +54 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +54 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +65 -7
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +65 -7
- package/dist/react.js.map +1 -1
- package/dist/skins/meet.cjs +17 -6
- package/dist/skins/meet.cjs.map +1 -1
- package/dist/skins/meet.js +17 -6
- package/dist/skins/meet.js.map +1 -1
- package/package.json +4 -4
package/dist/skins/meet.js
CHANGED
|
@@ -215,6 +215,12 @@ var MEET_ROUTES = {
|
|
|
215
215
|
state: "/api/v1/meet/state",
|
|
216
216
|
/** S4: `withdraw` (stop waiting) or `leave` (close this tab); the pass may ride in the body. */
|
|
217
217
|
leave: "/api/v1/meet/leave",
|
|
218
|
+
/**
|
|
219
|
+
* S8: a host's browser just called an admission DOOR (`meet_admit` · `meet_deny` ·
|
|
220
|
+
* `meet_undeny` · `meet_admit_all`). Payload-free: the server republishes the room's
|
|
221
|
+
* replicated state (the People badge's waiting count) from the database truth.
|
|
222
|
+
*/
|
|
223
|
+
admissionChanged: "/api/v1/meet/admission/changed",
|
|
218
224
|
/** S4: a pass holder (guests included) saw the recording notice, for this run. */
|
|
219
225
|
consent: "/api/v1/meet/consent"
|
|
220
226
|
};
|
|
@@ -1143,11 +1149,7 @@ function useRoom() {
|
|
|
1143
1149
|
toggleScreenShare: useCallback2(async () => {
|
|
1144
1150
|
const on = !(local?.screenSharing ?? false);
|
|
1145
1151
|
await requireEngine(engine, "toggleScreenShare").setScreenShareEnabled(on);
|
|
1146
|
-
|
|
1147
|
-
if (host !== null && sharing === on) {
|
|
1148
|
-
await host.inRoom.moderate({ action: "present", on }).catch(() => void 0);
|
|
1149
|
-
}
|
|
1150
|
-
}, [engine, host, local]),
|
|
1152
|
+
}, [engine, local]),
|
|
1151
1153
|
// S8: a hand is SERVER state (`/moderate raise_hand · lower_hand`, server time), replicated
|
|
1152
1154
|
// back as the `matrx.hand` attribute — no client sets its own hand on the wire.
|
|
1153
1155
|
toggleHand: useCallback2(async () => {
|
|
@@ -3538,7 +3540,16 @@ function LeaveControl({ onLeave }) {
|
|
|
3538
3540
|
/* @__PURE__ */ jsx6("button", { type: "button", className: "mx-meet__menu-item mx-meet__menu-item--danger", onClick: endNow, children: words.end_for_all }),
|
|
3539
3541
|
/* @__PURE__ */ jsx6("button", { type: "button", className: "mx-meet__menu-item", onClick: () => setOpen("menu"), children: "Cancel" })
|
|
3540
3542
|
] }) : null,
|
|
3541
|
-
failure !== null ? /* @__PURE__ */ jsx6(
|
|
3543
|
+
failure !== null ? /* @__PURE__ */ jsx6(
|
|
3544
|
+
ErrorBox,
|
|
3545
|
+
{
|
|
3546
|
+
className: "mx-meet__menu-note",
|
|
3547
|
+
message: failure,
|
|
3548
|
+
operation: "Complete this meeting action",
|
|
3549
|
+
origin: "meet/components",
|
|
3550
|
+
children: failure
|
|
3551
|
+
}
|
|
3552
|
+
) : null
|
|
3542
3553
|
] }) }) : null
|
|
3543
3554
|
] });
|
|
3544
3555
|
}
|