@webex/plugin-meetings 3.0.0-beta.331 → 3.0.0-beta.332

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.
@@ -62,7 +62,7 @@ var Webinar = _webexCore.WebexPlugin.extend({
62
62
  updateCanManageWebcast: function updateCanManageWebcast(canManageWebcast) {
63
63
  this.set('canManageWebcast', canManageWebcast);
64
64
  },
65
- version: "3.0.0-beta.331"
65
+ version: "3.0.0-beta.332"
66
66
  });
67
67
  var _default = Webinar;
68
68
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/plugin-meetings",
3
- "version": "3.0.0-beta.331",
3
+ "version": "3.0.0-beta.332",
4
4
  "description": "",
5
5
  "license": "Cisco EULA (https://www.cisco.com/c/en/us/products/end-user-license-agreement.html)",
6
6
  "contributors": [
@@ -33,12 +33,12 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@peculiar/webcrypto": "^1.4.3",
36
- "@webex/plugin-meetings": "3.0.0-beta.331",
37
- "@webex/test-helper-chai": "3.0.0-beta.331",
38
- "@webex/test-helper-mocha": "3.0.0-beta.331",
39
- "@webex/test-helper-mock-webex": "3.0.0-beta.331",
40
- "@webex/test-helper-retry": "3.0.0-beta.331",
41
- "@webex/test-helper-test-users": "3.0.0-beta.331",
36
+ "@webex/plugin-meetings": "3.0.0-beta.332",
37
+ "@webex/test-helper-chai": "3.0.0-beta.332",
38
+ "@webex/test-helper-mocha": "3.0.0-beta.332",
39
+ "@webex/test-helper-mock-webex": "3.0.0-beta.332",
40
+ "@webex/test-helper-retry": "3.0.0-beta.332",
41
+ "@webex/test-helper-test-users": "3.0.0-beta.332",
42
42
  "chai": "^4.3.4",
43
43
  "chai-as-promised": "^7.1.1",
44
44
  "jsdom-global": "3.0.2",
@@ -47,19 +47,19 @@
47
47
  "typescript": "^4.7.4"
48
48
  },
49
49
  "dependencies": {
50
- "@webex/common": "3.0.0-beta.331",
50
+ "@webex/common": "3.0.0-beta.332",
51
51
  "@webex/internal-media-core": "2.2.2",
52
- "@webex/internal-plugin-conversation": "3.0.0-beta.331",
53
- "@webex/internal-plugin-device": "3.0.0-beta.331",
54
- "@webex/internal-plugin-llm": "3.0.0-beta.331",
55
- "@webex/internal-plugin-mercury": "3.0.0-beta.331",
56
- "@webex/internal-plugin-metrics": "3.0.0-beta.331",
57
- "@webex/internal-plugin-support": "3.0.0-beta.331",
58
- "@webex/internal-plugin-user": "3.0.0-beta.331",
59
- "@webex/media-helpers": "3.0.0-beta.331",
60
- "@webex/plugin-people": "3.0.0-beta.331",
61
- "@webex/plugin-rooms": "3.0.0-beta.331",
62
- "@webex/webex-core": "3.0.0-beta.331",
52
+ "@webex/internal-plugin-conversation": "3.0.0-beta.332",
53
+ "@webex/internal-plugin-device": "3.0.0-beta.332",
54
+ "@webex/internal-plugin-llm": "3.0.0-beta.332",
55
+ "@webex/internal-plugin-mercury": "3.0.0-beta.332",
56
+ "@webex/internal-plugin-metrics": "3.0.0-beta.332",
57
+ "@webex/internal-plugin-support": "3.0.0-beta.332",
58
+ "@webex/internal-plugin-user": "3.0.0-beta.332",
59
+ "@webex/media-helpers": "3.0.0-beta.332",
60
+ "@webex/plugin-people": "3.0.0-beta.332",
61
+ "@webex/plugin-rooms": "3.0.0-beta.332",
62
+ "@webex/webex-core": "3.0.0-beta.332",
63
63
  "ampersand-collection": "^2.0.2",
64
64
  "bowser": "^2.11.0",
65
65
  "btoa": "^1.2.1",
@@ -6232,7 +6232,7 @@ export default class Meeting extends StatelessWebexPlugin {
6232
6232
  const LOG_HEADER = 'Meeting:index#addMedia -->';
6233
6233
  LoggerProxy.logger.info(`${LOG_HEADER} called with: ${JSON.stringify(options)}`);
6234
6234
 
6235
- if (this.meetingState !== FULL_STATE.ACTIVE) {
6235
+ if (options.allowMediaInLobby !== true && this.meetingState !== FULL_STATE.ACTIVE) {
6236
6236
  throw new MeetingNotActiveError();
6237
6237
  }
6238
6238
 
@@ -1206,8 +1206,8 @@ describe('plugin-meetings', () => {
1206
1206
  assert.exists(meeting.addMedia);
1207
1207
  });
1208
1208
 
1209
- it('should reject promise if meeting is not active', async () => {
1210
- const result = await assert.isRejected(meeting.addMedia());
1209
+ it('should reject promise if meeting is not active and the meeting in lobby is not enabled', async () => {
1210
+ const result = await assert.isRejected(meeting.addMedia({allowMediaInLobby: false}));
1211
1211
 
1212
1212
  assert.instanceOf(result, MeetingNotActiveError);
1213
1213
  });