@pitcher/js-api 1.21.0-beta.8 → 1.21.0-beta.9

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.
package/js-api.esm.js CHANGED
@@ -2880,6 +2880,9 @@ async function fetchWithRetry(url, options, remainingRetries = MAX_RETRIES) {
2880
2880
  throw error;
2881
2881
  }
2882
2882
  }
2883
+ if (response.status === 204 || response.status === 205) {
2884
+ return;
2885
+ }
2883
2886
  return response.json();
2884
2887
  } catch (error) {
2885
2888
  if (remainingRetries > 0) {