@phonghq/go-chat 1.0.20 → 1.0.22

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.
@@ -4,3 +4,4 @@ export * from '../types/chat/global';
4
4
  export * from '../types/chat/auth';
5
5
  export * from '../types/chat/user';
6
6
  export * from '../types/chat/promise';
7
+ export * from '../types/chat/call';
@@ -1,4 +1,4 @@
1
- import { type PlivoCallStatusType } from '../types/call';
1
+ import { type PlivoCallStatusType } from '../types/chat/call';
2
2
  export declare function usePlivo(callback: (status: PlivoCallStatusType, data?: any) => void): {
3
3
  plivoLogin: (token: string) => Promise<void>;
4
4
  plivoCallAnswer: () => Promise<void>;
@@ -65628,8 +65628,12 @@ const b$ = {
65628
65628
  (((C = a.value) == null ? void 0 : C.offsetWidth) ?? 0) >= 640 ? p.value != "tablet" && (p.value = "tablet") : p.value != "mobile" && (tn.value == nt.HOME && (tn.value = nt.CHAT_LIST), p.value = "mobile");
65629
65629
  }, 50);
65630
65630
  return u({ props: r, response: r.response }), n({
65631
- unreadCount: _,
65632
- callStatus: f,
65631
+ get unreadCount() {
65632
+ return _.value;
65633
+ },
65634
+ get callStatus() {
65635
+ return f.value;
65636
+ },
65633
65637
  getUserRemote: () => {
65634
65638
  var M;
65635
65639
  return ((M = v.value) == null ? void 0 : M.userRemoter) ?? null;
@@ -65772,5 +65776,6 @@ const b$ = {
65772
65776
  }
65773
65777
  });
65774
65778
  export {
65779
+ vt as PLIVO_CALL_STATUS,
65775
65780
  NK as default
65776
65781
  };