@phonghq/go-chat 1.0.21 → 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.
|
@@ -147,8 +147,12 @@ const getResponsiveObserver = useDebounce(() => {
|
|
|
147
147
|
initPage({ props: props, response: props.response });
|
|
148
148
|
let __VLS_exposed;
|
|
149
149
|
defineExpose({
|
|
150
|
-
unreadCount
|
|
151
|
-
|
|
150
|
+
get unreadCount() {
|
|
151
|
+
return unreadCount.value;
|
|
152
|
+
},
|
|
153
|
+
get callStatus() {
|
|
154
|
+
return callStatus.value;
|
|
155
|
+
},
|
|
152
156
|
getUserRemote: () => {
|
|
153
157
|
return callingRef.value?.userRemoter ?? null;
|
|
154
158
|
},
|
|
@@ -9,9 +9,9 @@ export type GoChatProps = {
|
|
|
9
9
|
isLib?: boolean;
|
|
10
10
|
};
|
|
11
11
|
export interface GoChatInstance {
|
|
12
|
-
unreadCount:
|
|
12
|
+
unreadCount: number;
|
|
13
13
|
getUserRemote: () => (IResUser | null);
|
|
14
|
-
callStatus:
|
|
14
|
+
callStatus: PlivoCallStatusType | null;
|
|
15
15
|
startCall: (() => Promise<void>) | undefined;
|
|
16
16
|
endCall: (() => void) | undefined;
|
|
17
17
|
}
|