Skip to content

Commit f1eb5a3

Browse files
authored
Supabase: Select Row sometimes returns errors (#17057)
* add retry * pnpm-lock.yaml * versions * updates * update
1 parent e15ccad commit f1eb5a3

File tree

11 files changed

+43
-18
lines changed

11 files changed

+43
-18
lines changed

components/supabase/actions/batch-insert-rows/batch-insert-rows.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "supabase-batch-insert-rows",
77
name: "Batch Insert Rows",
88
description: "Inserts new rows into a database. [See the documentation](https://supabase.com/docs/reference/javascript/insert)",
9-
version: "0.0.1",
9+
version: "0.0.2",
1010
type: "action",
1111
props: {
1212
supabase,

components/supabase/actions/delete-row/delete-row.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "supabase-delete-row",
55
name: "Delete Row",
66
type: "action",
7-
version: "0.1.2",
7+
version: "0.1.3",
88
description: "Deletes row(s) in a database. [See the docs here](https://supabase.com/docs/reference/javascript/delete)",
99
props: {
1010
supabase,

components/supabase/actions/insert-row/insert-row.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "supabase-insert-row",
55
name: "Insert Row",
66
type: "action",
7-
version: "0.1.2",
7+
version: "0.1.3",
88
description: "Inserts a new row into a database. [See the docs here](https://supabase.com/docs/reference/javascript/insert)",
99
props: {
1010
supabase,

components/supabase/actions/remote-procedure-call/remote-procedure-call.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "supabase-remote-procedure-call",
55
name: "Remote Procedure Call",
66
type: "action",
7-
version: "0.1.2",
7+
version: "0.1.3",
88
description: "Call a Postgres function in a database. [See the docs here](https://supabase.com/docs/reference/javascript/rpc)",
99
props: {
1010
supabase,

components/supabase/actions/select-row/select-row.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "supabase-select-row",
66
name: "Select Row",
77
type: "action",
8-
version: "0.1.2",
8+
version: "0.1.3",
99
description: "Selects row(s) in a database. [See the docs here](https://supabase.com/docs/reference/javascript/select)",
1010
props: {
1111
supabase,
@@ -81,7 +81,7 @@ export default {
8181
sortOrder,
8282
max,
8383
});
84-
$.export("$summary", `Successfully retrieved ${response.length} rows from table ${table}`);
84+
$.export("$summary", `Successfully retrieved ${response.data?.length || 0} row(s) from table ${table}`);
8585
return response;
8686
},
8787
};

components/supabase/actions/update-row/update-row.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "supabase-update-row",
55
name: "Update Row",
66
type: "action",
7-
version: "0.1.2",
7+
version: "0.1.3",
88
description: "Updates row(s) in a database. [See the docs here](https://supabase.com/docs/reference/javascript/update)",
99
props: {
1010
supabase,

components/supabase/actions/upsert-row/upsert-row.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "supabase-upsert-row",
55
name: "Upsert Row",
66
type: "action",
7-
version: "0.1.2",
7+
version: "0.1.3",
88
description: "Updates a row in a database or inserts new row if not found. [See the docs here](https://supabase.com/docs/reference/javascript/upsert)",
99
props: {
1010
supabase,

components/supabase/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/supabase",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "Pipedream Supabase Components",
55
"main": "supabase.app.mjs",
66
"keywords": [

components/supabase/sources/new-row-added/new-row-added.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default {
99
key: "supabase-new-row-added",
1010
name: "New Row Added",
1111
description: "Emit new event for every new row added in a table. [See documentation here](https://supabase.com/docs/reference/javascript/select)",
12-
version: "0.0.4",
12+
version: "0.0.5",
1313
type: "source",
1414
props: {
1515
...base.props,

components/supabase/sources/new-webhook-event/new-webhook-event.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "supabase-new-webhook-event",
66
name: "New Webhook Event (Instant)",
77
description: "Emit new event for every `insert`, `update`, or `delete` operation in a table. This source requires user configuration using the Supabase website. More information in the README. [Also see documentation here](https://supabase.com/docs/guides/database/webhooks#creating-a-webhook)",
8-
version: "0.0.5",
8+
version: "0.0.6",
99
type: "source",
1010
props: {
1111
...base.props,

0 commit comments

Comments
 (0)