@videosdk.live/react-sdk 0.1.80 → 0.1.82

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.
@@ -297,7 +297,7 @@ var MeetingConsumer = function MeetingConsumer(_ref2) {
297
297
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MeetingProviderContex.Consumer, null, children));
298
298
  };
299
299
 
300
- var version = "0.1.80";
300
+ var version = "0.1.82";
301
301
 
302
302
  var MeetingProvider = function MeetingProvider(_ref) {
303
303
  var children = _ref.children,
@@ -653,7 +653,8 @@ var MeetingProvider = function MeetingProvider(_ref) {
653
653
  var part = participants.get(data.participantId);
654
654
  part.mode = data.mode;
655
655
  participants.set(part.id, part);
656
- return participants;
656
+ var participantsToSet = new Map(participants);
657
+ return participantsToSet;
657
658
  });
658
659
  if (data.participantId === (meetingRef === null || meetingRef === void 0 ? void 0 : (_meetingRef$current2 = meetingRef.current) === null || _meetingRef$current2 === void 0 ? void 0 : (_meetingRef$current2$ = _meetingRef$current2.localParticipant) === null || _meetingRef$current2$ === void 0 ? void 0 : _meetingRef$current2$.id)) {
659
660
  setLocalParticipant(function (participant) {
@@ -1202,8 +1203,9 @@ var useParticipant = function useParticipant(participantId, _temp) {
1202
1203
  var remove = function remove() {
1203
1204
  participant === null || participant === void 0 ? void 0 : participant.remove();
1204
1205
  };
1205
- var captureImage = function captureImage(_ref2) {
1206
- var height = _ref2.height,
1206
+ var captureImage = function captureImage(_temp2) {
1207
+ var _ref2 = _temp2 === void 0 ? {} : _temp2,
1208
+ height = _ref2.height,
1207
1209
  width = _ref2.width;
1208
1210
  return Promise.resolve(participant === null || participant === void 0 ? void 0 : participant.captureImage({
1209
1211
  height: height,