@whereby.com/browser-sdk 2.12.2 → 2.13.0

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.
@@ -117,6 +117,7 @@ interface WherebyEmbedElementEventMap {
117
117
  }
118
118
  interface WherebyEmbedElementCommands {
119
119
  endMeeting: () => void;
120
+ leaveRoom: () => void;
120
121
  startRecording: () => void;
121
122
  stopRecording: () => void;
122
123
  startStreaming: () => void;
@@ -92,6 +92,9 @@ define("WherebyEmbed", {
92
92
  endMeeting() {
93
93
  this._postCommand("end_meeting");
94
94
  },
95
+ leaveRoom() {
96
+ this._postCommand("leave_room");
97
+ },
95
98
  startRecording() {
96
99
  this._postCommand("start_recording");
97
100
  },
@@ -99,7 +99,7 @@ const selectRoomConnectionState = createSelector(selectChatMessages, selectCloud
99
99
  return state;
100
100
  });
101
101
 
102
- const browserSdkVersion = "2.12.2";
102
+ const browserSdkVersion = "2.13.0";
103
103
 
104
104
  const initialState$1 = {
105
105
  chatMessages: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whereby.com/browser-sdk",
3
- "version": "2.12.2",
3
+ "version": "2.13.0",
4
4
  "description": "Modules for integration Whereby video in web apps",
5
5
  "author": "Whereby AS",
6
6
  "license": "MIT",
@@ -49,11 +49,11 @@
49
49
  "build-storybook": "storybook build"
50
50
  },
51
51
  "devDependencies": {
52
- "@storybook/addon-actions": "^8.0.8",
53
- "@storybook/addon-essentials": "^8.0.8",
54
- "@storybook/addon-links": "^8.0.8",
55
- "@storybook/builder-vite": "^8.0.8",
56
- "@storybook/react-vite": "^8.0.8",
52
+ "@storybook/addon-actions": "^8.0.10",
53
+ "@storybook/addon-essentials": "^8.0.10",
54
+ "@storybook/addon-links": "^8.0.10",
55
+ "@storybook/builder-vite": "^8.0.10",
56
+ "@storybook/react-vite": "^8.0.10",
57
57
  "@testing-library/react": "^14.0.0",
58
58
  "@types/chrome": "^0.0.210",
59
59
  "@types/node": "^20.11.19",
@@ -67,7 +67,7 @@
67
67
  "react": "^18.2.0",
68
68
  "react-dom": "^18.2.0",
69
69
  "rimraf": "^5.0.5",
70
- "storybook": "^8.0.8",
70
+ "storybook": "^8.0.10",
71
71
  "tslib": "^2.4.1",
72
72
  "uuid": "^9.0.1",
73
73
  "vite": "^5.0.13",
@@ -75,7 +75,7 @@
75
75
  },
76
76
  "dependencies": {
77
77
  "@reduxjs/toolkit": "^2.2.3",
78
- "@whereby.com/core": "0.15.1",
78
+ "@whereby.com/core": "0.15.2",
79
79
  "heresy": "^1.0.4"
80
80
  },
81
81
  "peerDependencies": {