@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.js CHANGED
@@ -724,7 +724,7 @@ var Call = class {
724
724
  // package.json
725
725
  var package_default = {
726
726
  name: "@koi-design/callkit",
727
- version: "2.3.0-beta.6",
727
+ version: "2.3.0-beta.7",
728
728
  description: "callkit",
729
729
  author: "koi",
730
730
  license: "ISC",
@@ -17045,7 +17045,7 @@ var Socket = class {
17045
17045
  return;
17046
17046
  }
17047
17047
  const { userInfo, version } = this.callKit.config.getConfig();
17048
- const { sessionId, extno, agentId, phoneType } = userInfo;
17048
+ const { sessionId, extno, agentId } = userInfo;
17049
17049
  if (!sessionId) {
17050
17050
  this.callKit.logger.error("sessionId is empty", {
17051
17051
  caller: "Socket.send",
@@ -17065,7 +17065,6 @@ var Socket = class {
17065
17065
  if (SocketSendEvent.CALL === event) {
17066
17066
  msg.phoneNum = extno;
17067
17067
  msg.agentId = agentId;
17068
- msg.phoneType = phoneType;
17069
17068
  if (message?.sourceType === CallSourceType.phoneNum) {
17070
17069
  delete msg.workOrderId;
17071
17070
  } else if (message?.sourceType === CallSourceType.workOrderId) {