fetch-retry
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "fetch-retry", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Fetch API with retry functionality", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/jonbern/fetch-retry.git", |
@@ -20,6 +20,6 @@ # fetch-retry | ||
fetch(url, { retries: 5 }) | ||
.then(response => { | ||
return response.json() | ||
.then(function(response) { | ||
return response.json(); | ||
}) | ||
.then(json => { | ||
.then(function(json) { | ||
// do something with the result | ||
@@ -26,0 +26,0 @@ console.log(json); |
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
10195