@videosdk.live/react-sdk 0.4.10 → 0.4.11
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/types/index.d.ts +25 -6
- package/package.json +2 -2
package/dist/index.modern.js
CHANGED
|
@@ -456,7 +456,7 @@ var MeetingConsumer = function MeetingConsumer(_ref2) {
|
|
|
456
456
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MeetingProviderContex.Consumer, null, children));
|
|
457
457
|
};
|
|
458
458
|
|
|
459
|
-
var version = "0.4.
|
|
459
|
+
var version = "0.4.11";
|
|
460
460
|
|
|
461
461
|
var MeetingProvider = function MeetingProvider(_ref) {
|
|
462
462
|
var children = _ref.children,
|
|
@@ -613,13 +613,13 @@ var MeetingProvider = function MeetingProvider(_ref) {
|
|
|
613
613
|
});
|
|
614
614
|
eventEmitter.emit(events['participant-joined'], participant);
|
|
615
615
|
};
|
|
616
|
-
var _handle_participant_left = function _handle_participant_left(participant) {
|
|
616
|
+
var _handle_participant_left = function _handle_participant_left(participant, reason) {
|
|
617
617
|
setParticipants(function (participants) {
|
|
618
618
|
participants["delete"](participant.id);
|
|
619
619
|
var newParticipants = new Map(participants);
|
|
620
620
|
return newParticipants;
|
|
621
621
|
});
|
|
622
|
-
eventEmitter.emit(events['participant-left'], participant);
|
|
622
|
+
eventEmitter.emit(events['participant-left'], participant, reason);
|
|
623
623
|
};
|
|
624
624
|
var _handle_presenter_changed = function _handle_presenter_changed(presenterId) {
|
|
625
625
|
var _meetingRef$current, _meetingRef$current$l;
|