@webex/plugin-meetings 3.12.0-next.19 → 3.12.0-next.20
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/aiEnableRequest/index.js +1 -1
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/index.js +6 -4
- package/dist/locus-info/index.js.map +1 -1
- package/dist/meetings/index.js +3 -8
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/util.js +21 -2
- package/dist/meetings/util.js.map +1 -1
- package/dist/types/locus-info/index.d.ts +1 -2
- package/dist/webinar/index.js +1 -1
- package/package.json +1 -1
- package/src/locus-info/index.ts +7 -6
- package/src/meetings/index.ts +10 -15
- package/src/meetings/util.ts +26 -1
- package/test/unit/spec/locus-info/index.js +2 -0
- package/test/unit/spec/meetings/utils.js +108 -0
package/dist/meetings/index.js
CHANGED
|
@@ -451,9 +451,7 @@ var Meetings = exports.default = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
451
451
|
}
|
|
452
452
|
if (data.eventType === _constants.LOCUSEVENT.HASH_TREE_DATA_UPDATED) {
|
|
453
453
|
// need to check if maybe this event indicates a move to/from breakout
|
|
454
|
-
var meetingForHashTreeMessage = (0, _locusInfo.findMeetingForHashTreeMessage)(data.stateElementsMessage, this.meetingCollection
|
|
455
|
-
// @ts-ignore
|
|
456
|
-
this.webex.internal.device.url);
|
|
454
|
+
var meetingForHashTreeMessage = (0, _locusInfo.findMeetingForHashTreeMessage)(data === null || data === void 0 ? void 0 : data.stateElementsMessage, this.meetingCollection);
|
|
457
455
|
if (meetingForHashTreeMessage) {
|
|
458
456
|
return meetingForHashTreeMessage;
|
|
459
457
|
}
|
|
@@ -493,7 +491,6 @@ var Meetings = exports.default = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
493
491
|
var _this2 = this;
|
|
494
492
|
var useRandomDelayForInfo = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
495
493
|
var meeting = this.getCorrespondingMeetingByLocus(data);
|
|
496
|
-
|
|
497
494
|
// @ts-ignore
|
|
498
495
|
if (this.config.experimental.storeLocusHashTreeEventsForDebugging) {
|
|
499
496
|
(0, _meeting.storeEventForDebugging)('mercury', data);
|
|
@@ -1811,8 +1808,7 @@ var Meetings = exports.default = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
1811
1808
|
var lociToUpdate = (0, _toConsumableArray2.default)(mainLoci);
|
|
1812
1809
|
breakoutLoci.forEach(function (breakoutLocus) {
|
|
1813
1810
|
var associateMainLocus = mainLoci.find(function (mainLocus) {
|
|
1814
|
-
|
|
1815
|
-
return ((_mainLocus$controls = mainLocus.controls) === null || _mainLocus$controls === void 0 ? void 0 : (_mainLocus$controls$b = _mainLocus$controls.breakout) === null || _mainLocus$controls$b === void 0 ? void 0 : _mainLocus$controls$b.url) === ((_breakoutLocus$contro = breakoutLocus.controls) === null || _breakoutLocus$contro === void 0 ? void 0 : (_breakoutLocus$contro2 = _breakoutLocus$contro.breakout) === null || _breakoutLocus$contro2 === void 0 ? void 0 : _breakoutLocus$contro2.url);
|
|
1811
|
+
return _util2.default.isMainAssociatedWithBreakout(mainLocus, breakoutLocus);
|
|
1816
1812
|
});
|
|
1817
1813
|
var existCorrespondingMeeting = _this12.getCorrespondingMeetingByLocus({
|
|
1818
1814
|
eventType: _constants.LOCUSEVENT.SDK_NO_EVENT,
|
|
@@ -1848,8 +1844,7 @@ var Meetings = exports.default = /*#__PURE__*/function (_WebexPlugin) {
|
|
|
1848
1844
|
return;
|
|
1849
1845
|
}
|
|
1850
1846
|
var existIndex = this.breakoutLocusForHandleLater.findIndex(function (breakoutLocus) {
|
|
1851
|
-
|
|
1852
|
-
return ((_breakoutLocus$contro3 = breakoutLocus.controls) === null || _breakoutLocus$contro3 === void 0 ? void 0 : (_breakoutLocus$contro4 = _breakoutLocus$contro3.breakout) === null || _breakoutLocus$contro4 === void 0 ? void 0 : _breakoutLocus$contro4.url) === ((_newCreatedLocus$cont = newCreatedLocus.controls) === null || _newCreatedLocus$cont === void 0 ? void 0 : (_newCreatedLocus$cont2 = _newCreatedLocus$cont.breakout) === null || _newCreatedLocus$cont2 === void 0 ? void 0 : _newCreatedLocus$cont2.url);
|
|
1847
|
+
return _util2.default.isMainAssociatedWithBreakout(newCreatedLocus, breakoutLocus);
|
|
1853
1848
|
});
|
|
1854
1849
|
if (existIndex < 0) {
|
|
1855
1850
|
return;
|