* fix: mask passwords
Extracted masking into separate utility function. Added "passphrase" blacklist. Also redact other request args, not only `doc`.
* fix: iterate over Object.keys
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* refactor: use `String.includes(w)` instead of `String.indexOf(w) !== 1`
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>