@koi-design/callkit 1.0.24-beta.3 → 1.0.24-beta.5

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.
@@ -18931,6 +18931,11 @@ var WebCall = (() => {
18931
18931
  if (SocketSendEvent.CALL === event) {
18932
18932
  msg.phoneNum = extno;
18933
18933
  msg.agentId = agentId;
18934
+ if (message?.sourceType === CallSourceType.phoneNum) {
18935
+ delete msg.workOrderId;
18936
+ } else if (message?.sourceType === CallSourceType.workOrderId) {
18937
+ delete msg.phoneNum;
18938
+ }
18934
18939
  }
18935
18940
  this.callKit.logger.debug("socket send", msg);
18936
18941
  switch (event) {