( countryAccess: Pick<FreeModeCountryAccess, 'allowed'>, )
| 79 | ) => Promise<FreeModeIpPrivacy | null> |
| 80 | |
| 81 | export function getFreeModeAccessTier( |
| 82 | countryAccess: Pick<FreeModeCountryAccess, 'allowed'>, |
| 83 | ): FreebuffAccessTier { |
| 84 | return countryAccess.allowed ? 'full' : 'limited' |
| 85 | } |
| 86 | |
| 87 | export type FreeModeCountryAccessOptions = { |
| 88 | lookupIpPrivacy?: LookupIpPrivacyFn |
no outgoing calls
no test coverage detected