feeef 0.9.2 → 0.9.3

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
@@ -4045,6 +4045,7 @@ var generatePublicStoreIntegrations = (integrations) => {
4045
4045
  tiktokPixel,
4046
4046
  googleAnalytics,
4047
4047
  googleTags,
4048
+ clarity,
4048
4049
  orderdz,
4049
4050
  webhooks,
4050
4051
  ai,
@@ -4057,6 +4058,7 @@ var generatePublicStoreIntegrations = (integrations) => {
4057
4058
  tiktokPixel: generatePublicStoreIntegrationTiktokPixel(tiktokPixel) || null,
4058
4059
  googleAnalytics: generatePublicStoreIntegrationGoogleAnalytics(googleAnalytics) || null,
4059
4060
  googleTags: generatePublicStoreIntegrationGoogleTags(googleTags) || null,
4061
+ clarity: generatePublicStoreIntegrationClarity(clarity) || null,
4060
4062
  googleSheet: null,
4061
4063
  ai: generatePublicStoreIntegrationAi(ai) || null,
4062
4064
  orderdz: generatePublicStoreIntegrationOrderdz(orderdz) || null,
@@ -4130,6 +4132,16 @@ var generatePublicStoreIntegrationGoogleTags = (googleTags) => {
4130
4132
  active
4131
4133
  };
4132
4134
  };
4135
+ var generatePublicStoreIntegrationClarity = (clarity) => {
4136
+ if (!clarity) return null;
4137
+ if (!clarity.active) return null;
4138
+ const code = typeof clarity.trackingCode === "string" ? clarity.trackingCode.trim() : "";
4139
+ if (!code) return null;
4140
+ return {
4141
+ active: true,
4142
+ trackingCode: code
4143
+ };
4144
+ };
4133
4145
  var generatePublicStoreIntegrationAi = (ai) => {
4134
4146
  if (!ai) return null;
4135
4147
  return {
@@ -5025,6 +5037,7 @@ export {
5025
5037
  generatePublicIntegrationsDataPaymentMethod,
5026
5038
  generatePublicIntegrationsDataTiktokPixel,
5027
5039
  generatePublicStoreIntegrationAi,
5040
+ generatePublicStoreIntegrationClarity,
5028
5041
  generatePublicStoreIntegrationCustomFields,
5029
5042
  generatePublicStoreIntegrationGoogleAnalytics,
5030
5043
  generatePublicStoreIntegrationGoogleSheet,