@spiffcommerce/core 16.0.0 → 16.0.1

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/index.js CHANGED
@@ -6369,7 +6369,7 @@ const rt = y`
6369
6369
  const s = {};
6370
6370
  if (n.type === "Frame") {
6371
6371
  const i = g[n.stepName], o = n.data;
6372
- if (!i || o.hideImageInCart && e)
6372
+ if (!i || !i.image || o.hideImageInCart && e)
6373
6373
  return s;
6374
6374
  s[`${n.stepTitle} image`] = i.image;
6375
6375
  }
@@ -6384,7 +6384,7 @@ const rt = y`
6384
6384
  }
6385
6385
  if (n.type === "Module") {
6386
6386
  const i = g[n.stepName], o = n.data;
6387
- if (!i || o.hideTextInCart && e)
6387
+ if (!i || i.text === void 0 || i.text === null || o.hideTextInCart && e)
6388
6388
  return s;
6389
6389
  s[`${n.stepTitle} text`] = i.text;
6390
6390
  }
@@ -6393,7 +6393,7 @@ const rt = y`
6393
6393
  if (!i)
6394
6394
  return s;
6395
6395
  const o = n.data;
6396
- (!o.hideTextInCart || !e) && (s[`${n.stepTitle} text`] = i.text), i.color && (!o.hideColorInCart || !e) && (s[`${n.stepTitle} color`] = i.color);
6396
+ (!o.hideTextInCart || !e && i.text !== void 0 && i.text !== null) && (s[`${n.stepTitle} text`] = i.text), i.color && (!o.hideColorInCart || !e) && (s[`${n.stepTitle} color`] = i.color);
6397
6397
  }
6398
6398
  return s;
6399
6399
  }, a = {};