@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
|
@@ -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.
|
|
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
|
}
|