@nuskin/ns-shop 7.0.5 → 7.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-shop",
3
- "version": "7.0.5",
3
+ "version": "7.0.6",
4
4
  "description": "The description that will amaze and astound your audience when they read it",
5
5
  "main": "src/shop.js",
6
6
  "scripts": {
@@ -26,7 +26,7 @@
26
26
  "@nuskin/ns-common-lib": "1.4.7",
27
27
  "@nuskin/ns-feature-flags": "1.4.7",
28
28
  "@nuskin/ns-loyalty-web": "1.5.6",
29
- "@nuskin/ns-product-lib": "2.17.2",
29
+ "@nuskin/ns-product-lib": "2.17.5",
30
30
  "@nuskin/nuskinjquery": "2.3.1",
31
31
  "axios": "1.6.5",
32
32
  "decimal.js": "10.4.3",
@@ -40,7 +40,7 @@
40
40
  "@nuskin/exclusive-offer-sdk": "1.2.4",
41
41
  "@nuskin/ns-account": "5.9.2",
42
42
  "@nuskin/ns-jsanalyzer": "1.0.1",
43
- "@nuskin/ns-product": "3.50.2",
43
+ "@nuskin/ns-product": "3.50.5",
44
44
  "@nuskin/ns-util": "4.6.1",
45
45
  "axios-mock-adapter": "1.22.0",
46
46
  "babel-cli": "6.26.0",
@@ -393,7 +393,7 @@ function _assembleChildSkus(requestData, options) {
393
393
  if(personalOffer != null && productWithVariant.length > 0 && productWithVariant[0].variantSelected){
394
394
  selectedVariants = productWithVariant[0].variantSelected;
395
395
  }
396
- if (personalOffer != null && selectedVariants && cs.skuId != selectedVariants[cs.productId] && cs.type !== "BUNDLE") return null
396
+ if (personalOffer != null && selectedVariants && cs.skuId != selectedVariants[cs.productId] && (cs.type !== "BUNDLE" && cs.type !== "OPTIONAL")) return null
397
397
  const childSku =
398
398
  (personalOffer != null && selectedVariants && selectedVariants[cs.productId] && config.MySite_graphql_active)
399
399
  ? {