Commit 1782d80
authored
fix(vercel-edge): Make breadcrumbs option optional in WinterCGFetch integration (#10785)
Right now it's not possible to use it as:
```js
new Sentry.Integrations.WinterCGFetch({
shouldCreateSpanForRequest: (url) => {
return !url.startsWith(`${process.env.NEXT_PUBLIC_SUPABASE_URL}/rest`);
}
})
```
due to `breadcrubs` not being marked as optional. Instead of changing it
to such, reuse already existing `Options` interface to keep it in sync
with the integration itself.1 parent 32e4eff commit 1782d80
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 132 | + | |
136 | 133 | | |
137 | 134 | | |
138 | 135 | | |
| |||
0 commit comments