@trtc/calls-uikit-react 4.5.9 → 4.5.10

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trtc/calls-uikit-react",
3
- "version": "4.5.9",
3
+ "version": "4.5.10",
4
4
  "main": "./tuicall-uikit-react.umd.js",
5
5
  "module": "./tuicall-uikit-react.es.js",
6
6
  "types": "./types/index.d.ts",
@@ -27,7 +27,7 @@ const TUIGlobal: ITUIGlobal = TuiGlobal.getInstance();
27
27
  const TUIStore: ITUIStore = TuiStore.getInstance();
28
28
  const uiDesign = UIDesign.getInstance();
29
29
  uiDesign.setTUIStore(TUIStore);
30
- const version = '4.5.9';
30
+ const version = '4.5.10';
31
31
  import AIAssistant from './AIAssistant'; // 仅 web 支持 AI 实时字幕
32
32
  const frameWork = 'react';
33
33
  export { TUIGlobal, TUIStore, uiDesign };
@@ -152,6 +152,14 @@ export default class TUICallService {
152
152
  }
153
153
  });
154
154
  } catch (error) {
155
+ this._tuiCallEngine?.reportLog?.({
156
+ name: 'TUICallkit.initerror',
157
+ data: {
158
+ error,
159
+ }
160
+ });
161
+ this._isInitialized = false
162
+ this._tuiCallEngine = null
155
163
  console.error(`${NAME.PREFIX}init failed, error: ${error}.`);
156
164
  throw error;
157
165
  }
package/src/index.ts CHANGED
@@ -35,7 +35,7 @@ const TUICallType = {
35
35
  AUDIO_CALL: 1,
36
36
  VIDEO_CALL: 2,
37
37
  };
38
- const Version = '4.5.9'; // basic-demo 原来上报使用
38
+ const Version = '4.5.10'; // basic-demo 原来上报使用
39
39
 
40
40
  // 输出产物
41
41
  export {