- New lib/request-context.ts with product validation against cache - Priority: JWT payload > X-Product-Id header > env var fallback - Rejects unknown or disabled products with 400 Bad Request - Augments FastifyRequest with jwtPayload type declaration - getRequestProductConfig() for modules needing product-specific values |
||
|---|---|---|
| .. | ||
| lib | ||
| modules | ||
| server.ts | ||