scrapebadger 0.8.0 → 0.8.1

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.
package/dist/index.d.cts CHANGED
@@ -2439,19 +2439,6 @@ interface RedditTrophy {
2439
2439
  /** URL associated with the trophy */
2440
2440
  url: string | null;
2441
2441
  }
2442
- /**
2443
- * A subreddit moderator entry.
2444
- */
2445
- interface RedditModerator {
2446
- /** Moderator username */
2447
- name: string;
2448
- /** Moderator user ID */
2449
- id: string | null;
2450
- /** Moderator permissions list */
2451
- mod_permissions: string[];
2452
- /** Date added as moderator (Unix), null if unknown */
2453
- date: number | null;
2454
- }
2455
2442
  /**
2456
2443
  * Pagination metadata for list responses.
2457
2444
  */
@@ -2536,15 +2523,6 @@ interface SubredditRulesResponse {
2536
2523
  /** Subreddit name */
2537
2524
  subreddit: string;
2538
2525
  }
2539
- /**
2540
- * Response from the subreddit moderators endpoint.
2541
- */
2542
- interface SubredditModeratorsResponse {
2543
- /** List of moderators */
2544
- moderators: RedditModerator[];
2545
- /** Subreddit name */
2546
- subreddit: string;
2547
- }
2548
2526
  /**
2549
2527
  * Response from the subreddit wiki pages list endpoint.
2550
2528
  */
