scrapebadger 0.38.0 → 0.40.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.38.0";
6
+ var SDK_VERSION = "0.40.0";
7
7
 
8
8
  // src/internal/exceptions.ts
9
9
  var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
@@ -3330,9 +3330,11 @@ var ShoppingClient = class {
3330
3330
  });
3331
3331
  }
3332
3332
  /**
3333
- * Resolve a product by `barcode` (GTIN-8/UPC-A/EAN-13/GTIN-14) and return
3334
- * its multi-seller Google Shopping offers. Throws on a 422 (invalid or
3335
- * checksum-failing barcode) or 404 (barcode not resolvable to a product).
3333
+ * Multi-seller Google Shopping offers for a product, by `barcode`
3334
+ * (GTIN-8/UPC-A/EAN-13/GTIN-14, resolved via Google web search first) or
3335
+ * by Google Shopping `catalog_id` (sellers read off Google's product page).
3336
+ * Throws on 400 (not exactly one identifier), 422 (invalid barcode) or 404
3337
+ * (nothing resolves).
3336
3338
  */
3337
3339
  async offers(params) {
3338
3340
  return this.client.request("/v1/google/shopping/offers", {