@tencentcloud/tuiroom-engine-js 2.2.2 → 2.2.3

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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import TIM from '@tencentcloud/chat';
1
+ import { ChatSDK } from '@tencentcloud/chat';
2
2
  export { default as TIM, default as TencentCloudChat } from '@tencentcloud/chat';
3
3
  import { TRTCScreenCaptureSourceInfo, TRTCDeviceInfo } from 'trtc-cloud-js-sdk';
4
4
  export { Rect, default as TRTCCloud, TRTCDeviceInfo, TRTCDeviceState, TRTCDeviceType, TRTCLogLevel, TRTCScreenCaptureSourceInfo, TRTCScreenCaptureSourceType, TRTCVideoEncParam, TRTCVideoFillMode, TRTCVideoMirrorType, TRTCVideoResolution, TRTCVideoResolutionMode, TRTCVideoRotation, TRTCVideoStreamType, TRTCVolumeInfo } from 'trtc-cloud-js-sdk';
@@ -983,7 +983,7 @@ declare class TUIRoomEngine {
983
983
  sdkAppId: number;
984
984
  userId: string;
985
985
  userSig: string;
986
- tim?: TIM;
986
+ tim?: ChatSDK;
987
987
  }): Promise<void>;
988
988
  /**
989
989
  * 设置当前用户基本信息(用户名、用户头像)
@@ -2251,7 +2251,7 @@ declare class TUIRoomEngine {
2251
2251
  * const roomEngine = new TUIRoomEngine();
2252
2252
  * const trtcCloud = roomEngine.getTIM();
2253
2253
  */
2254
- getTIM(): any;
2254
+ getTIM(): ChatSDK;
2255
2255
  destroy(): void;
2256
2256
  /**
2257
2257
  * 实验性接口