@ai-matrx/meet 0.11.33 → 0.11.34

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,11 @@
1
1
  # Changelog — `@ai-matrx/meet`
2
2
 
3
+ ## 0.11.34
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/meet/v0.11.33..npm/meet/v0.11.34 -- apps/shared/meet`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.11.33
4
10
 
5
11
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -16,6 +22,8 @@ No source changes intended and no consumer action required.
16
22
  Add this device). `JoinRequest.secondDevice` answers it; "join here too" never opens the mic.
17
23
  - Roster tiles are PEOPLE: connections merge by `personOf` (the one identity helper,
18
24
  `core/names.ts`); a guard test fails on any identity prefix test elsewhere.
25
+ - A tab displaced by "Switch here" reads its exit with the pass it held (read before the room
26
+ is dropped), so it lands on `superseded`, never `removed`.
19
27
  - `RoomToken` gains `connectionIdentity`, `connectionKind`, `secondDeviceChoice` (optional).
20
28
 
21
29
  **Consumer action:** none required. A host app drawing its own pre-join reads
package/dist/core.cjs CHANGED
@@ -5455,9 +5455,9 @@ function createMeetingSession(options) {
5455
5455
  },
5456
5456
  stopWaiting,
5457
5457
  readState: readState2,
5458
- async readExit(connection) {
5458
+ async readExit(connection, held) {
5459
5459
  const meeting = store.snapshot().meeting;
5460
- const pass = options.resolvePass?.() ?? null;
5460
+ const pass = held ?? options.resolvePass?.() ?? null;
5461
5461
  if (meeting === null || pass === null) return void 0;
5462
5462
  try {
5463
5463
  const response = await options.api.request({
@@ -6805,6 +6805,7 @@ function createRoomEngine(options) {
6805
6805
  };
6806
6806
  async function resolveExitAndApply(hint) {
6807
6807
  const connection = current?.connectionIdentity ?? current?.identity ?? store.snapshot().localIdentity ?? null;
6808
+ const heldPass = current?.meetingPass ?? null;
6808
6809
  lastRequest = requestAsNow();
6809
6810
  await dropRoom();
6810
6811
  let server;
@@ -6812,7 +6813,7 @@ function createRoomEngine(options) {
6812
6813
  server = void 0;
6813
6814
  } else {
6814
6815
  try {
6815
- server = await options.readExit(connection);
6816
+ server = await options.readExit(connection, heldPass);
6816
6817
  } catch {
6817
6818
  server = null;
6818
6819
  }