@microsoft/teams-js 2.0.0-beta.3-dev.46 → 2.0.0-beta.3-dev.50
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/MicrosoftTeams.js
CHANGED
|
@@ -1120,7 +1120,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1120
1120
|
});
|
|
1121
1121
|
|
|
1122
1122
|
;// CONCATENATED MODULE: ./src/internal/constants.ts
|
|
1123
|
-
var version = "2.0.0-beta.3-dev.
|
|
1123
|
+
var version = "2.0.0-beta.3-dev.50";
|
|
1124
1124
|
/**
|
|
1125
1125
|
* @hidden
|
|
1126
1126
|
* The client version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
|
|
@@ -1853,14 +1853,12 @@ var teamsRuntimeConfig = {
|
|
|
1853
1853
|
appInstallDialog: {},
|
|
1854
1854
|
appEntity: {},
|
|
1855
1855
|
bot: {},
|
|
1856
|
-
calendar: {},
|
|
1857
1856
|
call: {},
|
|
1858
1857
|
chat: {},
|
|
1859
1858
|
dialog: {},
|
|
1860
1859
|
files: {},
|
|
1861
1860
|
location: {},
|
|
1862
1861
|
logs: {},
|
|
1863
|
-
mail: {},
|
|
1864
1862
|
media: {},
|
|
1865
1863
|
meeting: {},
|
|
1866
1864
|
meetingRoom: {},
|
|
@@ -5322,6 +5320,9 @@ var calendar;
|
|
|
5322
5320
|
if (!isSupported()) {
|
|
5323
5321
|
throw 'Not Supported';
|
|
5324
5322
|
}
|
|
5323
|
+
if (!openCalendarItemParams.itemId || !openCalendarItemParams.itemId.trim()) {
|
|
5324
|
+
throw new Error('Must supply an itemId to openCalendarItem');
|
|
5325
|
+
}
|
|
5325
5326
|
resolve(sendAndHandleStatusAndReason('calendar.openCalendarItem', openCalendarItemParams));
|
|
5326
5327
|
});
|
|
5327
5328
|
}
|