scavio 0.28.1 → 0.28.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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -5
- package/dist/index.d.ts +21 -5
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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.28.
|
|
240
|
+
var SDK_VERSION = true ? "0.28.2" : "0.0.0";
|
|
241
241
|
var USER_AGENT = `scavio-js/${SDK_VERSION}`;
|
|
242
242
|
function isServerRuntime() {
|
|
243
243
|
const g = globalThis;
|
|
@@ -2767,7 +2767,7 @@ var HebNamespace = class {
|
|
|
2767
2767
|
/**
|
|
2768
2768
|
* Search HEB grocery products by keyword: price (cents), sale status, unit
|
|
2769
2769
|
* price, size, UPC, stock, EBT/SNAP eligibility, aisle location and product
|
|
2770
|
-
* URL.
|
|
2770
|
+
* URL. Pass store_id for one store's prices, stock and assortment.
|
|
2771
2771
|
*
|
|
2772
2772
|
* Costs 2 credits.
|
|
2773
2773
|
*/
|
|
@@ -2777,7 +2777,8 @@ var HebNamespace = class {
|
|
|
2777
2777
|
/**
|
|
2778
2778
|
* Full HEB product detail: nutrition facts, ingredients, description, images,
|
|
2779
2779
|
* similar products, coupons, EBT/SNAP eligibility and breadcrumbs. Pass
|
|
2780
|
-
* product_url (from search()) or slug + product_id
|
|
2780
|
+
* product_url (from search()) or slug + product_id, or product_id alone
|
|
2781
|
+
* with store_id.
|
|
2781
2782
|
*
|
|
2782
2783
|
* Costs 2 credits.
|
|
2783
2784
|
*/
|