@youdotcom-oss/n8n-nodes-youdotcom 0.2.7 → 0.2.8
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.
|
@@ -43,7 +43,7 @@ __export(exports_YouDotCom_node, {
|
|
|
43
43
|
});
|
|
44
44
|
module.exports = __toCommonJS(exports_YouDotCom_node);
|
|
45
45
|
var import_n8n_workflow = require("n8n-workflow");
|
|
46
|
-
var PACKAGE_VERSION = "0.2.
|
|
46
|
+
var PACKAGE_VERSION = "0.2.8";
|
|
47
47
|
var USER_AGENT = `n8n-nodes-youdotcom/${PACKAGE_VERSION} (https://github.com/youdotcom-oss/n8n-nodes-youdotcom)`;
|
|
48
48
|
|
|
49
49
|
class YouDotCom {
|
|
@@ -59,22 +59,14 @@ class YouDotCom {
|
|
|
59
59
|
defaults: {
|
|
60
60
|
name: "You.com"
|
|
61
61
|
},
|
|
62
|
-
inputs: [
|
|
63
|
-
outputs: [
|
|
62
|
+
inputs: [import_n8n_workflow.NodeConnectionTypes.Main],
|
|
63
|
+
outputs: [import_n8n_workflow.NodeConnectionTypes.Main],
|
|
64
64
|
credentials: [
|
|
65
65
|
{
|
|
66
66
|
name: "youDotComApi",
|
|
67
67
|
required: true
|
|
68
68
|
}
|
|
69
69
|
],
|
|
70
|
-
requestDefaults: {
|
|
71
|
-
baseURL: "https://ydc-index.io",
|
|
72
|
-
headers: {
|
|
73
|
-
Accept: "application/json",
|
|
74
|
-
"Content-Type": "application/json",
|
|
75
|
-
"User-Agent": USER_AGENT
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
70
|
properties: [
|
|
79
71
|
{
|
|
80
72
|
displayName: "Operation",
|
|
@@ -82,12 +74,6 @@ class YouDotCom {
|
|
|
82
74
|
type: "options",
|
|
83
75
|
noDataExpression: true,
|
|
84
76
|
options: [
|
|
85
|
-
{
|
|
86
|
-
name: "Search",
|
|
87
|
-
value: "search",
|
|
88
|
-
description: "Search the web and news using You.com",
|
|
89
|
-
action: "Search the web and news"
|
|
90
|
-
},
|
|
91
77
|
{
|
|
92
78
|
name: "Get Contents",
|
|
93
79
|
value: "contents",
|
|
@@ -99,6 +85,12 @@ class YouDotCom {
|
|
|
99
85
|
value: "research",
|
|
100
86
|
description: "Get a comprehensive, cited answer to a complex question",
|
|
101
87
|
action: "Research a complex question"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: "Search",
|
|
91
|
+
value: "search",
|
|
92
|
+
description: "Search the web and news using You.com",
|
|
93
|
+
action: "Search the web and news"
|
|
102
94
|
}
|
|
103
95
|
],
|
|
104
96
|
default: "search"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@youdotcom-oss/n8n-nodes-youdotcom",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "n8n community node for You.com APIs - Search, Contents extraction, and Research",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"n8n-workflow": "
|
|
61
|
+
"n8n-workflow": "*"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@biomejs/biome": "^2.3.8",
|