@@ -2955,7 +2933,7 @@ declare class PostsClient {
2955
2933
  /**
2956
2934
  * Reddit Subreddits API client.
2957
2935
  *
2958
- * Provides methods for fetching subreddit details, posts, rules, moderators, and wiki pages.
2936
+ * Provides methods for fetching subreddit details, posts, rules, and wiki pages.
2959
2937
  */
2960
2938
 
2961
2939
  /**
@@ -3045,29 +3023,6 @@ declare class SubredditsClient {
3045
3023
  * ```
3046
3024
  */
3047
3025
  rules(subreddit: string): Promise<SubredditRulesResponse>;
3048
- /**
3049
- * Get the moderators of a subreddit.
3050
- *
3051
- * @param subreddit - Subreddit name (without r/ prefix).
3052
- * @param options - Optional parameters.
3053
- * @param options.after - Pagination cursor for the next page.
3054
- * @param options.limit - Number of results to return.
3055
- * @returns List of moderators with pagination metadata.
3056
- * @throws NotFoundError - If the subreddit doesn't exist.
3057
- * @throws AuthenticationError - If the API key is invalid.
3058
- *
3059
- * @example
3060
- * ```typescript
3061
- * const response = await client.reddit.subreddits.moderators("programming");
3062
- * for (const mod of response.moderators) {
3063
- * console.log(`u/${mod.name}: [${mod.mod_permissions.join(", ")}]`);
3064
- * }
3065
- * ```
3066
- */
3067
- moderators(subreddit: string, options?: {
3068
- after?: string;
3069
- limit?: number;
3070
- }): Promise<SubredditModeratorsResponse>;
3071
3026
  /**
3072
3027
  * List all wiki pages in a subreddit.
3073
3028
  *
@@ -3415,4 +3370,4 @@ declare class ScrapeBadger {
3415
3370
  constructor(config?: Partial<ScrapeBadgerConfig>);
3416
3371
  }
3417
3372
 
3418
- export { type AiModeSearchParams, type AutocompleteParams, type DetectOptions, type DetectResult, type DomainPostsResponse, type FinanceQuoteParams, type FlightsSearchParams, type FlightsStopsFilter, type FlightsTravelClass, type FlightsTripType, AiModeClient as GoogleAiModeClient, AutocompleteClient as GoogleAutocompleteClient, GoogleClient, FinanceClient as GoogleFinanceClient, FlightsClient as GoogleFlightsClient, HotelsClient as GoogleHotelsClient, ImagesClient as GoogleImagesClient, JobsClient as GoogleJobsClient, LensClient as GoogleLensClient, MapsClient as GoogleMapsClient, NewsClient as GoogleNewsClient, PatentsClient as GooglePatentsClient, ProductsClient as GoogleProductsClient, type GoogleResponse, ScholarClient as GoogleScholarClient, SearchClient$1 as GoogleSearchClient, type GoogleSearchParams, ShoppingClient as GoogleShoppingClient, ShortsClient as GoogleShortsClient, TrendsClient as GoogleTrendsClient, VideosClient as GoogleVideosClient, type HotelsDetailsParams, type HotelsSearchParams, type ImagesSearchParams, type JobsSearchParams, type LensSearchParams, type MapsPhotosParams, type MapsPlaceParams, type MapsPostsParams, type MapsReviewsParams, type MapsSearchParams, type NewsSearchParams, type NewsTopicsParams, type NewsTrendingParams, type PatentsDetailParams, type PatentsSearchParams, type PopularSubredditsResponse, type PostCommentsResponse, type PostDetailResponse, type PostDuplicatesResponse, type ProductsDetailParams, RedditClient, type RedditComment, type RedditModerator, type RedditPagination, type RedditPost, PostsClient as RedditPostsClient, type RedditRule, SearchClient as RedditSearchClient, type RedditSubreddit, SubredditsClient as RedditSubredditsClient, type RedditTrophy, type RedditUser, type UserProfileResponse as RedditUserProfileResponse, UsersClient as RedditUsersClient, type RedditWikiPage, type ScholarAuthorCitationParams, type ScholarAuthorParams, type ScholarCiteParams, type ScholarProfilesParams, type ScholarSearchParams, ScrapeBadger, ScrapeBadgerConfig, type ScrapeOptions, type ScrapeResult, type SearchPostsResponse, type SearchSubredditsResponse, type SearchUsersResponse, type ShoppingClickParams, type ShoppingProductParams, type ShoppingSearchParams, type ShortsSearchParams, type SubredditDetailResponse, type SubredditModeratorsResponse, type SubredditPostsResponse, type SubredditRulesResponse, type SubredditWikiPagesResponse, type TrendingPostsResponse, type TrendsAutocompleteParams, type TrendsInterestParams, type TrendsRegionsParams, type TrendsRelatedParams, type TrendsTrendingParams, TwitterClient, type UserCommentsResponse, type UserModeratedResponse, type UserPostsResponse, type UserTrophiesResponse, type VideosSearchParams, type VintedBrand, type BrandsResponse as VintedBrandsResponse, VintedClient, type VintedColor, type ColorsResponse as VintedColorsResponse, type VintedItemDetail, type ItemDetailResponse as VintedItemDetailResponse, type VintedItemSummary, ItemsClient as VintedItemsClient, type VintedMarket, type MarketsResponse as VintedMarketsResponse, type VintedPagination, type VintedPhoto, type VintedPrice, ReferenceClient as VintedReferenceClient, SearchClient$2 as VintedSearchClient, type VintedSearchParams, type SearchResponse as VintedSearchResponse, type VintedSellerSummary, type VintedStatus, type StatusesResponse as VintedStatusesResponse, type UserItemsResponse as VintedUserItemsResponse, type VintedUserProfile, type UserProfileResponse$1 as VintedUserProfileResponse, type VintedUserSummary, UsersClient$1 as VintedUsersClient, WebClient, type WikiPageResponse };
3373
+ export { type AiModeSearchParams, type AutocompleteParams, type DetectOptions, type DetectResult, type DomainPostsResponse, type FinanceQuoteParams, type FlightsSearchParams, type FlightsStopsFilter, type FlightsTravelClass, type FlightsTripType, AiModeClient as GoogleAiModeClient, AutocompleteClient as GoogleAutocompleteClient, GoogleClient, FinanceClient as GoogleFinanceClient, FlightsClient as GoogleFlightsClient, HotelsClient as GoogleHotelsClient, ImagesClient as GoogleImagesClient, JobsClient as GoogleJobsClient, LensClient as GoogleLensClient, MapsClient as GoogleMapsClient, NewsClient as GoogleNewsClient, PatentsClient as GooglePatentsClient, ProductsClient as GoogleProductsClient, type GoogleResponse, ScholarClient as GoogleScholarClient, SearchClient$1 as GoogleSearchClient, type GoogleSearchParams, ShoppingClient as GoogleShoppingClient, ShortsClient as GoogleShortsClient, TrendsClient as GoogleTrendsClient, VideosClient as GoogleVideosClient, type HotelsDetailsParams, type HotelsSearchParams, type ImagesSearchParams, type JobsSearchParams, type LensSearchParams, type MapsPhotosParams, type MapsPlaceParams, type MapsPostsParams, type MapsReviewsParams, type MapsSearchParams, type NewsSearchParams, type NewsTopicsParams, type NewsTrendingParams, type PatentsDetailParams, type PatentsSearchParams, type PopularSubredditsResponse, type PostCommentsResponse, type PostDetailResponse, type PostDuplicatesResponse, type ProductsDetailParams, RedditClient, type RedditComment, type RedditPagination, type RedditPost, PostsClient as RedditPostsClient, type RedditRule, SearchClient as RedditSearchClient, type RedditSubreddit, SubredditsClient as RedditSubredditsClient, type RedditTrophy, type RedditUser, type UserProfileResponse as RedditUserProfileResponse, UsersClient as RedditUsersClient, type RedditWikiPage, type ScholarAuthorCitationParams, type ScholarAuthorParams, type ScholarCiteParams, type ScholarProfilesParams, type ScholarSearchParams, ScrapeBadger, ScrapeBadgerConfig, type ScrapeOptions, type ScrapeResult, type SearchPostsResponse, type SearchSubredditsResponse, type SearchUsersResponse, type ShoppingClickParams, type ShoppingProductParams, type ShoppingSearchParams, type ShortsSearchParams, type SubredditDetailResponse, type SubredditPostsResponse, type SubredditRulesResponse, type SubredditWikiPagesResponse, type TrendingPostsResponse, type TrendsAutocompleteParams, type TrendsInterestParams, type TrendsRegionsParams, type TrendsRelatedParams, type TrendsTrendingParams, TwitterClient, type UserCommentsResponse, type UserModeratedResponse, type UserPostsResponse, type UserTrophiesResponse, type VideosSearchParams, type VintedBrand, type BrandsResponse as VintedBrandsResponse, VintedClient, type VintedColor, type ColorsResponse as VintedColorsResponse, type VintedItemDetail, type ItemDetailResponse as VintedItemDetailResponse, type VintedItemSummary, ItemsClient as VintedItemsClient, type VintedMarket, type MarketsResponse as VintedMarketsResponse, type VintedPagination, type VintedPhoto, type VintedPrice, ReferenceClient as VintedReferenceClient, SearchClient$2 as VintedSearchClient, type VintedSearchParams, type SearchResponse as VintedSearchResponse, type VintedSellerSummary, type VintedStatus, type StatusesResponse as VintedStatusesResponse, type UserItemsResponse as VintedUserItemsResponse, type VintedUserProfile, type UserProfileResponse$1 as VintedUserProfileResponse, type VintedUserSummary, UsersClient$1 as VintedUsersClient, WebClient, type WikiPageResponse };
package/dist/index.d.ts CHANGED
@@ -2439,19 +2439,6 @@ interface RedditTrophy {
2439
2439
  /** URL associated with the trophy */
2440
2440
  url: string | null;
2441
2441
  }
