EventSource API cannot set custom headers, so the SSE /flags/stream endpoint and feature-flag-client were broken for streaming mode: - Server: accept productId and token from query string as fallback when x-product-id / authorization headers are absent - Client: pass productId (and optional auth token) as query params when constructing the EventSource URL |
||
|---|---|---|
| .. | ||
| client.test.ts | ||
| client.ts | ||
| index.ts | ||
| types.ts | ||