@microsoft/teamsfx
Advanced tools
Comparing version 3.0.0-alpha.57c8910a9.0 to 3.0.0-alpha.5c1647cc1.0
{ | ||
"name": "@microsoft/teamsfx", | ||
"version": "3.0.0-alpha.57c8910a9.0", | ||
"version": "3.0.0-alpha.5c1647cc1.0", | ||
"description": "Microsoft Teams Framework for Node.js and browser.", | ||
@@ -143,3 +143,3 @@ "main": "dist/index.node.cjs.js", | ||
}, | ||
"gitHead": "45ff135aeccc8dbd381454fcead86b3525f9425c", | ||
"gitHead": "d0f8800f7d87094572d81f52f728a1c0fd7e0b8c", | ||
"publishConfig": { | ||
@@ -146,0 +146,0 @@ "access": "public" |
@@ -651,5 +651,22 @@ # TeamsFx SDK for TypeScript/JavaScript | ||
4. If the project has `responseWrapper.ts`, please update the class `responseWrapper` to the class below. | ||
4. If the project is using `express` to create a server, please add the following line after `express()`. | ||
```ts | ||
expressApp.use(express.json()); | ||
``` | ||
The complete code will be like | ||
```ts | ||
// Create HTTP server. | ||
const expressApp = express(); | ||
expressApp.use(express.json()); | ||
const server = expressApp.listen(process.env.port || process.env.PORT || 3978, () => { | ||
console.log(`\nBot Started, ${expressApp.name} listening to`, server.address()); | ||
}); | ||
``` | ||
5. If the project has `responseWrapper.ts`, please update the class `responseWrapper` to the class below. | ||
```ts | ||
import { Response } from "botbuilder"; | ||
@@ -656,0 +673,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1521346
750