@digitalsamba/embedded-sdk 0.0.38 → 0.0.40

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.
@@ -117,6 +117,12 @@
117
117
  <input type="checkbox" id="initial-settings-vb" onchange="toggleVirtualBackground(this.checked)" />
118
118
  </label>
119
119
  </div>
120
+ <div>
121
+ <label class="checkbox-label" for="initial-settings-vb">
122
+ <span>Require confirmation to remove participants</span>
123
+ <input type="checkbox" checked id="initial-settings-kick-confirmation" onchange="initialSettings.requireRemoveUserConfirmation = this.checked" />
124
+ </label>
125
+ </div>
120
126
  <div class="vb-options" style ="display: none">
121
127
  <div style="display: flex; align-items: center; justify-content: flex-start">
122
128
  <label style="margin-right: 8px;" for="vb-type">Virtual background type</label>
@@ -215,6 +221,7 @@
215
221
  layoutMode: "auto",
216
222
  virtualBackground: undefined,
217
223
  appLanguage: undefined,
224
+ requireRemoveUserConfirmation: true,
218
225
  mediaDevices: {}
219
226
  };
220
227
 
@@ -210,7 +210,6 @@
210
210
  }
211
211
 
212
212
  function toggleBrandingOption(option) {
213
- console.warn(option, brandingConfig[option]);
214
213
  const controlParent = document.querySelector('.js--'+option+'-parent');
215
214
 
216
215
  if(brandingConfig[option]) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@digitalsamba/embedded-sdk",
3
3
  "packageManager": "yarn@3.1.0",
4
- "version": "0.0.38",
4
+ "version": "0.0.40",
5
5
  "license": "BSD-2-Clause",
6
6
  "scripts": {
7
7
  "build": "npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types && npm run build:update-demo",