scavio 0.29.1 → 0.30.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.cjs CHANGED
@@ -237,7 +237,7 @@ function parseRetryAfter(header) {
237
237
  var BASE_URL = "https://api.scavio.dev";
238
238
  var DEFAULT_TIMEOUT = 3e4;
239
239
  var DEFAULT_MAX_RETRIES = 2;
240
- var SDK_VERSION = true ? "0.29.1" : "0.0.0";
240
+ var SDK_VERSION = true ? "0.30.0" : "0.0.0";
241
241
  var USER_AGENT = `scavio-js/${SDK_VERSION}`;
242
242
  function isServerRuntime() {
243
243
  const g = globalThis;
@@ -2855,44 +2855,6 @@ var DecathlonNamespace = class {
2855
2855
  }
2856
2856
  };
2857
2857
 
2858
- // src/namespaces/totalwine.ts
2859
- var TotalWineNamespace = class {
2860
- constructor(client) {
2861
- this.client = client;
2862
- }
2863
- client;
2864
- /**
2865
- * Search Total Wine at one store: that store's price (cents), units in
2866
- * stock, purchase limit, aisle, size, rating and pickup/delivery/shipping
2867
- * availability. When the store carries none of the matches, products is
2868
- * empty and searched_all_stores is true.
2869
- *
2870
- * Costs 10 credits.
2871
- */
2872
- async search(options) {
2873
- return this.client._post("/api/v1/totalwine/search", options);
2874
- }
2875
- /**
2876
- * One Total Wine product at one store: price (cents), units in stock, aisle,
2877
- * bay, shelf, last restock date, ABV, taste profile, characteristics and
2878
- * breadcrumbs. Pass product_id or product_url.
2879
- *
2880
- * Costs 10 credits.
2881
- */
2882
- async product(options) {
2883
- return this.client._post("/api/v1/totalwine/product", options);
2884
- }
2885
- /**
2886
- * Total Wine stores near a ZIP code or city, nearest first: store_id,
2887
- * address, phone, coordinates, distance in miles and delivery availability.
2888
- *
2889
- * Costs 10 credits.
2890
- */
2891
- async stores(options) {
2892
- return this.client._post("/api/v1/totalwine/stores", options);
2893
- }
2894
- };
2895
-
2896
2858
  // src/namespaces/specs.ts
2897
2859
  var SpecsNamespace = class {
2898
2860
  constructor(client) {
@@ -3443,7 +3405,6 @@ var Scavio = class extends ScavioCore {
3443
3405
  heb;
3444
3406
  kroger;
3445
3407
  decathlon;
3446
- totalwine;
3447
3408
  specs;
3448
3409
  trustpilot;
3449
3410
  chatgpt;
@@ -3507,7 +3468,6 @@ var Scavio = class extends ScavioCore {
3507
3468
  this.heb = new HebNamespace(this);
3508
3469
  this.kroger = new KrogerNamespace(this);
3509
3470
  this.decathlon = new DecathlonNamespace(this);
3510
- this.totalwine = new TotalWineNamespace(this);
3511
3471
  this.specs = new SpecsNamespace(this);
3512
3472
  this.trustpilot = new TrustpilotNamespace(this);
3513
3473
  this.chatgpt = new ChatgptNamespace(this);