@koi-design/callkit 2.3.0-beta.6 → 2.3.0-beta.7
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/dist/index.global.js +2 -3
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.global.js
CHANGED
|
@@ -3889,7 +3889,7 @@ var WebCall = (() => {
|
|
|
3889
3889
|
// package.json
|
|
3890
3890
|
var package_default = {
|
|
3891
3891
|
name: "@koi-design/callkit",
|
|
3892
|
-
version: "2.3.0-beta.
|
|
3892
|
+
version: "2.3.0-beta.7",
|
|
3893
3893
|
description: "callkit",
|
|
3894
3894
|
author: "koi",
|
|
3895
3895
|
license: "ISC",
|
|
@@ -20210,7 +20210,7 @@ ${log}` : log;
|
|
|
20210
20210
|
return;
|
|
20211
20211
|
}
|
|
20212
20212
|
const { userInfo, version } = this.callKit.config.getConfig();
|
|
20213
|
-
const { sessionId, extno, agentId
|
|
20213
|
+
const { sessionId, extno, agentId } = userInfo;
|
|
20214
20214
|
if (!sessionId) {
|
|
20215
20215
|
this.callKit.logger.error("sessionId is empty", {
|
|
20216
20216
|
caller: "Socket.send",
|
|
@@ -20230,7 +20230,6 @@ ${log}` : log;
|
|
|
20230
20230
|
if (SocketSendEvent.CALL === event) {
|
|
20231
20231
|
msg.phoneNum = extno;
|
|
20232
20232
|
msg.agentId = agentId;
|
|
20233
|
-
msg.phoneType = phoneType;
|
|
20234
20233
|
if (message?.sourceType === CallSourceType.phoneNum) {
|
|
20235
20234
|
delete msg.workOrderId;
|
|
20236
20235
|
} else if (message?.sourceType === CallSourceType.workOrderId) {
|