@microsoft/teamsfx 3.0.0-alpha.dc2ed64c9.0 → 3.0.0-alpha.e3e79e0e5.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 +18 -1
- package/dist/index.esm2017.js +1 -1734
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm2017.mjs +16 -3575
- package/dist/index.esm2017.mjs.map +1 -1
- package/dist/index.esm5.js +15 -1778
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +15 -3733
- package/dist/index.node.cjs.js.map +1 -1
- package/package.json +8 -8
- package/types/teamsfx.d.ts +0 -2179
package/README.md
CHANGED
@@ -648,7 +648,24 @@ From `botbuilder@4.16.0`, `BotFrameworkAdapter` is deprecated, and `CloudAdapter
|
|
648
648
|
});
|
649
649
|
```
|
650
650
|
|
651
|
-
4. If the project
|
651
|
+
4. If the project is using `express` to create a server, please add the following line after `express()`.
|
652
|
+
|
653
|
+
```ts
|
654
|
+
expressApp.use(express.json());
|
655
|
+
```
|
656
|
+
|
657
|
+
The complete code will be like
|
658
|
+
|
659
|
+
```ts
|
660
|
+
// Create HTTP server.
|
661
|
+
const expressApp = express();
|
662
|
+
expressApp.use(express.json());
|
663
|
+
const server = expressApp.listen(process.env.port || process.env.PORT || 3978, () => {
|
664
|
+
console.log(`\nBot Started, ${expressApp.name} listening to`, server.address());
|
665
|
+
});
|
666
|
+
```
|
667
|
+
|
668
|
+
5. If the project has `responseWrapper.ts`, please update the class `responseWrapper` to the class below.
|
652
669
|
|
653
670
|
```ts
|
654
671
|
import { Response } from "botbuilder";
|