@cometchat/calls-sdk-react-native 5.0.0-beta.11 → 5.0.0-beta.13
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/index.js +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1270,7 +1270,7 @@ function sendInitialConfig() {
|
|
|
1270
1270
|
user_agent: useBaseStore.getState().userAgent,
|
|
1271
1271
|
meeting_id: conference.room?.xmpp?.getJid?.() ?? config.sessionId,
|
|
1272
1272
|
mode: config.layout,
|
|
1273
|
-
commit_id: "
|
|
1273
|
+
commit_id: "f91fdef5"
|
|
1274
1274
|
};
|
|
1275
1275
|
conference.room.addOrReplaceInPresence(CONFERENCE_COMMANDS.initialConfig, { attributes });
|
|
1276
1276
|
}
|
|
@@ -3643,6 +3643,9 @@ eventBus.subscribe(INTERNAL_EVENTS.lifecycle.componentDidMount, () => {
|
|
|
3643
3643
|
});
|
|
3644
3644
|
});
|
|
3645
3645
|
useBaseStore.subscribe((state) => state.appState, (appState) => {
|
|
3646
|
+
if (!getIsConferenceJoined()) {
|
|
3647
|
+
return;
|
|
3648
|
+
}
|
|
3646
3649
|
const sessionType = useConfigStore.getState().sessionType;
|
|
3647
3650
|
if (sessionType !== SESSION_TYPE.VIDEO) {
|
|
3648
3651
|
return;
|
package/dist/index.mjs
CHANGED
|
@@ -1238,7 +1238,7 @@ function sendInitialConfig() {
|
|
|
1238
1238
|
user_agent: useBaseStore.getState().userAgent,
|
|
1239
1239
|
meeting_id: conference.room?.xmpp?.getJid?.() ?? config.sessionId,
|
|
1240
1240
|
mode: config.layout,
|
|
1241
|
-
commit_id: "
|
|
1241
|
+
commit_id: "f91fdef5"
|
|
1242
1242
|
};
|
|
1243
1243
|
conference.room.addOrReplaceInPresence(CONFERENCE_COMMANDS.initialConfig, { attributes });
|
|
1244
1244
|
}
|
|
@@ -3611,6 +3611,9 @@ eventBus.subscribe(INTERNAL_EVENTS.lifecycle.componentDidMount, () => {
|
|
|
3611
3611
|
});
|
|
3612
3612
|
});
|
|
3613
3613
|
useBaseStore.subscribe((state) => state.appState, (appState) => {
|
|
3614
|
+
if (!getIsConferenceJoined()) {
|
|
3615
|
+
return;
|
|
3616
|
+
}
|
|
3614
3617
|
const sessionType = useConfigStore.getState().sessionType;
|
|
3615
3618
|
if (sessionType !== SESSION_TYPE.VIDEO) {
|
|
3616
3619
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cometchat/calls-sdk-react-native",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.13",
|
|
4
4
|
"description": "CometChat Calls SDK for React Native provides voice and video calling capabilities for React Native applications.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"promise.allsettled": "^1.0.7",
|
|
22
22
|
"text-encoding": "^0.7.0",
|
|
23
23
|
"valibot": "^1.2.0",
|
|
24
|
-
"@cometchat/calls-lib-webrtc": "https://dl.cloudsmith.io/public/cometchat/
|
|
24
|
+
"@cometchat/calls-lib-webrtc": "https://dl.cloudsmith.io/public/cometchat/cometchat/raw/files/cometchat-calls-lib-webrtc-346a46ff.tgz",
|
|
25
25
|
"zustand": "^5.0.4"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|