From 36d2876030eba73ee2e3af718777a13acf8a1353 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Mon, 25 Nov 2024 10:17:30 -0300 Subject: [PATCH 1/2] fix pagination --- components/sentry/sentry.app.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/sentry/sentry.app.mjs b/components/sentry/sentry.app.mjs index 3776f210dad8b..4aaba40e053d9 100644 --- a/components/sentry/sentry.app.mjs +++ b/components/sentry/sentry.app.mjs @@ -172,7 +172,7 @@ export default { ...requestConfig, params, }; - } else if (prevContext.nextPage) { + } else if (String(prevContext.nextPage.results).toLowerCase() === "true") { // sentry returns this field as a string... so adding this in case they change it to a boolean // Retrieve next page of options. url = prevContext.nextPage.url; } else { From b65a3687c02a39264e0a44995f6073f78c79e49c Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Mon, 25 Nov 2024 10:20:00 -0300 Subject: [PATCH 2/2] bump versions --- .../sentry/actions/list-issue-events/list-issue-events.mjs | 2 +- .../sentry/actions/list-project-events/list-project-events.mjs | 2 +- .../sentry/actions/list-project-issues/list-project-issues.mjs | 2 +- components/sentry/actions/update-issue/update-issue.mjs | 2 +- components/sentry/package.json | 2 +- components/sentry/sources/issue-event/issue-event.mjs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/sentry/actions/list-issue-events/list-issue-events.mjs b/components/sentry/actions/list-issue-events/list-issue-events.mjs index e74831efe4922..2413379605ac0 100644 --- a/components/sentry/actions/list-issue-events/list-issue-events.mjs +++ b/components/sentry/actions/list-issue-events/list-issue-events.mjs @@ -4,7 +4,7 @@ export default { key: "sentry-list-issue-events", name: "List Issue Events", description: "Return a list of events bound to an issue. [See the docs here](https://docs.sentry.io/api/events/list-an-issues-events/)", - version: "0.1.0", + version: "0.1.1", type: "action", props: { sentry, diff --git a/components/sentry/actions/list-project-events/list-project-events.mjs b/components/sentry/actions/list-project-events/list-project-events.mjs index 5955e8f9faa91..18985b0774913 100644 --- a/components/sentry/actions/list-project-events/list-project-events.mjs +++ b/components/sentry/actions/list-project-events/list-project-events.mjs @@ -2,7 +2,7 @@ import app from "../../sentry.app.mjs"; export default { key: "sentry-list-project-events", - version: "0.1.0", + version: "0.1.1", type: "action", name: "List Project Events.", description: "Return a list of events bound to a project. [See the docs here](https://docs.sentry.io/api/events/list-a-projects-events/)", diff --git a/components/sentry/actions/list-project-issues/list-project-issues.mjs b/components/sentry/actions/list-project-issues/list-project-issues.mjs index a1498f37b8569..db000832e75e9 100644 --- a/components/sentry/actions/list-project-issues/list-project-issues.mjs +++ b/components/sentry/actions/list-project-issues/list-project-issues.mjs @@ -2,7 +2,7 @@ import app from "../../sentry.app.mjs"; export default { key: "sentry-list-project-issues", - version: "0.1.0", + version: "0.1.1", type: "action", name: "List Project Issues.", description: "Return a list of issues bound to a project. [See the docs here](https://docs.sentry.io/api/issues/list-a-projects-issues/)", diff --git a/components/sentry/actions/update-issue/update-issue.mjs b/components/sentry/actions/update-issue/update-issue.mjs index 312ca7d5270b6..da4242b2b1d8b 100644 --- a/components/sentry/actions/update-issue/update-issue.mjs +++ b/components/sentry/actions/update-issue/update-issue.mjs @@ -3,7 +3,7 @@ import options from "../../options.mjs"; export default { key: "sentry-update-issue", - version: "0.1.0", + version: "0.1.1", type: "action", name: "Update Issue.", description: "Updates an individual issue's attributes. Only the attributes submitted are modified.[See the docs here](https://docs.sentry.io/api/events/update-an-issue/)", diff --git a/components/sentry/package.json b/components/sentry/package.json index 8ac0bf32d94ed..82696d35cc924 100644 --- a/components/sentry/package.json +++ b/components/sentry/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/sentry", - "version": "0.4.1", + "version": "0.4.2", "description": "Pipedream Sentry Components", "main": "sentry.app.js", "keywords": [ diff --git a/components/sentry/sources/issue-event/issue-event.mjs b/components/sentry/sources/issue-event/issue-event.mjs index ea7b53c18e983..a9ccf0c362ccf 100644 --- a/components/sentry/sources/issue-event/issue-event.mjs +++ b/components/sentry/sources/issue-event/issue-event.mjs @@ -2,7 +2,7 @@ import sentry from "../../sentry.app.mjs"; export default { key: "sentry-issue-event", - version: "0.1.1", + version: "0.1.2", name: "New Issue Event (Instant)", description: "Emit new events for issues that have been created or updated.", type: "source",