@trigger.dev/sdk 4.7.5 → 4.7.6
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/commonjs/version.js
CHANGED
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "4.7.
|
|
1
|
+
export const VERSION = "4.7.6";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -116,6 +116,12 @@ event.billing.country == event.shipping.country
|
|
|
116
116
|
event.items any ( quantity > 0 )
|
|
117
117
|
```
|
|
118
118
|
|
|
119
|
+
When the payload itself is an array, as with providers that batch several events into one request (Tailscale, for example), quantify over `event`:
|
|
120
|
+
|
|
121
|
+
```text Filter expression
|
|
122
|
+
event any ( type == 'nodeCreated' )
|
|
123
|
+
```
|
|
124
|
+
|
|
119
125
|
### Spacing
|
|
120
126
|
|
|
121
127
|
Separate paths, operators, and values with one space. Parentheses may touch what they enclose, as in `(event.amount > 0)` and `any (quantity > 0)`. Lists and quoted strings may contain spaces (`['opened', 'closed']`, `'Fix the build'`). These forms work with both the TypeScript validator and the deployment parser.
|
|
@@ -96,14 +96,17 @@ Each function below returns a source with its provider's verification configurat
|
|
|
96
96
|
|
|
97
97
|
| Verification | Source functions |
|
|
98
98
|
| --- | --- |
|
|
99
|
-
| Svix | `clerk()`, `resend()`, `brex()` |
|
|
100
|
-
| Standard Webhooks | `openai()`, `replicate()`, `recallai()`, `composio()` |
|
|
99
|
+
| Svix | `clerk()`, `resend()`, `brex()`, `autumn()` |
|
|
100
|
+
| Standard Webhooks | `openai()`, `replicate()`, `recallai()`, `composio()`, `loops()`, `granola()` |
|
|
101
101
|
| HMAC-SHA256 with `X-Hub-Signature-256` | `whatsapp()` |
|
|
102
102
|
| Shared secret in `X-Gitlab-Token` | `gitlab()` |
|
|
103
|
-
|
|
|
103
|
+
| Shared secret as `Authorization: Bearer` | `supabase()` |
|
|
104
|
+
| Provider-specific HMAC | `calendly()`, `calCom()`, `sentry()`, `pagerduty()`, `vercel()`, `linear()`, `notion()`, `typeform()`, `docusign()`, `jira()`, `intercom()`, `zendesk()`, `attio()`, `workos()`, `elevenlabs()`, `vapi()`, `retell()`, `shopify()`, `metronome()`, `mux()`, `tailscale()`, `langfuse()`, `infisical()`, `planetscale()`, `plain()`, `firecrawl()` |
|
|
104
105
|
|
|
105
106
|
Provider IDs containing a hyphen use a camel case function name: the `cal-com` provider is `webhooks.calCom()`.
|
|
106
107
|
|
|
108
|
+
Supabase database webhooks aren't signed, so `supabase()` checks a shared secret instead. Generate the endpoint's secret on Trigger.dev, then add an `Authorization` header with the value `Bearer <secret>` under the webhook's HTTP Headers in Supabase.
|
|
109
|
+
|
|
107
110
|
Slack also ships as a chat channel in `@trigger.dev/slack`.
|
|
108
111
|
|
|
109
112
|
## Endpoint validation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trigger.dev/sdk",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.6",
|
|
4
4
|
"description": "trigger.dev Node.JS SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@opentelemetry/api": "1.9.1",
|
|
71
71
|
"@opentelemetry/semantic-conventions": "1.41.1",
|
|
72
|
-
"@trigger.dev/core": "4.7.
|
|
72
|
+
"@trigger.dev/core": "4.7.6",
|
|
73
73
|
"uncrypto": "^0.1.3"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|