scrapebadger 0.1.8 → 0.1.9

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.
@@ -351,13 +351,13 @@ interface User {
351
351
  /** Banner image URL */
352
352
  profile_banner_url?: string;
353
353
  /** Number of followers */
354
- followers_count: number;
354
+ followers_count?: number;
355
355
  /** Number of accounts followed */
356
- following_count: number;
356
+ following_count?: number;
357
357
  /** Total tweets posted */
358
- tweet_count: number;
358
+ tweet_count?: number;
359
359
  /** Number of lists the user is on */
360
- listed_count: number;
360
+ listed_count?: number;
361
361
  /** Number of tweets liked */
362
362
  favourites_count?: number;
363
363
  /** Number of media posts */
@@ -351,13 +351,13 @@ interface User {
351
351
  /** Banner image URL */
352
352
  profile_banner_url?: string;
353
353
  /** Number of followers */
354
- followers_count: number;
354
+ followers_count?: number;
355
355
  /** Number of accounts followed */
356
- following_count: number;
356
+ following_count?: number;
357
357
  /** Total tweets posted */
358
- tweet_count: number;
358
+ tweet_count?: number;
359
359
  /** Number of lists the user is on */
360
- listed_count: number;
360
+ listed_count?: number;
361
361
  /** Number of tweets liked */
362
362
  favourites_count?: number;
363
363
  /** Number of media posts */
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BaseClient, T as TwitterClient, S as ScrapeBadgerConfig } from './index-DnmHcsYR.cjs';
2
- export { A as ApiResponse, C as CommunitiesClient, t as Community, r as CommunityBanner, u as CommunityMember, s as CommunityRule, g as CommunityTweetType, G as GeoClient, e as GeoSearchOptions, H as Hashtag, I as IteratorOptions, q as List, z as ListResponse, L as ListsClient, w as Location, M as Media, P as PaginatedResponse, a as PaginationOptions, y as Place, x as PlaceTrends, i as Poll, h as PollOption, Q as QueryType, R as ResolvedConfig, v as Trend, f as TrendCategory, d as TrendsClient, m as Tweet, l as TweetPlace, b as TweetsClient, j as Url, n as User, o as UserAbout, p as UserIds, k as UserMention, U as UsersClient, c as collectAll } from './index-DnmHcsYR.cjs';
1
+ import { B as BaseClient, T as TwitterClient, S as ScrapeBadgerConfig } from './index-9Mu-b1MB.cjs';
2
+ export { A as ApiResponse, C as CommunitiesClient, t as Community, r as CommunityBanner, u as CommunityMember, s as CommunityRule, g as CommunityTweetType, G as GeoClient, e as GeoSearchOptions, H as Hashtag, I as IteratorOptions, q as List, z as ListResponse, L as ListsClient, w as Location, M as Media, P as PaginatedResponse, a as PaginationOptions, y as Place, x as PlaceTrends, i as Poll, h as PollOption, Q as QueryType, R as ResolvedConfig, v as Trend, f as TrendCategory, d as TrendsClient, m as Tweet, l as TweetPlace, b as TweetsClient, j as Url, n as User, o as UserAbout, p as UserIds, k as UserMention, U as UsersClient, c as collectAll } from './index-9Mu-b1MB.cjs';
3
3
 
4
4
  /**
5
5
  * TypeScript types for web scraping API responses.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BaseClient, T as TwitterClient, S as ScrapeBadgerConfig } from './index-DnmHcsYR.js';
2
- export { A as ApiResponse, C as CommunitiesClient, t as Community, r as CommunityBanner, u as CommunityMember, s as CommunityRule, g as CommunityTweetType, G as GeoClient, e as GeoSearchOptions, H as Hashtag, I as IteratorOptions, q as List, z as ListResponse, L as ListsClient, w as Location, M as Media, P as PaginatedResponse, a as PaginationOptions, y as Place, x as PlaceTrends, i as Poll, h as PollOption, Q as QueryType, R as ResolvedConfig, v as Trend, f as TrendCategory, d as TrendsClient, m as Tweet, l as TweetPlace, b as TweetsClient, j as Url, n as User, o as UserAbout, p as UserIds, k as UserMention, U as UsersClient, c as collectAll } from './index-DnmHcsYR.js';
1
+ import { B as BaseClient, T as TwitterClient, S as ScrapeBadgerConfig } from './index-9Mu-b1MB.js';
2
+ export { A as ApiResponse, C as CommunitiesClient, t as Community, r as CommunityBanner, u as CommunityMember, s as CommunityRule, g as CommunityTweetType, G as GeoClient, e as GeoSearchOptions, H as Hashtag, I as IteratorOptions, q as List, z as ListResponse, L as ListsClient, w as Location, M as Media, P as PaginatedResponse, a as PaginationOptions, y as Place, x as PlaceTrends, i as Poll, h as PollOption, Q as QueryType, R as ResolvedConfig, v as Trend, f as TrendCategory, d as TrendsClient, m as Tweet, l as TweetPlace, b as TweetsClient, j as Url, n as User, o as UserAbout, p as UserIds, k as UserMention, U as UsersClient, c as collectAll } from './index-9Mu-b1MB.js';
3
3
 
4
4
  /**
5
5
  * TypeScript types for web scraping API responses.
package/dist/index.js CHANGED
@@ -1077,11 +1077,7 @@ var CommunitiesClient = class {
1077
1077
  name: item.name ?? "",
1078
1078
  profile_image_url: item.profile_image_url,
1079
1079
  verified: item.verified ?? false,
1080
- is_blue_verified: item.is_blue_verified,
1081
- followers_count: 0,
1082
- following_count: 0,
1083
- tweet_count: 0,
1084
- listed_count: 0
1080
+ is_blue_verified: item.is_blue_verified
1085
1081
  },
1086
1082
  role: item.role,
1087
1083
  joined_at: item.joined_at