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