@tencentcloud/tuiroom-engine-electron 1.0.0 → 1.0.1

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.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "TUIRoomEngine Electron SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/types.d.ts CHANGED
@@ -165,6 +165,17 @@ export declare enum TUIRoomEvents {
165
165
  * })
166
166
  */
167
167
  onError = "onError",
168
+ /**
169
+ * @description 当前用户被踢下麦事件
170
+ * @default 'onKickedOffSeat'
171
+ * @event TUIRoomEvents#onKickedOffSeat
172
+ * @example
173
+ * const roomEngine = new TUIRoomEngine();
174
+ * roomEngine.on(TUIRoomEvents.onKickedOffSeat, ({ userId }) => {
175
+ * console.log('roomEngine.onKickedOffSeat', userId);
176
+ * });
177
+ */
178
+ onKickedOffSeat = "onKickedOffSeat",
168
179
  /**
169
180
  * @description 踢出房间事件
170
181
  * @default 'onKickedOutOfRoom'