From b83529884f9195456598347f0cf467014e5aa1d0 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Thu, 27 Nov 2025 14:52:13 +0800 Subject: [PATCH] v8.5.8 --- lib/utils.ts | 6 ------ package.json | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/utils.ts b/lib/utils.ts index 123dca2..a493980 100644 --- a/lib/utils.ts +++ b/lib/utils.ts @@ -86,12 +86,6 @@ export const enhancedFetch = async ( isRetry = false, ) => { return fetch(url, params) - .then((r) => { - if (r.ok) { - return r; - } - throw new Error(`${r.status} ${r.statusText}`); - }) .catch((e) => { logger('fetch error', url, e); if (isRetry) { diff --git a/package.json b/package.json index dcf1114..84581d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-update", - "version": "8.5.7", + "version": "8.5.8", "description": "react-native hot update", "main": "dist/index.js", "types": "dist/index.d.ts",