You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(#342): move @types/jsonwebtoken to devDependencies
Type definitions are only needed at compile time; listing them as a
production dependency bloats the deployed node_modules for no
runtime benefit.
* fix(#343): warn at startup when REDIS_URL is unset
validateConfig checked JWT_SECRET, DATABASE_URL, STELLAR_RPC_URL, and
KEEPER_SECRET_KEY but said nothing about REDIS_URL, so the
ThrottlerModule's fallback to redis://localhost:6379 was silent and
easy to miss in a real deployment that meant to point at a shared
Redis instance. Not made a hard requirement since the localhost
fallback is legitimate for local dev -- just logged.
* fix(#344): include txHash and createdAt in claim API responses
Both columns exist on the Claim model, but ClaimSummary (the actual
mapped shape returned by getClaim/getClaimsByWallet) dropped both,
so an already-issued payout's on-chain transaction hash was
unrecoverable from the API despite being stored in the DB. Added
both fields to ClaimSummary, the two service mapping functions, and
ClaimResponseDto (createdAt was missing there too).
* fix(#345): remove redundant wallet query param from GET /policies/me
The wallet query parameter was only ever compared against the JWT's
wallet address for authorization -- the JWT wallet was what actually
got used to fetch policies. Removed the parameter entirely; the
endpoint now always operates on the authenticated wallet, with a
BadRequestException if the JWT carries none. Updated the controller
spec's call sites and dropped the now-meaningless
"another wallet" mismatch test.
---------
Co-authored-by: presidoclintonbased-alt <presidoclintonbased-alt@users.noreply.github.com>
0 commit comments