@hot-updater/vercel 1.1.20 → 1.1.22
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
|
@@ -17633,7 +17633,7 @@ const postgres = (config) => {
|
|
|
17633
17633
|
};
|
|
17634
17634
|
//#endregion
|
|
17635
17635
|
//#region ../../packages/server/dist/version.mjs
|
|
17636
|
-
const HOT_UPDATER_SERVER_VERSION = "1.1.
|
|
17636
|
+
const HOT_UPDATER_SERVER_VERSION = "1.1.22";
|
|
17637
17637
|
//#endregion
|
|
17638
17638
|
//#region ../../packages/server/dist/handlerVersionRoutes.mjs
|
|
17639
17639
|
const createVersionRouteHandlers = (plugins = []) => {
|
|
@@ -20016,7 +20016,8 @@ const createRequestHandler = ({ api, clientPolicy, privateResponses = false, rou
|
|
|
20016
20016
|
let authenticated;
|
|
20017
20017
|
try {
|
|
20018
20018
|
authenticated = await clientPolicy.authenticate(request);
|
|
20019
|
-
} catch {
|
|
20019
|
+
} catch (error) {
|
|
20020
|
+
console.error("Hot Updater client authentication error:", error);
|
|
20020
20021
|
return errorResponse("Service unavailable", 503);
|
|
20021
20022
|
}
|
|
20022
20023
|
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.1.
|
|
4
|
+
"version": "1.1.22",
|
|
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/
|
|
45
|
-
"@hot-updater/
|
|
46
|
-
"@hot-updater/
|
|
47
|
-
"@hot-updater/
|
|
48
|
-
"@hot-updater/server": "1.1.
|
|
44
|
+
"@hot-updater/plugin-core": "1.1.22",
|
|
45
|
+
"@hot-updater/cli-tools": "1.1.22",
|
|
46
|
+
"@hot-updater/postgres": "1.1.22",
|
|
47
|
+
"@hot-updater/protocol": "1.1.22",
|
|
48
|
+
"@hot-updater/server": "1.1.22"
|
|
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.1.
|
|
57
|
+
"@hot-updater/test-utils": "1.1.22"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "tsdown",
|