@aircall/logger
Advanced tools
Comparing version 2.5.3 to 2.5.4
@@ -6,2 +6,10 @@ # Change Log | ||
## [2.5.4](https://gitlab.com/aircall/shared/front-end-modules/compare/@aircall/logger@2.5.3...@aircall/logger@2.5.4) (2021-12-28) | ||
**Note:** Version bump only for package @aircall/logger | ||
## [2.5.3](http://bitbucket.org/aircall/front-end-modules/compare/@aircall/logger@2.5.2...@aircall/logger@2.5.3) (2021-10-20) | ||
@@ -8,0 +16,0 @@ |
@@ -12,3 +12,3 @@ import { StatusType } from '@datadog/browser-logs'; | ||
export declare interface UserSession extends Context { | ||
company_id: number; | ||
company_id?: number; | ||
cti_name?: string; | ||
@@ -19,6 +19,6 @@ device: string; | ||
release: string; | ||
user_id: number; | ||
is_trial: boolean; | ||
tier_level: string | undefined; | ||
provider: string | undefined; | ||
user_id?: number; | ||
is_trial?: boolean; | ||
tier_level?: string; | ||
provider?: string; | ||
} | ||
@@ -25,0 +25,0 @@ export declare interface UserContext extends Context { |
@@ -15,3 +15,9 @@ "use strict"; | ||
// List of keys that we need to check against to see if it needs to be hidden. | ||
const SENSITIVE_KEYS = ['password', 'Authorization', 'confirmationPassword', 'newPassword', 'currentPassword']; | ||
const SENSITIVE_KEYS = [ | ||
'password', | ||
'Authorization', | ||
'confirmationPassword', | ||
'newPassword', | ||
'currentPassword' | ||
]; | ||
const DEFAULT_SENSITIVE_TEXT = '<sensitive>'; | ||
@@ -18,0 +24,0 @@ class Logger { |
{ | ||
"name": "@aircall/logger", | ||
"version": "2.5.3", | ||
"version": "2.5.4", | ||
"main": "dist/index.js", | ||
@@ -14,3 +14,3 @@ "types": "dist/index.d.ts", | ||
}, | ||
"gitHead": "b0bd5427ce5c3c765f9bb4cfc4fcec5974680dfd", | ||
"gitHead": "9a3315cae4da32cb624a8227d68c870343483170", | ||
"dependencies": { | ||
@@ -17,0 +17,0 @@ "@datadog/browser-logs": "1.7.3", |
@@ -17,3 +17,3 @@ import { datadogLogs as sdk, StatusType, HandlerType } from '@datadog/browser-logs'; | ||
export declare interface UserSession extends Context { | ||
company_id: number; | ||
company_id?: number; | ||
cti_name?: string; | ||
@@ -24,6 +24,6 @@ device: string; | ||
release: string; | ||
user_id: number; | ||
is_trial: boolean; | ||
tier_level: string | undefined; | ||
provider: string | undefined; | ||
user_id?: number; | ||
is_trial?: boolean; | ||
tier_level?: string; | ||
provider?: string; | ||
} | ||
@@ -43,3 +43,9 @@ | ||
// List of keys that we need to check against to see if it needs to be hidden. | ||
const SENSITIVE_KEYS = ['password', 'Authorization', 'confirmationPassword', 'newPassword', 'currentPassword']; | ||
const SENSITIVE_KEYS = [ | ||
'password', | ||
'Authorization', | ||
'confirmationPassword', | ||
'newPassword', | ||
'currentPassword' | ||
]; | ||
const DEFAULT_SENSITIVE_TEXT = '<sensitive>'; | ||
@@ -46,0 +52,0 @@ |
Sorry, the diff of this file is not supported yet
47940
1016