@microsoft/teams-js 2.0.0-beta.3-dev.43 → 2.0.0-beta.3-dev.44
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.44";
|
|
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.
|
|
@@ -5332,6 +5332,9 @@ var mail;
|
|
|
5332
5332
|
if (!isSupported()) {
|
|
5333
5333
|
throw 'Not Supported';
|
|
5334
5334
|
}
|
|
5335
|
+
if (!openMailItemParams.itemId || !openMailItemParams.itemId.trim()) {
|
|
5336
|
+
throw new Error('Must supply an itemId to openMailItem');
|
|
5337
|
+
}
|
|
5335
5338
|
resolve(sendAndHandleStatusAndReason('mail.openMailItem', openMailItemParams));
|
|
5336
5339
|
});
|
|
5337
5340
|
}
|