@mushi-mushi/web 1.21.0 → 1.21.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
@@ -2551,7 +2551,7 @@ function getWidgetStyles(theme, accent = "", accentText = "") {
2551
2551
 
2552
2552
  // src/version.ts
2553
2553
  var MUSHI_SDK_PACKAGE = "@mushi-mushi/web";
2554
- var MUSHI_SDK_VERSION = "1.21.0" ;
2554
+ var MUSHI_SDK_VERSION = "1.21.1" ;
2555
2555
  var CATEGORY_ICONS = {
2556
2556
  bug: "\u26A0\uFE0F",
2557
2557
  slow: "\u{1F40C}",
@@ -5574,7 +5574,10 @@ var routeObserver = null;
5574
5574
  var clickHandler = null;
5575
5575
  var origPushState = null;
5576
5576
  var lastRoute = "";
5577
+ var listenersInstalled = false;
5577
5578
  function installActivityListeners(projectId) {
5579
+ if (listenersInstalled) return;
5580
+ listenersInstalled = true;
5578
5581
  const emitRoute = () => {
5579
5582
  const route = location.pathname;
5580
5583
  if (route === lastRoute) return;