@webex/plugin-meetings 3.8.0-next.70 → 3.8.0-next.71
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/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 +12 -11
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/selfUtils.js +53 -26
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/types/locus-info/index.d.ts +2 -3
- package/dist/types/locus-info/selfUtils.d.ts +19 -50
- package/dist/webinar/index.js +1 -1
- package/package.json +3 -3
- package/src/locus-info/index.ts +15 -11
- package/src/locus-info/selfUtils.ts +73 -23
- package/test/unit/spec/locus-info/index.js +113 -73
- package/test/unit/spec/locus-info/selfUtils.js +98 -24
package/dist/breakouts/index.js
CHANGED
@@ -1046,7 +1046,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
|
|
1046
1046
|
this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
|
1047
1047
|
}
|
1048
1048
|
},
|
1049
|
-
version: "3.8.0-next.
|
1049
|
+
version: "3.8.0-next.71"
|
1050
1050
|
});
|
1051
1051
|
var _default = exports.default = Breakouts;
|
1052
1052
|
//# sourceMappingURL=index.js.map
|
@@ -373,7 +373,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
|
|
373
373
|
throw error;
|
374
374
|
});
|
375
375
|
},
|
376
|
-
version: "3.8.0-next.
|
376
|
+
version: "3.8.0-next.71"
|
377
377
|
});
|
378
378
|
var _default = exports.default = SimultaneousInterpretation;
|
379
379
|
//# sourceMappingURL=index.js.map
|
@@ -18,7 +18,7 @@ var SILanguage = _webexCore.WebexPlugin.extend({
|
|
18
18
|
languageCode: 'number',
|
19
19
|
languageName: 'string'
|
20
20
|
},
|
21
|
-
version: "3.8.0-next.
|
21
|
+
version: "3.8.0-next.71"
|
22
22
|
});
|
23
23
|
var _default = exports.default = SILanguage;
|
24
24
|
//# sourceMappingURL=siLanguage.js.map
|
package/dist/locus-info/index.js
CHANGED
@@ -266,7 +266,7 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
266
266
|
this.updateMeetingInfo(locus.info);
|
267
267
|
this.updateEmbeddedApps(locus.embeddedApps);
|
268
268
|
// self and participants generate sipUrl for 1:1 meeting
|
269
|
-
this.updateSelf(locus.self
|
269
|
+
this.updateSelf(locus.self);
|
270
270
|
this.updateHostInfo(locus.host);
|
271
271
|
this.updateMediaShares(locus.mediaShares);
|
272
272
|
this.updateServices((_locus$links = locus.links) === null || _locus$links === void 0 ? void 0 : _locus$links.services);
|
@@ -416,6 +416,7 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
416
416
|
key: "onDeltaLocus",
|
417
417
|
value: function onDeltaLocus(locus) {
|
418
418
|
var isReplaceMembers = _controlsUtils.default.isNeedReplaceMembers(this.controls, locus.controls);
|
419
|
+
this.mergeParticipants(this.participants, locus.participants);
|
419
420
|
this.updateLocusInfo(locus);
|
420
421
|
this.updateParticipants(locus.participants, isReplaceMembers);
|
421
422
|
this.isMeetingActive();
|
@@ -445,7 +446,7 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
445
446
|
this.updateMediaShares(locus.mediaShares);
|
446
447
|
this.updateParticipantsUrl(locus.participantsUrl);
|
447
448
|
this.updateReplace(locus.replace);
|
448
|
-
this.updateSelf(locus.self
|
449
|
+
this.updateSelf(locus.self);
|
449
450
|
this.updateLocusUrl(locus.url);
|
450
451
|
this.updateAclUrl(locus.aclUrl);
|
451
452
|
this.updateBasequence(locus.baseSequence);
|
@@ -1223,19 +1224,19 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
1223
1224
|
|
1224
1225
|
/**
|
1225
1226
|
* handles when the locus.self is updated
|
1226
|
-
* @param {Object} self the locus.
|
1227
|
-
* @param {Array} participants the locus.participants property
|
1227
|
+
* @param {Object} self the new locus.self
|
1228
1228
|
* @returns {undefined}
|
1229
1229
|
* @memberof LocusInfo
|
1230
1230
|
* emits internal events self_admitted_guest, self_unadmitted_guest, locus_info_update_self
|
1231
1231
|
*/
|
1232
1232
|
}, {
|
1233
1233
|
key: "updateSelf",
|
1234
|
-
value: function updateSelf(self
|
1235
|
-
|
1236
|
-
if (self && !(0, _lodash.isEqual)(this.self, self)) {
|
1234
|
+
value: function updateSelf(self) {
|
1235
|
+
if (self) {
|
1237
1236
|
// @ts-ignore
|
1238
|
-
var parsedSelves = _selfUtils.default.getSelves(this.self, self, this.webex.internal.device.url
|
1237
|
+
var parsedSelves = _selfUtils.default.getSelves(this.parsedLocus.self, self, this.webex.internal.device.url, this.participants // using this.participants instead of locus.participants here, because with delta DTOs locus.participants will only contain a small subset of participants
|
1238
|
+
);
|
1239
|
+
|
1239
1240
|
this.updateMeeting(parsedSelves.current);
|
1240
1241
|
this.parsedLocus.self = parsedSelves.current;
|
1241
1242
|
var element = this.parsedLocus.states[this.parsedLocus.states.length - 1];
|
@@ -1245,7 +1246,7 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
1245
1246
|
|
1246
1247
|
// TODO: check if we need to save the sipUri here as well
|
1247
1248
|
// this.emit(LOCUSINFO.EVENTS.MEETING_UPDATE, SelfUtils.getSipUrl(this.getLocusPartner(participants, self), this.parsedLocus.fullState.type, this.parsedLocus.info.sipUri));
|
1248
|
-
var result = _selfUtils.default.getSipUrl(this.getLocusPartner(participants, self), this.parsedLocus.fullState.type, this.parsedLocus.info.sipUri);
|
1249
|
+
var result = _selfUtils.default.getSipUrl(this.getLocusPartner(this.participants, self), this.parsedLocus.fullState.type, this.parsedLocus.info.sipUri);
|
1249
1250
|
if (result.sipUri) {
|
1250
1251
|
this.updateMeeting(result);
|
1251
1252
|
}
|
@@ -1345,13 +1346,13 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
1345
1346
|
function: 'updateSelf'
|
1346
1347
|
}, _constants.LOCUSINFO.EVENTS.LOCAL_UNMUTE_REQUESTED, {});
|
1347
1348
|
}
|
1348
|
-
if (parsedSelves.updates.
|
1349
|
+
if (parsedSelves.updates.hasUserEnteredLobby) {
|
1349
1350
|
this.emitScoped({
|
1350
1351
|
file: 'locus-info',
|
1351
1352
|
function: 'updateSelf'
|
1352
1353
|
}, _constants.LOCUSINFO.EVENTS.SELF_UNADMITTED_GUEST, self);
|
1353
1354
|
}
|
1354
|
-
if (parsedSelves.updates.
|
1355
|
+
if (parsedSelves.updates.hasUserBeenAdmitted) {
|
1355
1356
|
this.emitScoped({
|
1356
1357
|
file: 'locus-info',
|
1357
1358
|
function: 'updateSelf'
|