@the-convocation/twitter-scraper 0.20.1 → 0.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1169,7 +1169,14 @@ function parseProfile(legacy, isBlueVerified) {
1169
1169
  async function getProfile(username, auth) {
1170
1170
  const request = apiRequestFactory.createUserByScreenNameRequest();
1171
1171
  request.variables.screen_name = username;
1172
- const res = await requestApi(request.toRequestUrl(), auth);
1172
+ const res = await requestApi(
1173
+ request.toRequestUrl(),
1174
+ auth,
1175
+ "GET",
1176
+ void 0,
1177
+ void 0,
1178
+ bearerToken2
1179
+ );
1173
1180
  if (!res.success) {
1174
1181
  return res;
1175
1182
  }