@aranova/tracking-react 0.20.0 → 0.20.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
@@ -2852,7 +2852,7 @@ function describeElement(el) {
2852
2852
  function resolveCtaName(el) {
2853
2853
  const explicit = el.getAttribute("data-aranova-cta");
2854
2854
  if (explicit && explicit.trim().length > 0) return explicit.trim();
2855
- const text = (el.textContent ?? "").trim().replace(/\s+/g, " ");
2855
+ const text = (el.textContent ?? "").trim().replaceAll(/\s+/g, " ");
2856
2856
  if (text.length > 0) return text.slice(0, CTA_NAME_MAX_LENGTH);
2857
2857
  return describeElement(el);
2858
2858
  }
@@ -3632,7 +3632,7 @@ function GoogleAdsTracking(props) {
3632
3632
  var import_react6 = require("react");
3633
3633
 
3634
3634
  // package.json
3635
- var version = "0.20.0";
3635
+ var version = "0.20.1";
3636
3636
 
3637
3637
  // ../tracking-core/src/phone-react.tsx
3638
3638
  var import_react5 = require("react");