laravel-precognition
Advanced tools
Comparing version 0.4.1 to 0.5.0
@@ -14,3 +14,3 @@ import { isAxiosError, isCancel, default as Axios } from 'axios'; | ||
*/ | ||
let successResolver = (response) => response.status === 204; | ||
let successResolver = (response) => response.status === 204 && response.headers['precognition-success'] === 'true'; | ||
/** | ||
@@ -17,0 +17,0 @@ * The abort controller cache. |
{ | ||
"name": "laravel-precognition", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "Laravel Precognition.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
26352