@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.
@@ -1168,7 +1168,14 @@ function parseProfile(legacy, isBlueVerified) {
1168
1168
  async function getProfile(username, auth) {
1169
1169
  const request = apiRequestFactory.createUserByScreenNameRequest();
1170
1170
  request.variables.screen_name = username;
1171
- const res = await requestApi(request.toRequestUrl(), auth);
1171
+ const res = await requestApi(
1172
+ request.toRequestUrl(),
1173
+ auth,
1174
+ "GET",
1175
+ void 0,
1176
+ void 0,
1177
+ bearerToken2
1178
+ );
1172
1179
  if (!res.success) {
1173
1180
  return res;
1174
1181
  }