@mushi-mushi/web 1.39.1 → 1.39.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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/mushi.loader.global.js +8 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4688,8 +4688,10 @@ var MushiWidget = class _MushiWidget {
|
|
|
4688
4688
|
void outcomeP.then((outcome) => {
|
|
4689
4689
|
settled = outcome;
|
|
4690
4690
|
});
|
|
4691
|
+
const sentFrom = this.openCount;
|
|
4691
4692
|
this.successTimer = setTimeout(() => {
|
|
4692
4693
|
this.successTimer = null;
|
|
4694
|
+
if (sentFrom !== this.openCount || !this.isOpen) return;
|
|
4693
4695
|
if (isNotSentOutcome(settled)) {
|
|
4694
4696
|
this.showNotSent(settled.failureKind, keptDrafts);
|
|
4695
4697
|
return;
|
|
@@ -7370,7 +7372,7 @@ function createProactiveManager(config = {}) {
|
|
|
7370
7372
|
|
|
7371
7373
|
// src/version.ts
|
|
7372
7374
|
var MUSHI_SDK_PACKAGE = "@mushi-mushi/web";
|
|
7373
|
-
var MUSHI_SDK_VERSION = "1.39.
|
|
7375
|
+
var MUSHI_SDK_VERSION = "1.39.2" ;
|
|
7374
7376
|
function resolveReportAppVersion(config, environment) {
|
|
7375
7377
|
if (config.appVersion) return config.appVersion;
|
|
7376
7378
|
const vercelId = config.integrations?.vercel?.analyticsId;
|