@tcic/core-sdk-v1 1.0.8 → 1.1.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.
@@ -1,6 +1,5 @@
1
1
  export { TCIC_Bussiness } from './business.d';
2
2
  export { TIM_MSG } from './business.d';
3
3
  export { TCIC, MemberInfo, ClassInfoRes, MemberJoinedRes, SchoolInfoRes, Stream, TMemberActionParam, TMemberType, Member, ClassInfo, RoomInfo, CustomContent, RoleType, } from './tcic';
4
- export { create, createTimClient, createTrtcClient, createTiw } from '.';
4
+ export { create, createTimClient, createTiw } from '.';
5
5
  export { TCIC_IM, MsgData, MsgBody, MsgContent } from './mods/im';
6
- export { TCIC_TRTC, RemoteVideoConfig, TRTCSupportResult } from './mods/trtc';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { TCIC_IM } from './mods/im';
2
- import { TCIC_TRTC } from './mods/trtc';
3
2
  import { TCIC_TIW } from './mods/tiw';
4
3
  import { TCIC } from './tcic';
5
4
  import { debugFatory as Debug } from './utils';
@@ -25,7 +24,6 @@ export declare function createTimClient(target: TCIC): TCIC_IM;
25
24
  * @alpha
26
25
  * @param target - 创建TRTC实例对象,TRTC负责处理音视频相关逻辑。
27
26
  */
28
- export declare function createTrtcClient(target: TCIC): TCIC_TRTC;
29
27
  /**
30
28
  * @alpha
31
29
  * @param tcic - create a whiteboard instance. whiteboard reference: https://doc.qcloudtiw.com/web/official/tutorial-tutorial-2-1.html
@@ -8,5 +8,6 @@ export declare const enum ActionModule {
8
8
  REPORT = "REPORT",
9
9
  ERROR = "ERROR",
10
10
  Webview = "Webview",
11
- TIW = "TIW"
11
+ TIW = "TIW",
12
+ Custom = "Custom"
12
13
  }
@@ -1,4 +1,5 @@
1
1
  export declare const enum ActionName {
2
+ Report = "Report",
2
3
  Init = "Init",
3
4
  Join = "Join",
4
5
  Leave = "Leave",
package/dist/tcic.d.ts CHANGED
@@ -323,4 +323,5 @@ export declare class TCIC {
323
323
  * 获取task列表
324
324
  */
325
325
  getTasks(): Promise<unknown>;
326
+ report(data: string): void;
326
327
  }