@microsoft/teamsfx 2.3.1-alpha.da822cd72.0 → 2.3.1-alpha.dc4264a43.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.
- package/dist/index.esm2017.js +2 -1
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm2017.mjs +79 -9
- package/dist/index.esm2017.mjs.map +1 -1
- package/dist/index.esm5.js +2 -1
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +81 -8
- package/dist/index.node.cjs.js.map +1 -1
- package/package.json +5 -5
- package/types/teamsfx.d.ts +20 -0
package/dist/index.esm5.js
CHANGED
@@ -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
|
*/
|
@@ -1154,7 +1155,7 @@ function createApiClient(apiEndpoint, authProvider) {
|
|
1154
1155
|
});
|
1155
1156
|
instance.interceptors.request.use(function (config) {
|
1156
1157
|
return __awaiter(this, void 0, void 0, function* () {
|
1157
|
-
return yield authProvider.AddAuthenticationInfo(config);
|
1158
|
+
return (yield authProvider.AddAuthenticationInfo(config));
|
1158
1159
|
});
|
1159
1160
|
});
|
1160
1161
|
return instance;
|