n8n-nodes-msteams-botframework 1.2.4 → 1.2.6
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.
|
@@ -20,8 +20,8 @@ class MsTeamsAIBot {
|
|
|
20
20
|
defaults: {
|
|
21
21
|
name: 'MS Teams AI Bot',
|
|
22
22
|
},
|
|
23
|
-
inputs: [
|
|
24
|
-
outputs: [
|
|
23
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
24
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
25
25
|
credentials: [
|
|
26
26
|
{
|
|
27
27
|
name: 'msTeamsBotFrameworkApi',
|
|
@@ -19,8 +19,8 @@ class MsTeamsBotFramework {
|
|
|
19
19
|
defaults: {
|
|
20
20
|
name: 'MS Teams Bot',
|
|
21
21
|
},
|
|
22
|
-
inputs: [
|
|
23
|
-
outputs: [
|
|
22
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
23
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
24
24
|
credentials: [
|
|
25
25
|
{
|
|
26
26
|
name: 'msTeamsBotFrameworkApi',
|
|
@@ -28,7 +28,7 @@ class MsTeamsBotFrameworkTrigger {
|
|
|
28
28
|
name: 'MS Teams Bot Trigger',
|
|
29
29
|
},
|
|
30
30
|
inputs: [],
|
|
31
|
-
outputs: [
|
|
31
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
32
32
|
credentials: [
|
|
33
33
|
{
|
|
34
34
|
name: 'msTeamsBotFrameworkApi',
|
|
@@ -293,10 +293,10 @@ class MsTeamsBotFrameworkTrigger {
|
|
|
293
293
|
activityData.rawActivity = activity;
|
|
294
294
|
}
|
|
295
295
|
});
|
|
296
|
-
if (!shouldTrigger) {
|
|
297
|
-
//
|
|
296
|
+
if (!shouldTrigger || !activityData) {
|
|
297
|
+
// Don't trigger workflow - Bot Framework Adapter already sent 200 OK
|
|
298
298
|
return {
|
|
299
|
-
|
|
299
|
+
noWebhookResponse: true,
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
302
|
// Return the activity data to the workflow
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-msteams-botframework",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "n8n node for MS Teams Azure Bot Framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"eslint": "^8.39.0",
|
|
51
51
|
"eslint-plugin-n8n-nodes-base": "^1.12.0",
|
|
52
52
|
"gulp": "^4.0.2",
|
|
53
|
-
"n8n-workflow": "^1.
|
|
53
|
+
"n8n-workflow": "^1.120.3",
|
|
54
54
|
"prettier": "^2.8.8",
|
|
55
55
|
"typescript": "^5.0.4"
|
|
56
56
|
},
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"n8n-workflow": "*"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"
|
|
62
|
-
"
|
|
61
|
+
"axios": "^1.6.0",
|
|
62
|
+
"botbuilder": "^4.20.0"
|
|
63
63
|
}
|
|
64
64
|
}
|