scavio 0.29.0 → 0.29.1

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.d.cts CHANGED
@@ -5061,7 +5061,7 @@ declare class TotalWineNamespace {
5061
5061
  * availability. When the store carries none of the matches, products is
5062
5062
  * empty and searched_all_stores is true.
5063
5063
  *
5064
- * Costs 2 credits.
5064
+ * Costs 10 credits.
5065
5065
  */
5066
5066
  search(options: TotalWineSearchOptions): Promise<Record<string, unknown>>;
5067
5067
  /**
@@ -5069,14 +5069,14 @@ declare class TotalWineNamespace {
5069
5069
  * bay, shelf, last restock date, ABV, taste profile, characteristics and
5070
5070
  * breadcrumbs. Pass product_id or product_url.
5071
5071
  *
5072
- * Costs 2 credits.
5072
+ * Costs 10 credits.
5073
5073
  */
5074
5074
  product(options: TotalWineProductOptions): Promise<Record<string, unknown>>;
5075
5075
  /**
5076
5076
  * Total Wine stores near a ZIP code or city, nearest first: store_id,
5077
5077
  * address, phone, coordinates, distance in miles and delivery availability.
5078
5078
  *
5079
- * Costs 2 credits.
5079
+ * Costs 10 credits.
5080
5080
  */
5081
5081
  stores(options: TotalWineStoresOptions): Promise<Record<string, unknown>>;
5082
5082
  }
@@ -5110,7 +5110,7 @@ declare class SpecsNamespace {
5110
5110
  * Search Spec's: online price (cents), case price and quantity, promo and
5111
5111
  * Keyclub flags, stock, size, SKU, UPC and slug.
5112
5112
  *
5113
- * Costs 1 credit.
5113
+ * Costs 5 credits.
5114
5114
  */
5115
5115
  search(options: SpecsSearchOptions): Promise<Record<string, unknown>>;
5116
5116
  /**
@@ -5118,14 +5118,14 @@ declare class SpecsNamespace {
5118
5118
  * the online price, and ABV, origin, region, vintage and tasting notes.
5119
5119
  * Pass slug or product_url.
5120
5120
  *
5121
- * Costs 1 credit.
5121
+ * Costs 5 credits.
5122
5122
  */
5123
5123
  product(options: SpecsProductOptions): Promise<Record<string, unknown>>;
5124
5124
  /**
5125
5125
  * Spec's stores in a Texas region: store_id, name, status, address, phone,
5126
5126
  * coordinates and opening hours.
5127
5127
  *
5128
- * Costs 1 credit.
5128
+ * Costs 5 credits.
5129
5129
  */
5130
5130
  stores(options: SpecsStoresOptions): Promise<Record<string, unknown>>;
5131
5131
  }
package/dist/index.d.ts CHANGED
@@ -5061,7 +5061,7 @@ declare class TotalWineNamespace {
5061
5061
  * availability. When the store carries none of the matches, products is
5062
5062
  * empty and searched_all_stores is true.
5063
5063
  *
5064
- * Costs 2 credits.
5064
+ * Costs 10 credits.
5065
5065
  */
5066
5066
  search(options: TotalWineSearchOptions): Promise<Record<string, unknown>>;
5067
5067
  /**
@@ -5069,14 +5069,14 @@ declare class TotalWineNamespace {
5069
5069
  * bay, shelf, last restock date, ABV, taste profile, characteristics and
5070
5070
  * breadcrumbs. Pass product_id or product_url.
5071
5071
  *
5072
- * Costs 2 credits.
5072
+ * Costs 10 credits.
5073
5073
  */
5074
5074
  product(options: TotalWineProductOptions): Promise<Record<string, unknown>>;
5075
5075
  /**
5076
5076
  * Total Wine stores near a ZIP code or city, nearest first: store_id,
5077
5077
  * address, phone, coordinates, distance in miles and delivery availability.
5078
5078
  *
5079
- * Costs 2 credits.
5079
+ * Costs 10 credits.
5080
5080
  */
5081
5081
  stores(options: TotalWineStoresOptions): Promise<Record<string, unknown>>;
5082
5082
  }
