@whereby.com/core 1.31.0 → 1.31.1
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 +8 -4
- package/dist/index.mjs +8 -4
- package/dist/legacy-esm.js +8 -4
- package/dist/redux/index.cjs +8 -4
- package/dist/redux/index.js +8 -4
- package/dist/redux/index.mjs +8 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1314,7 +1314,7 @@ const createReactor = (selectors, callback) => {
|
|
|
1314
1314
|
});
|
|
1315
1315
|
};
|
|
1316
1316
|
|
|
1317
|
-
const coreVersion = "1.31.
|
|
1317
|
+
const coreVersion = "1.31.1";
|
|
1318
1318
|
|
|
1319
1319
|
function decodeRoomName(roomName) {
|
|
1320
1320
|
if (!roomName) {
|
|
@@ -2277,7 +2277,9 @@ startAppListening({
|
|
|
2277
2277
|
},
|
|
2278
2278
|
});
|
|
2279
2279
|
startAppListening({
|
|
2280
|
-
predicate: (
|
|
2280
|
+
predicate: (action, currentState, previousState) => {
|
|
2281
|
+
if (!setCurrentCameraDeviceId.match(action))
|
|
2282
|
+
return false;
|
|
2281
2283
|
const oldValue = selectCurrentCameraDeviceId(previousState);
|
|
2282
2284
|
const newValue = selectCurrentCameraDeviceId(currentState);
|
|
2283
2285
|
const isReady = selectLocalMediaStatus(previousState) === "started";
|
|
@@ -2288,7 +2290,9 @@ startAppListening({
|
|
|
2288
2290
|
},
|
|
2289
2291
|
});
|
|
2290
2292
|
startAppListening({
|
|
2291
|
-
predicate: (
|
|
2293
|
+
predicate: (action, currentState, previousState) => {
|
|
2294
|
+
if (!setCurrentMicrophoneDeviceId.match(action))
|
|
2295
|
+
return false;
|
|
2292
2296
|
const oldValue = selectCurrentMicrophoneDeviceId(previousState);
|
|
2293
2297
|
const newValue = selectCurrentMicrophoneDeviceId(currentState);
|
|
2294
2298
|
const isReady = selectLocalMediaStatus(previousState) === "started";
|
|
@@ -2299,7 +2303,7 @@ startAppListening({
|
|
|
2299
2303
|
},
|
|
2300
2304
|
});
|
|
2301
2305
|
startAppListening({
|
|
2302
|
-
matcher: toolkit.isAnyOf(doStartLocalMedia.fulfilled, doUpdateDeviceList.fulfilled, doSwitchLocalStream.fulfilled, doSwitchLocalStream.rejected, doLocalStreamEffect.fulfilled),
|
|
2306
|
+
matcher: toolkit.isAnyOf(doStartLocalMedia.fulfilled, doUpdateDeviceList.fulfilled, doSetDevice.fulfilled, doSetDevice.rejected, doSwitchLocalStream.fulfilled, doSwitchLocalStream.rejected, doLocalStreamEffect.fulfilled),
|
|
2303
2307
|
effect: (_action, { dispatch, getState }) => {
|
|
2304
2308
|
const state = getState();
|
|
2305
2309
|
const stream = selectLocalMediaStream(state);
|
package/dist/index.mjs
CHANGED
|
@@ -1312,7 +1312,7 @@ const createReactor = (selectors, callback) => {
|
|
|
1312
1312
|
});
|
|
1313
1313
|
};
|
|
1314
1314
|
|
|
1315
|
-
const coreVersion = "1.31.
|
|
1315
|
+
const coreVersion = "1.31.1";
|
|
1316
1316
|
|
|
1317
1317
|
function decodeRoomName(roomName) {
|
|
1318
1318
|
if (!roomName) {
|
|
@@ -2275,7 +2275,9 @@ startAppListening({
|
|
|
2275
2275
|
},
|
|
2276
2276
|
});
|
|
2277
2277
|
startAppListening({
|
|
2278
|
-
predicate: (
|
|
2278
|
+
predicate: (action, currentState, previousState) => {
|
|
2279
|
+
if (!setCurrentCameraDeviceId.match(action))
|
|
2280
|
+
return false;
|
|
2279
2281
|
const oldValue = selectCurrentCameraDeviceId(previousState);
|
|
2280
2282
|
const newValue = selectCurrentCameraDeviceId(currentState);
|
|
2281
2283
|
const isReady = selectLocalMediaStatus(previousState) === "started";
|
|
@@ -2286,7 +2288,9 @@ startAppListening({
|
|
|
2286
2288
|
},
|
|
2287
2289
|
});
|
|
2288
2290
|
startAppListening({
|
|
2289
|
-
predicate: (
|
|
2291
|
+
predicate: (action, currentState, previousState) => {
|
|
2292
|
+
if (!setCurrentMicrophoneDeviceId.match(action))
|
|
2293
|
+
return false;
|
|
2290
2294
|
const oldValue = selectCurrentMicrophoneDeviceId(previousState);
|
|
2291
2295
|
const newValue = selectCurrentMicrophoneDeviceId(currentState);
|
|
2292
2296
|
const isReady = selectLocalMediaStatus(previousState) === "started";
|
|
@@ -2297,7 +2301,7 @@ startAppListening({
|
|
|
2297
2301
|
},
|
|
2298
2302
|
});
|
|
2299
2303
|
startAppListening({
|
|
2300
|
-
matcher: isAnyOf(doStartLocalMedia.fulfilled, doUpdateDeviceList.fulfilled, doSwitchLocalStream.fulfilled, doSwitchLocalStream.rejected, doLocalStreamEffect.fulfilled),
|
|
2304
|
+
matcher: isAnyOf(doStartLocalMedia.fulfilled, doUpdateDeviceList.fulfilled, doSetDevice.fulfilled, doSetDevice.rejected, doSwitchLocalStream.fulfilled, doSwitchLocalStream.rejected, doLocalStreamEffect.fulfilled),
|
|
2301
2305
|
effect: (_action, { dispatch, getState }) => {
|
|
2302
2306
|
const state = getState();
|
|
2303
2307
|
const stream = selectLocalMediaStream(state);
|
package/dist/legacy-esm.js
CHANGED
|
@@ -1312,7 +1312,7 @@ const createReactor = (selectors, callback) => {
|
|
|
1312
1312
|
});
|
|
1313
1313
|
};
|
|
1314
1314
|
|
|
1315
|
-
const coreVersion = "1.31.
|
|
1315
|
+
const coreVersion = "1.31.1";
|
|
1316
1316
|
|
|
1317
1317
|
function decodeRoomName(roomName) {
|
|
1318
1318
|
if (!roomName) {
|
|
@@ -2275,7 +2275,9 @@ startAppListening({
|
|
|
2275
2275
|
},
|
|
2276
2276
|
});
|
|
2277
2277
|
startAppListening({
|
|
2278
|
-
predicate: (
|
|
2278
|
+
predicate: (action, currentState, previousState) => {
|
|
2279
|
+
if (!setCurrentCameraDeviceId.match(action))
|
|
2280
|
+
return false;
|
|
2279
2281
|
const oldValue = selectCurrentCameraDeviceId(previousState);
|
|
2280
2282
|
const newValue = selectCurrentCameraDeviceId(currentState);
|
|
2281
2283
|
const isReady = selectLocalMediaStatus(previousState) === "started";
|
|
@@ -2286,7 +2288,9 @@ startAppListening({
|
|
|
2286
2288
|
},
|
|
2287
2289
|
});
|
|
2288
2290
|
startAppListening({
|
|
2289
|
-
predicate: (
|
|
2291
|
+
predicate: (action, currentState, previousState) => {
|
|
2292
|
+
if (!setCurrentMicrophoneDeviceId.match(action))
|
|
2293
|
+
return false;
|
|
2290
2294
|
const oldValue = selectCurrentMicrophoneDeviceId(previousState);
|
|
2291
2295
|
const newValue = selectCurrentMicrophoneDeviceId(currentState);
|
|
2292
2296
|
const isReady = selectLocalMediaStatus(previousState) === "started";
|
|
@@ -2297,7 +2301,7 @@ startAppListening({
|
|
|
2297
2301
|
},
|
|
2298
2302
|
});
|
|
2299
2303
|
startAppListening({
|
|
2300
|
-
matcher: isAnyOf(doStartLocalMedia.fulfilled, doUpdateDeviceList.fulfilled, doSwitchLocalStream.fulfilled, doSwitchLocalStream.rejected, doLocalStreamEffect.fulfilled),
|
|
2304
|
+
matcher: isAnyOf(doStartLocalMedia.fulfilled, doUpdateDeviceList.fulfilled, doSetDevice.fulfilled, doSetDevice.rejected, doSwitchLocalStream.fulfilled, doSwitchLocalStream.rejected, doLocalStreamEffect.fulfilled),
|
|
2301
2305
|
effect: (_action, { dispatch, getState }) => {
|
|
2302
2306
|
const state = getState();
|
|
2303
2307
|
const stream = selectLocalMediaStream(state);
|
package/dist/redux/index.cjs
CHANGED
|
@@ -76,7 +76,7 @@ const createReactor = (selectors, callback) => {
|
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
-
const coreVersion = "1.31.
|
|
79
|
+
const coreVersion = "1.31.1";
|
|
80
80
|
|
|
81
81
|
function decodeRoomName(roomName) {
|
|
82
82
|
if (!roomName) {
|
|
@@ -1058,7 +1058,9 @@ startAppListening({
|
|
|
1058
1058
|
},
|
|
1059
1059
|
});
|
|
1060
1060
|
startAppListening({
|
|
1061
|
-
predicate: (
|
|
1061
|
+
predicate: (action, currentState, previousState) => {
|
|
1062
|
+
if (!setCurrentCameraDeviceId.match(action))
|
|
1063
|
+
return false;
|
|
1062
1064
|
const oldValue = selectCurrentCameraDeviceId(previousState);
|
|
1063
1065
|
const newValue = selectCurrentCameraDeviceId(currentState);
|
|
1064
1066
|
const isReady = selectLocalMediaStatus(previousState) === "started";
|
|
@@ -1069,7 +1071,9 @@ startAppListening({
|
|
|
1069
1071
|
},
|
|
1070
1072
|
});
|
|
1071
1073
|
startAppListening({
|
|
1072
|
-
predicate: (
|
|
1074
|
+
predicate: (action, currentState, previousState) => {
|
|
1075
|
+
if (!setCurrentMicrophoneDeviceId.match(action))
|
|
1076
|
+
return false;
|
|
1073
1077
|
const oldValue = selectCurrentMicrophoneDeviceId(previousState);
|
|
1074
1078
|
const newValue = selectCurrentMicrophoneDeviceId(currentState);
|
|
1075
1079
|
const isReady = selectLocalMediaStatus(previousState) === "started";
|
|
@@ -1080,7 +1084,7 @@ startAppListening({
|
|
|
1080
1084
|
},
|
|
1081
1085
|
});
|
|
1082
1086
|
startAppListening({
|
|
1083
|
-
matcher: toolkit.isAnyOf(doStartLocalMedia.fulfilled, doUpdateDeviceList.fulfilled, doSwitchLocalStream.fulfilled, doSwitchLocalStream.rejected, doLocalStreamEffect.fulfilled),
|
|
1087
|
+
matcher: toolkit.isAnyOf(doStartLocalMedia.fulfilled, doUpdateDeviceList.fulfilled, doSetDevice.fulfilled, doSetDevice.rejected, doSwitchLocalStream.fulfilled, doSwitchLocalStream.rejected, doLocalStreamEffect.fulfilled),
|
|
1084
1088
|
effect: (_action, { dispatch, getState }) => {
|
|
1085
1089
|
const state = getState();
|
|
1086
1090
|
const stream = selectLocalMediaStream(state);
|
package/dist/redux/index.js
CHANGED
|
@@ -74,7 +74,7 @@ const createReactor = (selectors, callback) => {
|
|
|
74
74
|
});
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
const coreVersion = "1.31.
|
|
77
|
+
const coreVersion = "1.31.1";
|
|
78
78
|
|
|
79
79
|
function decodeRoomName(roomName) {
|
|
80
80
|
if (!roomName) {
|
|
@@ -1056,7 +1056,9 @@ startAppListening({
|
|
|
1056
1056
|
},
|
|
1057
1057
|
});
|
|
1058
1058
|
startAppListening({
|
|
1059
|
-
predicate: (
|
|
1059
|
+
predicate: (action, currentState, previousState) => {
|
|
1060
|
+
if (!setCurrentCameraDeviceId.match(action))
|
|
1061
|
+
return false;
|
|
1060
1062
|
const oldValue = selectCurrentCameraDeviceId(previousState);
|
|
1061
1063
|
const newValue = selectCurrentCameraDeviceId(currentState);
|
|
1062
1064
|
const isReady = selectLocalMediaStatus(previousState) === "started";
|
|
@@ -1067,7 +1069,9 @@ startAppListening({
|
|
|
1067
1069
|
},
|
|
1068
1070
|
});
|
|
1069
1071
|
startAppListening({
|
|
1070
|
-
predicate: (
|
|
1072
|
+
predicate: (action, currentState, previousState) => {
|
|
1073
|
+
if (!setCurrentMicrophoneDeviceId.match(action))
|
|
1074
|
+
return false;
|
|
1071
1075
|
const oldValue = selectCurrentMicrophoneDeviceId(previousState);
|
|
1072
1076
|
const newValue = selectCurrentMicrophoneDeviceId(currentState);
|
|
1073
1077
|
const isReady = selectLocalMediaStatus(previousState) === "started";
|
|
@@ -1078,7 +1082,7 @@ startAppListening({
|
|
|
1078
1082
|
},
|
|
1079
1083
|
});
|
|
1080
1084
|
startAppListening({
|
|
1081
|
-
matcher: isAnyOf(doStartLocalMedia.fulfilled, doUpdateDeviceList.fulfilled, doSwitchLocalStream.fulfilled, doSwitchLocalStream.rejected, doLocalStreamEffect.fulfilled),
|
|
1085
|
+
matcher: isAnyOf(doStartLocalMedia.fulfilled, doUpdateDeviceList.fulfilled, doSetDevice.fulfilled, doSetDevice.rejected, doSwitchLocalStream.fulfilled, doSwitchLocalStream.rejected, doLocalStreamEffect.fulfilled),
|
|
1082
1086
|
effect: (_action, { dispatch, getState }) => {
|
|
1083
1087
|
const state = getState();
|
|
1084
1088
|
const stream = selectLocalMediaStream(state);
|
package/dist/redux/index.mjs
CHANGED
|
@@ -74,7 +74,7 @@ const createReactor = (selectors, callback) => {
|
|
|
74
74
|
});
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
const coreVersion = "1.31.
|
|
77
|
+
const coreVersion = "1.31.1";
|
|
78
78
|
|
|
79
79
|
function decodeRoomName(roomName) {
|
|
80
80
|
if (!roomName) {
|
|
@@ -1056,7 +1056,9 @@ startAppListening({
|
|
|
1056
1056
|
},
|
|
1057
1057
|
});
|
|
1058
1058
|
startAppListening({
|
|
1059
|
-
predicate: (
|
|
1059
|
+
predicate: (action, currentState, previousState) => {
|
|
1060
|
+
if (!setCurrentCameraDeviceId.match(action))
|
|
1061
|
+
return false;
|
|
1060
1062
|
const oldValue = selectCurrentCameraDeviceId(previousState);
|
|
1061
1063
|
const newValue = selectCurrentCameraDeviceId(currentState);
|
|
1062
1064
|
const isReady = selectLocalMediaStatus(previousState) === "started";
|
|
@@ -1067,7 +1069,9 @@ startAppListening({
|
|
|
1067
1069
|
},
|
|
1068
1070
|
});
|
|
1069
1071
|
startAppListening({
|
|
1070
|
-
predicate: (
|
|
1072
|
+
predicate: (action, currentState, previousState) => {
|
|
1073
|
+
if (!setCurrentMicrophoneDeviceId.match(action))
|
|
1074
|
+
return false;
|
|
1071
1075
|
const oldValue = selectCurrentMicrophoneDeviceId(previousState);
|
|
1072
1076
|
const newValue = selectCurrentMicrophoneDeviceId(currentState);
|
|
1073
1077
|
const isReady = selectLocalMediaStatus(previousState) === "started";
|
|
@@ -1078,7 +1082,7 @@ startAppListening({
|
|
|
1078
1082
|
},
|
|
1079
1083
|
});
|
|
1080
1084
|
startAppListening({
|
|
1081
|
-
matcher: isAnyOf(doStartLocalMedia.fulfilled, doUpdateDeviceList.fulfilled, doSwitchLocalStream.fulfilled, doSwitchLocalStream.rejected, doLocalStreamEffect.fulfilled),
|
|
1085
|
+
matcher: isAnyOf(doStartLocalMedia.fulfilled, doUpdateDeviceList.fulfilled, doSetDevice.fulfilled, doSetDevice.rejected, doSwitchLocalStream.fulfilled, doSwitchLocalStream.rejected, doLocalStreamEffect.fulfilled),
|
|
1082
1086
|
effect: (_action, { dispatch, getState }) => {
|
|
1083
1087
|
const state = getState();
|
|
1084
1088
|
const stream = selectLocalMediaStream(state);
|