trtc-cloud-js-sdk 2.12.2-beta.5 → 2.12.2-beta.6

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.5",
3
+ "version": "2.12.2-beta.6",
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",
@@ -1140,17 +1140,21 @@ declare class TRTCWhiteboardManager implements ITRTCWhiteboardManager {
1140
1140
  */
1141
1141
  private _applyRemoteCommand;
1142
1142
  /**
1143
- * native tool 配置转换为 Web 插件参数
1143
+ * native tool 配置 -> Web 插件 tool 分组对象({ name, color, lineWidth })
1144
1144
  */
1145
- private _applyToolToOptions;
1145
+ private _buildToolGroup;
1146
1146
  /**
1147
- * native interactive(boolean) -> Web 插件 mode('interactive' | 'viewing')
1147
+ * native whiteboard.interactive -> Web 插件 config 分组对象({ interactive })
1148
1148
  */
1149
- private _resolveMode;
1149
+ private _buildConfigGroup;
1150
1150
  /**
1151
- * 操作指令 -> Web 插件 updatePlugin 参数
1151
+ * native canvas -> Web 插件 canvasInfo 分组对象({ width, height })
1152
1152
  */
1153
- private _opToUpdateOptions;
1153
+ private _buildCanvasInfo;
1154
+ /**
1155
+ * native op(undo|redo|clearall|clearself) -> Web 插件 operation(undo|redo|clear)
1156
+ */
1157
+ private _opToOperation;
1154
1158
  /**
1155
1159
  * 颜色归一化:支持 '#RRGGBB' / '#AARRGGBB' / 0xAARRGGBB 整型 -> CSS 颜色字符串
1156
1160
  */