rwadurian/backend/services/wallet-service/src/application
hailin 034fb53674 refactor: use accountSequence as unified user identifier across all services
- planting-service: extract accountSequence from JWT, pass to referral-service
- referral-service: query by accountSequence instead of userId
- reward-service: add accountSequence field to schema and all layers
- wallet-service: prioritize accountSequence lookup over userId
- authorization-service: change userId from String to BigInt, add accountSequence

This change ensures consistent cross-service user identification using
accountSequence (8-digit unique business ID) instead of internal database IDs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-10 13:55:03 -08:00
..
commands feat(planting): add payment reliability improvements 2025-12-10 06:31:54 -08:00
event-handlers feat(blockchain): implement Outbox Pattern for reliable event delivery 2025-12-09 21:47:31 -08:00
queries feat(deposit): add accountSequence correlation and testnet support 2025-12-08 10:26:01 -08:00
services refactor: use accountSequence as unified user identifier across all services 2025-12-10 13:55:03 -08:00