livekit-client 1.13.1 → 1.13.2
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/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 +2 -2
- package/dist/livekit-client.e2ee.worker.mjs.map +1 -1
- package/dist/livekit-client.esm.mjs +12 -12
- 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/package.json +1 -1
- package/src/e2ee/worker/FrameCryptor.ts +2 -8
- package/src/room/participant/LocalParticipant.ts +1 -1
@@ -1118,7 +1118,7 @@ class FrameCryptor extends BaseFrameCryptor {
|
|
1118
1118
|
} catch (error) {
|
1119
1119
|
if (error instanceof CryptorError && error.reason === CryptorErrorReason.InvalidKey) {
|
1120
1120
|
if (this.keys.hasValidKey) {
|
1121
|
-
this.emit(CryptorEvent.Error,
|
1121
|
+
this.emit(CryptorEvent.Error, error);
|
1122
1122
|
this.keys.decryptionFailure();
|
1123
1123
|
}
|
1124
1124
|
} else {
|
@@ -1210,7 +1210,7 @@ class FrameCryptor extends BaseFrameCryptor {
|
|
1210
1210
|
throw new CryptorError("valid key missing for participant ".concat(this.participantIdentity), CryptorErrorReason.InvalidKey);
|
1211
1211
|
}
|
1212
1212
|
} else {
|
1213
|
-
throw new CryptorError(
|
1213
|
+
throw new CryptorError("Decryption failed: ".concat(error.message), CryptorErrorReason.InvalidKey);
|
1214
1214
|
}
|
1215
1215
|
}
|
1216
1216
|
});
|