@hot-updater/standalone 0.29.3 → 0.29.4
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/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -139,7 +139,7 @@ const standaloneRepository = (0, _hot_updater_plugin_core.createDatabasePlugin)(
|
|
|
139
139
|
}
|
|
140
140
|
if (response.headers.get("content-type")?.includes("application/json")) try {
|
|
141
141
|
await response.json();
|
|
142
|
-
} catch
|
|
142
|
+
} catch {
|
|
143
143
|
if (!response.ok) throw new Error("Failed to parse response");
|
|
144
144
|
}
|
|
145
145
|
} else if (op.operation === "insert") {
|
package/dist/index.mjs
CHANGED
|
@@ -136,7 +136,7 @@ const standaloneRepository = createDatabasePlugin({
|
|
|
136
136
|
}
|
|
137
137
|
if (response.headers.get("content-type")?.includes("application/json")) try {
|
|
138
138
|
await response.json();
|
|
139
|
-
} catch
|
|
139
|
+
} catch {
|
|
140
140
|
if (!response.ok) throw new Error("Failed to parse response");
|
|
141
141
|
}
|
|
142
142
|
} else if (op.operation === "insert") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/standalone",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@hot-updater/core": "0.29.
|
|
43
|
-
"@hot-updater/plugin-core": "0.29.
|
|
42
|
+
"@hot-updater/core": "0.29.4",
|
|
43
|
+
"@hot-updater/plugin-core": "0.29.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"mime": "2.6.0",
|