livekit-client 2.5.8 → 2.5.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/livekit-client.e2ee.worker.js +1 -1
- package/dist/livekit-client.e2ee.worker.js.map +1 -1
- package/dist/livekit-client.e2ee.worker.mjs +49 -20
- package/dist/livekit-client.e2ee.worker.mjs.map +1 -1
- package/dist/livekit-client.esm.mjs +2 -2
- package/dist/livekit-client.esm.mjs.map +1 -1
- package/dist/livekit-client.umd.js +1 -1
- package/dist/livekit-client.umd.js.map +1 -1
- package/dist/src/e2ee/worker/FrameCryptor.d.ts.map +1 -1
- package/dist/src/e2ee/worker/ParticipantKeyHandler.d.ts +25 -5
- package/dist/src/e2ee/worker/ParticipantKeyHandler.d.ts.map +1 -1
- package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
- package/dist/ts4.2/src/e2ee/worker/ParticipantKeyHandler.d.ts +25 -5
- package/package.json +2 -2
- package/src/e2ee/worker/FrameCryptor.test.ts +311 -113
- package/src/e2ee/worker/FrameCryptor.ts +10 -5
- package/src/e2ee/worker/ParticipantKeyHandler.test.ts +169 -5
- package/src/e2ee/worker/ParticipantKeyHandler.ts +50 -20
- package/src/e2ee/worker/__snapshots__/ParticipantKeyHandler.test.ts.snap +356 -0
- package/src/room/participant/LocalParticipant.ts +4 -1
@@ -11148,7 +11148,7 @@ function getOSVersion(ua) {
|
|
11148
11148
|
return ua.includes('mac os') ? getMatch(/\(.+?(\d+_\d+(:?_\d+)?)/, ua, 1).replace(/_/g, '.') : undefined;
|
11149
11149
|
}
|
11150
11150
|
|
11151
|
-
var version$1 = "2.5.
|
11151
|
+
var version$1 = "2.5.9";
|
11152
11152
|
|
11153
11153
|
const version = version$1;
|
11154
11154
|
const protocolVersion = 15;
|
@@ -19385,7 +19385,7 @@ class LocalParticipant extends Participant {
|
|
19385
19385
|
while (performance.now() - startTime < 5000 && !isRejected) {
|
19386
19386
|
if ((!name || this.name === name) && (!metadata || this.metadata === metadata) && (!attributes || Object.entries(attributes).every(_ref2 => {
|
19387
19387
|
let [key, value] = _ref2;
|
19388
|
-
return this.attributes[key] === value;
|
19388
|
+
return this.attributes[key] === value || value === '' && !this.attributes[key];
|
19389
19389
|
}))) {
|
19390
19390
|
this.pendingSignalRequests.delete(requestId);
|
19391
19391
|
resolve();
|