@hotwired/turbo 8.0.0 → 8.0.1

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Turbo 8.0.0
2
+ Turbo 8.0.1
3
3
  Copyright © 2024 37signals LLC
4
4
  */
5
5
  /**
@@ -2417,11 +2417,11 @@ class Visit {
2417
2417
  complete() {
2418
2418
  if (this.state == VisitState.started) {
2419
2419
  this.recordTimingMetric(TimingMetric.visitEnd);
2420
+ this.adapter.visitCompleted(this);
2420
2421
  this.state = VisitState.completed;
2421
2422
  this.followRedirect();
2422
2423
 
2423
2424
  if (!this.followedRedirect) {
2424
- this.adapter.visitCompleted(this);
2425
2425
  this.delegate.visitCompleted(this);
2426
2426
  }
2427
2427
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Turbo 8.0.0
2
+ Turbo 8.0.1
3
3
  Copyright © 2024 37signals LLC
4
4
  */
5
5
  (function (global, factory) {
@@ -2423,11 +2423,11 @@ Copyright © 2024 37signals LLC
2423
2423
  complete() {
2424
2424
  if (this.state == VisitState.started) {
2425
2425
  this.recordTimingMetric(TimingMetric.visitEnd);
2426
+ this.adapter.visitCompleted(this);
2426
2427
  this.state = VisitState.completed;
2427
2428
  this.followRedirect();
2428
2429
 
2429
2430
  if (!this.followedRedirect) {
2430
- this.adapter.visitCompleted(this);
2431
2431
  this.delegate.visitCompleted(this);
2432
2432
  }
2433
2433
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hotwired/turbo",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "description": "The speed of a single-page web application without having to write any JavaScript",
5
5
  "module": "dist/turbo.es2017-esm.js",
6
6
  "main": "dist/turbo.es2017-umd.js",