Better visibility into webhook registering, fix for Typeform SDK updating webhook

This commit is contained in:
Matt Aitken
2023-07-14 17:16:26 +01:00
parent 1f5bd8d6bb
commit 7f6bf992a2
4 changed files with 13 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@trigger.dev/typeform": patch
---
All Typeform events should be "form_response". Got rid of "all"
+5
View File
@@ -0,0 +1,5 @@
---
"@trigger.dev/sdk": patch
---
Show the params to updateSource in the dashboard
+2 -2
View File
@@ -195,7 +195,7 @@ export function createWebhookEventSource(
return {
data: newWebhookData,
registeredEvents: ["all"],
registeredEvents: ["form_response"],
};
};
@@ -230,7 +230,7 @@ export function createWebhookEventSource(
return {
data: newWebhookData,
registeredEvents: ["all"],
registeredEvents: ["form_response"],
};
} catch (error) {
return createWebhook();
+1
View File
@@ -246,6 +246,7 @@ export class IO {
redact: {
paths: ["secret"],
},
params: options,
},
async (task) => {
return await this._apiClient.updateSource(