()
| 48 | export const isGBDevMode = process.env.NEXT_PUBLIC_GB_DEV_MODE === 'true'; |
| 49 | |
| 50 | export const isBrave = (): boolean => { |
| 51 | if (typeof window === 'undefined' || !window.Promise) { |
| 52 | return false; |
| 53 | } |
| 54 | return typeof navigator.brave?.isBrave === 'function'; |
| 55 | }; |
| 56 | export const isChrome = (): boolean => |
| 57 | /Chrome/.test(globalThis?.navigator?.userAgent) && |
| 58 | /Google Inc/.test(globalThis?.navigator?.vendor); |
no outgoing calls
no test coverage detected