@koi-design/callkit 2.1.3-beta.2 → 2.1.4-beta.2

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.
@@ -3699,7 +3699,8 @@ var WebCall = (() => {
3699
3699
  */
3700
3700
  ERROR: "ERROR",
3701
3701
  SESSION_ERROR: "SESSION_ERROR",
3702
- WAITING_QUEUE: "WAITING_QUEUE"
3702
+ WAITING_QUEUE: "WAITING_QUEUE",
3703
+ CUSTOMER_MATCH_BLACK_PHONE: "CUSTOMER_MATCH_BLACK_PHONE"
3703
3704
  };
3704
3705
  var EncryptionMethod = {
3705
3706
  NONE: "NONE",
@@ -3879,7 +3880,7 @@ var WebCall = (() => {
3879
3880
  // package.json
3880
3881
  var package_default = {
3881
3882
  name: "@koi-design/callkit",
3882
- version: "2.1.3-beta.2",
3883
+ version: "2.1.4-beta.2",
3883
3884
  description: "callkit",
3884
3885
  author: "koi",
3885
3886
  license: "ISC",
@@ -20118,6 +20119,9 @@ ${log}` : log;
20118
20119
  }
20119
20120
  });
20120
20121
  }
20122
+ if (data.event === SocketReceiveEvent.CUSTOMER_MATCH_BLACK_PHONE) {
20123
+ this.callKit.connect.setConnectStatus(CallStatus.init);
20124
+ }
20121
20125
  if (data.event === SocketReceiveEvent.AGENT_NO_ANSWER) {
20122
20126
  if (callUuid) {
20123
20127
  this.callKit.connect.socketTriggerHangup(callUuid);