@tracelog/lib 2.7.3-rc.98.2 → 2.7.3-rc.98.3
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/browser/tracelog.esm.js +3 -3
- package/dist/browser/tracelog.esm.js.map +1 -1
- package/dist/browser/tracelog.js +1 -1
- package/dist/browser/tracelog.js.map +1 -1
- package/dist/public-api.cjs +2 -2
- package/dist/public-api.cjs.map +1 -1
- package/dist/public-api.js +2 -2
- package/dist/public-api.js.map +1 -1
- package/package.json +1 -1
|
@@ -4010,7 +4010,7 @@ class Cs extends _ {
|
|
|
4010
4010
|
visibilityHandler = null;
|
|
4011
4011
|
lastSyncedSessionId = null;
|
|
4012
4012
|
activate() {
|
|
4013
|
-
this.syncCartAttribute(), this.setupVisibilityListener();
|
|
4013
|
+
this.cleanupVisibilityListener(), this.syncCartAttribute(), this.setupVisibilityListener();
|
|
4014
4014
|
}
|
|
4015
4015
|
deactivate() {
|
|
4016
4016
|
this.cleanupVisibilityListener(), this.lastSyncedSessionId = null;
|
|
@@ -4031,10 +4031,10 @@ class Cs extends _ {
|
|
|
4031
4031
|
body: JSON.stringify({ attributes: { [Ms]: e } }),
|
|
4032
4032
|
credentials: "same-origin"
|
|
4033
4033
|
}).catch(() => {
|
|
4034
|
-
a("debug", "Shopify cart attribute update failed");
|
|
4034
|
+
this.lastSyncedSessionId = null, a("debug", "Shopify cart attribute update failed");
|
|
4035
4035
|
});
|
|
4036
4036
|
} catch {
|
|
4037
|
-
a("debug", "Shopify cart attribute update failed");
|
|
4037
|
+
this.lastSyncedSessionId = null, a("debug", "Shopify cart attribute update failed");
|
|
4038
4038
|
}
|
|
4039
4039
|
}
|
|
4040
4040
|
setupVisibilityListener() {
|