@hot-updater/vercel 1.2.0-rc.56 → 1.2.0-rc.57
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/function/index.mjs +3 -2
- package/package.json +7 -7
package/dist/function/index.mjs
CHANGED
|
@@ -18083,7 +18083,7 @@ const postgres = (config) => {
|
|
|
18083
18083
|
};
|
|
18084
18084
|
//#endregion
|
|
18085
18085
|
//#region ../../packages/server/dist/version.mjs
|
|
18086
|
-
const HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.
|
|
18086
|
+
const HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.57";
|
|
18087
18087
|
//#endregion
|
|
18088
18088
|
//#region ../../packages/server/dist/handlerVersionRoutes.mjs
|
|
18089
18089
|
const createVersionRouteHandlers = (plugins = []) => {
|
|
@@ -21959,7 +21959,8 @@ const createRequestHandler = ({ api, clientPolicy, privateResponses = false, rou
|
|
|
21959
21959
|
let authenticated;
|
|
21960
21960
|
try {
|
|
21961
21961
|
authenticated = await clientPolicy.authenticate(request);
|
|
21962
|
-
} catch {
|
|
21962
|
+
} catch (error) {
|
|
21963
|
+
console.error("Hot Updater client authentication failed:", error);
|
|
21963
21964
|
return errorResponse("Service unavailable", 503);
|
|
21964
21965
|
}
|
|
21965
21966
|
if (!authenticated) return errorResponse("Unauthorized", 401);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/vercel",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.0-rc.
|
|
4
|
+
"version": "1.2.0-rc.57",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"@vercel/cli-auth": "0.3.10",
|
|
42
42
|
"@vercel/cli-config": "0.3.1",
|
|
43
43
|
"pg": "8.13.1",
|
|
44
|
-
"@hot-updater/cli-tools": "1.2.0-rc.
|
|
45
|
-
"@hot-updater/
|
|
46
|
-
"@hot-updater/
|
|
47
|
-
"@hot-updater/protocol": "1.2.0-rc.
|
|
48
|
-
"@hot-updater/
|
|
44
|
+
"@hot-updater/cli-tools": "1.2.0-rc.57",
|
|
45
|
+
"@hot-updater/postgres": "1.2.0-rc.57",
|
|
46
|
+
"@hot-updater/server": "1.2.0-rc.57",
|
|
47
|
+
"@hot-updater/protocol": "1.2.0-rc.57",
|
|
48
|
+
"@hot-updater/plugin-core": "1.2.0-rc.57"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/node": "^20",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"execa": "9.5.2",
|
|
55
55
|
"kysely": "0.28.17",
|
|
56
56
|
"vitest": "4.1.4",
|
|
57
|
-
"@hot-updater/test-utils": "1.2.0-rc.
|
|
57
|
+
"@hot-updater/test-utils": "1.2.0-rc.57"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "tsdown",
|