@keystrokehq/news_api 0.1.0 → 0.1.3
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-everything.cjs +9 -9
- package/dist/actions/get-everything.cjs.map +1 -1
- package/dist/actions/get-everything.d.cts +62 -3
- package/dist/actions/get-everything.d.cts.map +1 -1
- package/dist/actions/get-everything.d.mts +62 -3
- package/dist/actions/get-everything.d.mts.map +1 -1
- package/dist/actions/get-everything.mjs +9 -9
- package/dist/actions/get-everything.mjs.map +1 -1
- package/dist/actions/get-sources.cjs +10 -10
- package/dist/actions/get-sources.cjs.map +1 -1
- package/dist/actions/get-sources.d.cts +104 -3
- package/dist/actions/get-sources.d.cts.map +1 -1
- package/dist/actions/get-sources.d.mts +104 -3
- package/dist/actions/get-sources.d.mts.map +1 -1
- package/dist/actions/get-sources.mjs +10 -10
- package/dist/actions/get-sources.mjs.map +1 -1
- package/dist/actions/get-top-headlines.cjs +9 -9
- package/dist/actions/get-top-headlines.cjs.map +1 -1
- package/dist/actions/get-top-headlines.d.cts +99 -3
- package/dist/actions/get-top-headlines.d.cts.map +1 -1
- package/dist/actions/get-top-headlines.d.mts +99 -3
- package/dist/actions/get-top-headlines.d.mts.map +1 -1
- package/dist/actions/get-top-headlines.mjs +9 -9
- package/dist/actions/get-top-headlines.mjs.map +1 -1
- package/dist/actions/get-v1-articles.cjs +2 -2
- package/dist/actions/get-v1-articles.cjs.map +1 -1
- package/dist/actions/get-v1-articles.d.cts +25 -3
- package/dist/actions/get-v1-articles.d.cts.map +1 -1
- package/dist/actions/get-v1-articles.d.mts +25 -3
- package/dist/actions/get-v1-articles.d.mts.map +1 -1
- package/dist/actions/get-v1-articles.mjs +2 -2
- package/dist/actions/get-v1-articles.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const newsApiCatalog = {\n \"slug\": \"news_api\",\n \"name\": \"NewsAPI\",\n \"description\": \"News API is a simple HTTP REST API for searching and retrieving live articles from all over the web.\",\n \"category\": \"News & Lifestyle\",\n \"logo\": \"https://logos.composio.dev/api/news_api\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const newsApiCatalog = {\n \"slug\": \"news_api\",\n \"name\": \"NewsAPI\",\n \"description\": \"News API is a simple HTTP REST API for searching and retrieving live articles from all over the web.\",\n \"category\": \"News & Lifestyle\",\n \"logo\": \"https://logos.composio.dev/api/news_api\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"News API Key\",\n \"secret\": true,\n \"description\": \"Your unique API key for authenticating requests to News API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const newsApiCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/news_api";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "News API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your unique API key for authenticating requests to News API.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { newsApiCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const newsApiCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/news_api";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "News API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your unique API key for authenticating requests to News API.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { newsApiCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const newsApiCatalog = {
|
|
|
7
7
|
"category": "News & Lifestyle",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/news_api",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "News API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your unique API key for authenticating requests to News API."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { newsApiCatalog };
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const newsApiCatalog = {\n \"slug\": \"news_api\",\n \"name\": \"NewsAPI\",\n \"description\": \"News API is a simple HTTP REST API for searching and retrieving live articles from all over the web.\",\n \"category\": \"News & Lifestyle\",\n \"logo\": \"https://logos.composio.dev/api/news_api\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const newsApiCatalog = {\n \"slug\": \"news_api\",\n \"name\": \"NewsAPI\",\n \"description\": \"News API is a simple HTTP REST API for searching and retrieving live articles from all over the web.\",\n \"category\": \"News & Lifestyle\",\n \"logo\": \"https://logos.composio.dev/api/news_api\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"News API Key\",\n \"secret\": true,\n \"description\": \"Your unique API key for authenticating requests to News API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/news_api",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|