@microsoft/teamsfx 2.3.0-rc-hotfix.0 → 2.3.1-alpha.0028ae747.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/README.md +3 -2
- package/dist/index.esm2017.js +2 -1
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm2017.mjs +119 -13
- package/dist/index.esm2017.mjs.map +1 -1
- package/dist/index.esm5.js +32 -2
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +242 -123
- package/dist/index.node.cjs.js.map +1 -1
- package/package.json +28 -11
- package/types/teamsfx.d.ts +23 -3
package/README.md
CHANGED
@@ -21,7 +21,8 @@ Please check the [README](https://github.com/OfficeDev/TeamsFx/blob/main/package
|
|
21
21
|
|
22
22
|
### Prerequisites
|
23
23
|
|
24
|
-
- Node.js version
|
24
|
+
- Node.js version 18 or higher
|
25
|
+
- PNPM version 8 or higher
|
25
26
|
- A project created by the Teams Toolkit VS Code extension or `teamsfx` CLI tool.
|
26
27
|
- If your project has installed `botbuilder` related [packages](https://github.com/Microsoft/botbuilder-js#packages) as dependencies, ensure they are of the same version and the version `>= 4.18.0`. ([Issue - all of the BOTBUILDER packages should be the same version](https://github.com/BotBuilderCommunity/botbuilder-community-js/issues/57#issuecomment-508538548))
|
27
28
|
|
@@ -597,7 +598,7 @@ Also see [Credential](#Credential) for furthur description.
|
|
597
598
|
|
598
599
|
From `botbuilder@4.16.0`, `BotFrameworkAdapter` is deprecated, and `CloudAdapter` is recommended to be used instead. You can import `ConversationBot` from `BotBuilderCloudAdapter` to use the latest SDK implemented with `CloudAdapter`.
|
599
600
|
|
600
|
-
1. Install `@microsoft/teamsfx @^2.2.0`, `botbuilder @^4.18.0`, (and `@types/node @^
|
601
|
+
1. Install `@microsoft/teamsfx @^2.2.0`, `botbuilder @^4.18.0`, (and `@types/node @^18.0.0` for TS projects) via `npm install` as follows.
|
601
602
|
|
602
603
|
```sh
|
603
604
|
npm install @microsoft/teamsfx
|
package/dist/index.esm2017.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
|
*/
|
@@ -1111,7 +1112,7 @@ function createApiClient(apiEndpoint, authProvider) {
|
|
1111
1112
|
baseURL: apiEndpoint,
|
1112
1113
|
});
|
1113
1114
|
instance.interceptors.request.use(async function (config) {
|
1114
|
-
return await authProvider.AddAuthenticationInfo(config);
|
1115
|
+
return (await authProvider.AddAuthenticationInfo(config));
|
1115
1116
|
});
|
1116
1117
|
return instance;
|
1117
1118
|
}
|