(data: unknown)
| 29 | import {PropertyGetter} from './properties.interfaces.js'; |
| 30 | |
| 31 | function shouldRedactRequestData(data: unknown) { |
| 32 | if (data === undefined || data === null) return true; |
| 33 | if (Object.hasOwn(data, 'allowStoreCodeDebug')) return !data['allowStoreCodeDebug']; |
| 34 | return true; |
| 35 | } |
| 36 | |
| 37 | export function SetupSentry( |
| 38 | sentryDsn: string, |