From c4f29615da7abc94073515e6063fbe64614c398c Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 30 Sep 2026 11:36:40 +0000 Subject: [PATCH 1/2] fix: compatibility and robustness hardening, 0.1.2 No consumer config changes are needed; only inputs that were already silently broken now fail at build time. - tracking: never touch window/document when they are absent, so the enhancement is a no-op in SSR/tests instead of a ReferenceError; recognise cross-realm elements by nodeType - tracking: isolate the one-widget:click dispatch and the dataLayer push so a throwing listener or a non-array dataLayer cannot break the other sink or navigation; one bad widget no longer stops the rest - tracking: report middle-click opens via auxclick; ignore right clicks - tracking: match ?from= case-insensitively after trimming, and report the configured spelling so buckets stay low-cardinality - render: return "" when no item is enabled instead of an empty