@microsoft/teamsfx 2.2.3-alpha.952007dba.0 → 2.2.3-alpha.dea6b9e8a.0

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.
@@ -2018,9 +2018,7 @@ class CardActionBot$1 {
2018
2018
  * Only works in in server side.
2019
2019
  */
2020
2020
  function handleMessageExtensionQueryWithToken(context, config, scopes, logic) {
2021
- return __awaiter(this, void 0, void 0, function* () {
2022
- throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "queryWithToken in message extension"), ErrorCode.RuntimeNotSupported);
2023
- });
2021
+ throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "queryWithToken in message extension"), ErrorCode.RuntimeNotSupported);
2024
2022
  }
2025
2023
  /**
2026
2024
  * Users execute query with SSO or Access Token.
@@ -2028,9 +2026,7 @@ function handleMessageExtensionQueryWithToken(context, config, scopes, logic) {
2028
2026
  * Only works in in server side.
2029
2027
  */
2030
2028
  function handleMessageExtensionQueryWithSSO(context, config, initiateLoginEndpoint, scopes, logic) {
2031
- return __awaiter(this, void 0, void 0, function* () {
2032
- throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "queryWithToken in message extension"), ErrorCode.RuntimeNotSupported);
2033
- });
2029
+ throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "queryWithToken in message extension"), ErrorCode.RuntimeNotSupported);
2034
2030
  }
2035
2031
 
2036
2032
  // Copyright (c) Microsoft Corporation.