xinyao-agent-call-sdk 1.1.64 → 1.1.65
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/@types/call.d.ts +1 -0
- package/package.json +1 -1
- package/utils/call_api.d.ts +2 -1
- package/websocket/index.d.ts +1 -1
- package/xy_call_sdk.esm.js +1 -1
- package/xy_call_sdk.js +1 -1
package/@types/call.d.ts
CHANGED
package/package.json
CHANGED
package/utils/call_api.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ interface Props {
|
|
|
23
23
|
outCallConfig: OutCallSettingType;
|
|
24
24
|
Agent: Agent;
|
|
25
25
|
hangupInit: () => void;
|
|
26
|
+
autoCheckIn: () => void;
|
|
26
27
|
saveLog: (log: LogType) => void;
|
|
27
28
|
}
|
|
28
29
|
declare class Call_Api {
|
|
@@ -32,7 +33,7 @@ declare class Call_Api {
|
|
|
32
33
|
account: string;
|
|
33
34
|
password: string;
|
|
34
35
|
};
|
|
35
|
-
constructor({ onCallBack, params, element, callInfoData, storeInfo, agentInfo, outCallConfig, Agent, hangupInit, saveLog, }: Props);
|
|
36
|
+
constructor({ onCallBack, params, element, callInfoData, storeInfo, agentInfo, outCallConfig, Agent, hangupInit, saveLog, autoCheckIn, }: Props);
|
|
36
37
|
/**
|
|
37
38
|
call_event = ({ useName }: { useName: string }) => {
|
|
38
39
|
if (!useName) {
|
package/websocket/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ declare class Websocket {
|
|
|
10
10
|
private msgTimerRef;
|
|
11
11
|
private startTime;
|
|
12
12
|
private readonly onCallBack;
|
|
13
|
-
constructor(agentInfo: agentDataType, onCallBack: OnCallBackType, callInfoData: CallInfoMsgType, storeInfo: StoreInfoType, Agent: Agent, onAnswer: () => void, URL: string, inCallConfig: InCallSettingType, onDetach: (is_sdk?: boolean) => void, hangupInit: () => void, saveLog: (log: LogType) => void, hangupJanus: () => void);
|
|
13
|
+
constructor(agentInfo: agentDataType, onCallBack: OnCallBackType, callInfoData: CallInfoMsgType, storeInfo: StoreInfoType, Agent: Agent, onAnswer: () => void, URL: string, inCallConfig: InCallSettingType, onDetach: (is_sdk?: boolean) => void, hangupInit: () => void, saveLog: (log: LogType) => void, hangupJanus: () => void, autoCheckIn: () => void);
|
|
14
14
|
createWorker(): Worker;
|
|
15
15
|
private initWebSocket;
|
|
16
16
|
private onWsMes;
|