@hot-updater/console 0.20.14 → 0.21.0
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.js +1 -1
- package/package.json +9 -9
package/dist/index.cjs
CHANGED
|
@@ -2107,7 +2107,7 @@ const rpc = new Hono().get("/config", async (c) => {
|
|
|
2107
2107
|
if (!deleteBundle) return c.json({ error: "Bundle not found" }, 404);
|
|
2108
2108
|
await databasePlugin.deleteBundle(deleteBundle);
|
|
2109
2109
|
await databasePlugin.commitBundle();
|
|
2110
|
-
await storagePlugin.deleteBundle
|
|
2110
|
+
await storagePlugin.delete(deleteBundle.storageUri);
|
|
2111
2111
|
return c.json({ success: true });
|
|
2112
2112
|
} catch (error) {
|
|
2113
2113
|
console.error("Error during bundle deletion:", error);
|
package/dist/index.js
CHANGED
|
@@ -2103,7 +2103,7 @@ const rpc = new Hono().get("/config", async (c) => {
|
|
|
2103
2103
|
if (!deleteBundle) return c.json({ error: "Bundle not found" }, 404);
|
|
2104
2104
|
await databasePlugin.deleteBundle(deleteBundle);
|
|
2105
2105
|
await databasePlugin.commitBundle();
|
|
2106
|
-
await storagePlugin.deleteBundle
|
|
2106
|
+
await storagePlugin.delete(deleteBundle.storageUri);
|
|
2107
2107
|
return c.json({ success: true });
|
|
2108
2108
|
} catch (error) {
|
|
2109
2109
|
console.error("Error during bundle deletion:", error);
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/console",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.21.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
7
|
"package.json"
|
|
8
8
|
],
|
|
9
|
-
"main": "dist/index.cjs",
|
|
10
|
-
"module": "dist/index.js",
|
|
11
|
-
"types": "dist/
|
|
9
|
+
"main": "./dist/index.cjs",
|
|
10
|
+
"module": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.cts",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"types": "./dist/src-server/index.d.ts",
|
|
15
14
|
"import": "./dist/index.js",
|
|
16
15
|
"require": "./dist/index.cjs"
|
|
17
|
-
}
|
|
16
|
+
},
|
|
17
|
+
"./package.json": "./package.json"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@biomejs/biome": "^1.9.4",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"vite": "^6.1.0",
|
|
49
49
|
"vite-plugin-solid": "^2.11.1",
|
|
50
50
|
"vite-tsconfig-paths": "^5.1.4",
|
|
51
|
-
"@hot-updater/mock": "0.
|
|
51
|
+
"@hot-updater/mock": "0.21.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"solid-icons": "^1.1.0",
|
|
55
|
-
"@hot-updater/core": "0.
|
|
56
|
-
"@hot-updater/plugin-core": "0.
|
|
55
|
+
"@hot-updater/core": "0.21.0",
|
|
56
|
+
"@hot-updater/plugin-core": "0.21.0"
|
|
57
57
|
},
|
|
58
58
|
"description": "React Native OTA solution for self-hosted",
|
|
59
59
|
"license": "MIT",
|