scrapebadger 0.49.0 → 0.51.0

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.mjs CHANGED
@@ -5299,9 +5299,7 @@ var UsersClient5 = class {
5299
5299
  /**
5300
5300
  * Get a TikTok user's followers (best-effort; often guest-gated).
5301
5301
  *
5302
- * @deprecated Requires an authenticated session; currently returns 410.
5303
- * Kept for forward-compatibility — the endpoint may be re-enabled when
5304
- * session-based access is supported.
5302
+ * Public data is available without a TikTok account. Hidden lists return 403.
5305
5303
  *
5306
5304
  * @param username - The user's @handle.
5307
5305
  * @param options - Optional parameters (region, count, cursor).
@@ -5315,9 +5313,7 @@ var UsersClient5 = class {
5315
5313
  /**
5316
5314
  * Get accounts a TikTok user follows (best-effort).
5317
5315
  *
5318
- * @deprecated Requires an authenticated session; currently returns 410.
5319
- * Kept for forward-compatibility — the endpoint may be re-enabled when
5320
- * session-based access is supported.
5316
+ * Public data is available without a TikTok account. Hidden lists return 403.
5321
5317
  *
5322
5318
  * @param username - The user's @handle.
5323
5319
  * @param options - Optional parameters (region, count, cursor).
@@ -5331,9 +5327,7 @@ var UsersClient5 = class {
5331
5327
  /**
5332
5328
  * Get a TikTok user's liked videos (only if their Liked tab is public).
5333
5329
  *
5334
- * @deprecated Requires an authenticated session; currently returns 410.
5335
- * Kept for forward-compatibility — the endpoint may be re-enabled when
5336
- * session-based access is supported.
5330
+ * Public data is available without a TikTok account. Hidden lists return 403.
5337
5331
  *
5338
5332
  * @param username - The user's @handle.
5339
5333
  * @param options - Optional parameters (region, count).
@@ -5341,7 +5335,7 @@ var UsersClient5 = class {
5341
5335
  */
5342
5336
  async liked(username, options = {}) {
5343
5337
  return this.client.request(`/v1/tiktok/users/${username}/liked`, {
5344
- params: { region: options.region, count: options.count }
5338
+ params: { region: options.region, count: options.count, cursor: options.cursor }
5345
5339
  });
5346
5340
  }
5347
5341
  /**
@@ -5353,7 +5347,7 @@ var UsersClient5 = class {
5353
5347
  */
5354
5348
  async reposts(username, options = {}) {
5355
5349
  return this.client.request(`/v1/tiktok/users/${username}/reposts`, {
5356
- params: { region: options.region, count: options.count }
5350
+ params: { region: options.region, count: options.count, cursor: options.cursor }
5357
5351
  });
5358
5352
  }
5359
5353
  };
@@ -5415,7 +5409,7 @@ var VideosClient2 = class {
5415
5409
  */
5416
5410
  async related(videoId, options = {}) {
5417
5411
  return this.client.request(`/v1/tiktok/videos/${videoId}/related`, {
5418
- params: { region: options.region, count: options.count }
5412
+ params: { region: options.region, count: options.count, cursor: options.cursor }
5419
5413
  });
5420
5414
  }
5421
5415
  /**