@microsoft/teamsfx 2.3.1-alpha.cea4e2840.0 → 2.3.1-alpha.cf377d39f.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.
@@ -130,6 +130,7 @@ ErrorMessage.DuplicateHttpsOptionProperty = "Axios HTTPS agent already defined v
130
130
  ErrorMessage.DuplicateApiKeyInHeader = "The request already defined api key in request header with name {0}.";
131
131
  ErrorMessage.DuplicateApiKeyInQueryParam = "The request already defined api key in query parameter with name {0}.";
132
132
  ErrorMessage.OnlySupportInQueryActivity = "The handleMessageExtensionQueryWithToken only support in handleTeamsMessagingExtensionQuery with composeExtension/query type.";
133
+ ErrorMessage.OnlySupportInLinkQueryActivity = "The handleMessageExtensionLinkQueryWithSSO only support in handleTeamsAppBasedLinkQuery with composeExtension/queryLink type.";
133
134
  /**
134
135
  * Error class with code and message thrown by the SDK.
135
136
  */
@@ -475,7 +476,7 @@ class OnBehalfOfUserCredential {
475
476
  }
476
477
  }
477
478
 
478
- /******************************************************************************
479
+ /*! *****************************************************************************
479
480
  Copyright (c) Microsoft Corporation.
480
481
 
481
482
  Permission to use, copy, modify, and/or distribute this software for any
@@ -498,12 +499,7 @@ function __awaiter(thisArg, _arguments, P, generator) {
498
499
  function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
499
500
  step((generator = generator.apply(thisArg, _arguments || [])).next());
500
501
  });
501
- }
502
-
503
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
504
- var e = new Error(message);
505
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
506
- };
502
+ }
507
503
 
508
504
  // Copyright (c) Microsoft Corporation.
509
505
  const tokenRefreshTimeSpanInMillisecond = 5 * 60 * 1000;
@@ -1154,7 +1150,7 @@ function createApiClient(apiEndpoint, authProvider) {
1154
1150
  });
1155
1151
  instance.interceptors.request.use(function (config) {
1156
1152
  return __awaiter(this, void 0, void 0, function* () {
1157
- return yield authProvider.AddAuthenticationInfo(config);
1153
+ return (yield authProvider.AddAuthenticationInfo(config));
1158
1154
  });
1159
1155
  });
1160
1156
  return instance;