@videosdk.live/react-sdk 0.4.10 → 0.4.12
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.js
CHANGED
|
@@ -458,7 +458,7 @@ var MeetingConsumer = function MeetingConsumer(_ref2) {
|
|
|
458
458
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(MeetingProviderContex.Consumer, null, children));
|
|
459
459
|
};
|
|
460
460
|
|
|
461
|
-
var version = "0.4.
|
|
461
|
+
var version = "0.4.12";
|
|
462
462
|
|
|
463
463
|
var MeetingProvider = function MeetingProvider(_ref) {
|
|
464
464
|
var children = _ref.children,
|
|
@@ -615,13 +615,13 @@ var MeetingProvider = function MeetingProvider(_ref) {
|
|
|
615
615
|
});
|
|
616
616
|
eventEmitter.emit(events['participant-joined'], participant);
|
|
617
617
|
};
|
|
618
|
-
var _handle_participant_left = function _handle_participant_left(participant) {
|
|
618
|
+
var _handle_participant_left = function _handle_participant_left(participant, reason) {
|
|
619
619
|
setParticipants(function (participants) {
|
|
620
620
|
participants["delete"](participant.id);
|
|
621
621
|
var newParticipants = new Map(participants);
|
|
622
622
|
return newParticipants;
|
|
623
623
|
});
|
|
624
|
-
eventEmitter.emit(events['participant-left'], participant);
|
|
624
|
+
eventEmitter.emit(events['participant-left'], participant, reason);
|
|
625
625
|
};
|
|
626
626
|
var _handle_presenter_changed = function _handle_presenter_changed(presenterId) {
|
|
627
627
|
var _meetingRef$current, _meetingRef$current$l;
|