@aranova/tracking-next 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.mjs CHANGED
@@ -2581,7 +2581,7 @@ function describeElement(el) {
2581
2581
  function resolveCtaName(el) {
2582
2582
  const explicit = el.getAttribute("data-aranova-cta");
2583
2583
  if (explicit && explicit.trim().length > 0) return explicit.trim();
2584
- const text = (el.textContent ?? "").trim().replace(/\s+/g, " ");
2584
+ const text = (el.textContent ?? "").trim().replaceAll(/\s+/g, " ");
2585
2585
  if (text.length > 0) return text.slice(0, CTA_NAME_MAX_LENGTH);
2586
2586
  return describeElement(el);
2587
2587
  }
@@ -3378,7 +3378,7 @@ function GoogleAdsTracking(props) {
3378
3378
  import { usePathname, useSearchParams } from "next/navigation";
3379
3379
 
3380
3380
  // package.json
3381
- var version = "0.20.0";
3381
+ var version = "0.20.1";
3382
3382
 
3383
3383
  // src/factory.tsx
3384
3384
  import {