@aochuang/client-sdk 1.0.378-wework → 1.0.379-wework

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aochuang/client-sdk",
3
- "version": "1.0.378-wework",
3
+ "version": "1.0.379-wework",
4
4
  "description": "",
5
5
  "files": [
6
6
  "common",
@@ -318,6 +318,7 @@ class ClientChat {
318
318
  // 推送目标:该记录 accountId 对应的客服端。若该请求未分配客服(设备无保管者)则不推送,前端不能依赖推送判断「没有新的好友请求」
319
319
  // 新增和状态流转都会影响待处理数量,刷新对应账号的好友请求数
320
320
  this.refreshGreetingUnreadMsgCountByPush(data)
321
+ this.event.emit('contactRequestChanged', { data })
321
322
  },
322
323
  onCmdQwAcceptContactRequest: ({ data } = {}) => {
323
324
  // CmdQwAcceptContactRequest 请求字段不变(qwAccountId、remoteId),错误提示文案不变。但点击通过后状态立即变为 1(请求中),需等设备回执:超时→2、失败→3、成功→4。原来把「通过成功」判断为 2 的逻辑必须改成 4