@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.cjs
CHANGED
|
@@ -320,6 +320,12 @@ var MEET_ROUTES = {
|
|
|
320
320
|
state: "/api/v1/meet/state",
|
|
321
321
|
/** S4: `withdraw` (stop waiting) or `leave` (close this tab); the pass may ride in the body. */
|
|
322
322
|
leave: "/api/v1/meet/leave",
|
|
323
|
+
/**
|
|
324
|
+
* S8: a host's browser just called an admission DOOR (`meet_admit` · `meet_deny` ·
|
|
325
|
+
* `meet_undeny` · `meet_admit_all`). Payload-free: the server republishes the room's
|
|
326
|
+
* replicated state (the People badge's waiting count) from the database truth.
|
|
327
|
+
*/
|
|
328
|
+
admissionChanged: "/api/v1/meet/admission/changed",
|
|
323
329
|
/** S4: a pass holder (guests included) saw the recording notice, for this run. */
|
|
324
330
|
consent: "/api/v1/meet/consent"
|
|
325
331
|
};
|
|
@@ -1235,11 +1241,7 @@ function useRoom() {
|
|
|
1235
1241
|
toggleScreenShare: (0, import_react5.useCallback)(async () => {
|
|
1236
1242
|
const on = !(local?.screenSharing ?? false);
|
|
1237
1243
|
await requireEngine(engine, "toggleScreenShare").setScreenShareEnabled(on);
|
|
1238
|
-
|
|
1239
|
-
if (host !== null && sharing === on) {
|
|
1240
|
-
await host.inRoom.moderate({ action: "present", on }).catch(() => void 0);
|
|
1241
|
-
}
|
|
1242
|
-
}, [engine, host, local]),
|
|
1244
|
+
}, [engine, local]),
|
|
1243
1245
|
// S8: a hand is SERVER state (`/moderate raise_hand · lower_hand`, server time), replicated
|
|
1244
1246
|
// back as the `matrx.hand` attribute — no client sets its own hand on the wire.
|
|
1245
1247
|
toggleHand: (0, import_react5.useCallback)(async () => {
|
|
@@ -3630,7 +3632,16 @@ function LeaveControl({ onLeave }) {
|
|
|
3630
3632
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("button", { type: "button", className: "mx-meet__menu-item mx-meet__menu-item--danger", onClick: endNow, children: words.end_for_all }),
|
|
3631
3633
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("button", { type: "button", className: "mx-meet__menu-item", onClick: () => setOpen("menu"), children: "Cancel" })
|
|
3632
3634
|
] }) : null,
|
|
3633
|
-
failure !== null ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
3635
|
+
failure !== null ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
3636
|
+
import_design_system.ErrorBox,
|
|
3637
|
+
{
|
|
3638
|
+
className: "mx-meet__menu-note",
|
|
3639
|
+
message: failure,
|
|
3640
|
+
operation: "Complete this meeting action",
|
|
3641
|
+
origin: "meet/components",
|
|
3642
|
+
children: failure
|
|
3643
|
+
}
|
|
3644
|
+
) : null
|
|
3634
3645
|
] }) }) : null
|
|
3635
3646
|
] });
|
|
3636
3647
|
}
|