@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.
- package/dist/chat/main.d.ts +1 -0
- package/dist/composable/usePlivo.d.ts +1 -1
- package/dist/go-chat.es.js +7 -2
- package/dist/go-chat.umd.js +13 -13
- package/dist/test/chat/App.vue.js +6 -2
- package/dist/test/chat/main.js +1 -0
- package/dist/test/components/chat/call/Calling.vue.js +1 -1
- package/dist/test/composable/usePlivo.js +1 -1
- package/dist/test/types/{call.js → chat/call.js} +0 -1
- package/dist/types/chat/global.d.ts +3 -3
- package/package.json +1 -1
- /package/dist/types/{call.d.ts → chat/call.d.ts} +0 -0
package/dist/chat/main.d.ts
CHANGED
|
@@ -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>;
|
package/dist/go-chat.es.js
CHANGED
|
@@ -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
|
-
|
|
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
|
};
|