@zenky/storefront-vue 0.9.40 → 0.9.41

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/cjs/index.js CHANGED
@@ -2700,11 +2700,7 @@ function useModifiers(product, variant, recalculate) {
2700
2700
  modifiers.value = getModifiers(product, variant);
2701
2701
  });
2702
2702
  vue.watch(selectedModifiers, async () => {
2703
- const hash = await recalculate(selectedModifiers);
2704
- if (hash === null) {
2705
- return;
2706
- }
2707
- modifiersHash.value = hash;
2703
+ modifiersHash.value = await recalculate(selectedModifiers);
2708
2704
  });
2709
2705
  return {
2710
2706
  modifiers,
package/dist/esm/index.js CHANGED
@@ -2692,11 +2692,7 @@ function useModifiers(product, variant, recalculate) {
2692
2692
  modifiers.value = getModifiers(product, variant);
2693
2693
  });
2694
2694
  watch(selectedModifiers, async () => {
2695
- const hash = await recalculate(selectedModifiers);
2696
- if (hash === null) {
2697
- return;
2698
- }
2699
- modifiersHash.value = hash;
2695
+ modifiersHash.value = await recalculate(selectedModifiers);
2700
2696
  });
2701
2697
  return {
2702
2698
  modifiers,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenky/storefront-vue",
3
- "version": "0.9.40",
3
+ "version": "0.9.41",
4
4
  "description": "Zenky Storefront library for Vue 3.",
5
5
  "author": "Timur Zurbaev <hello@zurbaev.ru>",
6
6
  "license": "MIT",