@@ -5110,7 +5110,7 @@ declare class SpecsNamespace {
5110
5110
  * Search Spec's: online price (cents), case price and quantity, promo and
5111
5111
  * Keyclub flags, stock, size, SKU, UPC and slug.
5112
5112
  *
5113
- * Costs 1 credit.
5113
+ * Costs 5 credits.
5114
5114
  */
5115
5115
  search(options: SpecsSearchOptions): Promise<Record<string, unknown>>;
5116
5116
  /**
@@ -5118,14 +5118,14 @@ declare class SpecsNamespace {
5118
5118
  * the online price, and ABV, origin, region, vintage and tasting notes.
5119
5119
  * Pass slug or product_url.
5120
5120
  *
5121
- * Costs 1 credit.
5121
+ * Costs 5 credits.
5122
5122
  */
5123
5123
  product(options: SpecsProductOptions): Promise<Record<string, unknown>>;
5124
5124
  /**
5125
5125
  * Spec's stores in a Texas region: store_id, name, status, address, phone,
5126
5126
  * coordinates and opening hours.
5127
5127
  *
5128
- * Costs 1 credit.
5128
+ * Costs 5 credits.
5129
5129
  */
5130
5130
  stores(options: SpecsStoresOptions): Promise<Record<string, unknown>>;
5131
5131
  }
package/dist/index.js CHANGED
@@ -145,7 +145,7 @@ function parseRetryAfter(header) {
145
145
  var BASE_URL = "https://api.scavio.dev";
146
146
  var DEFAULT_TIMEOUT = 3e4;
147
147
  var DEFAULT_MAX_RETRIES = 2;
148
- var SDK_VERSION = true ? "0.29.0" : "0.0.0";
148
+ var SDK_VERSION = true ? "0.29.1" : "0.0.0";
149
149
  var USER_AGENT = `scavio-js/${SDK_VERSION}`;
150
150
  function isServerRuntime() {
151
151
  const g = globalThis;
@@ -2775,7 +2775,7 @@ var TotalWineNamespace = class {
2775
2775
  * availability. When the store carries none of the matches, products is
2776
2776
  * empty and searched_all_stores is true.
2777
2777
  *
2778
- * Costs 2 credits.
2778
+ * Costs 10 credits.
2779
2779
  */
2780
2780
  async search(options) {
2781
2781
  return this.client._post("/api/v1/totalwine/search", options);
@@ -2785,7 +2785,7 @@ var TotalWineNamespace = class {
2785
2785
  * bay, shelf, last restock date, ABV, taste profile, characteristics and
2786
2786
  * breadcrumbs. Pass product_id or product_url.
2787
2787
  *
2788
- * Costs 2 credits.
2788
+ * Costs 10 credits.
2789
2789
  */
2790
2790
  async product(options) {
2791
2791
  return this.client._post("/api/v1/totalwine/product", options);
@@ -2794,7 +2794,7 @@ var TotalWineNamespace = class {
2794
2794
  * Total Wine stores near a ZIP code or city, nearest first: store_id,
2795
2795
  * address, phone, coordinates, distance in miles and delivery availability.
2796
2796
  *
2797
- * Costs 2 credits.
2797
+ * Costs 10 credits.
2798
2798
  */
2799
2799
  async stores(options) {
2800
2800
  return this.client._post("/api/v1/totalwine/stores", options);
@@ -2811,7 +2811,7 @@ var SpecsNamespace = class {
2811
2811
  * Search Spec's: online price (cents), case price and quantity, promo and
2812
2812
  * Keyclub flags, stock, size, SKU, UPC and slug.
2813
2813
  *
2814
- * Costs 1 credit.
2814
+ * Costs 5 credits.
2815
2815
  */
2816
2816
  async search(options) {
2817
2817
  return this.client._post("/api/v1/specs/search", options);
@@ -2821,7 +2821,7 @@ var SpecsNamespace = class {
2821
2821
  * the online price, and ABV, origin, region, vintage and tasting notes.
2822
2822
  * Pass slug or product_url.
2823
2823
  *
2824
- * Costs 1 credit.
2824
+ * Costs 5 credits.
2825
2825
  */
2826
2826
  async product(options) {
2827
2827
  return this.client._post("/api/v1/specs/product", options);
@@ -2830,7 +2830,7 @@ var SpecsNamespace = class {
2830
2830
  * Spec's stores in a Texas region: store_id, name, status, address, phone,
2831
2831
  * coordinates and opening hours.
2832
2832
  *
2833
- * Costs 1 credit.
2833
+ * Costs 5 credits.
2834
2834
  */
2835
2835
  async stores(options) {
2836
2836
  return this.client._post("/api/v1/specs/stores", options);