@whereby.com/core 0.12.0 → 0.12.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
@@ -45,7 +45,7 @@ const createReactor = (selectors, callback) => {
45
45
  });
46
46
  };
47
47
 
48
- const coreVersion = "0.12.0";
48
+ const coreVersion = "0.12.1";
49
49
 
50
50
  const initialState$d = {
51
51
  isNodeSdk: false,
@@ -1515,7 +1515,6 @@ const doKnockRoom = createAppThunk(() => (dispatch, getState) => {
1515
1515
  organizationId,
1516
1516
  roomKey,
1517
1517
  roomName,
1518
- selfId: "",
1519
1518
  userAgent,
1520
1519
  externalId,
1521
1520
  });
@@ -1532,16 +1531,15 @@ const doConnectRoom = createAppThunk(() => (dispatch, getState) => {
1532
1531
  const organizationId = selectOrganizationId(state);
1533
1532
  const isCameraEnabled = selectIsCameraEnabled(getState());
1534
1533
  const isMicrophoneEnabled = selectIsMicrophoneEnabled(getState());
1535
- const selfId = selectSelfId(getState());
1536
1534
  const clientClaim = selectLocalParticipantClientClaim(getState());
1537
- socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign(Object.assign({ avatarUrl: null, config: {
1535
+ socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign({ avatarUrl: null, config: {
1538
1536
  isAudioEnabled: isMicrophoneEnabled,
1539
1537
  isVideoEnabled: isCameraEnabled,
1540
1538
  }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
1541
1539
  roomKey,
1542
1540
  roomName,
1543
- selfId }, (!!clientClaim && { clientClaim })), { userAgent,
1544
- externalId }));
1541
+ userAgent,
1542
+ externalId }, (clientClaim && { clientClaim })));
1545
1543
  dispatch(connectionStatusChanged("connecting"));
1546
1544
  });
1547
1545
  const selectRoomConnectionRaw = (state) => state.roomConnection;
package/dist/index.mjs CHANGED
@@ -43,7 +43,7 @@ const createReactor = (selectors, callback) => {
43
43
  });
44
44
  };
45
45
 
46
- const coreVersion = "0.12.0";
46
+ const coreVersion = "0.12.1";
47
47
 
48
48
  const initialState$d = {
49
49
  isNodeSdk: false,
@@ -1513,7 +1513,6 @@ const doKnockRoom = createAppThunk(() => (dispatch, getState) => {
1513
1513
  organizationId,
1514
1514
  roomKey,
1515
1515
  roomName,
1516
- selfId: "",
1517
1516
  userAgent,
1518
1517
  externalId,
1519
1518
  });
@@ -1530,16 +1529,15 @@ const doConnectRoom = createAppThunk(() => (dispatch, getState) => {
1530
1529
  const organizationId = selectOrganizationId(state);
1531
1530
  const isCameraEnabled = selectIsCameraEnabled(getState());
1532
1531
  const isMicrophoneEnabled = selectIsMicrophoneEnabled(getState());
1533
- const selfId = selectSelfId(getState());
1534
1532
  const clientClaim = selectLocalParticipantClientClaim(getState());
1535
- socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign(Object.assign({ avatarUrl: null, config: {
1533
+ socket === null || socket === void 0 ? void 0 : socket.emit("join_room", Object.assign({ avatarUrl: null, config: {
1536
1534
  isAudioEnabled: isMicrophoneEnabled,
1537
1535
  isVideoEnabled: isCameraEnabled,
1538
1536
  }, deviceCapabilities: { canScreenshare: true }, displayName, isCoLocated: false, isDevicePermissionDenied: false, kickFromOtherRooms: false, organizationId,
1539
1537
  roomKey,
1540
1538
  roomName,
1541
- selfId }, (!!clientClaim && { clientClaim })), { userAgent,
1542
- externalId }));
1539
+ userAgent,
1540
+ externalId }, (clientClaim && { clientClaim })));
1543
1541
  dispatch(connectionStatusChanged("connecting"));
1544
1542
  });
1545
1543
  const selectRoomConnectionRaw = (state) => state.roomConnection;
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.12.0",
5
+ "version": "0.12.1",
6
6
  "license": "MIT",
7
7
  "scripts": {
8
8
  "build": "rimraf dist && rollup -c rollup.config.js",