Commit 4e616df
fix(cloudflare): Count a default export re-exporting a wrapped class as auto-wrapped
`export default Foo`, where a named export already wrapped `Foo`, skips wrapping
to avoid `withSentry(withSentry(...))`, but the binding still points at the
wrapped class. Mark the default export as auto-wrapped so an entrypoint-less
self service binding survives into `rpcTracePropagationBindings`.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent abccfb2 commit 4e616df
2 files changed
Lines changed: 23 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
307 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
308 | 312 | | |
309 | 313 | | |
310 | 314 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
729 | 746 | | |
730 | 747 | | |
731 | 748 | | |
| |||
0 commit comments