react-detect-offline
Advanced tools
Comparing version 2.4.3 to 2.4.4
@@ -57,3 +57,3 @@ "use strict"; | ||
xhr.open("HEAD", url); | ||
xhr.open("GET", url); | ||
xhr.timeout = timeout; | ||
@@ -82,3 +82,3 @@ xhr.send(); | ||
enabled: inBrowser && unsupportedUserAgentsPattern.test(navigator.userAgent), | ||
url: "https://www.swapi.tech/api/", | ||
url: "https://httpbin.org/get", | ||
timeout: 5000, | ||
@@ -85,0 +85,0 @@ interval: 5000 |
{ | ||
"name": "react-detect-offline", | ||
"version": "2.4.3", | ||
"version": "2.4.4", | ||
"description": "Offline and Online components for React", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15461