@whereby.com/core 1.10.1 → 1.10.3
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 +9 -8
- package/dist/index.mjs +9 -8
- package/dist/legacy-esm.js +9 -8
- package/dist/redux/index.cjs +9 -8
- package/dist/redux/index.js +9 -8
- package/dist/redux/index.mjs +9 -8
- 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.10.
|
|
1161
|
+
const coreVersion = "1.10.3";
|
|
1162
1162
|
|
|
1163
1163
|
const initialState$1 = {
|
|
1164
1164
|
displayName: null,
|
|
@@ -4290,13 +4290,13 @@ const doCameraEffectsSwitchPreset = createAppAsyncThunk("cameraEffects/switchPre
|
|
|
4290
4290
|
const doCameraEffectsClear = createAppAsyncThunk("cameraEffects/clear", (_1, _a) => __awaiter(void 0, [_1, _a], void 0, function* (_, { dispatch }) {
|
|
4291
4291
|
yield dispatch(doCameraEffectsSwitchPreset({ effectId: null }));
|
|
4292
4292
|
}));
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
})
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
}
|
|
4293
|
+
startAppListening({
|
|
4294
|
+
actionCreator: doAppStop,
|
|
4295
|
+
effect: (_, { dispatch, getState }) => {
|
|
4296
|
+
if (selectCameraEffectsRaw(getState()).stop) {
|
|
4297
|
+
dispatch(doCameraEffectsClear());
|
|
4298
|
+
}
|
|
4299
|
+
},
|
|
4300
4300
|
});
|
|
4301
4301
|
|
|
4302
4302
|
const IS_DEV = undefined === "true";
|
|
@@ -4331,6 +4331,7 @@ const rootReducer = (state, action) => {
|
|
|
4331
4331
|
const resetState = {
|
|
4332
4332
|
app: Object.assign(Object.assign({}, appSlice.getInitialState()), { initialConfig: (_a = state === null || state === void 0 ? void 0 : state.app) === null || _a === void 0 ? void 0 : _a.initialConfig }),
|
|
4333
4333
|
localMedia: Object.assign(Object.assign({}, localMediaSlice.getInitialState()), state === null || state === void 0 ? void 0 : state.localMedia),
|
|
4334
|
+
cameraEffects: Object.assign(Object.assign({}, cameraEffectsSlice.getInitialState()), state === null || state === void 0 ? void 0 : state.cameraEffects),
|
|
4334
4335
|
};
|
|
4335
4336
|
return appReducer(resetState, action);
|
|
4336
4337
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1156,7 +1156,7 @@ const createReactor = (selectors, callback) => {
|
|
|
1156
1156
|
});
|
|
1157
1157
|
};
|
|
1158
1158
|
|
|
1159
|
-
const coreVersion = "1.10.
|
|
1159
|
+
const coreVersion = "1.10.3";
|
|
1160
1160
|
|
|
1161
1161
|
const initialState$1 = {
|
|
1162
1162
|
displayName: null,
|
|
@@ -4288,13 +4288,13 @@ const doCameraEffectsSwitchPreset = createAppAsyncThunk("cameraEffects/switchPre
|
|
|
4288
4288
|
const doCameraEffectsClear = createAppAsyncThunk("cameraEffects/clear", (_1, _a) => __awaiter(void 0, [_1, _a], void 0, function* (_, { dispatch }) {
|
|
4289
4289
|
yield dispatch(doCameraEffectsSwitchPreset({ effectId: null }));
|
|
4290
4290
|
}));
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
})
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
}
|
|
4291
|
+
startAppListening({
|
|
4292
|
+
actionCreator: doAppStop,
|
|
4293
|
+
effect: (_, { dispatch, getState }) => {
|
|
4294
|
+
if (selectCameraEffectsRaw(getState()).stop) {
|
|
4295
|
+
dispatch(doCameraEffectsClear());
|
|
4296
|
+
}
|
|
4297
|
+
},
|
|
4298
4298
|
});
|
|
4299
4299
|
|
|
4300
4300
|
const IS_DEV = undefined === "true";
|
|
@@ -4329,6 +4329,7 @@ const rootReducer = (state, action) => {
|
|
|
4329
4329
|
const resetState = {
|
|
4330
4330
|
app: Object.assign(Object.assign({}, appSlice.getInitialState()), { initialConfig: (_a = state === null || state === void 0 ? void 0 : state.app) === null || _a === void 0 ? void 0 : _a.initialConfig }),
|
|
4331
4331
|
localMedia: Object.assign(Object.assign({}, localMediaSlice.getInitialState()), state === null || state === void 0 ? void 0 : state.localMedia),
|
|
4332
|
+
cameraEffects: Object.assign(Object.assign({}, cameraEffectsSlice.getInitialState()), state === null || state === void 0 ? void 0 : state.cameraEffects),
|
|
4332
4333
|
};
|
|
4333
4334
|
return appReducer(resetState, action);
|
|
4334
4335
|
}
|
package/dist/legacy-esm.js
CHANGED
|
@@ -1156,7 +1156,7 @@ const createReactor = (selectors, callback) => {
|
|
|
1156
1156
|
});
|
|
1157
1157
|
};
|
|
1158
1158
|
|
|
1159
|
-
const coreVersion = "1.10.
|
|
1159
|
+
const coreVersion = "1.10.3";
|
|
1160
1160
|
|
|
1161
1161
|
const initialState$1 = {
|
|
1162
1162
|
displayName: null,
|
|
@@ -4288,13 +4288,13 @@ const doCameraEffectsSwitchPreset = createAppAsyncThunk("cameraEffects/switchPre
|
|
|
4288
4288
|
const doCameraEffectsClear = createAppAsyncThunk("cameraEffects/clear", (_1, _a) => __awaiter(void 0, [_1, _a], void 0, function* (_, { dispatch }) {
|
|
4289
4289
|
yield dispatch(doCameraEffectsSwitchPreset({ effectId: null }));
|
|
4290
4290
|
}));
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
})
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
}
|
|
4291
|
+
startAppListening({
|
|
4292
|
+
actionCreator: doAppStop,
|
|
4293
|
+
effect: (_, { dispatch, getState }) => {
|
|
4294
|
+
if (selectCameraEffectsRaw(getState()).stop) {
|
|
4295
|
+
dispatch(doCameraEffectsClear());
|
|
4296
|
+
}
|
|
4297
|
+
},
|
|
4298
4298
|
});
|
|
4299
4299
|
|
|
4300
4300
|
const IS_DEV = undefined === "true";
|
|
@@ -4329,6 +4329,7 @@ const rootReducer = (state, action) => {
|
|
|
4329
4329
|
const resetState = {
|
|
4330
4330
|
app: Object.assign(Object.assign({}, appSlice.getInitialState()), { initialConfig: (_a = state === null || state === void 0 ? void 0 : state.app) === null || _a === void 0 ? void 0 : _a.initialConfig }),
|
|
4331
4331
|
localMedia: Object.assign(Object.assign({}, localMediaSlice.getInitialState()), state === null || state === void 0 ? void 0 : state.localMedia),
|
|
4332
|
+
cameraEffects: Object.assign(Object.assign({}, cameraEffectsSlice.getInitialState()), state === null || state === void 0 ? void 0 : state.cameraEffects),
|
|
4332
4333
|
};
|
|
4333
4334
|
return appReducer(resetState, action);
|
|
4334
4335
|
}
|
package/dist/redux/index.cjs
CHANGED
|
@@ -75,7 +75,7 @@ const createReactor = (selectors, callback) => {
|
|
|
75
75
|
});
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
const coreVersion = "1.10.
|
|
78
|
+
const coreVersion = "1.10.3";
|
|
79
79
|
|
|
80
80
|
const initialState$1 = {
|
|
81
81
|
displayName: null,
|
|
@@ -3208,13 +3208,13 @@ const doCameraEffectsSwitchPreset = createAppAsyncThunk("cameraEffects/switchPre
|
|
|
3208
3208
|
const doCameraEffectsClear = createAppAsyncThunk("cameraEffects/clear", (_1, _a) => __awaiter(void 0, [_1, _a], void 0, function* (_, { dispatch }) {
|
|
3209
3209
|
yield dispatch(doCameraEffectsSwitchPreset({ effectId: null }));
|
|
3210
3210
|
}));
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
})
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
}
|
|
3211
|
+
startAppListening({
|
|
3212
|
+
actionCreator: doAppStop,
|
|
3213
|
+
effect: (_, { dispatch, getState }) => {
|
|
3214
|
+
if (selectCameraEffectsRaw(getState()).stop) {
|
|
3215
|
+
dispatch(doCameraEffectsClear());
|
|
3216
|
+
}
|
|
3217
|
+
},
|
|
3218
3218
|
});
|
|
3219
3219
|
|
|
3220
3220
|
const IS_DEV = undefined === "true";
|
|
@@ -3249,6 +3249,7 @@ const rootReducer = (state, action) => {
|
|
|
3249
3249
|
const resetState = {
|
|
3250
3250
|
app: Object.assign(Object.assign({}, appSlice.getInitialState()), { initialConfig: (_a = state === null || state === void 0 ? void 0 : state.app) === null || _a === void 0 ? void 0 : _a.initialConfig }),
|
|
3251
3251
|
localMedia: Object.assign(Object.assign({}, localMediaSlice.getInitialState()), state === null || state === void 0 ? void 0 : state.localMedia),
|
|
3252
|
+
cameraEffects: Object.assign(Object.assign({}, cameraEffectsSlice.getInitialState()), state === null || state === void 0 ? void 0 : state.cameraEffects),
|
|
3252
3253
|
};
|
|
3253
3254
|
return appReducer(resetState, action);
|
|
3254
3255
|
}
|
package/dist/redux/index.js
CHANGED
|
@@ -73,7 +73,7 @@ const createReactor = (selectors, callback) => {
|
|
|
73
73
|
});
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
const coreVersion = "1.10.
|
|
76
|
+
const coreVersion = "1.10.3";
|
|
77
77
|
|
|
78
78
|
const initialState$1 = {
|
|
79
79
|
displayName: null,
|
|
@@ -3206,13 +3206,13 @@ const doCameraEffectsSwitchPreset = createAppAsyncThunk("cameraEffects/switchPre
|
|
|
3206
3206
|
const doCameraEffectsClear = createAppAsyncThunk("cameraEffects/clear", (_1, _a) => __awaiter(void 0, [_1, _a], void 0, function* (_, { dispatch }) {
|
|
3207
3207
|
yield dispatch(doCameraEffectsSwitchPreset({ effectId: null }));
|
|
3208
3208
|
}));
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
})
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
}
|
|
3209
|
+
startAppListening({
|
|
3210
|
+
actionCreator: doAppStop,
|
|
3211
|
+
effect: (_, { dispatch, getState }) => {
|
|
3212
|
+
if (selectCameraEffectsRaw(getState()).stop) {
|
|
3213
|
+
dispatch(doCameraEffectsClear());
|
|
3214
|
+
}
|
|
3215
|
+
},
|
|
3216
3216
|
});
|
|
3217
3217
|
|
|
3218
3218
|
const IS_DEV = undefined === "true";
|
|
@@ -3247,6 +3247,7 @@ const rootReducer = (state, action) => {
|
|
|
3247
3247
|
const resetState = {
|
|
3248
3248
|
app: Object.assign(Object.assign({}, appSlice.getInitialState()), { initialConfig: (_a = state === null || state === void 0 ? void 0 : state.app) === null || _a === void 0 ? void 0 : _a.initialConfig }),
|
|
3249
3249
|
localMedia: Object.assign(Object.assign({}, localMediaSlice.getInitialState()), state === null || state === void 0 ? void 0 : state.localMedia),
|
|
3250
|
+
cameraEffects: Object.assign(Object.assign({}, cameraEffectsSlice.getInitialState()), state === null || state === void 0 ? void 0 : state.cameraEffects),
|
|
3250
3251
|
};
|
|
3251
3252
|
return appReducer(resetState, action);
|
|
3252
3253
|
}
|
package/dist/redux/index.mjs
CHANGED
|
@@ -73,7 +73,7 @@ const createReactor = (selectors, callback) => {
|
|
|
73
73
|
});
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
const coreVersion = "1.10.
|
|
76
|
+
const coreVersion = "1.10.3";
|
|
77
77
|
|
|
78
78
|
const initialState$1 = {
|
|
79
79
|
displayName: null,
|
|
@@ -3206,13 +3206,13 @@ const doCameraEffectsSwitchPreset = createAppAsyncThunk("cameraEffects/switchPre
|
|
|
3206
3206
|
const doCameraEffectsClear = createAppAsyncThunk("cameraEffects/clear", (_1, _a) => __awaiter(void 0, [_1, _a], void 0, function* (_, { dispatch }) {
|
|
3207
3207
|
yield dispatch(doCameraEffectsSwitchPreset({ effectId: null }));
|
|
3208
3208
|
}));
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
})
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
}
|
|
3209
|
+
startAppListening({
|
|
3210
|
+
actionCreator: doAppStop,
|
|
3211
|
+
effect: (_, { dispatch, getState }) => {
|
|
3212
|
+
if (selectCameraEffectsRaw(getState()).stop) {
|
|
3213
|
+
dispatch(doCameraEffectsClear());
|
|
3214
|
+
}
|
|
3215
|
+
},
|
|
3216
3216
|
});
|
|
3217
3217
|
|
|
3218
3218
|
const IS_DEV = undefined === "true";
|
|
@@ -3247,6 +3247,7 @@ const rootReducer = (state, action) => {
|
|
|
3247
3247
|
const resetState = {
|
|
3248
3248
|
app: Object.assign(Object.assign({}, appSlice.getInitialState()), { initialConfig: (_a = state === null || state === void 0 ? void 0 : state.app) === null || _a === void 0 ? void 0 : _a.initialConfig }),
|
|
3249
3249
|
localMedia: Object.assign(Object.assign({}, localMediaSlice.getInitialState()), state === null || state === void 0 ? void 0 : state.localMedia),
|
|
3250
|
+
cameraEffects: Object.assign(Object.assign({}, cameraEffectsSlice.getInitialState()), state === null || state === void 0 ? void 0 : state.cameraEffects),
|
|
3250
3251
|
};
|
|
3251
3252
|
return appReducer(resetState, action);
|
|
3252
3253
|
}
|
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.10.
|
|
5
|
+
"version": "1.10.3",
|
|
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": "8.2.
|
|
69
|
+
"@whereby.com/media": "8.2.1",
|
|
70
70
|
"axios": "^1.11.0",
|
|
71
71
|
"btoa": "^1.2.1",
|
|
72
72
|
"events": "^3.3.0"
|