Data properties are optional
This is a major (breaking) release that makes the data
parameter from Component responses optional, since the API can omit the response either because of privacy settings or during maintenance. You should update your code to handle the fact that this can be undefined.