From 3f27d8fe44bc14160d60eb9016fd85b0df0ca218 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Tue, 7 Nov 2023 12:01:00 +0200 Subject: [PATCH] Deprecate showE2EE options on PreJoin --- examples/nextjs/pages/prejoin.tsx | 2 +- packages/react/src/prefabs/PreJoin.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/nextjs/pages/prejoin.tsx b/examples/nextjs/pages/prejoin.tsx index 2e3243dee..6f76d4dba 100644 --- a/examples/nextjs/pages/prejoin.tsx +++ b/examples/nextjs/pages/prejoin.tsx @@ -8,7 +8,7 @@ const PreJoinExample: NextPage = () => { return (
- +
); }; diff --git a/packages/react/src/prefabs/PreJoin.tsx b/packages/react/src/prefabs/PreJoin.tsx index 87faebcb0..cdf8e369a 100644 --- a/packages/react/src/prefabs/PreJoin.tsx +++ b/packages/react/src/prefabs/PreJoin.tsx @@ -21,7 +21,7 @@ import { ParticipantPlaceholder } from '../assets/images'; import { useMediaDevices, usePersistentUserChoices } from '../hooks'; /** - * @deprecated Use `UserChoices` from `@livekit/components-core` instead. + * @deprecated Use `UserChoices` instead. * @public */ export type LocalUserChoices = { @@ -65,6 +65,7 @@ export interface PreJoinProps micLabel?: string; camLabel?: string; userLabel?: string; + /** @deprecated E2EE options will be removed from PreJoin in a future version **/ showE2EEOptions?: boolean; /**