aurea-tracking-sdk 1.4.0 → 1.5.0

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.js CHANGED
@@ -663,9 +663,6 @@ var AureaSDK = class {
663
663
  async endSession() {
664
664
  if (typeof window === "undefined") return;
665
665
  const now = Date.now();
666
- if (this.isInCheckout && this.currentStage === "checkout") {
667
- this.checkoutAbandoned("session_end");
668
- }
669
666
  if (this.isPageVisible) {
670
667
  this.activeTime += now - this.lastActiveTimestamp;
671
668
  }
@@ -1143,9 +1140,6 @@ var AureaSDK = class {
1143
1140
  window.addEventListener("touchstart", resetInactivityTimer, { passive: true });
1144
1141
  window.addEventListener("beforeunload", () => {
1145
1142
  const now = Date.now();
1146
- if (this.isInCheckout && this.currentStage === "checkout") {
1147
- this.checkoutAbandoned("page_close");
1148
- }
1149
1143
  if (this.isPageVisible) {
1150
1144
  this.activeTime += now - this.lastActiveTimestamp;
1151
1145
  }
package/dist/index.mjs CHANGED
@@ -634,9 +634,6 @@ var AureaSDK = class {
634
634
  async endSession() {
635
635
  if (typeof window === "undefined") return;
636
636
  const now = Date.now();
637
- if (this.isInCheckout && this.currentStage === "checkout") {
638
- this.checkoutAbandoned("session_end");
639
- }
640
637
  if (this.isPageVisible) {
641
638
  this.activeTime += now - this.lastActiveTimestamp;
642
639
  }
@@ -1114,9 +1111,6 @@ var AureaSDK = class {
1114
1111
  window.addEventListener("touchstart", resetInactivityTimer, { passive: true });
1115
1112
  window.addEventListener("beforeunload", () => {
1116
1113
  const now = Date.now();
1117
- if (this.isInCheckout && this.currentStage === "checkout") {
1118
- this.checkoutAbandoned("page_close");
1119
- }
1120
1114
  if (this.isPageVisible) {
1121
1115
  this.activeTime += now - this.lastActiveTimestamp;
1122
1116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aurea-tracking-sdk",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Standalone tracking SDK for Aurea CRM external funnels",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",