@webex/plugin-meetings 3.0.0-beta.159 → 3.0.0-beta.160

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/plugin-meetings",
3
- "version": "3.0.0-beta.159",
3
+ "version": "3.0.0-beta.160",
4
4
  "description": "",
5
5
  "license": "Cisco EULA (https://www.cisco.com/c/en/us/products/end-user-license-agreement.html)",
6
6
  "contributors": [
@@ -32,12 +32,12 @@
32
32
  "build": "yarn run -T tsc --declaration true --declarationDir ./dist/types"
33
33
  },
34
34
  "devDependencies": {
35
- "@webex/plugin-meetings": "3.0.0-beta.159",
36
- "@webex/test-helper-chai": "3.0.0-beta.159",
37
- "@webex/test-helper-mocha": "3.0.0-beta.159",
38
- "@webex/test-helper-mock-webex": "3.0.0-beta.159",
39
- "@webex/test-helper-retry": "3.0.0-beta.159",
40
- "@webex/test-helper-test-users": "3.0.0-beta.159",
35
+ "@webex/plugin-meetings": "3.0.0-beta.160",
36
+ "@webex/test-helper-chai": "3.0.0-beta.160",
37
+ "@webex/test-helper-mocha": "3.0.0-beta.160",
38
+ "@webex/test-helper-mock-webex": "3.0.0-beta.160",
39
+ "@webex/test-helper-retry": "3.0.0-beta.160",
40
+ "@webex/test-helper-test-users": "3.0.0-beta.160",
41
41
  "chai": "^4.3.4",
42
42
  "chai-as-promised": "^7.1.1",
43
43
  "jsdom-global": "3.0.2",
@@ -46,19 +46,19 @@
46
46
  "typescript": "^4.7.4"
47
47
  },
48
48
  "dependencies": {
49
- "@webex/common": "3.0.0-beta.159",
49
+ "@webex/common": "3.0.0-beta.160",
50
50
  "@webex/internal-media-core": "1.38.6",
51
- "@webex/internal-plugin-conversation": "3.0.0-beta.159",
52
- "@webex/internal-plugin-device": "3.0.0-beta.159",
53
- "@webex/internal-plugin-llm": "3.0.0-beta.159",
54
- "@webex/internal-plugin-mercury": "3.0.0-beta.159",
55
- "@webex/internal-plugin-metrics": "3.0.0-beta.159",
56
- "@webex/internal-plugin-support": "3.0.0-beta.159",
57
- "@webex/internal-plugin-user": "3.0.0-beta.159",
58
- "@webex/media-helpers": "3.0.0-beta.159",
59
- "@webex/plugin-people": "3.0.0-beta.159",
60
- "@webex/plugin-rooms": "3.0.0-beta.159",
61
- "@webex/webex-core": "3.0.0-beta.159",
51
+ "@webex/internal-plugin-conversation": "3.0.0-beta.160",
52
+ "@webex/internal-plugin-device": "3.0.0-beta.160",
53
+ "@webex/internal-plugin-llm": "3.0.0-beta.160",
54
+ "@webex/internal-plugin-mercury": "3.0.0-beta.160",
55
+ "@webex/internal-plugin-metrics": "3.0.0-beta.160",
56
+ "@webex/internal-plugin-support": "3.0.0-beta.160",
57
+ "@webex/internal-plugin-user": "3.0.0-beta.160",
58
+ "@webex/media-helpers": "3.0.0-beta.160",
59
+ "@webex/plugin-people": "3.0.0-beta.160",
60
+ "@webex/plugin-rooms": "3.0.0-beta.160",
61
+ "@webex/webex-core": "3.0.0-beta.160",
62
62
  "ampersand-collection": "^2.0.2",
63
63
  "bowser": "^2.11.0",
64
64
  "btoa": "^1.2.1",
@@ -2229,13 +2229,17 @@ export default class Meeting extends StatelessWebexPlugin {
2229
2229
  !isEqual(contentShare?.annotation, previousContentShare?.annotation)
2230
2230
  ) {
2231
2231
  Trigger.trigger(
2232
- this,
2232
+ // @ts-ignore
2233
+ this.webex.meetings,
2233
2234
  {
2234
2235
  file: 'meeting/index',
2235
2236
  function: 'triggerAnnotationInfoEvent',
2236
2237
  },
2237
2238
  EVENT_TRIGGERS.MEETING_UPDATE_ANNOTATION_INFO,
2238
- contentShare.annotation
2239
+ {
2240
+ annotationInfo: contentShare?.annotation,
2241
+ meetingId: this.id,
2242
+ }
2239
2243
  );
2240
2244
  }
2241
2245
  }
