@webex/plugin-meetings 1.153.3 → 1.153.4
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/meeting/index.js +10 -7
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/request.js +24 -20
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/util.js +2 -1
- package/dist/meeting/util.js.map +1 -1
- package/package.json +5 -5
- package/src/meeting/index.js +10 -6
- package/src/meeting/request.js +10 -5
- package/src/meeting/util.js +2 -1
- package/test/unit/spec/meeting/index.js +15 -2
- package/test/unit/spec/meeting/request.js +53 -1
- package/test/unit/spec/meeting/utils.js +41 -0
- package/test/unit/spec/meetings/index.js +3 -1
package/dist/meeting/index.js
CHANGED
|
@@ -2676,17 +2676,20 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
2676
2676
|
}, {
|
|
2677
2677
|
key: "parseMeetingInfo",
|
|
2678
2678
|
value: function parseMeetingInfo(meetingInfo) {
|
|
2679
|
-
// MeetingInfo will be undefined for 1:1 calls
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
this.
|
|
2683
|
-
this.
|
|
2679
|
+
var webexMeetingInfo = meetingInfo === null || meetingInfo === void 0 ? void 0 : meetingInfo.body; // MeetingInfo will be undefined for 1:1 calls
|
|
2680
|
+
|
|
2681
|
+
if (webexMeetingInfo && !(meetingInfo.errors && meetingInfo.errors.length > 0)) {
|
|
2682
|
+
this.conversationUrl = webexMeetingInfo.conversationUrl || this.conversationUrl;
|
|
2683
|
+
this.locusUrl = webexMeetingInfo.locusUrl || this.locusUrl;
|
|
2684
|
+
this.setSipUri(this.config.experimental.enableUnifiedMeetings ? webexMeetingInfo.sipUrl : webexMeetingInfo.sipMeetingUri || this.sipUri);
|
|
2684
2685
|
|
|
2685
2686
|
if (this.config.experimental.enableUnifiedMeetings) {
|
|
2686
|
-
this.meetingNumber =
|
|
2687
|
+
this.meetingNumber = webexMeetingInfo.meetingNumber;
|
|
2688
|
+
this.meetingJoinUrl = webexMeetingInfo.meetingJoinUrl;
|
|
2687
2689
|
}
|
|
2688
2690
|
|
|
2689
|
-
this.owner =
|
|
2691
|
+
this.owner = webexMeetingInfo.owner || webexMeetingInfo.hostId || this.owner;
|
|
2692
|
+
this.permissionToken = webexMeetingInfo.permissionToken;
|
|
2690
2693
|
}
|
|
2691
2694
|
}
|
|
2692
2695
|
/**
|