@100mslive/roomkit-react 0.3.19-alpha.12 → 0.3.19-alpha.14

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.
@@ -13,8 +13,8 @@ export class VBPlugin {
13
13
  if (effectsSDKKey) {
14
14
  try {
15
15
  // eslint-disable-next-line
16
- const { HMSEffectsPlugin } = await import('@100mslive/hms-virtual-background/hmseffectsplugin');
17
- this.effectsPlugin = new HMSEffectsPlugin(effectsSDKKey, onInit);
16
+ const effects = await import('@100mslive/hms-virtual-background/hmseffectsplugin');
17
+ this.effectsPlugin = new effects.HMSEffectsPlugin(effectsSDKKey, onInit);
18
18
  } catch (error) {
19
19
  console.error('Failed to initialise HMSEffectsPlugin:', error, 'Using HMSVBPlugin');
20
20
  this.hmsPlugin = new HMSVBPlugin(HMSVirtualBackgroundTypes.NONE, HMSVirtualBackgroundTypes.NONE);