@webex/plugin-meetings 3.9.0-next.14 → 3.9.0-next.15
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 +11 -4
- package/dist/locus-info/index.js.map +1 -1
- package/dist/member/types.js.map +1 -1
- package/dist/members/collection.js +13 -0
- package/dist/members/collection.js.map +1 -1
- package/dist/members/index.js +39 -18
- package/dist/members/index.js.map +1 -1
- package/dist/types/locus-info/index.d.ts +2 -1
- package/dist/types/member/types.d.ts +1 -0
- package/dist/types/members/collection.d.ts +6 -0
- package/dist/types/members/index.d.ts +10 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +1 -1
- package/src/locus-info/index.ts +16 -4
- package/src/member/types.ts +1 -0
- package/src/members/collection.ts +11 -0
- package/src/members/index.ts +29 -3
- package/test/unit/spec/locus-info/index.js +11 -8
- package/test/unit/spec/members/collection.js +120 -0
- package/test/unit/spec/members/index.js +42 -1
package/dist/breakouts/index.js
CHANGED
@@ -1110,7 +1110,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
|
|
1110
1110
|
this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
|
1111
1111
|
}
|
1112
1112
|
},
|
1113
|
-
version: "3.9.0-next.
|
1113
|
+
version: "3.9.0-next.15"
|
1114
1114
|
});
|
1115
1115
|
var _default = exports.default = Breakouts;
|
1116
1116
|
//# sourceMappingURL=index.js.map
|
@@ -373,7 +373,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
|
|
373
373
|
throw error;
|
374
374
|
});
|
375
375
|
},
|
376
|
-
version: "3.9.0-next.
|
376
|
+
version: "3.9.0-next.15"
|
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.9.0-next.
|
21
|
+
version: "3.9.0-next.15"
|
22
22
|
});
|
23
23
|
var _default = exports.default = SILanguage;
|
24
24
|
//# sourceMappingURL=siLanguage.js.map
|
package/dist/locus-info/index.js
CHANGED
@@ -292,7 +292,7 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
292
292
|
this.updateLocusCache(locus);
|
293
293
|
// above section only updates the locusInfo object
|
294
294
|
// The below section makes sure it updates the locusInfo as well as updates the meeting object
|
295
|
-
this.updateParticipants(locus.participants);
|
295
|
+
this.updateParticipants(locus.participants, []);
|
296
296
|
// For 1:1 space meeting the conversation Url does not exist in locus.conversation
|
297
297
|
this.updateConversationUrl(locus.conversationUrl, locus.info);
|
298
298
|
this.updateControls(locus.controls, locus.self);
|
@@ -336,6 +336,9 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
336
336
|
var eventType = data.eventType;
|
337
337
|
var locus = this.getTheLocusToUpdate(data.locus);
|
338
338
|
_loggerProxy.default.logger.info("Locus-info:index#parse --> received locus data: ".concat(eventType));
|
339
|
+
locus.jsSdkMeta = {
|
340
|
+
removedParticipantIds: []
|
341
|
+
};
|
339
342
|
switch (eventType) {
|
340
343
|
case _constants.LOCUSEVENT.PARTICIPANT_JOIN:
|
341
344
|
case _constants.LOCUSEVENT.PARTICIPANT_LEFT:
|
@@ -386,6 +389,7 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
386
389
|
}, {
|
387
390
|
key: "onFullLocus",
|
388
391
|
value: function onFullLocus(locus, eventType) {
|
392
|
+
var _locus$jsSdkMeta;
|
389
393
|
if (!locus) {
|
390
394
|
_loggerProxy.default.logger.error('Locus-info:index#onFullLocus --> object passed as argument was invalid, continuing.');
|
391
395
|
}
|
@@ -397,7 +401,7 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
397
401
|
this.participants = locus.participants;
|
398
402
|
var isReplaceMembers = _controlsUtils.default.isNeedReplaceMembers(this.controls, locus.controls);
|
399
403
|
this.updateLocusInfo(locus);
|
400
|
-
this.updateParticipants(locus.participants, isReplaceMembers);
|
404
|
+
this.updateParticipants(locus.participants, (_locus$jsSdkMeta = locus.jsSdkMeta) === null || _locus$jsSdkMeta === void 0 ? void 0 : _locus$jsSdkMeta.removedParticipantIds, isReplaceMembers);
|
401
405
|
this.isMeetingActive();
|
402
406
|
this.handleOneOnOneEvent(eventType);
|
403
407
|
this.updateEmbeddedApps(locus.embeddedApps);
|
@@ -449,10 +453,11 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
449
453
|
}, {
|
450
454
|
key: "onDeltaLocus",
|
451
455
|
value: function onDeltaLocus(locus) {
|
456
|
+
var _locus$jsSdkMeta2;
|
452
457
|
var isReplaceMembers = _controlsUtils.default.isNeedReplaceMembers(this.controls, locus.controls);
|
453
458
|
this.mergeParticipants(this.participants, locus.participants);
|
454
459
|
this.updateLocusInfo(locus);
|
455
|
-
this.updateParticipants(locus.participants, isReplaceMembers);
|
460
|
+
this.updateParticipants(locus.participants, (_locus$jsSdkMeta2 = locus.jsSdkMeta) === null || _locus$jsSdkMeta2 === void 0 ? void 0 : _locus$jsSdkMeta2.removedParticipantIds, isReplaceMembers);
|
456
461
|
this.isMeetingActive();
|
457
462
|
}
|
458
463
|
|
@@ -686,19 +691,21 @@ var LocusInfo = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
686
691
|
/**
|
687
692
|
* update meeting's members
|
688
693
|
* @param {Object} participants new participants object
|
694
|
+
* @param {Array} removedParticipantIds list of removed participants
|
689
695
|
* @param {Boolean} isReplace is replace the whole members
|
690
696
|
* @returns {Array} updatedParticipants
|
691
697
|
* @memberof LocusInfo
|
692
698
|
*/
|
693
699
|
}, {
|
694
700
|
key: "updateParticipants",
|
695
|
-
value: function updateParticipants(participants, isReplace) {
|
701
|
+
value: function updateParticipants(participants, removedParticipantIds, isReplace) {
|
696
702
|
var _this$parsedLocus$con;
|
697
703
|
this.emitScoped({
|
698
704
|
file: 'locus-info',
|
699
705
|
function: 'updateParticipants'
|
700
706
|
}, _constants.EVENTS.LOCUS_INFO_UPDATE_PARTICIPANTS, {
|
701
707
|
participants: participants,
|
708
|
+
removedParticipantIds: removedParticipantIds,
|
702
709
|
recordingId: this.parsedLocus.controls && ((_this$parsedLocus$con = this.parsedLocus.controls.record) === null || _this$parsedLocus$con === void 0 ? void 0 : _this$parsedLocus$con.modifiedBy),
|
703
710
|
selfIdentity: this.parsedLocus.self && this.parsedLocus.self.selfIdentity,
|
704
711
|
selfId: this.parsedLocus.self && this.parsedLocus.self.selfId,
|