diff --git a/components/rss/actions/merge-rss-feeds/merge-rss-feeds.ts b/components/rss/actions/merge-rss-feeds/merge-rss-feeds.ts index 700f60163dfe7..0a98d168ca62f 100644 --- a/components/rss/actions/merge-rss-feeds/merge-rss-feeds.ts +++ b/components/rss/actions/merge-rss-feeds/merge-rss-feeds.ts @@ -5,7 +5,7 @@ export default defineAction({ name: "Merge RSS Feeds", description: "Retrieve multiple RSS feeds and return a merged array of items sorted by date [See documentation](https://www.rssboard.org/rss-specification)", key: "rss-merge-rss-feeds", - version: "1.2.9", + version: "1.2.10", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/rss/app/rss.app.ts b/components/rss/app/rss.app.ts index 8ee01c2582154..b629e50ea3b1f 100644 --- a/components/rss/app/rss.app.ts +++ b/components/rss/app/rss.app.ts @@ -1,7 +1,8 @@ import { - axios, ConfigurationError, DEFAULT_POLLING_SOURCE_TIMER_INTERVAL, + ConfigurationError, DEFAULT_POLLING_SOURCE_TIMER_INTERVAL, } from "@pipedream/platform"; import { defineApp } from "@pipedream/types"; +import axios from "axios"; import FeedParser, { Item } from "feedparser"; import { ReadStream } from "fs"; import hash from "object-hash"; @@ -54,7 +55,7 @@ export default defineApp({ return hash(item); }, async fetchFeed(url: string): Promise { // eslint-disable-line @typescript-eslint/no-explicit-any - const res = await axios(this, { + const res = await axios.request({ url, method: "GET", headers: { @@ -63,7 +64,6 @@ export default defineApp({ }, validateStatus: () => true, // does not throw on any bad status code responseType: "stream", // stream is required for feedparser - returnFullResponse: true, }); // Handle status codes as error codes diff --git a/components/rss/package.json b/components/rss/package.json index 9b58edaf73628..7ca27793335d0 100644 --- a/components/rss/package.json +++ b/components/rss/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/rss", - "version": "0.5.9", + "version": "0.5.10", "description": "Pipedream RSS Components", "main": "dist/app/rss.app.mjs", "types": "dist/app/rss.app.d.ts", diff --git a/components/rss/sources/new-item-from-multiple-feeds/new-item-from-multiple-feeds.ts b/components/rss/sources/new-item-from-multiple-feeds/new-item-from-multiple-feeds.ts index 683e3413d63ea..9feb21ab2dddc 100644 --- a/components/rss/sources/new-item-from-multiple-feeds/new-item-from-multiple-feeds.ts +++ b/components/rss/sources/new-item-from-multiple-feeds/new-item-from-multiple-feeds.ts @@ -8,7 +8,7 @@ export default defineSource({ name: "New Item From Multiple RSS Feeds", type: "source", description: "Emit new items from multiple RSS feeds", - version: "1.2.8", + version: "1.2.9", props: { ...rssCommon.props, urls: { diff --git a/components/rss/sources/new-item-in-feed/new-item-in-feed.ts b/components/rss/sources/new-item-in-feed/new-item-in-feed.ts index d346e2391c104..1519be04e604c 100644 --- a/components/rss/sources/new-item-in-feed/new-item-in-feed.ts +++ b/components/rss/sources/new-item-in-feed/new-item-in-feed.ts @@ -7,7 +7,7 @@ export default defineSource({ key: "rss-new-item-in-feed", name: "New Item in Feed", description: "Emit new items from an RSS feed", - version: "1.2.8", + version: "1.2.9", type: "source", dedupe: "unique", props: { diff --git a/components/rss/sources/random-item-in-multiple-feeds/random-item-in-multiple-feeds.ts b/components/rss/sources/random-item-in-multiple-feeds/random-item-in-multiple-feeds.ts index ee5d73e35bc12..baf2a8344d926 100644 --- a/components/rss/sources/random-item-in-multiple-feeds/random-item-in-multiple-feeds.ts +++ b/components/rss/sources/random-item-in-multiple-feeds/random-item-in-multiple-feeds.ts @@ -8,7 +8,7 @@ export default defineSource({ name: "Random item from multiple RSS feeds", type: "source", description: "Emit a random item from multiple RSS feeds", - version: "0.2.8", + version: "0.2.9", props: { ...rssCommon.props, urls: {