@gem-sdk/core 1.23.9 → 1.23.12

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.
@@ -141,8 +141,7 @@ const useCurrentVariant = ()=>{
141
141
  };
142
142
  const useCurrentVariantInStock = ()=>{
143
143
  const currentVariant = useCurrentVariant();
144
- const isInStock = variant.checkInStock(currentVariant);
145
- return isInStock;
144
+ return variant.checkInStock(currentVariant);
146
145
  };
147
146
  const useVariantOutStock = (optionId, optionValue)=>{
148
147
  const { selectedOptions } = useSelectedOption();
@@ -139,8 +139,7 @@ const useCurrentVariant = ()=>{
139
139
  };
140
140
  const useCurrentVariantInStock = ()=>{
141
141
  const currentVariant = useCurrentVariant();
142
- const isInStock = checkInStock(currentVariant);
143
- return isInStock;
142
+ return checkInStock(currentVariant);
144
143
  };
145
144
  const useVariantOutStock = (optionId, optionValue)=>{
146
145
  const { selectedOptions } = useSelectedOption();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.23.9",
3
+ "version": "1.23.12",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",