@hot-updater/aws 1.1.20 → 1.1.21
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/lambda/index.cjs +3 -2
- package/package.json +8 -8
package/dist/lambda/index.cjs
CHANGED
|
@@ -4666,7 +4666,7 @@ const createKvAdapter = ({ store, tablePrefix = "" }) => {
|
|
|
4666
4666
|
};
|
|
4667
4667
|
//#endregion
|
|
4668
4668
|
//#region ../../packages/server/dist/version.mjs
|
|
4669
|
-
const HOT_UPDATER_SERVER_VERSION = "1.1.
|
|
4669
|
+
const HOT_UPDATER_SERVER_VERSION = "1.1.21";
|
|
4670
4670
|
//#endregion
|
|
4671
4671
|
//#region ../../packages/server/dist/handlerVersionRoutes.mjs
|
|
4672
4672
|
/**
|
|
@@ -7217,7 +7217,8 @@ const createRequestHandler = ({ api, clientPolicy, privateResponses = false, rou
|
|
|
7217
7217
|
let authenticated;
|
|
7218
7218
|
try {
|
|
7219
7219
|
authenticated = await clientPolicy.authenticate(request);
|
|
7220
|
-
} catch {
|
|
7220
|
+
} catch (error) {
|
|
7221
|
+
console.error("Hot Updater client authentication error:", error);
|
|
7221
7222
|
return errorResponse("Service unavailable", 503);
|
|
7222
7223
|
}
|
|
7223
7224
|
if (!authenticated) return errorResponse("Unauthorized", 401);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/aws",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.21",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"es-toolkit": "^1.32.0",
|
|
46
46
|
"execa": "9.5.2",
|
|
47
47
|
"mime": "^4.0.4",
|
|
48
|
-
"@hot-updater/protocol": "1.1.
|
|
49
|
-
"@hot-updater/mock": "1.1.
|
|
50
|
-
"@hot-updater/test-utils": "1.1.
|
|
48
|
+
"@hot-updater/protocol": "1.1.21",
|
|
49
|
+
"@hot-updater/mock": "1.1.21",
|
|
50
|
+
"@hot-updater/test-utils": "1.1.21"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@aws-sdk/client-cloudfront": "3.1066.0",
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
"@aws-sdk/lib-dynamodb": "3.1066.0",
|
|
64
64
|
"@aws-sdk/s3-request-presigner": "3.1066.0",
|
|
65
65
|
"hono": "4.12.34",
|
|
66
|
-
"@hot-updater/
|
|
67
|
-
"@hot-updater/
|
|
68
|
-
"@hot-updater/
|
|
69
|
-
"@hot-updater/storage-s3": "1.1.
|
|
66
|
+
"@hot-updater/cli-tools": "1.1.21",
|
|
67
|
+
"@hot-updater/server": "1.1.21",
|
|
68
|
+
"@hot-updater/plugin-core": "1.1.21",
|
|
69
|
+
"@hot-updater/storage-s3": "1.1.21"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"build": "tsdown",
|