@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.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/mushi.loader.global.js +34 -34
- package/dist/mushi.loader.global.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2553,7 +2553,7 @@ function getWidgetStyles(theme, accent = "", accentText = "") {
|
|
|
2553
2553
|
|
|
2554
2554
|
// src/version.ts
|
|
2555
2555
|
var MUSHI_SDK_PACKAGE = "@mushi-mushi/web";
|
|
2556
|
-
var MUSHI_SDK_VERSION = "1.21.
|
|
2556
|
+
var MUSHI_SDK_VERSION = "1.21.1" ;
|
|
2557
2557
|
var CATEGORY_ICONS = {
|
|
2558
2558
|
bug: "\u26A0\uFE0F",
|
|
2559
2559
|
slow: "\u{1F40C}",
|
|
@@ -5576,7 +5576,10 @@ var routeObserver = null;
|
|
|
5576
5576
|
var clickHandler = null;
|
|
5577
5577
|
var origPushState = null;
|
|
5578
5578
|
var lastRoute = "";
|
|
5579
|
+
var listenersInstalled = false;
|
|
5579
5580
|
function installActivityListeners(projectId) {
|
|
5581
|
+
if (listenersInstalled) return;
|
|
5582
|
+
listenersInstalled = true;
|
|
5580
5583
|
const emitRoute = () => {
|
|
5581
5584
|
const route = location.pathname;
|
|
5582
5585
|
if (route === lastRoute) return;
|