@microsoft/teams-js 2.0.0-beta.6-dev.10 → 2.0.0-beta.6-dev.11
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
@@ -1122,7 +1122,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1122
1122
|
});
|
1123
1123
|
|
1124
1124
|
;// CONCATENATED MODULE: ./src/internal/constants.ts
|
1125
|
-
var version = "2.0.0-beta.6-dev.
|
1125
|
+
var version = "2.0.0-beta.6-dev.11";
|
1126
1126
|
/**
|
1127
1127
|
* @hidden
|
1128
1128
|
* The client version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
|
@@ -6897,7 +6897,6 @@ var tasks;
|
|
6897
6897
|
* @param submitHandler - Handler to call when the task module is completed
|
6898
6898
|
*/
|
6899
6899
|
function startTask(taskInfo, submitHandler) {
|
6900
|
-
taskInfo = getDefaultSizeIfNotProvided(taskInfo);
|
6901
6900
|
if (taskInfo.card !== undefined || taskInfo.url === undefined) {
|
6902
6901
|
ensureInitialized(FrameContexts.content, FrameContexts.sidePanel, FrameContexts.meetingStage);
|
6903
6902
|
sendMessageToParent('tasks.startTask', [taskInfo], submitHandler);
|
@@ -6950,8 +6949,8 @@ var tasks;
|
|
6950
6949
|
var urldialogInfo = {
|
6951
6950
|
url: taskInfo.url,
|
6952
6951
|
size: {
|
6953
|
-
height: taskInfo.height,
|
6954
|
-
width: taskInfo.width,
|
6952
|
+
height: taskInfo.height ? taskInfo.height : TaskModuleDimension.Small,
|
6953
|
+
width: taskInfo.width ? taskInfo.width : TaskModuleDimension.Small,
|
6955
6954
|
},
|
6956
6955
|
title: taskInfo.title,
|
6957
6956
|
fallbackUrl: taskInfo.fallbackUrl,
|
@@ -6963,8 +6962,8 @@ var tasks;
|
|
6963
6962
|
var botUrldialogInfo = {
|
6964
6963
|
url: taskInfo.url,
|
6965
6964
|
size: {
|
6966
|
-
height: taskInfo.height,
|
6967
|
-
width: taskInfo.width,
|
6965
|
+
height: taskInfo.height ? taskInfo.height : TaskModuleDimension.Small,
|
6966
|
+
width: taskInfo.width ? taskInfo.width : TaskModuleDimension.Small,
|
6968
6967
|
},
|
6969
6968
|
title: taskInfo.title,
|
6970
6969
|
fallbackUrl: taskInfo.fallbackUrl,
|