@100mslive/roomkit-react 0.3.14-alpha.5 → 0.3.14-alpha.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,5 @@
1
1
  import React, { MutableRefObject, useEffect, useRef } from 'react';
2
- import {
3
- HMSDiagnosticsInterface,
4
- HMSStatsStoreWrapper,
5
- HMSStoreWrapper,
6
- IHMSNotifications,
7
- } from '@100mslive/hms-video-store';
2
+ import { HMSStatsStoreWrapper, HMSStoreWrapper, IHMSNotifications } from '@100mslive/hms-video-store';
8
3
  import { Layout, Logo, Screens, Theme, Typography } from '@100mslive/types-prebuilt';
9
4
  import { match } from 'ts-pattern';
10
5
  import {
@@ -85,7 +80,6 @@ export type HMSPrebuiltRefType = {
85
80
  hmsStore: HMSStoreWrapper;
86
81
  hmsStats: HMSStatsStoreWrapper;
87
82
  hmsNotifications: IHMSNotifications;
88
- hmsDiagnostics: HMSDiagnosticsInterface;
89
83
  };
90
84
 
91
85
  export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps>(
@@ -115,7 +109,6 @@ export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps
115
109
  const hmsActions = hms.getActions();
116
110
  const hmsNotifications = hms.getNotifications();
117
111
  const hmsStats = hms.getStats();
118
- const hmsDiagnostics = hms.getDiagnosticsSDK();
119
112
  hms.triggerOnSubscribe();
120
113
 
121
114
  reactiveStore.current = {
@@ -123,7 +116,6 @@ export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps
123
116
  hmsStats,
124
117
  hmsStore,
125
118
  hmsNotifications,
126
- hmsDiagnostics,
127
119
  };
128
120
  }, []);
129
121