@tencentcloud/tuiroom-engine-electron 1.4.2 → 1.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencentcloud/tuiroom-engine-electron",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "TUIRoomEngine Electron SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "rtc-detect": "^0.0.5",
22
22
  "tim-js-sdk": "^2.27.0",
23
- "trtc-electron-sdk": "11.3.502-beta.0",
23
+ "trtc-electron-sdk": "11.3.502-beta.2",
24
24
  "tsignaling": "^1.0.6"
25
25
  }
26
26
  }
package/types.d.ts CHANGED
@@ -46,7 +46,7 @@ export declare enum TUIErrorCode {
46
46
  ERR_SEND_MESSAGE_DISABLED_FOR_ALL = -2380,
47
47
  ERR_SEND_MESSAGE_DISABLED_FOR_CURRENT = -2381
48
48
  }
49
- export type TUIRoomInfo = {
49
+ export declare type TUIRoomInfo = {
50
50
  roomId: string;
51
51
  roomName: string;
52
52
  roomType: TUIRoomType;
@@ -59,13 +59,13 @@ export type TUIRoomInfo = {
59
59
  createTime: number;
60
60
  roomMemberCount: number;
61
61
  };
62
- export type TUILoginUserInfo = {
62
+ export declare type TUILoginUserInfo = {
63
63
  userId: string;
64
64
  userName: string;
65
65
  avatarUrl: string;
66
66
  customInfo: Record<string, any>;
67
67
  };
68
- export type TUISeatLockParams = {
68
+ export declare type TUISeatLockParams = {
69
69
  lockSeat: boolean;
70
70
  lockVideo: boolean;
71
71
  lockAudio: boolean;
@@ -85,7 +85,7 @@ export declare enum TUIRole {
85
85
  * @property {boolean} userName 用户名称
86
86
  * @property {boolean} avatarUrl 用户头像地址
87
87
  */
88
- export type TUIMessage = {
88
+ export declare type TUIMessage = {
89
89
  messageId: string;
90
90
  message: string;
91
91
  timestamp: number;
@@ -127,7 +127,7 @@ export declare enum TUINetworkQuality {
127
127
  * @property {TUIRole} downLoss 下行丢包率,单位 (%) 该数值越小越好,目前仅本地用户有该信息
128
128
  * @property {Number} delay 网络延迟,单位 ms,目前仅本地用户有该信息
129
129
  */
130
- export type TUINetwork = {
130
+ export declare type TUINetwork = {
131
131
  userId: string;
132
132
  quality: TUINetworkQuality;
133
133
  upLoss: number;
@@ -182,7 +182,7 @@ export declare enum TRTCRole {
182
182
  kAnchor = 0,
183
183
  kAudience = 1
184
184
  }
185
- export type TUIUserInfo = {
185
+ export declare type TUIUserInfo = {
186
186
  userId: string;
187
187
  userName: string;
188
188
  avatarUrl: string;
@@ -192,21 +192,21 @@ export type TUIUserInfo = {
192
192
  hasScreenStream: boolean;
193
193
  roomCustomInfo: Record<string, any>;
194
194
  };
195
- export type TUISeatInfo = {
195
+ export declare type TUISeatInfo = {
196
196
  index: number;
197
197
  userId: string;
198
198
  locked: boolean;
199
199
  isVideoLocked: boolean;
200
200
  isAudioLocked: boolean;
201
201
  };
202
- export type TUIRequest = {
202
+ export declare type TUIRequest = {
203
203
  requestAction: TUIRequestAction;
204
204
  timestamp: number;
205
205
  requestId: string;
206
206
  userId: string;
207
207
  content: string;
208
208
  };
209
- export type TUIRequestCallback = {
209
+ export declare type TUIRequestCallback = {
210
210
  requestCallbackType: TUIRequestCallbackType;
211
211
  requestId: string;
212
212
  userId: string;