2442
- /**
2443
- * A subreddit moderator entry.
2444
- */
2445
- interface RedditModerator {
2446
- /** Moderator username */
2447
- name: string;
2448
- /** Moderator user ID */
2449
- id: string | null;
2450
- /** Moderator permissions list */
2451
- mod_permissions: string[];
2452
- /** Date added as moderator (Unix), null if unknown */
2453
- date: number | null;
2454
- }
2455
2442
  /**
2456
2443
  * Pagination metadata for list responses.
2457
2444
  */
@@ -2536,15 +2523,6 @@ interface SubredditRulesResponse {
2536
2523
  /** Subreddit name */
2537
2524
  subreddit: string;
2538
2525
  }
2539
- /**
2540
- * Response from the subreddit moderators endpoint.
2541
- */
2542
- interface SubredditModeratorsResponse {
2543
- /** List of moderators */
2544
- moderators: RedditModerator[];
2545
- /** Subreddit name */
2546
- subreddit: string;
2547
- }
2548
2526
  /**
2549
2527
  * Response from the subreddit wiki pages list endpoint.
2550
2528
  */
@@ -2955,7 +2933,7 @@ declare class PostsClient {
2955
2933
  /**
2956
2934
  * Reddit Subreddits API client.
2957
2935
  *
2958
- * Provides methods for fetching subreddit details, posts, rules, moderators, and wiki pages.
2936
+ * Provides methods for fetching subreddit details, posts, rules, and wiki pages.
2959
2937
  */
2960
2938
 
2961
2939
  /**
@@ -3045,29 +3023,6 @@ declare class SubredditsClient {
3045
3023
  * ```
3046
3024
  */
3047
3025
  rules(subreddit: string): Promise<SubredditRulesResponse>;
3048
- /**
3049
- * Get the moderators of a subreddit.
3050
- *
3051
- * @param subreddit - Subreddit name (without r/ prefix).
3052
- * @param options - Optional parameters.
3053
- * @param options.after - Pagination cursor for the next page.
3054
- * @param options.limit - Number of results to return.
3055
- * @returns List of moderators with pagination metadata.
3056
- * @throws NotFoundError - If the subreddit doesn't exist.
3057
- * @throws AuthenticationError - If the API key is invalid.
3058
- *
3059
- * @example
3060
- * ```typescript
3061
- * const response = await client.reddit.subreddits.moderators("programming");
3062
- * for (const mod of response.moderators) {
3063
- * console.log(`u/${mod.name}: [${mod.mod_permissions.join(", ")}]`);
3064
- * }
3065
- * ```
3066
- */
3067
- moderators(subreddit: string, options?: {
3068
- after?: string;
3069
- limit?: number;
3070
- }): Promise<SubredditModeratorsResponse>;
3071
3026
  /**
3072
3027
  * List all wiki pages in a subreddit.
3073
3028
  *
@@ -3415,4 +3370,4 @@ declare class ScrapeBadger {
3415
3370
  constructor(config?: Partial<ScrapeBadgerConfig>);
3416
3371
  }
3417
3372
 
3418
- export { type AiModeSearchParams, type AutocompleteParams, type DetectOptions, type DetectResult, type DomainPostsResponse, type FinanceQuoteParams, type FlightsSearchParams, type FlightsStopsFilter, type FlightsTravelClass, type FlightsTripType, AiModeClient as GoogleAiModeClient, AutocompleteClient as GoogleAutocompleteClient, GoogleClient, FinanceClient as GoogleFinanceClient, FlightsClient as GoogleFlightsClient, HotelsClient as GoogleHotelsClient, ImagesClient as GoogleImagesClient, JobsClient as GoogleJobsClient, LensClient as GoogleLensClient, MapsClient as GoogleMapsClient, NewsClient as GoogleNewsClient, PatentsClient as GooglePatentsClient, ProductsClient as GoogleProductsClient, type GoogleResponse, ScholarClient as GoogleScholarClient, SearchClient$1 as GoogleSearchClient, type GoogleSearchParams, ShoppingClient as GoogleShoppingClient, ShortsClient as GoogleShortsClient, TrendsClient as GoogleTrendsClient, VideosClient as GoogleVideosClient, type HotelsDetailsParams, type HotelsSearchParams, type ImagesSearchParams, type JobsSearchParams, type LensSearchParams, type MapsPhotosParams, type MapsPlaceParams, type MapsPostsParams, type MapsReviewsParams, type MapsSearchParams, type NewsSearchParams, type NewsTopicsParams, type NewsTrendingParams, type PatentsDetailParams, type PatentsSearchParams, type PopularSubredditsResponse, type PostCommentsResponse, type PostDetailResponse, type PostDuplicatesResponse, type ProductsDetailParams, RedditClient, type RedditComment, type RedditModerator, type RedditPagination, type RedditPost, PostsClient as RedditPostsClient, type RedditRule, SearchClient as RedditSearchClient, type RedditSubreddit, SubredditsClient as RedditSubredditsClient, type RedditTrophy, type RedditUser, type UserProfileResponse as RedditUserProfileResponse, UsersClient as RedditUsersClient, type RedditWikiPage, type ScholarAuthorCitationParams, type ScholarAuthorParams, type ScholarCiteParams, type ScholarProfilesParams, type ScholarSearchParams, ScrapeBadger, ScrapeBadgerConfig, type ScrapeOptions, type ScrapeResult, type SearchPostsResponse, type SearchSubredditsResponse, type SearchUsersResponse, type ShoppingClickParams, type ShoppingProductParams, type ShoppingSearchParams, type ShortsSearchParams, type SubredditDetailResponse, type SubredditModeratorsResponse, type SubredditPostsResponse, type SubredditRulesResponse, type SubredditWikiPagesResponse, type TrendingPostsResponse, type TrendsAutocompleteParams, type TrendsInterestParams, type TrendsRegionsParams, type TrendsRelatedParams, type TrendsTrendingParams, TwitterClient, type UserCommentsResponse, type UserModeratedResponse, type UserPostsResponse, type UserTrophiesResponse, type VideosSearchParams, type VintedBrand, type BrandsResponse as VintedBrandsResponse, VintedClient, type VintedColor, type ColorsResponse as VintedColorsResponse, type VintedItemDetail, type ItemDetailResponse as VintedItemDetailResponse, type VintedItemSummary, ItemsClient as VintedItemsClient, type VintedMarket, type MarketsResponse as VintedMarketsResponse, type VintedPagination, type VintedPhoto, type VintedPrice, ReferenceClient as VintedReferenceClient, SearchClient$2 as VintedSearchClient, type VintedSearchParams, type SearchResponse as VintedSearchResponse, type VintedSellerSummary, type VintedStatus, type StatusesResponse as VintedStatusesResponse, type UserItemsResponse as VintedUserItemsResponse, type VintedUserProfile, type UserProfileResponse$1 as VintedUserProfileResponse, type VintedUserSummary, UsersClient$1 as VintedUsersClient, WebClient, type WikiPageResponse };
3373
+ export { type AiModeSearchParams, type AutocompleteParams, type DetectOptions, type DetectResult, type DomainPostsResponse, type FinanceQuoteParams, type FlightsSearchParams, type FlightsStopsFilter, type FlightsTravelClass, type FlightsTripType, AiModeClient as GoogleAiModeClient, AutocompleteClient as GoogleAutocompleteClient, GoogleClient, FinanceClient as GoogleFinanceClient, FlightsClient as GoogleFlightsClient, HotelsClient as GoogleHotelsClient, ImagesClient as GoogleImagesClient, JobsClient as GoogleJobsClient, LensClient as GoogleLensClient, MapsClient as GoogleMapsClient, NewsClient as GoogleNewsClient, PatentsClient as GooglePatentsClient, ProductsClient as GoogleProductsClient, type GoogleResponse, ScholarClient as GoogleScholarClient, SearchClient$1 as GoogleSearchClient, type GoogleSearchParams, ShoppingClient as GoogleShoppingClient, ShortsClient as GoogleShortsClient, TrendsClient as GoogleTrendsClient, VideosClient as GoogleVideosClient, type HotelsDetailsParams, type HotelsSearchParams, type ImagesSearchParams, type JobsSearchParams, type LensSearchParams, type MapsPhotosParams, type MapsPlaceParams, type MapsPostsParams, type MapsReviewsParams, type MapsSearchParams, type NewsSearchParams, type NewsTopicsParams, type NewsTrendingParams, type PatentsDetailParams, type PatentsSearchParams, type PopularSubredditsResponse, type PostCommentsResponse, type PostDetailResponse, type PostDuplicatesResponse, type ProductsDetailParams, RedditClient, type RedditComment, type RedditPagination, type RedditPost, PostsClient as RedditPostsClient, type RedditRule, SearchClient as RedditSearchClient, type RedditSubreddit, SubredditsClient as RedditSubredditsClient, type RedditTrophy, type RedditUser, type UserProfileResponse as RedditUserProfileResponse, UsersClient as RedditUsersClient, type RedditWikiPage, type ScholarAuthorCitationParams, type ScholarAuthorParams, type ScholarCiteParams, type ScholarProfilesParams, type ScholarSearchParams, ScrapeBadger, ScrapeBadgerConfig, type ScrapeOptions, type ScrapeResult, type SearchPostsResponse, type SearchSubredditsResponse, type SearchUsersResponse, type ShoppingClickParams, type ShoppingProductParams, type ShoppingSearchParams, type ShortsSearchParams, type SubredditDetailResponse, type SubredditPostsResponse, type SubredditRulesResponse, type SubredditWikiPagesResponse, type TrendingPostsResponse, type TrendsAutocompleteParams, type TrendsInterestParams, type TrendsRegionsParams, type TrendsRelatedParams, type TrendsTrendingParams, TwitterClient, type UserCommentsResponse, type UserModeratedResponse, type UserPostsResponse, type UserTrophiesResponse, type VideosSearchParams, type VintedBrand, type BrandsResponse as VintedBrandsResponse, VintedClient, type VintedColor, type ColorsResponse as VintedColorsResponse, type VintedItemDetail, type ItemDetailResponse as VintedItemDetailResponse, type VintedItemSummary, ItemsClient as VintedItemsClient, type VintedMarket, type MarketsResponse as VintedMarketsResponse, type VintedPagination, type VintedPhoto, type VintedPrice, ReferenceClient as VintedReferenceClient, SearchClient$2 as VintedSearchClient, type VintedSearchParams, type SearchResponse as VintedSearchResponse, type VintedSellerSummary, type VintedStatus, type StatusesResponse as VintedStatusesResponse, type UserItemsResponse as VintedUserItemsResponse, type VintedUserProfile, type UserProfileResponse$1 as VintedUserProfileResponse, type VintedUserSummary, UsersClient$1 as VintedUsersClient, WebClient, type WikiPageResponse };
package/dist/index.js CHANGED
@@ -3589,9 +3589,7 @@ var SubredditsClient = class {
3589
3589
  * ```
3590
3590
  */
3591
3591
  async get(subreddit) {
3592
- return this.client.request(
3593
- `/v1/reddit/subreddits/${subreddit}`
3594
- );
3592
+ return this.client.request(`/v1/reddit/subreddits/${subreddit}`);
3595
3593
  }
3596
3594
  /**
3597
3595
  * Get posts from a subreddit.
@@ -3619,17 +3617,14 @@ var SubredditsClient = class {
3619
3617
  * ```
3620
3618
  */
3621
3619
  async posts(subreddit, options = {}) {
3622
- return this.client.request(
3623
- `/v1/reddit/subreddits/${subreddit}/posts`,
3624
- {
3625
- params: {
3626
- sort: options.sort,
3627
- time: options.time,
3628
- after: options.after,
3629
- limit: options.limit
3630
- }
3620
+ return this.client.request(`/v1/reddit/subreddits/${subreddit}/posts`, {
3621
+ params: {
3622
+ sort: options.sort,
3623
+ time: options.time,
3624
+ after: options.after,
3625
+ limit: options.limit
3631
3626
  }
3632
- );
3627
+ });
3633
3628
  }
3634
3629
  /**
3635
3630
  * Get the rules for a subreddit.
@@ -3649,39 +3644,7 @@ var SubredditsClient = class {
3649
3644
  * ```
3650
3645
  */
3651
3646
  async rules(subreddit) {
3652
- return this.client.request(
3653
- `/v1/reddit/subreddits/${subreddit}/rules`
3654
- );
3655
- }
3656
- /**
3657
- * Get the moderators of a subreddit.
3658
- *
3659
- * @param subreddit - Subreddit name (without r/ prefix).
3660
- * @param options - Optional parameters.
3661
- * @param options.after - Pagination cursor for the next page.
3662
- * @param options.limit - Number of results to return.
3663
- * @returns List of moderators with pagination metadata.
3664
- * @throws NotFoundError - If the subreddit doesn't exist.
3665
- * @throws AuthenticationError - If the API key is invalid.
3666
- *
3667
- * @example
3668
- * ```typescript
3669
- * const response = await client.reddit.subreddits.moderators("programming");
3670
- * for (const mod of response.moderators) {
3671
- * console.log(`u/${mod.name}: [${mod.mod_permissions.join(", ")}]`);
3672
- * }
3673
- * ```
3674
- */
3675
- async moderators(subreddit, options = {}) {
3676
- return this.client.request(
3677
- `/v1/reddit/subreddits/${subreddit}/moderators`,
3678
- {
3679
- params: {
3680
- after: options.after,
3681
- limit: options.limit
3682
- }
3683
- }
3684
- );
3647
+ return this.client.request(`/v1/reddit/subreddits/${subreddit}/rules`);
3685
3648
  }
3686
3649
  /**
3687
3650
  * List all wiki pages in a subreddit.
@@ -3721,9 +3684,7 @@ var SubredditsClient = class {
3721
3684
  * ```
3722
3685
  */
3723
3686
  async wikiPage(subreddit, page) {
3724
- return this.client.request(
3725
- `/v1/reddit/subreddits/${subreddit}/wiki/${page}`
3726
- );
3687
+ return this.client.request(`/v1/reddit/subreddits/${subreddit}/wiki/${page}`);
3727
3688
  }
3728
3689
  /**
3729
3690
  * Get the most popular subreddits on Reddit.
@@ -3743,15 +3704,12 @@ var SubredditsClient = class {
3743
3704
  * ```
3744
3705
  */
3745
3706
  async popular(options = {}) {
3746
- return this.client.request(
3747
- "/v1/reddit/subreddits/popular",
3748
- {
3749
- params: {
3750
- after: options.after,
3751
- limit: options.limit
3752
- }
3707
+ return this.client.request("/v1/reddit/subreddits/popular", {
3708
+ params: {
3709
+ after: options.after,
3710
+ limit: options.limit
3753
3711
  }
3754
- );
3712
+ });
3755
3713
  }
3756
3714
  /**
3757
3715
  * Get newly created subreddits on Reddit.
@@ -3771,15 +3729,12 @@ var SubredditsClient = class {
3771
3729
  * ```
3772
3730
  */
3773
3731
  async newSubreddits(options = {}) {
3774
- return this.client.request(
3775
- "/v1/reddit/subreddits/new",
3776
- {
3777
- params: {
3778
- after: options.after,
3779
- limit: options.limit
3780
- }
3732
+ return this.client.request("/v1/reddit/subreddits/new", {
3733
+ params: {
3734
+ after: options.after,
3735
+ limit: options.limit
3781
3736
  }
3782
- );
3737
+ });
3783
3738
  }
3784
3739
  };
3785
3740