@microsoft/teams-js 2.0.0-beta.3-dev.49 → 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.
@@ -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.49";
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.
@@ -5320,6 +5320,9 @@ var calendar;
5320
5320
  if (!isSupported()) {
5321
5321
  throw 'Not Supported';
5322
5322
  }
5323
+ if (!openCalendarItemParams.itemId || !openCalendarItemParams.itemId.trim()) {
5324
+ throw new Error('Must supply an itemId to openCalendarItem');
5325
+ }
5323
5326
  resolve(sendAndHandleStatusAndReason('calendar.openCalendarItem', openCalendarItemParams));
5324
5327
  });
5325
5328
  }