scrapebadger 0.40.0 → 0.41.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
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events';
3
3
  import WebSocket from 'ws';
4
4
 
5
5
  // src/internal/version.ts
6
- var SDK_VERSION = "0.40.0";
6
+ var SDK_VERSION = "0.41.0";
7
7
 
8
8
  // src/internal/exceptions.ts
9
9
  var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
@@ -4296,7 +4296,10 @@ var UsersClient4 = class {
4296
4296
  async about(username) {
4297
4297
  return this.client.request(`/v1/instagram/users/${username}/about`);
4298
4298
  }
4299
- /** Get accounts related/suggested for a user. */
4299
+ /**
4300
+ * Get accounts related/suggested for a user.
4301
+ * @deprecated Temporarily unavailable — authenticated data is temporarily offline.
4302
+ */
4300
4303
  async related(username) {
4301
4304
  return this.client.request(`/v1/instagram/users/${username}/related`);
4302
4305
  }
@@ -4407,7 +4410,10 @@ var MediaClient = class {
4407
4410
  async get(code) {
4408
4411
  return this.client.request(`/v1/instagram/media/${code}`);
4409
4412
  }
4410
- /** Get oEmbed metadata for a media permalink. */
4413
+ /**
4414
+ * Get oEmbed metadata for a media permalink.
4415
+ * @deprecated Temporarily unavailable — authenticated data is temporarily offline.
4416
+ */
4411
4417
  async oembed(code) {
4412
4418
  return this.client.request(`/v1/instagram/media/${code}/oembed`);
4413
4419
  }
@@ -4434,7 +4440,10 @@ var MediaClient = class {
4434
4440
  { params: { amount: options.amount, cursor: options.cursor } }
4435
4441
  );
4436
4442
  }
4437
- /** Get the users who liked a comment. */
4443
+ /**
4444
+ * Get the users who liked a comment.
4445
+ * @deprecated Temporarily unavailable — authenticated data is temporarily offline.
4446
+ */
4438
4447
  async commentLikers(code, commentId) {
4439
4448
  return this.client.request(
4440
4449
  `/v1/instagram/media/${code}/comments/${commentId}/likers`
@@ -4457,7 +4466,10 @@ var SearchClient4 = class {
4457
4466
  params: { query }
4458
4467
  });
4459
4468
  }
4460
- /** Search hashtags. */
4469
+ /**
4470
+ * Search hashtags.
4471
+ * @deprecated Temporarily unavailable — authenticated data is temporarily offline.
4472
+ */
4461
4473
  async hashtags(query) {
4462
4474
  return this.client.request("/v1/instagram/search/hashtags", {
4463
4475
  params: { query }
@@ -4490,7 +4502,10 @@ var SearchClient4 = class {
4490
4502
  params: { query }
4491
4503
  });
4492
4504
  }
4493
- /** Get blended "top" results (users, hashtags, and places). */
4505
+ /**
4506
+ * Get blended "top" results (users, hashtags, and places).
4507
+ * @deprecated Temporarily unavailable — authenticated data is temporarily offline.
4508
+ */
4494
4509
  async top(query) {
4495
4510
  return this.client.request("/v1/instagram/search/top", {
4496
4511
  params: { query }
@@ -4518,7 +4533,10 @@ var HashtagsClient = class {
4518
4533
  constructor(client) {
4519
4534
  this.client = client;
4520
4535
  }
4521
- /** Get a hashtag's info (media count, cover). */
4536
+ /**
4537
+ * Get a hashtag's info (media count, cover).
4538
+ * @deprecated Temporarily unavailable — authenticated data is temporarily offline.
4539
+ */
4522
4540
  async get(tag) {
4523
4541
  return this.client.request(`/v1/instagram/hashtags/${tag}`);
4524
4542
  }
@@ -4529,7 +4547,10 @@ var HashtagsClient = class {
4529
4547
  async top(tag, options = {}) {
4530
4548
  return mediaFeed(this.client, `/v1/instagram/hashtags/${tag}/top`, options);
4531
4549
  }
4532
- /** Get the most recent media for a hashtag. */
4550
+ /**
4551
+ * Get the most recent media for a hashtag.
4552
+ * @deprecated Temporarily unavailable — authenticated data is temporarily offline.
4553
+ */
4533
4554
  async recent(tag, options = {}) {
4534
4555
  return mediaFeed(this.client, `/v1/instagram/hashtags/${tag}/recent`, options);
4535
4556
  }