@trtc/calls-uikit-react 4.2.1 → 4.2.2

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.
@@ -45,6 +45,5 @@ export default class ChatCombine {
45
45
  * priority: isForceUseV2API > version
46
46
  */
47
47
  private _handleTUICoreOnClick;
48
- private _useV2API;
49
48
  private _handleGroupAttributesUpdated;
50
49
  }
@@ -1,26 +0,0 @@
1
- import { NAME } from "../../const/index";
2
- import { t } from '../../locales/index';
3
-
4
- interface IStatusValidateParams {
5
- engineInstance?: boolean;
6
- }
7
-
8
- export function statusValidate (config: IStatusValidateParams) {
9
- return function (target, propertyName: string, descriptor: PropertyDescriptor) {
10
- let method = descriptor.value;
11
- descriptor.value = function (...args: Array<any>) {
12
- doValidate.call(this, config, args, propertyName);
13
- return method.apply(this, args);
14
- };
15
- return descriptor;
16
- };
17
- }
18
-
19
- function doValidate(config) {
20
- if (config?.engineInstance && !this._tuiCallEngine) {
21
- const error = `${NAME.PREFIX} ${t('TUICallKit init is not complete')}`;
22
- console.error(error);
23
- throw error;
24
- }
25
- }
26
-
@@ -1,5 +0,0 @@
1
- interface IStatusValidateParams {
2
- engineInstance?: boolean;
3
- }
4
- export declare function statusValidate(config: IStatusValidateParams): (target: any, propertyName: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
5
- export {};