@mushi-mushi/web 1.7.1 → 1.7.2

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 CHANGED
@@ -1977,6 +1977,7 @@ var MushiWidget = class _MushiWidget {
1977
1977
  this.attachedLaunchers = [];
1978
1978
  this.removeSelectorHint();
1979
1979
  this.removeNudge();
1980
+ this.removeBodyNudge();
1980
1981
  this.host.remove();
1981
1982
  }
1982
1983
  syncAttachedLaunchers() {
@@ -2060,8 +2061,14 @@ var MushiWidget = class _MushiWidget {
2060
2061
  this.removeBodyNudge();
2061
2062
  return;
2062
2063
  }
2063
- if (!this.triggerVisible) return;
2064
- if (this.isRouteHidden()) return;
2064
+ if (!this.triggerVisible) {
2065
+ this.removeBodyNudge();
2066
+ return;
2067
+ }
2068
+ if (this.isRouteHidden()) {
2069
+ this.removeBodyNudge();
2070
+ return;
2071
+ }
2065
2072
  const bc = this.config.bannerConfig ?? {};
2066
2073
  const variant = bc.variant ?? "brand";
2067
2074
  const position = bc.position ?? "top";
@@ -4641,7 +4648,7 @@ function createProactiveManager(config = {}) {
4641
4648
 
4642
4649
  // src/version.ts
4643
4650
  var MUSHI_SDK_PACKAGE = "@mushi-mushi/web";
4644
- var MUSHI_SDK_VERSION = "1.7.1" ;
4651
+ var MUSHI_SDK_VERSION = "1.7.2" ;
4645
4652
 
4646
4653
  // src/mushi.ts
4647
4654
  var instance = null;