@microsoft/teams-js 2.0.0-beta.3-dev.24 → 2.0.0-beta.3-dev.28
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.d.ts
CHANGED
|
@@ -1422,11 +1422,11 @@ export namespace authentication {
|
|
|
1422
1422
|
* Requests an Azure AD token to be issued on behalf of the app. The token is acquired from the cache
|
|
1423
1423
|
* if it is not expired. Otherwise a request is sent to Azure AD to obtain a new token.
|
|
1424
1424
|
*
|
|
1425
|
-
* @param authTokenRequest -
|
|
1425
|
+
* @param authTokenRequest - An optional set of values that configure the token request.
|
|
1426
1426
|
*
|
|
1427
1427
|
* @returns Promise that will be fulfilled with the token if successful.
|
|
1428
1428
|
*/
|
|
1429
|
-
function getAuthToken(authTokenRequest
|
|
1429
|
+
function getAuthToken(authTokenRequest?: AuthTokenRequestParameters): Promise<string>;
|
|
1430
1430
|
/**
|
|
1431
1431
|
* @deprecated
|
|
1432
1432
|
* As of 2.0.0-beta.1, please use {@link authentication.getAuthToken authentication.getAuthToken(authTokenRequest: AuthTokenRequestParameters): Promise\<string\>} instead.
|
|
@@ -1434,10 +1434,10 @@ export namespace authentication {
|
|
|
1434
1434
|
* Requests an Azure AD token to be issued on behalf of the app. The token is acquired from the cache
|
|
1435
1435
|
* if it is not expired. Otherwise a request is sent to Azure AD to obtain a new token.
|
|
1436
1436
|
*
|
|
1437
|
-
* @param authTokenRequest -
|
|
1437
|
+
* @param authTokenRequest - An optional set of values that configure the token request.
|
|
1438
1438
|
* It contains callbacks to call in case of success/failure
|
|
1439
1439
|
*/
|
|
1440
|
-
function getAuthToken(authTokenRequest
|
|
1440
|
+
function getAuthToken(authTokenRequest?: AuthTokenRequest): void;
|
|
1441
1441
|
/**
|
|
1442
1442
|
* @hidden
|
|
1443
1443
|
* Hide from docs.
|
|
@@ -3865,7 +3865,6 @@ export namespace meeting {
|
|
|
3865
3865
|
/**
|
|
3866
3866
|
* Allows an app to share contents in the meeting
|
|
3867
3867
|
*
|
|
3868
|
-
* @param callback - Callback contains 2 parameters, error and result.
|
|
3869
3868
|
* @param appContentUrl - appContentUrl is the input URL which needs to be shared on to the stage
|
|
3870
3869
|
* @returns Promise resolved indicating whether or not the share was successful or rejected with SdkError value
|
|
3871
3870
|
*/
|
|
@@ -3885,7 +3884,6 @@ export namespace meeting {
|
|
|
3885
3884
|
/**
|
|
3886
3885
|
* Provides information related to app's in-meeting sharing capabilities
|
|
3887
3886
|
*
|
|
3888
|
-
* @param callback - Callback contains 2 parameters, error and result.
|
|
3889
3887
|
* @returns Promise resolved with sharing capability details or rejected with SdkError value
|
|
3890
3888
|
*/
|
|
3891
3889
|
function getAppContentStageSharingCapabilities(): Promise<IAppContentStageSharingCapabilities>;
|
|
@@ -3907,7 +3905,6 @@ export namespace meeting {
|
|
|
3907
3905
|
* ------------------------------------------
|
|
3908
3906
|
* Terminates current stage sharing session in meeting
|
|
3909
3907
|
*
|
|
3910
|
-
* @param callback - Callback contains 2 parameters, error and result.
|
|
3911
3908
|
* @returns Promise resolved indicating whether or not sharing successfully stopped or rejected with SdkError value
|
|
3912
3909
|
*/
|
|
3913
3910
|
function stopSharingAppContentToStage(): Promise<boolean>;
|
package/dist/MicrosoftTeams.js
CHANGED
|
@@ -394,7 +394,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
394
394
|
});
|
|
395
395
|
|
|
396
396
|
;// CONCATENATED MODULE: ./src/internal/constants.ts
|
|
397
|
-
var version =
|
|
397
|
+
var version = "2.0.0-beta.3-dev.28";
|
|
398
398
|
/**
|
|
399
399
|
* @hidden
|
|
400
400
|
* The SDK version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
|
|
@@ -1443,9 +1443,9 @@ var authentication;
|
|
|
1443
1443
|
function getAuthTokenHelper(authTokenRequest) {
|
|
1444
1444
|
return new Promise(function (resolve) {
|
|
1445
1445
|
resolve(sendMessageToParentAsync('authentication.getAuthToken', [
|
|
1446
|
-
authTokenRequest.resources,
|
|
1447
|
-
authTokenRequest.claims,
|
|
1448
|
-
authTokenRequest.silent,
|
|
1446
|
+
authTokenRequest === null || authTokenRequest === void 0 ? void 0 : authTokenRequest.resources,
|
|
1447
|
+
authTokenRequest === null || authTokenRequest === void 0 ? void 0 : authTokenRequest.claims,
|
|
1448
|
+
authTokenRequest === null || authTokenRequest === void 0 ? void 0 : authTokenRequest.silent,
|
|
1449
1449
|
]));
|
|
1450
1450
|
}).then(function (_a) {
|
|
1451
1451
|
var success = _a[0], result = _a[1];
|