@kawaiininja/fetch 1.0.36 → 1.0.37
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,7 +1,7 @@
|
|
|
1
1
|
import { INTERNAL_HEADER } from "../context/ApiContext";
|
|
2
2
|
import { isNative } from "./platform";
|
|
3
3
|
import { initializeVault, nativeAuthVault } from "./useFetch.vault";
|
|
4
|
-
const STRICT_TIMEOUT =
|
|
4
|
+
const STRICT_TIMEOUT = 3000;
|
|
5
5
|
const MAX_RETRIES = 3;
|
|
6
6
|
/**
|
|
7
7
|
* Helper to prepare headers with Auth and CSRF
|