ysyt-agent-sdk 1.1.49 → 2.0.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.
@@ -18,12 +18,11 @@ declare class YSYTAgentSdk {
18
18
  initWebRtc: () => Promise<void>;
19
19
  /**
20
20
  * 初始化SDK
21
- * @param actionNodeParams
22
21
  * @param url
23
22
  * @param enableBrowserAlert 是否开启浏览器通知
24
23
  * @param logBuiltinEnabled 是否开启日志 建立长连接晚
25
24
  */
26
- init({ actionNodeParams, enableBrowserAlert, logBuiltinEnabled, browserAlertTime }: InitInfoType): Promise<void>;
25
+ init({ enableBrowserAlert, logBuiltinEnabled, browserAlertTime }: InitInfoType): Promise<void>;
27
26
  on<K extends keyof Events>(event: K, handler: (data: Events[K]) => void): this;
28
27
  off<K extends keyof Events>(event: K, listener: (msg: Events[K]) => void): void;
29
28
  offAll(): void;
@@ -48,10 +48,6 @@ export interface InitInfoType {
48
48
  enableBrowserAlert?: boolean;
49
49
  browserAlertTime?: number;
50
50
  logBuiltinEnabled?: boolean;
51
- actionNodeParams?: {
52
- viewHtmlElement?: HTMLElement;
53
- rttHTML?: HTMLElement;
54
- };
55
51
  }
56
52
  export interface StyleType {
57
53
  statusColor: {