@wix/headless-stores 0.0.54 → 0.0.55

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.
@@ -2,13 +2,14 @@ export * as CategoryListCore from './core/CategoryList.js';
2
2
  export * as CategoryCore from './core/Category.js';
3
3
  export * as ProductCore from './core/Product.js';
4
4
  export * as ProductModifiers from './core/ProductModifiers.js';
5
- export * as ProductList from './core/ProductList.js';
5
+ export * as ProductListCore from './core/ProductList.js';
6
6
  export * as ProductListFilters from './core/ProductListFilters.js';
7
7
  export * as ProductListPagination from './core/ProductListPagination.js';
8
8
  export * as ProductListSort from './core/ProductListSort.js';
9
9
  export * as ProductVariantSelector from './core/ProductVariantSelector.js';
10
10
  export * as SelectedVariant from './core/SelectedVariant.js';
11
11
  export * as Product from './Product.js';
12
+ export * as ProductList from './ProductList.js';
12
13
  export * as Option from './Option.js';
13
14
  export * as Choice from './Choice.js';
14
15
  export * as CategoryList from './CategoryList.js';
@@ -249,7 +249,7 @@ export const SelectedVariantService = implementService.withConfig()(SelectedVari
249
249
  else if (prod?.compareAtPriceRange?.minValue?.amount) {
250
250
  rawAmount = prod.compareAtPriceRange.minValue.amount;
251
251
  }
252
- return rawAmount ? `$${rawAmount}` : null;
252
+ return rawAmount && rawAmount !== '0' ? `$${rawAmount}` : null;
253
253
  });
254
254
  const isInStock = signalsService.computed(() => {
255
255
  const variant = currentVariant.get();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/headless-stores",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "prebuild": "cd ../media && yarn build && cd ../ecom && yarn build",
@@ -63,7 +63,7 @@
63
63
  "@wix/ecom": "^1.0.1278",
64
64
  "@wix/essentials": "^0.1.24",
65
65
  "@wix/headless-ecom": "^0.0.14",
66
- "@wix/headless-media": "^0.0.8",
66
+ "@wix/headless-media": "^0.0.10",
67
67
  "@wix/redirects": "^1.0.83",
68
68
  "@wix/services-definitions": "^0.1.4",
69
69
  "@wix/services-manager-react": "^0.1.26"