Commit 3cbc128
feat(ts-web): add credentials support and DO NOT EDIT header to generated clients (#122)
Update TypeScript web client generator to include credentials in fetch
configuration for cookie-based authentication and cross-origin requests.
Also add idiomatic DO NOT EDIT comment to generated file headers.
Changes:
- Add fetch wrapper with credentials: 'include' to createGrpcWebTransport
- Add DO NOT EDIT comment following Go convention
- Use cleaner arrow function syntax for fetch override
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <[email protected]>1 parent 6e4e841 commit 3cbc128
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
| 321 | + | |
320 | 322 | | |
321 | 323 | | |
322 | 324 | | |
| 325 | + | |
323 | 326 | | |
324 | 327 | | |
325 | 328 | | |
| |||
0 commit comments