@whereby.com/core 0.24.3 → 0.25.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.mjs CHANGED
@@ -43,7 +43,7 @@ const createReactor = (selectors, callback) => {
43
43
  });
44
44
  };
45
45
 
46
- const coreVersion = "0.24.3";
46
+ const coreVersion = "0.25.1";
47
47
 
48
48
  const initialState$f = {
49
49
  isNodeSdk: false,
@@ -2141,6 +2141,13 @@ startAppListening({
2141
2141
  rtcManager === null || rtcManager === void 0 ? void 0 : rtcManager.addNewStream(stream.id, stream, false, true);
2142
2142
  },
2143
2143
  });
2144
+ startAppListening({
2145
+ actionCreator: doAppStop,
2146
+ effect: (_, { getState }) => {
2147
+ const rtcManager = selectRtcManager(getState());
2148
+ rtcManager === null || rtcManager === void 0 ? void 0 : rtcManager.rtcStatsDisconnect();
2149
+ },
2150
+ });
2144
2151
  startAppListening({
2145
2152
  actionCreator: stopScreenshare,
2146
2153
  effect: ({ payload }, { getState }) => {
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": "0.24.3",
5
+ "version": "0.25.1",
6
6
  "license": "MIT",
7
7
  "scripts": {
8
8
  "clean": "rimraf dist node_modules .turbo",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@reduxjs/toolkit": "^2.2.3",
51
- "@whereby.com/media": "1.12.1",
51
+ "@whereby.com/media": "1.13.0",
52
52
  "axios": "^1.2.3",
53
53
  "btoa": "^1.2.1",
54
54
  "events": "^3.3.0"