@tencentcloud/tuiroom-engine-js 3.5.2 → 3.6.0
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.cjs.js +2 -2
- package/index.d.ts +6 -3
- package/index.esm.js +2 -2
- package/index.js +2 -2
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChatSDK } from '@tencentcloud/chat';
|
|
2
|
-
export { default as TIM, default as TencentCloudChat } from '@tencentcloud/chat';
|
|
1
|
+
import { ChatSDK } from '@tencentcloud/lite-chat';
|
|
2
|
+
export { default as TIM, default as TencentCloudChat } from '@tencentcloud/lite-chat';
|
|
3
3
|
import TRTCCloud, { TRTCScreenCaptureSourceInfo, TRTCDeviceInfo } from 'trtc-cloud-js-sdk';
|
|
4
4
|
export { Rect, default as TRTCCloud, TRTCDeviceInfo, TRTCDeviceState, TRTCDeviceType, TRTCLogLevel, TRTCMediaMixingEncParam, TRTCMediaMixingEvent, TRTCMediaSource, TRTCMediaSourceType, TRTCScreenCaptureSourceInfo, TRTCScreenCaptureSourceType, TRTCVideoEncParam, TRTCVideoFillMode, TRTCVideoMirrorType, TRTCVideoResolution, TRTCVideoResolutionMode, TRTCVideoRotation, TRTCVideoStreamType, TRTCVolumeInfo } from 'trtc-cloud-js-sdk';
|
|
5
5
|
|
|
@@ -284,6 +284,7 @@ type TUIUserInfo = {
|
|
|
284
284
|
nameCard: string;
|
|
285
285
|
avatarUrl: string;
|
|
286
286
|
userRole: TUIRole;
|
|
287
|
+
level: number;
|
|
287
288
|
hasAudioStream: boolean;
|
|
288
289
|
hasVideoStream: boolean;
|
|
289
290
|
hasScreenStream: boolean;
|
|
@@ -1835,6 +1836,7 @@ type GiftInfo = {
|
|
|
1835
1836
|
coins: number;
|
|
1836
1837
|
extensionInfo: Record<string, string>;
|
|
1837
1838
|
};
|
|
1839
|
+
type TUIGiftInfo = GiftInfo;
|
|
1838
1840
|
/**
|
|
1839
1841
|
* 礼物分类信息
|
|
1840
1842
|
*/
|
|
@@ -1845,6 +1847,7 @@ type GiftCategory = {
|
|
|
1845
1847
|
extensionInfo: Record<string, string>;
|
|
1846
1848
|
giftList: GiftInfo[];
|
|
1847
1849
|
};
|
|
1850
|
+
type TUIGiftCategory = GiftCategory;
|
|
1848
1851
|
declare enum TUILiveGiftManagerEvents {
|
|
1849
1852
|
/**
|
|
1850
1853
|
* @description 接收到礼物数量发送变化监听事件
|
|
@@ -4832,4 +4835,4 @@ declare class TUIRoomEngine {
|
|
|
4832
4835
|
}
|
|
4833
4836
|
|
|
4834
4837
|
export { TRTCRole, TUIAudioQuality, TUIAudioRoute, TUIBattleCode, TUIBattleStoppedReason, TUICaptureSourceType, TUIChangeReason, TUIConferenceCancelReason, TUIConferenceInvitationManager, TUIConferenceInvitationManagerEvents, TUIConferenceListManager, TUIConferenceListManagerEvents, TUIConferenceStatus, TUIConnectionCode, TUIDeviceStatus, TUIErrorCode, TUIInvitationCode, TUIInvitationRejectedReason, TUIInvitationStatus, TUIKickedOutOfRoomReason, TUILiveBattleManagerEvents, TUILiveConnectionManagerEvents, TUILiveGiftManagerEvents, TUILiveLayoutManager, TUILiveLayoutManagerEvents, TUILiveListManager, TUILiveListManagerEvents, TUILiveModifyFlag, TUILiveStatisticsModifyFlag, TUIMediaDevice, TUIMediaDeviceState, TUIMediaDeviceType, TUIMoveSeatPolicy, TUINetworkQuality, TUIRenderMode, TUIRequestAction, TUIRequestCallbackType, TUIResolutionMode, TUIRole, TUIRoomDeviceManager, TUIRoomDeviceMangerEvents, TUIRoomDismissedReason, TUIRoomEvents, TUIRoomType, TUISeatMode, TUIUserInfoModifyFlag, TUIVideoQuality, TUIVideoStreamType, TUIRoomEngine as default };
|
|
4835
|
-
export type { GiftCategory, GiftInfo, StartLiveOptions, TUIAutoPlayCallbackInfo, TUIBattleConfig, TUIBattleInfo, TUIBattleUser, TUIConferenceInfo, TUIConferenceModifyInfo, TUIDeviceInfo, TUIEnterRoomOptions, TUIInvitation, TUILiveConnectionUser, TUILiveInfo, TUILiveListResult, TUILiveModifyInfo, TUILiveStatisticsData, TUILoginUserInfo, TUIMessage, TUINetwork, TUIRequest, TUIRequestCallback, TUIRoomInfo, TUISeatInfo, TUISeatLayout, TUISeatLockParams, TUISeatRegion, TUIUserInfo, TUIVideoEncoderParams };
|
|
4838
|
+
export type { GiftCategory, GiftInfo, StartLiveOptions, TUIAutoPlayCallbackInfo, TUIBattleConfig, TUIBattleInfo, TUIBattleUser, TUIConferenceInfo, TUIConferenceModifyInfo, TUIDeviceInfo, TUIEnterRoomOptions, TUIGiftCategory, TUIGiftInfo, TUIInvitation, TUILiveConnectionUser, TUILiveInfo, TUILiveListResult, TUILiveModifyInfo, TUILiveStatisticsData, TUILoginUserInfo, TUIMessage, TUINetwork, TUIRequest, TUIRequestCallback, TUIRoomInfo, TUISeatInfo, TUISeatLayout, TUISeatLockParams, TUISeatRegion, TUIUserInfo, TUIVideoEncoderParams };
|