From b1b4bf0f7c030656f1a203c57c060abd66202b72 Mon Sep 17 00:00:00 2001 From: James Dooley Date: Tue, 6 Feb 2024 18:20:35 +0900 Subject: [PATCH 1/2] Add peopleToggle to types and examples --- apps/embed-element-app/src/App.tsx | 1 + packages/browser-sdk/src/lib/embed/index.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/embed-element-app/src/App.tsx b/apps/embed-element-app/src/App.tsx index 4ba0da8d4..d250eec4f 100644 --- a/apps/embed-element-app/src/App.tsx +++ b/apps/embed-element-app/src/App.tsx @@ -27,6 +27,7 @@ const events = [ "participant_join", "participant_leave", "participantupdate", + "people_toggle", "pip_toggle", "screenshare_toggle", ]; diff --git a/packages/browser-sdk/src/lib/embed/index.ts b/packages/browser-sdk/src/lib/embed/index.ts index 5f76ef04e..1e733e7c8 100644 --- a/packages/browser-sdk/src/lib/embed/index.ts +++ b/packages/browser-sdk/src/lib/embed/index.ts @@ -50,6 +50,7 @@ interface WherebyEmbedElementEventMap { microphone_toggle: CustomEvent<{ enabled: boolean }>; camera_toggle: CustomEvent<{ enabled: boolean }>; chat_toggle: CustomEvent<{ open: boolean }>; + people_toggle: CustomEvent<{ open: boolean }>; pip_toggle: CustomEvent<{ open: boolean }>; deny_device_permission: CustomEvent<{ denied: boolean }>; screenshare_toggle: CustomEvent<{ enabled: boolean }>; From 4eb75f8403840a3067fd8841f47e5ab225fc5d6d Mon Sep 17 00:00:00 2001 From: James Dooley Date: Mon, 19 Feb 2024 14:55:17 +0800 Subject: [PATCH 2/2] browser-sdk: changeset --- .changeset/brave-eagles-rest.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/brave-eagles-rest.md diff --git a/.changeset/brave-eagles-rest.md b/.changeset/brave-eagles-rest.md new file mode 100644 index 000000000..9240c6a0a --- /dev/null +++ b/.changeset/brave-eagles-rest.md @@ -0,0 +1,5 @@ +--- +"@whereby.com/browser-sdk": patch +--- + +Adds people_toggle to example docs