@microsoft/agents-hosting-express 1.1.0-alpha.2 → 1.1.0-alpha.5
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/package.json +2 -2
- package/dist/src/startServer.d.ts +1 -1
- package/dist/src/startServer.js +1 -1
- package/package.json +2 -2
- package/src/startServer.ts +1 -1
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@microsoft/agents-hosting-express",
|
|
4
|
-
"version": "1.1.0-alpha.
|
|
4
|
+
"version": "1.1.0-alpha.5",
|
|
5
5
|
"homepage": "https://github.com/microsoft/Agents-for-js",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"main": "dist/src/index.js",
|
|
20
20
|
"types": "dist/src/index.d.ts",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@microsoft/agents-hosting": "1.1.0-alpha.
|
|
22
|
+
"@microsoft/agents-hosting": "1.1.0-alpha.5",
|
|
23
23
|
"express": "^5.1.0"
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@ import { ActivityHandler, AgentApplication, AuthConfiguration, TurnState } from
|
|
|
10
10
|
* @param agent - The AgentApplication or ActivityHandler instance to process incoming activities.
|
|
11
11
|
* @param authConfiguration - Optional custom authentication configuration. If not provided,
|
|
12
12
|
* configuration will be loaded from environment variables using loadAuthConfigFromEnv().
|
|
13
|
-
* @returns express - The Express server instance.
|
|
13
|
+
* @returns {express.Express} - The Express server instance.
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
16
|
* This function sets up an Express server with the necessary middleware and routes for handling
|
package/dist/src/startServer.js
CHANGED
|
@@ -17,7 +17,7 @@ const package_json_1 = require("@microsoft/agents-hosting/package.json");
|
|
|
17
17
|
* @param agent - The AgentApplication or ActivityHandler instance to process incoming activities.
|
|
18
18
|
* @param authConfiguration - Optional custom authentication configuration. If not provided,
|
|
19
19
|
* configuration will be loaded from environment variables using loadAuthConfigFromEnv().
|
|
20
|
-
* @returns express - The Express server instance.
|
|
20
|
+
* @returns {express.Express} - The Express server instance.
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
23
|
* This function sets up an Express server with the necessary middleware and routes for handling
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@microsoft/agents-hosting-express",
|
|
4
|
-
"version": "1.1.0-alpha.
|
|
4
|
+
"version": "1.1.0-alpha.5",
|
|
5
5
|
"homepage": "https://github.com/microsoft/Agents-for-js",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"main": "dist/src/index.js",
|
|
20
20
|
"types": "dist/src/index.d.ts",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@microsoft/agents-hosting": "1.1.0-alpha.
|
|
22
|
+
"@microsoft/agents-hosting": "1.1.0-alpha.5",
|
|
23
23
|
"express": "^5.1.0"
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
package/src/startServer.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { version } from '@microsoft/agents-hosting/package.json'
|
|
|
12
12
|
* @param agent - The AgentApplication or ActivityHandler instance to process incoming activities.
|
|
13
13
|
* @param authConfiguration - Optional custom authentication configuration. If not provided,
|
|
14
14
|
* configuration will be loaded from environment variables using loadAuthConfigFromEnv().
|
|
15
|
-
* @returns express - The Express server instance.
|
|
15
|
+
* @returns {express.Express} - The Express server instance.
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
18
|
* This function sets up an Express server with the necessary middleware and routes for handling
|