fetch-retry
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -69,3 +69,6 @@ (function (global, factory) { | ||
var wrappedFetch = function (attempt) { | ||
var _input = input instanceof Request ? input.clone() : input; | ||
var _input = | ||
typeof Request !== 'undefined' && input instanceof Request | ||
? input.clone() | ||
: input; | ||
fetch(_input, init) | ||
@@ -72,0 +75,0 @@ .then(function (response) { |
@@ -65,3 +65,6 @@ 'use strict'; | ||
var wrappedFetch = function (attempt) { | ||
var _input = input instanceof Request ? input.clone() : input; | ||
var _input = | ||
typeof Request !== 'undefined' && input instanceof Request | ||
? input.clone() | ||
: input; | ||
fetch(_input, init) | ||
@@ -68,0 +71,0 @@ .then(function (response) { |
{ | ||
"name": "fetch-retry", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Extend any fetch library with retry functionality", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/jonbern/fetch-retry.git", |
53350
1325