@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.js
CHANGED
|
@@ -3514,8 +3514,10 @@ var MushiWidget = class _MushiWidget {
|
|
|
3514
3514
|
void outcomeP.then((outcome) => {
|
|
3515
3515
|
settled = outcome;
|
|
3516
3516
|
});
|
|
3517
|
+
const sentFrom = this.openCount;
|
|
3517
3518
|
this.successTimer = setTimeout(() => {
|
|
3518
3519
|
this.successTimer = null;
|
|
3520
|
+
if (sentFrom !== this.openCount || !this.isOpen) return;
|
|
3519
3521
|
if (isNotSentOutcome(settled)) {
|
|
3520
3522
|
this.showNotSent(settled.failureKind, keptDrafts);
|
|
3521
3523
|
return;
|
|
@@ -6190,7 +6192,7 @@ function createProactiveManager(config = {}) {
|
|
|
6190
6192
|
|
|
6191
6193
|
// src/version.ts
|
|
6192
6194
|
var MUSHI_SDK_PACKAGE = "@mushi-mushi/web";
|
|
6193
|
-
var MUSHI_SDK_VERSION = "1.39.
|
|
6195
|
+
var MUSHI_SDK_VERSION = "1.39.2" ;
|
|
6194
6196
|
function resolveReportAppVersion(config, environment) {
|
|
6195
6197
|
if (config.appVersion) return config.appVersion;
|
|
6196
6198
|
const vercelId = config.integrations?.vercel?.analyticsId;
|