scavio 0.34.1 → 0.34.2

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.cjs CHANGED
@@ -70,6 +70,7 @@ __export(index_exports, {
70
70
  LowesNamespace: () => LowesNamespace,
71
71
  MAX_REQUESTS_PER_SECOND: () => MAX_REQUESTS_PER_SECOND,
72
72
  MENARDS_PRODUCT_TIMEOUT: () => MENARDS_PRODUCT_TIMEOUT,
73
+ MENARDS_SEARCH_TIMEOUT: () => MENARDS_SEARCH_TIMEOUT,
73
74
  MenardsNamespace: () => MenardsNamespace,
74
75
  MercadoLibreNamespace: () => MercadoLibreNamespace,
75
76
  MetaAdsNamespace: () => MetaAdsNamespace,
@@ -258,7 +259,7 @@ function parseRetryAfter(header) {
258
259
  var BASE_URL = "https://api.scavio.dev";
259
260
  var DEFAULT_TIMEOUT = 3e4;
260
261
  var DEFAULT_MAX_RETRIES = 2;
261
- var SDK_VERSION = true ? "0.34.1" : "0.0.0";
262
+ var SDK_VERSION = true ? "0.34.2" : "0.0.0";
262
263
  var USER_AGENT = `scavio-js/${SDK_VERSION}`;
263
264
  function isServerRuntime() {
264
265
  const g = globalThis;
@@ -3857,6 +3858,7 @@ var ChewyNamespace = class {
3857
3858
 
3858
3859
  // src/namespaces/menards.ts
3859
3860
  var MENARDS_PRODUCT_TIMEOUT = 12e4;
3861
+ var MENARDS_SEARCH_TIMEOUT = 6e4;
3860
3862
  var MenardsNamespace = class {
3861
3863
  constructor(client) {
3862
3864
  this.client = client;
@@ -3872,7 +3874,7 @@ var MenardsNamespace = class {
3872
3874
  * Costs 2 credits.
3873
3875
  */
3874
3876
  async search(options) {
3875
- return this.client._post("/api/v1/menards/search", options);
3877
+ return this.client._post("/api/v1/menards/search", options, void 0, MENARDS_SEARCH_TIMEOUT);
3876
3878
  }
3877
3879
  /**
3878
3880
  * One Menards product by item id or URL: name, brand, model number, SKU,
@@ -4661,6 +4663,7 @@ async function getSubtle() {
4661
4663
  LowesNamespace,
4662
4664
  MAX_REQUESTS_PER_SECOND,
4663
4665
  MENARDS_PRODUCT_TIMEOUT,
4666
+ MENARDS_SEARCH_TIMEOUT,
4664
4667
  MenardsNamespace,
4665
4668
  MercadoLibreNamespace,
4666
4669
  MetaAdsNamespace,