scrapebadger 0.1.4 → 0.1.5

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.
@@ -192,7 +192,9 @@ interface Url {
192
192
  */
193
193
  interface Hashtag {
194
194
  /** The hashtag text (without #) */
195
- tag: string;
195
+ text: string;
196
+ /** Character positions of the hashtag in the tweet text */
197
+ indices?: number[] | null;
196
198
  }
197
199
  /**
198
200
  * A user mention entity in tweet text.
@@ -192,7 +192,9 @@ interface Url {
192
192
  */
193
193
  interface Hashtag {
194
194
  /** The hashtag text (without #) */
195
- tag: string;
195
+ text: string;
196
+ /** Character positions of the hashtag in the tweet text */
197
+ indices?: number[] | null;
196
198
  }
197
199
  /**
198
200
  * A user mention entity in tweet text.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TwitterClient, S as ScrapeBadgerConfig } from './index-BMStDLm1.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-BMStDLm1.cjs';
1
+ import { T as TwitterClient, S as ScrapeBadgerConfig } from './index-C63Q0Tg9.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-C63Q0Tg9.cjs';
3
3
 
4
4
  /**
5
5
  * Main ScrapeBadger client.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TwitterClient, S as ScrapeBadgerConfig } from './index-BMStDLm1.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-BMStDLm1.js';
1
+ import { T as TwitterClient, S as ScrapeBadgerConfig } from './index-C63Q0Tg9.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-C63Q0Tg9.js';
3
3
 
4
4
  /**
5
5
  * Main ScrapeBadger client.
@@ -1 +1 @@
1
- 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, q as List, z as ListResponse, L as ListsClient, w as Location, M as Media, y as Place, x as PlaceTrends, i as Poll, h as PollOption, Q as QueryType, v as Trend, f as TrendCategory, d as TrendsClient, m as Tweet, l as TweetPlace, b as TweetsClient, T as TwitterClient, j as Url, n as User, o as UserAbout, p as UserIds, k as UserMention, U as UsersClient } from '../index-BMStDLm1.cjs';
1
+ 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, q as List, z as ListResponse, L as ListsClient, w as Location, M as Media, y as Place, x as PlaceTrends, i as Poll, h as PollOption, Q as QueryType, v as Trend, f as TrendCategory, d as TrendsClient, m as Tweet, l as TweetPlace, b as TweetsClient, T as TwitterClient, j as Url, n as User, o as UserAbout, p as UserIds, k as UserMention, U as UsersClient } from '../index-C63Q0Tg9.cjs';
@@ -1 +1 @@
1
- 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, q as List, z as ListResponse, L as ListsClient, w as Location, M as Media, y as Place, x as PlaceTrends, i as Poll, h as PollOption, Q as QueryType, v as Trend, f as TrendCategory, d as TrendsClient, m as Tweet, l as TweetPlace, b as TweetsClient, T as TwitterClient, j as Url, n as User, o as UserAbout, p as UserIds, k as UserMention, U as UsersClient } from '../index-BMStDLm1.js';
1
+ 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, q as List, z as ListResponse, L as ListsClient, w as Location, M as Media, y as Place, x as PlaceTrends, i as Poll, h as PollOption, Q as QueryType, v as Trend, f as TrendCategory, d as TrendsClient, m as Tweet, l as TweetPlace, b as TweetsClient, T as TwitterClient, j as Url, n as User, o as UserAbout, p as UserIds, k as UserMention, U as UsersClient } from '../index-C63Q0Tg9.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scrapebadger",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Official Node.js SDK for ScrapeBadger - Async web scraping APIs for Twitter and more",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",