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
feat(sdk-core): add custom logger with sensitive data sanitization
Implements custom logger to prevent token exposure in test/staging environments.
Replaced 111 console statements across 52 files with logger that redacts sensitive
keys (token, bearer, prv, privatekey, password, otp) and v2x bearer tokens.
Technical changes:
- Created sanitizeLog.ts with recursive sanitization (O(1) Set lookups)
- Created logger.ts with conditional sanitization (test/staging only)
- Exported logger from sdk-core for SDK-wide access
- Updated 52 files across express, sdk-core, sdk-api, abstract, coin, and utility modules
Ticket: WP-7503
0 commit comments