mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-12-16 01:52:35 +08:00
v9.2.8
This commit is contained in:
@@ -88,12 +88,6 @@ export const enhancedFetch = async (
|
|||||||
isRetry = false,
|
isRetry = false,
|
||||||
) => {
|
) => {
|
||||||
return fetch(url, params)
|
return fetch(url, params)
|
||||||
.then((r) => {
|
|
||||||
if (r.ok) {
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
throw new Error(`${r.status} ${r.statusText}`);
|
|
||||||
})
|
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
logger('fetch error', url, e);
|
logger('fetch error', url, e);
|
||||||
if (isRetry) {
|
if (isRetry) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-update",
|
"name": "react-native-update",
|
||||||
"version": "9.2.7",
|
"version": "9.2.8",
|
||||||
"description": "react-native hot update",
|
"description": "react-native hot update",
|
||||||
"main": "lib/index.ts",
|
"main": "lib/index.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user