@ai-matrx/meet 0.11.33 → 0.11.35
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 +14 -0
- package/dist/core.cjs +4 -3
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +4 -3
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +5 -4
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +5 -4
- package/dist/react.js.map +1 -1
- package/dist/skins/meet.cjs.map +1 -1
- package/dist/skins/meet.js.map +1 -1
- package/dist/styles.css +19 -0
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -5180,9 +5180,9 @@ function createMeetingSession(options) {
|
|
|
5180
5180
|
},
|
|
5181
5181
|
stopWaiting,
|
|
5182
5182
|
readState: readState2,
|
|
5183
|
-
async readExit(connection) {
|
|
5183
|
+
async readExit(connection, held) {
|
|
5184
5184
|
const meeting = store.snapshot().meeting;
|
|
5185
|
-
const pass = options.resolvePass?.() ?? null;
|
|
5185
|
+
const pass = held ?? options.resolvePass?.() ?? null;
|
|
5186
5186
|
if (meeting === null || pass === null) return void 0;
|
|
5187
5187
|
try {
|
|
5188
5188
|
const response = await options.api.request({
|
|
@@ -6530,6 +6530,7 @@ function createRoomEngine(options) {
|
|
|
6530
6530
|
};
|
|
6531
6531
|
async function resolveExitAndApply(hint) {
|
|
6532
6532
|
const connection = current?.connectionIdentity ?? current?.identity ?? store.snapshot().localIdentity ?? null;
|
|
6533
|
+
const heldPass = current?.meetingPass ?? null;
|
|
6533
6534
|
lastRequest = requestAsNow();
|
|
6534
6535
|
await dropRoom();
|
|
6535
6536
|
let server;
|
|
@@ -6537,7 +6538,7 @@ function createRoomEngine(options) {
|
|
|
6537
6538
|
server = void 0;
|
|
6538
6539
|
} else {
|
|
6539
6540
|
try {
|
|
6540
|
-
server = await options.readExit(connection);
|
|
6541
|
+
server = await options.readExit(connection, heldPass);
|
|
6541
6542
|
} catch {
|
|
6542
6543
|
server = null;
|
|
6543
6544
|
}
|