trtc-cloud-js-sdk 2.12.2-beta.10 → 2.12.2-beta.12

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": "trtc-cloud-js-sdk",
3
- "version": "2.12.2-beta.10",
3
+ "version": "2.12.2-beta.12",
4
4
  "description": "Tencent Cloud RTC SDK for Web And Electron",
5
5
  "main": "trtc-cloud-js-sdk.js",
6
6
  "module": "trtc-cloud-js-sdk.esm.js",
@@ -19,6 +19,6 @@
19
19
  "author": "Tencent Cloud Client R&D Center",
20
20
  "license": "ISC",
21
21
  "dependencies": {
22
- "trtc-sdk-v5": "5.18.1-beta.5"
22
+ "trtc-sdk-v5": "5.18.2-beta.2"
23
23
  }
24
24
  }
@@ -955,7 +955,7 @@ declare class TRTCMediaMixingManager implements ITRTCMediaMixingManager {
955
955
  * 绘图工具类型
956
956
  * @enum {String}
957
957
  */
958
- declare type WhiteboardToolType = 'pen' | 'rect' | 'ellipse' | 'arrow' | 'eraserObject';
958
+ declare type WhiteboardToolType = 'pen' | 'rect' | 'ellipse' | 'arrow' | 'laser' | 'eraserObject';
959
959
  /**
960
960
  * 白板操作指令
961
961
  * - undo / redo / clearall:下行(远端控制)
@@ -980,6 +980,8 @@ interface WhiteboardToolConfig {
980
980
  color?: string | number;
981
981
  /** 线宽 */
982
982
  line_width?: number;
983
+ /** 仅 type === 'laser' 生效,激光轨迹淡出时间(毫秒),默认 1000,范围 [100, 10000] */
984
+ laserFadeDuration?: number;
983
985
  }
984
986
  declare const WhiteboardToolConfig: any;
985
987
  /**