File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @livekit/components-react ' : patch
3+ ---
4+
5+ Handle renamed e2ee -> encryption key in room options serializer
Original file line number Diff line number Diff line change @@ -65,13 +65,13 @@ export function warnAboutMissingStyles(el?: HTMLElement) {
6565 *
6666 * @internal
6767 * used to stringify room options to detect dependency changes for react hooks.
68- * Replaces processors and e2ee options with strings.
68+ * Replaces processors and e2ee/encryption options with strings.
6969 */
7070export function roomOptionsStringifyReplacer ( key : string , val : unknown ) {
7171 if ( key === 'processor' && val && typeof val === 'object' && 'name' in val ) {
7272 return val . name ;
7373 }
74- if ( key === 'e2ee' && val ) {
74+ if ( ( key === 'e2ee' || key === 'encryption' ) && val ) {
7575 return 'e2ee-enabled' ;
7676 }
7777 return val ;
You can’t perform that action at this time.
0 commit comments