@webex/plugin-meetings 3.12.0-next.53 → 3.12.0-next.55
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/hashTree/hashTreeParser.js +30 -27
- package/dist/hashTree/hashTreeParser.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/index.js +0 -1
- package/dist/locus-info/index.js.map +1 -1
- package/dist/meeting/index.js +25 -0
- package/dist/meeting/index.js.map +1 -1
- package/dist/metrics/constants.js +3 -1
- package/dist/metrics/constants.js.map +1 -1
- package/dist/reactions/reactions.type.js.map +1 -1
- package/dist/types/meeting/index.d.ts +6 -0
- package/dist/types/metrics/constants.d.ts +2 -0
- package/dist/types/reactions/reactions.type.d.ts +3 -0
- package/dist/webinar/index.js +1 -1
- package/package.json +1 -1
- package/src/hashTree/hashTreeParser.ts +29 -31
- package/src/locus-info/index.ts +0 -4
- package/src/meeting/index.ts +29 -0
- package/src/metrics/constants.ts +2 -0
- package/src/reactions/reactions.type.ts +3 -0
- package/test/unit/spec/hashTree/hashTreeParser.ts +15 -0
- package/test/unit/spec/meeting/index.js +109 -1
package/dist/meeting/index.js
CHANGED
|
@@ -643,6 +643,9 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
643
643
|
* @returns {void}
|
|
644
644
|
*/
|
|
645
645
|
(0, _defineProperty3.default)(_this, "processRelayEvent", function (e) {
|
|
646
|
+
if (!_this.isRelayEventRouteValid(e)) {
|
|
647
|
+
return;
|
|
648
|
+
}
|
|
646
649
|
switch (e.data.relayType) {
|
|
647
650
|
case _constants3.REACTION_RELAY_TYPES.REACTION:
|
|
648
651
|
if (
|
|
@@ -6555,6 +6558,28 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6555
6558
|
}
|
|
6556
6559
|
return startTranscription;
|
|
6557
6560
|
}())
|
|
6561
|
+
}, {
|
|
6562
|
+
key: "isRelayEventRouteValid",
|
|
6563
|
+
value:
|
|
6564
|
+
/**
|
|
6565
|
+
* Verifies the relay event was delivered for the active LLM session binding.
|
|
6566
|
+
* @param {RelayEvent} event Event object coming from LLM Connection
|
|
6567
|
+
* @returns {boolean}
|
|
6568
|
+
*/
|
|
6569
|
+
function isRelayEventRouteValid(event) {
|
|
6570
|
+
var _event$headers;
|
|
6571
|
+
var route = event === null || event === void 0 ? void 0 : (_event$headers = event.headers) === null || _event$headers === void 0 ? void 0 : _event$headers.route;
|
|
6572
|
+
if (!route) {
|
|
6573
|
+
return true;
|
|
6574
|
+
}
|
|
6575
|
+
var llm = this.webex.internal.llm;
|
|
6576
|
+
var isPracticeSession = llm.isConnected(_constants.LLM_PRACTICE_SESSION);
|
|
6577
|
+
var expectedBinding = isPracticeSession ? llm.getBinding(_constants.LLM_PRACTICE_SESSION) : llm.getBinding();
|
|
6578
|
+
if (!expectedBinding || route === expectedBinding) {
|
|
6579
|
+
return true;
|
|
6580
|
+
}
|
|
6581
|
+
return false;
|
|
6582
|
+
}
|
|
6558
6583
|
}, {
|
|
6559
6584
|
key: "stopTranscription",
|
|
6560
6585
|
value:
|