@microsoft/teamsfx 3.0.0-alpha.9432e5ed4.0 → 3.0.0-alpha.97cf719c6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/teamsfx",
3
- "version": "3.0.0-alpha.9432e5ed4.0",
3
+ "version": "3.0.0-alpha.97cf719c6.0",
4
4
  "description": "Microsoft Teams Framework for Node.js and browser.",
5
5
  "main": "dist/index.node.cjs.js",
6
6
  "browser": "dist/index.esm2017.js",
@@ -140,7 +140,7 @@
140
140
  "webpack": "^5.62.1",
141
141
  "yargs": "^17.2.1"
142
142
  },
143
- "gitHead": "70546607c414518266033d6e73e030c1305fcef1",
143
+ "gitHead": "4169d27a7b06ae7363aa30a4e070371b780a14ed",
144
144
  "publishConfig": {
145
145
  "access": "public"
146
146
  },
@@ -707,15 +707,17 @@ export declare class ApiKeyProvider implements AuthProvider {
707
707
  * @param logic - The additional function to handle bot context.
708
708
  *
709
709
  * @example
710
- * For example, to use with Restify:
710
+ * For example, to use with Express:
711
711
  * ``` typescript
712
712
  * // The default/empty behavior
713
- * server.use(restify.plugins.bodyParser());
714
- * server.post("api/messages", conversationBot.requestHandler);
713
+ * const expressApp = express();
714
+ * expressApp.use(express.json());
715
+ * expressApp.post("/api/notification", conversationBot.requestHandler);
715
716
  *
716
717
  * // Or, add your own logic
717
- * server.use(restify.plugins.bodyParser());
718
- * server.post("api/messages", async (req, res) => {
718
+ * const expressApp = express();
719
+ * expressApp.use(express.json());
720
+ * expressApp.post("/api/notification", async (req, res) => {
719
721
  * await conversationBot.requestHandler(req, res, async (context) => {
720
722
  * // your-own-context-logic
721
723
  * });