@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.
@@ -1189,7 +1189,14 @@ function parseProfile(legacy, isBlueVerified) {
1189
1189
  async function getProfile(username, auth) {
1190
1190
  const request = apiRequestFactory.createUserByScreenNameRequest();
1191
1191
  request.variables.screen_name = username;
1192
- const res = await requestApi(request.toRequestUrl(), auth);
1192
+ const res = await requestApi(
1193
+ request.toRequestUrl(),
1194
+ auth,
1195
+ "GET",
1196
+ void 0,
1197
+ void 0,
1198
+ bearerToken2
1199
+ );
1193
1200
  if (!res.success) {
1194
1201
  return res;
1195
1202
  }