@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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog — `@ai-matrx/meet`
2
2
 
3
+ ## 0.11.42
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/meet/v0.11.41..npm/meet/v0.11.42 -- apps/shared/meet`).
7
+ No source changes intended and no consumer action required.
8
+
9
+ ## 0.11.41
10
+
11
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
12
+ `git diff npm/meet/v0.11.40..npm/meet/v0.11.41 -- apps/shared/meet`).
13
+ No source changes intended and no consumer action required.
14
+
3
15
  ## 0.11.40
4
16
 
5
17
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -332,7 +332,7 @@ type RecordingState = "idle" | "starting" | "recording" | "stopping" | "processi
332
332
  *
333
333
  * `local` — this browser's own optimistic `starting`/`stopping`, which is all
334
334
  * the indicator ever had through 0.4.7, and the reason it never went solid.
335
- * `room` — a `matrx.meet.recording` packet, the ONLY feed a guest has.
335
+ * `room` — the room's replicated state (metadata), the ONLY feed a guest has.
336
336
  * `record` — the durable `meet_recordings` row. It outranks both (D16).
337
337
  */
338
338
  type RecordingSource = "local" | "room" | "record";
@@ -332,7 +332,7 @@ type RecordingState = "idle" | "starting" | "recording" | "stopping" | "processi
332
332
  *
333
333
  * `local` — this browser's own optimistic `starting`/`stopping`, which is all
334
334
  * the indicator ever had through 0.4.7, and the reason it never went solid.
335
- * `room` — a `matrx.meet.recording` packet, the ONLY feed a guest has.
335
+ * `room` — the room's replicated state (metadata), the ONLY feed a guest has.
336
336
  * `record` — the durable `meet_recordings` row. It outranks both (D16).
337
337
  */
338
338
  type RecordingSource = "local" | "room" | "record";
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { M as MeetingRecord, P as ParticipantIdentity, R as RoomName, a as MeetParticipant } from './collab-XY6Xj1dG.js';
2
+ import { M as MeetingRecord, P as ParticipantIdentity, R as RoomName, a as MeetParticipant } from './collab-Bf5evcLO.js';
3
3
 
4
4
  /**
5
5
  * THE PRODUCT UI (R6/R7). Not a headless kernel with a note telling the host to
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { M as MeetingRecord, P as ParticipantIdentity, R as RoomName, a as MeetParticipant } from './collab-XY6Xj1dG.cjs';
2
+ import { M as MeetingRecord, P as ParticipantIdentity, R as RoomName, a as MeetParticipant } from './collab-Bf5evcLO.cjs';
3
3
 
4
4
  /**
5
5
  * THE PRODUCT UI (R6/R7). Not a headless kernel with a note telling the host to
package/dist/core.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; `lower-hands {identities: [...] | "*"}` · `role {identity,
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
- "present",
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 toldPresenting = false;
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 === toldPresenting || local === void 0) return;
7442
- toldPresenting = sharing;
7443
- const on = sharing;
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 presenter=${String(on)}: ${String(error)}`);
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
  });