@microsoft/teams-js 2.0.0-beta.7-dev.8 → 2.0.0-beta.7-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/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Microsoft Teams JavaScript client SDK
|
2
2
|
|
3
|
-
Welcome to the Teams JavaScript client SDK! For breaking changes, please refer to our [changelog](./CHANGELOG.md) in the current `<root>/packages/teams-js` directory
|
3
|
+
Welcome to the Teams JavaScript client SDK! For breaking changes, please refer to our [changelog](./CHANGELOG.md) in the current `<root>/packages/teams-js` directory.
|
4
4
|
|
5
5
|
This JavaScript library is part of the [Microsoft Teams developer platform](https://docs.microsoft.com/en-us/microsoftteams/platform/overview?view=msteams-client-js-beta). See full [SDK reference documentation](https://docs.microsoft.com/en-us/javascript/api/overview/msteams-client?view=msteams-client-js-beta).
|
6
6
|
|
package/dist/MicrosoftTeams.d.ts
CHANGED
@@ -4685,23 +4685,9 @@ export namespace stageView {
|
|
4685
4685
|
*
|
4686
4686
|
* Opens a stage view to display a Teams application
|
4687
4687
|
* @param stageViewParams - The parameters to pass into the stage view.
|
4688
|
-
* @returns Promise that resolves once the stage view is closed.
|
4688
|
+
* @returns Promise that resolves or rejects with an error once the stage view is closed.
|
4689
4689
|
*/
|
4690
4690
|
function open(stageViewParams: StageViewParams): Promise<void>;
|
4691
|
-
/**
|
4692
|
-
* @hidden
|
4693
|
-
* Feature is under development
|
4694
|
-
*
|
4695
|
-
* @deprecated
|
4696
|
-
* As of 2.0.0, please use {@link stageView.open stageView.open(): Promise\<void\>} instead.
|
4697
|
-
*
|
4698
|
-
* Opens a stage view to display a Teams application
|
4699
|
-
* @param stageViewParams - The parameters to pass into the stage view.
|
4700
|
-
* @param callback - Optional callback that will be triggered once the stage view is closed.
|
4701
|
-
* The callback takes as an argument an SdkError in case something happened (i.e.
|
4702
|
-
* no permissions to execute the API)
|
4703
|
-
*/
|
4704
|
-
function open(stageViewParams: StageViewParams, callback?: (sdkError?: SdkError) => void): void;
|
4705
4691
|
}
|
4706
4692
|
|
4707
4693
|
export namespace call {
|
package/dist/MicrosoftTeams.js
CHANGED
@@ -1121,7 +1121,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1121
1121
|
});
|
1122
1122
|
|
1123
1123
|
;// CONCATENATED MODULE: ./src/internal/constants.ts
|
1124
|
-
var version = "2.0.0-beta.7-dev.
|
1124
|
+
var version = "2.0.0-beta.7-dev.11";
|
1125
1125
|
/**
|
1126
1126
|
* @hidden
|
1127
1127
|
* The client version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
|
@@ -6300,21 +6300,27 @@ var sharing;
|
|
6300
6300
|
|
6301
6301
|
|
6302
6302
|
|
6303
|
-
|
6304
6303
|
/**
|
6305
6304
|
* Namespace to interact with the stage view specific part of the SDK.
|
6306
6305
|
*/
|
6307
6306
|
var stageView;
|
6308
6307
|
(function (stageView) {
|
6309
|
-
|
6310
|
-
|
6311
|
-
|
6312
|
-
|
6313
|
-
|
6314
|
-
|
6315
|
-
|
6316
|
-
|
6317
|
-
|
6308
|
+
/**
|
6309
|
+
* @hidden
|
6310
|
+
* Feature is under development
|
6311
|
+
*
|
6312
|
+
* Opens a stage view to display a Teams application
|
6313
|
+
* @param stageViewParams - The parameters to pass into the stage view.
|
6314
|
+
* @returns Promise that resolves or rejects with an error once the stage view is closed.
|
6315
|
+
*/
|
6316
|
+
function open(stageViewParams) {
|
6317
|
+
return new Promise(function (resolve) {
|
6318
|
+
ensureInitialized(FrameContexts.content);
|
6319
|
+
if (!stageViewParams) {
|
6320
|
+
throw new Error('[stageView.open] Stage view params cannot be null');
|
6321
|
+
}
|
6322
|
+
resolve(sendAndHandleSdkError('stageView.open', stageViewParams));
|
6323
|
+
});
|
6318
6324
|
}
|
6319
6325
|
stageView.open = open;
|
6320
6326
|
})(stageView || (stageView = {}));
|