@whereby.com/core 1.9.4 → 1.9.5
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.cjs +2 -21
- package/dist/index.mjs +2 -21
- package/dist/legacy-esm.js +2 -21
- package/dist/redux/index.cjs +2 -21
- package/dist/redux/index.js +2 -21
- package/dist/redux/index.mjs +2 -21
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1158,7 +1158,7 @@ const createReactor = (selectors, callback) => {
|
|
|
1158
1158
|
});
|
|
1159
1159
|
};
|
|
1160
1160
|
|
|
1161
|
-
const coreVersion = "1.9.
|
|
1161
|
+
const coreVersion = "1.9.5";
|
|
1162
1162
|
|
|
1163
1163
|
const initialState$1 = {
|
|
1164
1164
|
displayName: null,
|
|
@@ -2880,15 +2880,6 @@ startAppListening({
|
|
|
2880
2880
|
},
|
|
2881
2881
|
});
|
|
2882
2882
|
|
|
2883
|
-
function isDeferrable({ client, breakoutCurrentId }) {
|
|
2884
|
-
if (!client)
|
|
2885
|
-
return false;
|
|
2886
|
-
if (!breakoutCurrentId && client.breakoutGroup)
|
|
2887
|
-
return true;
|
|
2888
|
-
if (!client.isAudioEnabled && !client.isVideoEnabled)
|
|
2889
|
-
return true;
|
|
2890
|
-
return false;
|
|
2891
|
-
}
|
|
2892
2883
|
const createWebRtcEmitter = (dispatch) => {
|
|
2893
2884
|
return {
|
|
2894
2885
|
emit: (eventName, data) => {
|
|
@@ -2976,22 +2967,12 @@ const doConnectRtc = createAppThunk(() => (dispatch, getState) => {
|
|
|
2976
2967
|
const state = getState();
|
|
2977
2968
|
const socket = selectSignalConnectionRaw(state).socket;
|
|
2978
2969
|
const dispatcher = selectRtcConnectionRaw(state).rtcManagerDispatcher;
|
|
2979
|
-
const isCameraEnabled = selectIsCameraEnabled(state);
|
|
2980
|
-
const isMicrophoneEnabled = selectIsMicrophoneEnabled(state);
|
|
2981
2970
|
const isNodeSdk = selectAppIsNodeSdk(state);
|
|
2982
2971
|
if (dispatcher || !socket) {
|
|
2983
2972
|
return;
|
|
2984
2973
|
}
|
|
2985
2974
|
const webrtcProvider = {
|
|
2986
|
-
|
|
2987
|
-
audio: isMicrophoneEnabled,
|
|
2988
|
-
video: isCameraEnabled,
|
|
2989
|
-
}),
|
|
2990
|
-
deferrable(clientId) {
|
|
2991
|
-
const client = selectRemoteParticipants(getState()).find((p) => p.id === clientId);
|
|
2992
|
-
const breakoutCurrentId = selectBreakoutCurrentId(getState()) || "";
|
|
2993
|
-
return isDeferrable({ client, breakoutCurrentId });
|
|
2994
|
-
},
|
|
2975
|
+
getMediaOptions: () => selectLocalMediaConstraintsOptions(getState()),
|
|
2995
2976
|
};
|
|
2996
2977
|
const rtcManagerDispatcher = new media.RtcManagerDispatcher({
|
|
2997
2978
|
emitter: createWebRtcEmitter(dispatch),
|
package/dist/index.mjs
CHANGED
|
@@ -1156,7 +1156,7 @@ const createReactor = (selectors, callback) => {
|
|
|
1156
1156
|
});
|
|
1157
1157
|
};
|
|
1158
1158
|
|
|
1159
|
-
const coreVersion = "1.9.
|
|
1159
|
+
const coreVersion = "1.9.5";
|
|
1160
1160
|
|
|
1161
1161
|
const initialState$1 = {
|
|
1162
1162
|
displayName: null,
|
|
@@ -2878,15 +2878,6 @@ startAppListening({
|
|
|
2878
2878
|
},
|
|
2879
2879
|
});
|
|
2880
2880
|
|
|
2881
|
-
function isDeferrable({ client, breakoutCurrentId }) {
|
|
2882
|
-
if (!client)
|
|
2883
|
-
return false;
|
|
2884
|
-
if (!breakoutCurrentId && client.breakoutGroup)
|
|
2885
|
-
return true;
|
|
2886
|
-
if (!client.isAudioEnabled && !client.isVideoEnabled)
|
|
2887
|
-
return true;
|
|
2888
|
-
return false;
|
|
2889
|
-
}
|
|
2890
2881
|
const createWebRtcEmitter = (dispatch) => {
|
|
2891
2882
|
return {
|
|
2892
2883
|
emit: (eventName, data) => {
|
|
@@ -2974,22 +2965,12 @@ const doConnectRtc = createAppThunk(() => (dispatch, getState) => {
|
|
|
2974
2965
|
const state = getState();
|
|
2975
2966
|
const socket = selectSignalConnectionRaw(state).socket;
|
|
2976
2967
|
const dispatcher = selectRtcConnectionRaw(state).rtcManagerDispatcher;
|
|
2977
|
-
const isCameraEnabled = selectIsCameraEnabled(state);
|
|
2978
|
-
const isMicrophoneEnabled = selectIsMicrophoneEnabled(state);
|
|
2979
2968
|
const isNodeSdk = selectAppIsNodeSdk(state);
|
|
2980
2969
|
if (dispatcher || !socket) {
|
|
2981
2970
|
return;
|
|
2982
2971
|
}
|
|
2983
2972
|
const webrtcProvider = {
|
|
2984
|
-
|
|
2985
|
-
audio: isMicrophoneEnabled,
|
|
2986
|
-
video: isCameraEnabled,
|
|
2987
|
-
}),
|
|
2988
|
-
deferrable(clientId) {
|
|
2989
|
-
const client = selectRemoteParticipants(getState()).find((p) => p.id === clientId);
|
|
2990
|
-
const breakoutCurrentId = selectBreakoutCurrentId(getState()) || "";
|
|
2991
|
-
return isDeferrable({ client, breakoutCurrentId });
|
|
2992
|
-
},
|
|
2973
|
+
getMediaOptions: () => selectLocalMediaConstraintsOptions(getState()),
|
|
2993
2974
|
};
|
|
2994
2975
|
const rtcManagerDispatcher = new RtcManagerDispatcher({
|
|
2995
2976
|
emitter: createWebRtcEmitter(dispatch),
|
package/dist/legacy-esm.js
CHANGED
|
@@ -1156,7 +1156,7 @@ const createReactor = (selectors, callback) => {
|
|
|
1156
1156
|
});
|
|
1157
1157
|
};
|
|
1158
1158
|
|
|
1159
|
-
const coreVersion = "1.9.
|
|
1159
|
+
const coreVersion = "1.9.5";
|
|
1160
1160
|
|
|
1161
1161
|
const initialState$1 = {
|
|
1162
1162
|
displayName: null,
|
|
@@ -2878,15 +2878,6 @@ startAppListening({
|
|
|
2878
2878
|
},
|
|
2879
2879
|
});
|
|
2880
2880
|
|
|
2881
|
-
function isDeferrable({ client, breakoutCurrentId }) {
|
|
2882
|
-
if (!client)
|
|
2883
|
-
return false;
|
|
2884
|
-
if (!breakoutCurrentId && client.breakoutGroup)
|
|
2885
|
-
return true;
|
|
2886
|
-
if (!client.isAudioEnabled && !client.isVideoEnabled)
|
|
2887
|
-
return true;
|
|
2888
|
-
return false;
|
|
2889
|
-
}
|
|
2890
2881
|
const createWebRtcEmitter = (dispatch) => {
|
|
2891
2882
|
return {
|
|
2892
2883
|
emit: (eventName, data) => {
|
|
@@ -2974,22 +2965,12 @@ const doConnectRtc = createAppThunk(() => (dispatch, getState) => {
|
|
|
2974
2965
|
const state = getState();
|
|
2975
2966
|
const socket = selectSignalConnectionRaw(state).socket;
|
|
2976
2967
|
const dispatcher = selectRtcConnectionRaw(state).rtcManagerDispatcher;
|
|
2977
|
-
const isCameraEnabled = selectIsCameraEnabled(state);
|
|
2978
|
-
const isMicrophoneEnabled = selectIsMicrophoneEnabled(state);
|
|
2979
2968
|
const isNodeSdk = selectAppIsNodeSdk(state);
|
|
2980
2969
|
if (dispatcher || !socket) {
|
|
2981
2970
|
return;
|
|
2982
2971
|
}
|
|
2983
2972
|
const webrtcProvider = {
|
|
2984
|
-
|
|
2985
|
-
audio: isMicrophoneEnabled,
|
|
2986
|
-
video: isCameraEnabled,
|
|
2987
|
-
}),
|
|
2988
|
-
deferrable(clientId) {
|
|
2989
|
-
const client = selectRemoteParticipants(getState()).find((p) => p.id === clientId);
|
|
2990
|
-
const breakoutCurrentId = selectBreakoutCurrentId(getState()) || "";
|
|
2991
|
-
return isDeferrable({ client, breakoutCurrentId });
|
|
2992
|
-
},
|
|
2973
|
+
getMediaOptions: () => selectLocalMediaConstraintsOptions(getState()),
|
|
2993
2974
|
};
|
|
2994
2975
|
const rtcManagerDispatcher = new RtcManagerDispatcher({
|
|
2995
2976
|
emitter: createWebRtcEmitter(dispatch),
|
package/dist/redux/index.cjs
CHANGED
|
@@ -75,7 +75,7 @@ const createReactor = (selectors, callback) => {
|
|
|
75
75
|
});
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
const coreVersion = "1.9.
|
|
78
|
+
const coreVersion = "1.9.5";
|
|
79
79
|
|
|
80
80
|
const initialState$1 = {
|
|
81
81
|
displayName: null,
|
|
@@ -1784,15 +1784,6 @@ startAppListening({
|
|
|
1784
1784
|
},
|
|
1785
1785
|
});
|
|
1786
1786
|
|
|
1787
|
-
function isDeferrable({ client, breakoutCurrentId }) {
|
|
1788
|
-
if (!client)
|
|
1789
|
-
return false;
|
|
1790
|
-
if (!breakoutCurrentId && client.breakoutGroup)
|
|
1791
|
-
return true;
|
|
1792
|
-
if (!client.isAudioEnabled && !client.isVideoEnabled)
|
|
1793
|
-
return true;
|
|
1794
|
-
return false;
|
|
1795
|
-
}
|
|
1796
1787
|
const createWebRtcEmitter = (dispatch) => {
|
|
1797
1788
|
return {
|
|
1798
1789
|
emit: (eventName, data) => {
|
|
@@ -1880,22 +1871,12 @@ const doConnectRtc = createAppThunk(() => (dispatch, getState) => {
|
|
|
1880
1871
|
const state = getState();
|
|
1881
1872
|
const socket = selectSignalConnectionRaw(state).socket;
|
|
1882
1873
|
const dispatcher = selectRtcConnectionRaw(state).rtcManagerDispatcher;
|
|
1883
|
-
const isCameraEnabled = selectIsCameraEnabled(state);
|
|
1884
|
-
const isMicrophoneEnabled = selectIsMicrophoneEnabled(state);
|
|
1885
1874
|
const isNodeSdk = selectAppIsNodeSdk(state);
|
|
1886
1875
|
if (dispatcher || !socket) {
|
|
1887
1876
|
return;
|
|
1888
1877
|
}
|
|
1889
1878
|
const webrtcProvider = {
|
|
1890
|
-
|
|
1891
|
-
audio: isMicrophoneEnabled,
|
|
1892
|
-
video: isCameraEnabled,
|
|
1893
|
-
}),
|
|
1894
|
-
deferrable(clientId) {
|
|
1895
|
-
const client = selectRemoteParticipants(getState()).find((p) => p.id === clientId);
|
|
1896
|
-
const breakoutCurrentId = selectBreakoutCurrentId(getState()) || "";
|
|
1897
|
-
return isDeferrable({ client, breakoutCurrentId });
|
|
1898
|
-
},
|
|
1879
|
+
getMediaOptions: () => selectLocalMediaConstraintsOptions(getState()),
|
|
1899
1880
|
};
|
|
1900
1881
|
const rtcManagerDispatcher = new media.RtcManagerDispatcher({
|
|
1901
1882
|
emitter: createWebRtcEmitter(dispatch),
|
package/dist/redux/index.js
CHANGED
|
@@ -73,7 +73,7 @@ const createReactor = (selectors, callback) => {
|
|
|
73
73
|
});
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
const coreVersion = "1.9.
|
|
76
|
+
const coreVersion = "1.9.5";
|
|
77
77
|
|
|
78
78
|
const initialState$1 = {
|
|
79
79
|
displayName: null,
|
|
@@ -1782,15 +1782,6 @@ startAppListening({
|
|
|
1782
1782
|
},
|
|
1783
1783
|
});
|
|
1784
1784
|
|
|
1785
|
-
function isDeferrable({ client, breakoutCurrentId }) {
|
|
1786
|
-
if (!client)
|
|
1787
|
-
return false;
|
|
1788
|
-
if (!breakoutCurrentId && client.breakoutGroup)
|
|
1789
|
-
return true;
|
|
1790
|
-
if (!client.isAudioEnabled && !client.isVideoEnabled)
|
|
1791
|
-
return true;
|
|
1792
|
-
return false;
|
|
1793
|
-
}
|
|
1794
1785
|
const createWebRtcEmitter = (dispatch) => {
|
|
1795
1786
|
return {
|
|
1796
1787
|
emit: (eventName, data) => {
|
|
@@ -1878,22 +1869,12 @@ const doConnectRtc = createAppThunk(() => (dispatch, getState) => {
|
|
|
1878
1869
|
const state = getState();
|
|
1879
1870
|
const socket = selectSignalConnectionRaw(state).socket;
|
|
1880
1871
|
const dispatcher = selectRtcConnectionRaw(state).rtcManagerDispatcher;
|
|
1881
|
-
const isCameraEnabled = selectIsCameraEnabled(state);
|
|
1882
|
-
const isMicrophoneEnabled = selectIsMicrophoneEnabled(state);
|
|
1883
1872
|
const isNodeSdk = selectAppIsNodeSdk(state);
|
|
1884
1873
|
if (dispatcher || !socket) {
|
|
1885
1874
|
return;
|
|
1886
1875
|
}
|
|
1887
1876
|
const webrtcProvider = {
|
|
1888
|
-
|
|
1889
|
-
audio: isMicrophoneEnabled,
|
|
1890
|
-
video: isCameraEnabled,
|
|
1891
|
-
}),
|
|
1892
|
-
deferrable(clientId) {
|
|
1893
|
-
const client = selectRemoteParticipants(getState()).find((p) => p.id === clientId);
|
|
1894
|
-
const breakoutCurrentId = selectBreakoutCurrentId(getState()) || "";
|
|
1895
|
-
return isDeferrable({ client, breakoutCurrentId });
|
|
1896
|
-
},
|
|
1877
|
+
getMediaOptions: () => selectLocalMediaConstraintsOptions(getState()),
|
|
1897
1878
|
};
|
|
1898
1879
|
const rtcManagerDispatcher = new RtcManagerDispatcher({
|
|
1899
1880
|
emitter: createWebRtcEmitter(dispatch),
|
package/dist/redux/index.mjs
CHANGED
|
@@ -73,7 +73,7 @@ const createReactor = (selectors, callback) => {
|
|
|
73
73
|
});
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
const coreVersion = "1.9.
|
|
76
|
+
const coreVersion = "1.9.5";
|
|
77
77
|
|
|
78
78
|
const initialState$1 = {
|
|
79
79
|
displayName: null,
|
|
@@ -1782,15 +1782,6 @@ startAppListening({
|
|
|
1782
1782
|
},
|
|
1783
1783
|
});
|
|
1784
1784
|
|
|
1785
|
-
function isDeferrable({ client, breakoutCurrentId }) {
|
|
1786
|
-
if (!client)
|
|
1787
|
-
return false;
|
|
1788
|
-
if (!breakoutCurrentId && client.breakoutGroup)
|
|
1789
|
-
return true;
|
|
1790
|
-
if (!client.isAudioEnabled && !client.isVideoEnabled)
|
|
1791
|
-
return true;
|
|
1792
|
-
return false;
|
|
1793
|
-
}
|
|
1794
1785
|
const createWebRtcEmitter = (dispatch) => {
|
|
1795
1786
|
return {
|
|
1796
1787
|
emit: (eventName, data) => {
|
|
@@ -1878,22 +1869,12 @@ const doConnectRtc = createAppThunk(() => (dispatch, getState) => {
|
|
|
1878
1869
|
const state = getState();
|
|
1879
1870
|
const socket = selectSignalConnectionRaw(state).socket;
|
|
1880
1871
|
const dispatcher = selectRtcConnectionRaw(state).rtcManagerDispatcher;
|
|
1881
|
-
const isCameraEnabled = selectIsCameraEnabled(state);
|
|
1882
|
-
const isMicrophoneEnabled = selectIsMicrophoneEnabled(state);
|
|
1883
1872
|
const isNodeSdk = selectAppIsNodeSdk(state);
|
|
1884
1873
|
if (dispatcher || !socket) {
|
|
1885
1874
|
return;
|
|
1886
1875
|
}
|
|
1887
1876
|
const webrtcProvider = {
|
|
1888
|
-
|
|
1889
|
-
audio: isMicrophoneEnabled,
|
|
1890
|
-
video: isCameraEnabled,
|
|
1891
|
-
}),
|
|
1892
|
-
deferrable(clientId) {
|
|
1893
|
-
const client = selectRemoteParticipants(getState()).find((p) => p.id === clientId);
|
|
1894
|
-
const breakoutCurrentId = selectBreakoutCurrentId(getState()) || "";
|
|
1895
|
-
return isDeferrable({ client, breakoutCurrentId });
|
|
1896
|
-
},
|
|
1877
|
+
getMediaOptions: () => selectLocalMediaConstraintsOptions(getState()),
|
|
1897
1878
|
};
|
|
1898
1879
|
const rtcManagerDispatcher = new RtcManagerDispatcher({
|
|
1899
1880
|
emitter: createWebRtcEmitter(dispatch),
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@whereby.com/core",
|
|
3
3
|
"description": "Core library for whereby.com sdk",
|
|
4
4
|
"author": "Whereby AS",
|
|
5
|
-
"version": "1.9.
|
|
5
|
+
"version": "1.9.5",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@reduxjs/toolkit": "^2.2.3",
|
|
69
|
-
"@whereby.com/media": "
|
|
69
|
+
"@whereby.com/media": "8.0.0",
|
|
70
70
|
"axios": "^1.11.0",
|
|
71
71
|
"btoa": "^1.2.1",
|
|
72
72
|
"events": "^3.3.0"
|