@nuskin/ns-product-lib
Advanced tools
Comparing version 2.17.1 to 2.17.2-cx24-7003.1
{ | ||
"name": "@nuskin/ns-product-lib", | ||
"version": "2.17.1", | ||
"version": "2.17.2-cx24-7003.1", | ||
"description": "This project contains shared Product models and code between the backend and frontend.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -441,5 +441,6 @@ const axios = require('axios').default; | ||
} | ||
const personalOffer = sessionStorage.getItem('personalOffer') ? JSON.parse(sessionStorage.getItem('personalOffer')) : false | ||
return kitBundleProducts.kitProducts.map((kitProduct) => { | ||
const { product } = kitProduct; | ||
if (product.variants.length > 1) { | ||
if (product.variants.length > 1 && !personalOffer) { | ||
return product.variants.map((variant) => { | ||
@@ -446,0 +447,0 @@ return { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
146736
4933
1