@aircall/logger
Advanced tools
Comparing version 2.5.2 to 2.5.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.5.3](http://bitbucket.org/aircall/front-end-modules/compare/@aircall/logger@2.5.2...@aircall/logger@2.5.3) (2021-10-20) | ||
### Bug Fixes | ||
* **errorlogs:** add additional keys to be filtered in datadog logs ([340b958](http://bitbucket.org/aircall/front-end-modules/commits/340b9589a795d6a47549fa24410cf1560779fb32)) | ||
## [2.5.2](http://bitbucket.org/aircall/front-end-modules/compare/@aircall/logger@2.5.1...@aircall/logger@2.5.2) (2020-11-20) | ||
@@ -8,0 +19,0 @@ |
@@ -15,3 +15,3 @@ "use strict"; | ||
// List of keys that we need to check against to see if it needs to be hidden. | ||
const SENSITIVE_KEYS = ['password', 'Authorization']; | ||
const SENSITIVE_KEYS = ['password', 'Authorization', 'confirmationPassword', 'newPassword', 'currentPassword']; | ||
const DEFAULT_SENSITIVE_TEXT = '<sensitive>'; | ||
@@ -18,0 +18,0 @@ class Logger { |
{ | ||
"name": "@aircall/logger", | ||
"version": "2.5.2", | ||
"version": "2.5.3", | ||
"main": "dist/index.js", | ||
@@ -14,3 +14,3 @@ "types": "dist/index.d.ts", | ||
}, | ||
"gitHead": "08adb2f18414cafa5f4c207e77a625d237775095", | ||
"gitHead": "b0bd5427ce5c3c765f9bb4cfc4fcec5974680dfd", | ||
"dependencies": { | ||
@@ -17,0 +17,0 @@ "@datadog/browser-logs": "1.7.3", |
@@ -41,3 +41,3 @@ import { datadogLogs as sdk, StatusType, HandlerType } from '@datadog/browser-logs'; | ||
// List of keys that we need to check against to see if it needs to be hidden. | ||
const SENSITIVE_KEYS = ['password', 'Authorization']; | ||
const SENSITIVE_KEYS = ['password', 'Authorization', 'confirmationPassword', 'newPassword', 'currentPassword']; | ||
const DEFAULT_SENSITIVE_TEXT = '<sensitive>'; | ||
@@ -44,0 +44,0 @@ |
Sorry, the diff of this file is not supported yet
47749