@whereby.com/core 1.26.0 → 1.26.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 CHANGED
@@ -1310,7 +1310,7 @@ const createReactor = (selectors, callback) => {
1310
1310
  });
1311
1311
  };
1312
1312
 
1313
- const coreVersion = "1.26.0";
1313
+ const coreVersion = "1.26.1";
1314
1314
 
1315
1315
  function decodeRoomName(roomName) {
1316
1316
  if (!roomName) {
@@ -2703,7 +2703,7 @@ const doKnockRoom = createAppThunk(() => (dispatch, getState) => {
2703
2703
  socket === null || socket === void 0 ? void 0 : socket.emit("knock_room", Object.assign({ avatarUrl: null, config: {
2704
2704
  isAudioEnabled: true,
2705
2705
  isVideoEnabled: true,
2706
- }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
2706
+ }, deviceCapabilities: { canScreenshare: media.hasGetDisplayMedia() }, displayName, isCoLocated: false, isDialIn,
2707
2707
  isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
2708
2708
  roomKey,
2709
2709
  roomName,
@@ -2740,7 +2740,7 @@ const doConnectRoom = createAppThunk(() => (dispatch, getState) => {
2740
2740
  socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign({ avatarUrl: null, config: {
2741
2741
  isAudioEnabled: isMicrophoneEnabled,
2742
2742
  isVideoEnabled: isCameraEnabled,
2743
- }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
2743
+ }, deviceCapabilities: { canScreenshare: media.hasGetDisplayMedia() }, displayName, isCoLocated: false, isDialIn,
2744
2744
  isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
2745
2745
  roomKey,
2746
2746
  assistantKey,
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import nodeBtoa from 'btoa';
2
- import { assert, fromLocation, ServerSocket, isFileShareError, getDeviceData, getStream, getUpdatedDevices, replaceTracksInStream, getDisplayMedia, CAMERA_STREAM_ID, RtcManagerDispatcher, setClientProvider, subscribeIssues, isRoomIntegrationErrorCode } from '@whereby.com/media';
2
+ import { assert, fromLocation, ServerSocket, isFileShareError, getDeviceData, getStream, getUpdatedDevices, replaceTracksInStream, hasGetDisplayMedia, getDisplayMedia, CAMERA_STREAM_ID, RtcManagerDispatcher, setClientProvider, subscribeIssues, isRoomIntegrationErrorCode } from '@whereby.com/media';
3
3
  import axios from 'axios';
4
4
  import { EventEmitter } from 'events';
5
5
  import { createListenerMiddleware, addListener, createSlice, createAction, createSelector, createAsyncThunk, isAnyOf, combineReducers, configureStore } from '@reduxjs/toolkit';
@@ -1308,7 +1308,7 @@ const createReactor = (selectors, callback) => {
1308
1308
  });
1309
1309
  };
1310
1310
 
1311
- const coreVersion = "1.26.0";
1311
+ const coreVersion = "1.26.1";
1312
1312
 
1313
1313
  function decodeRoomName(roomName) {
1314
1314
  if (!roomName) {
@@ -2701,7 +2701,7 @@ const doKnockRoom = createAppThunk(() => (dispatch, getState) => {
2701
2701
  socket === null || socket === void 0 ? void 0 : socket.emit("knock_room", Object.assign({ avatarUrl: null, config: {
2702
2702
  isAudioEnabled: true,
2703
2703
  isVideoEnabled: true,
2704
- }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
2704
+ }, deviceCapabilities: { canScreenshare: hasGetDisplayMedia() }, displayName, isCoLocated: false, isDialIn,
2705
2705
  isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
2706
2706
  roomKey,
2707
2707
  roomName,
@@ -2738,7 +2738,7 @@ const doConnectRoom = createAppThunk(() => (dispatch, getState) => {
2738
2738
  socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign({ avatarUrl: null, config: {
2739
2739
  isAudioEnabled: isMicrophoneEnabled,
2740
2740
  isVideoEnabled: isCameraEnabled,
2741
- }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
2741
+ }, deviceCapabilities: { canScreenshare: hasGetDisplayMedia() }, displayName, isCoLocated: false, isDialIn,
2742
2742
  isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
2743
2743
  roomKey,
2744
2744
  assistantKey,
@@ -1,5 +1,5 @@
1
1
  import nodeBtoa from 'btoa';
2
- import { assert, fromLocation, ServerSocket, isFileShareError, getDeviceData, getStream, getUpdatedDevices, replaceTracksInStream, getDisplayMedia, CAMERA_STREAM_ID, RtcManagerDispatcher, setClientProvider, subscribeIssues, isRoomIntegrationErrorCode } from '@whereby.com/media';
2
+ import { assert, fromLocation, ServerSocket, isFileShareError, getDeviceData, getStream, getUpdatedDevices, replaceTracksInStream, hasGetDisplayMedia, getDisplayMedia, CAMERA_STREAM_ID, RtcManagerDispatcher, setClientProvider, subscribeIssues, isRoomIntegrationErrorCode } from '@whereby.com/media';
3
3
  import axios from 'axios';
4
4
  import { EventEmitter } from 'events';
5
5
  import { createListenerMiddleware, addListener, createSlice, createAction, createSelector, createAsyncThunk, isAnyOf, combineReducers, configureStore } from '@reduxjs/toolkit';
@@ -1308,7 +1308,7 @@ const createReactor = (selectors, callback) => {
1308
1308
  });
1309
1309
  };
1310
1310
 
1311
- const coreVersion = "1.26.0";
1311
+ const coreVersion = "1.26.1";
1312
1312
 
1313
1313
  function decodeRoomName(roomName) {
1314
1314
  if (!roomName) {
@@ -2701,7 +2701,7 @@ const doKnockRoom = createAppThunk(() => (dispatch, getState) => {
2701
2701
  socket === null || socket === void 0 ? void 0 : socket.emit("knock_room", Object.assign({ avatarUrl: null, config: {
2702
2702
  isAudioEnabled: true,
2703
2703
  isVideoEnabled: true,
2704
- }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
2704
+ }, deviceCapabilities: { canScreenshare: hasGetDisplayMedia() }, displayName, isCoLocated: false, isDialIn,
2705
2705
  isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
2706
2706
  roomKey,
2707
2707
  roomName,
@@ -2738,7 +2738,7 @@ const doConnectRoom = createAppThunk(() => (dispatch, getState) => {
2738
2738
  socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign({ avatarUrl: null, config: {
2739
2739
  isAudioEnabled: isMicrophoneEnabled,
2740
2740
  isVideoEnabled: isCameraEnabled,
2741
- }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
2741
+ }, deviceCapabilities: { canScreenshare: hasGetDisplayMedia() }, displayName, isCoLocated: false, isDialIn,
2742
2742
  isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
2743
2743
  roomKey,
2744
2744
  assistantKey,
@@ -76,7 +76,7 @@ const createReactor = (selectors, callback) => {
76
76
  });
77
77
  };
78
78
 
79
- const coreVersion = "1.26.0";
79
+ const coreVersion = "1.26.1";
80
80
 
81
81
  function decodeRoomName(roomName) {
82
82
  if (!roomName) {
@@ -1491,7 +1491,7 @@ const doKnockRoom = createAppThunk(() => (dispatch, getState) => {
1491
1491
  socket === null || socket === void 0 ? void 0 : socket.emit("knock_room", Object.assign({ avatarUrl: null, config: {
1492
1492
  isAudioEnabled: true,
1493
1493
  isVideoEnabled: true,
1494
- }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
1494
+ }, deviceCapabilities: { canScreenshare: media.hasGetDisplayMedia() }, displayName, isCoLocated: false, isDialIn,
1495
1495
  isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
1496
1496
  roomKey,
1497
1497
  roomName,
@@ -1528,7 +1528,7 @@ const doConnectRoom = createAppThunk(() => (dispatch, getState) => {
1528
1528
  socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign({ avatarUrl: null, config: {
1529
1529
  isAudioEnabled: isMicrophoneEnabled,
1530
1530
  isVideoEnabled: isCameraEnabled,
1531
- }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
1531
+ }, deviceCapabilities: { canScreenshare: media.hasGetDisplayMedia() }, displayName, isCoLocated: false, isDialIn,
1532
1532
  isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
1533
1533
  roomKey,
1534
1534
  assistantKey,
@@ -1,5 +1,5 @@
1
1
  import { createAsyncThunk, createListenerMiddleware, addListener, createSlice, createAction, createSelector, isAnyOf, combineReducers, configureStore } from '@reduxjs/toolkit';
2
- import { ServerSocket, isFileShareError, getDeviceData, getStream, getUpdatedDevices, replaceTracksInStream, getDisplayMedia, CAMERA_STREAM_ID, RtcManagerDispatcher, setClientProvider, subscribeIssues, isRoomIntegrationErrorCode, assert, fromLocation } from '@whereby.com/media';
2
+ import { ServerSocket, isFileShareError, getDeviceData, getStream, getUpdatedDevices, replaceTracksInStream, hasGetDisplayMedia, getDisplayMedia, CAMERA_STREAM_ID, RtcManagerDispatcher, setClientProvider, subscribeIssues, isRoomIntegrationErrorCode, assert, fromLocation } from '@whereby.com/media';
3
3
  import { EventEmitter } from 'events';
4
4
  import { v4 } from 'uuid';
5
5
  import nodeBtoa from 'btoa';
@@ -74,7 +74,7 @@ const createReactor = (selectors, callback) => {
74
74
  });
75
75
  };
76
76
 
77
- const coreVersion = "1.26.0";
77
+ const coreVersion = "1.26.1";
78
78
 
79
79
  function decodeRoomName(roomName) {
80
80
  if (!roomName) {
@@ -1489,7 +1489,7 @@ const doKnockRoom = createAppThunk(() => (dispatch, getState) => {
1489
1489
  socket === null || socket === void 0 ? void 0 : socket.emit("knock_room", Object.assign({ avatarUrl: null, config: {
1490
1490
  isAudioEnabled: true,
1491
1491
  isVideoEnabled: true,
1492
- }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
1492
+ }, deviceCapabilities: { canScreenshare: hasGetDisplayMedia() }, displayName, isCoLocated: false, isDialIn,
1493
1493
  isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
1494
1494
  roomKey,
1495
1495
  roomName,
@@ -1526,7 +1526,7 @@ const doConnectRoom = createAppThunk(() => (dispatch, getState) => {
1526
1526
  socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign({ avatarUrl: null, config: {
1527
1527
  isAudioEnabled: isMicrophoneEnabled,
1528
1528
  isVideoEnabled: isCameraEnabled,
1529
- }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
1529
+ }, deviceCapabilities: { canScreenshare: hasGetDisplayMedia() }, displayName, isCoLocated: false, isDialIn,
1530
1530
  isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
1531
1531
  roomKey,
1532
1532
  assistantKey,
@@ -1,5 +1,5 @@
1
1
  import { createAsyncThunk, createListenerMiddleware, addListener, createSlice, createAction, createSelector, isAnyOf, combineReducers, configureStore } from '@reduxjs/toolkit';
2
- import { ServerSocket, isFileShareError, getDeviceData, getStream, getUpdatedDevices, replaceTracksInStream, getDisplayMedia, CAMERA_STREAM_ID, RtcManagerDispatcher, setClientProvider, subscribeIssues, isRoomIntegrationErrorCode, assert, fromLocation } from '@whereby.com/media';
2
+ import { ServerSocket, isFileShareError, getDeviceData, getStream, getUpdatedDevices, replaceTracksInStream, hasGetDisplayMedia, getDisplayMedia, CAMERA_STREAM_ID, RtcManagerDispatcher, setClientProvider, subscribeIssues, isRoomIntegrationErrorCode, assert, fromLocation } from '@whereby.com/media';
3
3
  import { EventEmitter } from 'events';
4
4
  import { v4 } from 'uuid';
5
5
  import nodeBtoa from 'btoa';
@@ -74,7 +74,7 @@ const createReactor = (selectors, callback) => {
74
74
  });
75
75
  };
76
76
 
77
- const coreVersion = "1.26.0";
77
+ const coreVersion = "1.26.1";
78
78
 
79
79
  function decodeRoomName(roomName) {
80
80
  if (!roomName) {
@@ -1489,7 +1489,7 @@ const doKnockRoom = createAppThunk(() => (dispatch, getState) => {
1489
1489
  socket === null || socket === void 0 ? void 0 : socket.emit("knock_room", Object.assign({ avatarUrl: null, config: {
1490
1490
  isAudioEnabled: true,
1491
1491
  isVideoEnabled: true,
1492
- }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
1492
+ }, deviceCapabilities: { canScreenshare: hasGetDisplayMedia() }, displayName, isCoLocated: false, isDialIn,
1493
1493
  isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
1494
1494
  roomKey,
1495
1495
  roomName,
@@ -1526,7 +1526,7 @@ const doConnectRoom = createAppThunk(() => (dispatch, getState) => {
1526
1526
  socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign({ avatarUrl: null, config: {
1527
1527
  isAudioEnabled: isMicrophoneEnabled,
1528
1528
  isVideoEnabled: isCameraEnabled,
1529
- }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDialIn,
1529
+ }, deviceCapabilities: { canScreenshare: hasGetDisplayMedia() }, displayName, isCoLocated: false, isDialIn,
1530
1530
  isAudioRecorder, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
1531
1531
  roomKey,
1532
1532
  assistantKey,
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.26.0",
5
+ "version": "1.26.1",
6
6
  "license": "MIT",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -58,16 +58,16 @@
58
58
  "eslint": "^9.29.0",
59
59
  "prettier": "^3.5.3",
60
60
  "typescript": "^5.8.3",
61
+ "@whereby.com/eslint-config": "0.1.0",
61
62
  "@whereby.com/jest-config": "0.1.0",
62
63
  "@whereby.com/prettier-config": "0.1.0",
63
64
  "@whereby.com/rollup-config": "0.1.1",
64
- "@whereby.com/tsconfig": "0.1.0",
65
- "@whereby.com/eslint-config": "0.1.0"
65
+ "@whereby.com/tsconfig": "0.1.0"
66
66
  },
67
67
  "dependencies": {
68
68
  "@reduxjs/toolkit": "^2.2.3",
69
- "@whereby.com/media": "11.3.1",
70
- "@whereby.com/audio-denoiser": "1.0.29",
69
+ "@whereby.com/media": "11.3.2",
70
+ "@whereby.com/audio-denoiser": "1.0.30",
71
71
  "@whereby.com/camera-effects": "1.1.3",
72
72
  "axios": "^1.11.0",
73
73
  "btoa": "^1.2.1",