@@ -2717,7 +2717,7 @@ describe('plugin-meetings', () => {
2717
2717
 
2718
2718
  meeting.joinedWith = {state: "NOT_JOINED"};
2719
2719
  assert.equal(meeting.isJoined(), false);
2720
-
2720
+
2721
2721
  meeting.joinedWith = {state: "JOINED"};
2722
2722
  assert.equal(meeting.isJoined(), true);
2723
2723
  });
@@ -5600,18 +5600,19 @@ describe('plugin-meetings', () => {
5600
5600
  it('check triggerAnnotationInfoEvent event', () => {
5601
5601
 
5602
5602
  TriggerProxy.trigger.reset();
5603
- const annotationInfo = {version: '1', policy: 'Approval'};
5603
+ const annotationInfo= {version: '1', policy: 'Approval'}
5604
+ const expectAnnotationInfo = {annotationInfo,meetingId:meeting.id };
5605
+ meeting.webex.meetings ={}
5604
5606
  meeting.triggerAnnotationInfoEvent({annotation:annotationInfo},{});
5605
-
5606
5607
  assert.calledWith(
5607
5608
  TriggerProxy.trigger,
5608
- meeting,
5609
+ {},
5609
5610
  {
5610
5611
  file: 'meeting/index',
5611
5612
  function: 'triggerAnnotationInfoEvent',
5612
5613
  },
5613
5614
  'meeting:updateAnnotationInfo',
5614
- annotationInfo
5615
+ expectAnnotationInfo
5615
5616
  );
5616
5617
 
5617
5618
  TriggerProxy.trigger.reset();
@@ -5619,21 +5620,22 @@ describe('plugin-meetings', () => {
5619
5620
  assert.notCalled(TriggerProxy.trigger);
5620
5621
 
5621
5622
  TriggerProxy.trigger.reset();
5622
- const annotationInfoUpdated = {version: '1', policy: 'AnnotationNotAllowed'};
5623
- meeting.triggerAnnotationInfoEvent({annotation:annotationInfoUpdated},{annotation:annotationInfo});
5623
+ const annotationInfoUpdate = {version: '1', policy: 'AnnotationNotAllowed'}
5624
+ const expectAnnotationInfoUpdated = { annotationInfo: annotationInfoUpdate, meetingId:meeting.id };
5625
+ meeting.triggerAnnotationInfoEvent({annotation: annotationInfoUpdate},{annotation:annotationInfo});
5624
5626
  assert.calledWith(
5625
5627
  TriggerProxy.trigger,
5626
- meeting,
5628
+ {},
5627
5629
  {
5628
5630
  file: 'meeting/index',
5629
5631
  function: 'triggerAnnotationInfoEvent',
5630
5632
  },
5631
5633
  'meeting:updateAnnotationInfo',
5632
- annotationInfoUpdated
5634
+ expectAnnotationInfoUpdated
5633
5635
  );
5634
5636
 
5635
5637
  TriggerProxy.trigger.reset();
5636
- meeting.triggerAnnotationInfoEvent(null,{annotation:annotationInfoUpdated});
5638
+ meeting.triggerAnnotationInfoEvent(null,{annotation:annotationInfoUpdate});
5637
5639
  assert.notCalled(TriggerProxy.trigger);
5638
5640
 
5639
5641
  });