feeef 0.11.0 → 0.11.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/build/index.js CHANGED
@@ -4733,7 +4733,7 @@ var generatePublicStoreIntegrationCustomFields = (customFields) => {
4733
4733
  var generatePublicStoreIntegrationMetaPixel = (metaPixel) => {
4734
4734
  if (!metaPixel) return null;
4735
4735
  return {
4736
- pixels: metaPixel.pixels.map((pixel) => ({
4736
+ pixels: (metaPixel.pixels || []).map((pixel) => ({
4737
4737
  id: pixel.id
4738
4738
  })),
4739
4739
  active: metaPixel.active,
@@ -4745,7 +4745,7 @@ var generatePublicStoreIntegrationMetaPixel = (metaPixel) => {
4745
4745
  var generatePublicStoreIntegrationTiktokPixel = (tiktokPixel) => {
4746
4746
  if (!tiktokPixel) return null;
4747
4747
  return {
4748
- pixels: tiktokPixel.pixels.map((pixel) => ({
4748
+ pixels: (tiktokPixel.pixels || []).map((pixel) => ({
4749
4749
  id: pixel.id
4750
4750
  })),
4751
4751
  active: tiktokPixel.active,