@ai-matrx/meet 0.11.40 → 0.11.42
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/{collab-XY6Xj1dG.d.cts → collab-Bf5evcLO.d.cts} +1 -1
- package/dist/{collab-XY6Xj1dG.d.ts → collab-Bf5evcLO.d.ts} +1 -1
- package/dist/{components-Cwep2NYU.d.ts → components-Frpvls4N.d.ts} +1 -1
- package/dist/{components-4f9Mf8fz.d.cts → components-roCEgyFH.d.cts} +1 -1
- package/dist/core.cjs +8 -11
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +5 -8
- package/dist/core.d.ts +5 -8
- package/dist/core.js +8 -11
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +8 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -11
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +13 -12
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +3 -3
- package/dist/react.d.ts +3 -3
- package/dist/react.js +13 -12
- package/dist/react.js.map +1 -1
- package/dist/skins/meet.cjs +5 -1
- package/dist/skins/meet.cjs.map +1 -1
- package/dist/skins/meet.d.cts +2 -2
- package/dist/skins/meet.d.ts +2 -2
- package/dist/skins/meet.js +5 -1
- package/dist/skins/meet.js.map +1 -1
- package/dist/styles.css +12 -0
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -4011,8 +4011,7 @@ var ROOM_EVENTS = {
|
|
|
4011
4011
|
/**
|
|
4012
4012
|
* A host or co-host acted (Meet wave 2). Payload `{ meeting_id, kind, … }`:
|
|
4013
4013
|
* `muted {source, by}` · `ask-unmute {by}` · `removed {by}` — addressed to the
|
|
4014
|
-
* person concerned; `
|
|
4015
|
-
* role}` — to everyone.
|
|
4014
|
+
* person concerned; `role {identity, role}` — to everyone.
|
|
4016
4015
|
*/
|
|
4017
4016
|
moderation: "matrx.meet.moderation",
|
|
4018
4017
|
/**
|
|
@@ -7401,7 +7400,7 @@ var MODERATION_ACTIONS = [
|
|
|
7401
7400
|
"ask_unmute",
|
|
7402
7401
|
"ask_all_unmute",
|
|
7403
7402
|
"spotlight",
|
|
7404
|
-
"
|
|
7403
|
+
"sync_presenter",
|
|
7405
7404
|
"raise_hand",
|
|
7406
7405
|
"lower_hand",
|
|
7407
7406
|
"lower_all_hands",
|
|
@@ -7433,18 +7432,17 @@ function createInRoomClient(options) {
|
|
|
7433
7432
|
function refusal2(response, operation, remedy) {
|
|
7434
7433
|
return refusalFromResponse(response, operation, remedy);
|
|
7435
7434
|
}
|
|
7436
|
-
let
|
|
7435
|
+
let toldSharing = false;
|
|
7437
7436
|
let tellChain = Promise.resolve();
|
|
7438
7437
|
store.subscribe(() => {
|
|
7439
7438
|
const local = store.snapshot().participants.find((p) => p.isLocal);
|
|
7440
7439
|
const sharing = local?.screenSharing === true;
|
|
7441
|
-
if (sharing ===
|
|
7442
|
-
|
|
7443
|
-
|
|
7444
|
-
tellChain = tellChain.then(() => client.moderate({ action: "present", on })).then(
|
|
7440
|
+
if (sharing === toldSharing || local === void 0) return;
|
|
7441
|
+
toldSharing = sharing;
|
|
7442
|
+
tellChain = tellChain.then(() => client.moderate({ action: "sync_presenter" })).then(
|
|
7445
7443
|
() => void 0,
|
|
7446
7444
|
(error) => {
|
|
7447
|
-
console.warn(`[meet] the server did not take
|
|
7445
|
+
console.warn(`[meet] the server did not take the screen-share change: ${String(error)}`);
|
|
7448
7446
|
}
|
|
7449
7447
|
);
|
|
7450
7448
|
});
|
|
@@ -7461,8 +7459,7 @@ function createInRoomClient(options) {
|
|
|
7461
7459
|
action: request.action,
|
|
7462
7460
|
...request.identity != null ? { identity: request.identity } : {},
|
|
7463
7461
|
...request.name !== void 0 ? { name: request.name } : {},
|
|
7464
|
-
...request.reason !== void 0 ? { reason: request.reason } : {}
|
|
7465
|
-
...request.on !== void 0 ? { on: request.on } : {}
|
|
7462
|
+
...request.reason !== void 0 ? { reason: request.reason } : {}
|
|
7466
7463
|
},
|
|
7467
7464
|
...hdrs !== void 0 ? { headers: hdrs } : {}
|
|
7468
7465
|
});
|