@nuskin/ns-shop 7.5.6-mdigi-4997.1 → 7.5.6-mdigi-4997.2

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.5.6-mdigi-4997.1",
3
+ "version": "7.5.6-mdigi-4997.2",
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": {
@@ -411,7 +411,8 @@ function _assembleChildSkus(requestData, options) {
411
411
  }
412
412
  if (personalOffer != null && selectedVariants && cs.skuId != selectedVariants[cs.productId] && (cs.type !== "BUNDLE" && cs.type !== "OPTIONAL")) return null
413
413
  const childSku =
414
- (personalOffer != null && selectedVariants && selectedVariants[cs.productId] && config?.MySite_graphql_active) ? {
414
+ (personalOffer != null && selectedVariants && selectedVariants[cs.productId] && config && config.MySite_graphql_active)
415
+ ? {
415
416
  productId: cs.productId,
416
417
  skuId: selectedVariants[cs.productId],
417
418
  type: cs.type,