@hot-updater/server 1.2.0-rc.56 → 1.2.0-rc.58

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/handler.cjs CHANGED
@@ -41,7 +41,8 @@ const createRequestHandler = ({ api, clientPolicy, privateResponses = false, rou
41
41
  let authenticated;
42
42
  try {
43
43
  authenticated = await clientPolicy.authenticate(request);
44
- } catch {
44
+ } catch (error) {
45
+ console.error("Hot Updater client authentication failed:", error);
45
46
  return errorResponse("Service unavailable", 503);
46
47
  }
47
48
  if (!authenticated) return errorResponse("Unauthorized", 401);
package/dist/handler.mjs CHANGED
@@ -42,7 +42,8 @@ const createRequestHandler = ({ api, clientPolicy, privateResponses = false, rou
42
42
  let authenticated;
43
43
  try {
44
44
  authenticated = await clientPolicy.authenticate(request);
45
- } catch {
45
+ } catch (error) {
46
+ console.error("Hot Updater client authentication failed:", error);
46
47
  return errorResponse("Service unavailable", 503);
47
48
  }
48
49
  if (!authenticated) return errorResponse("Unauthorized", 401);
package/dist/package.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "1.2.0-rc.56";
2
+ var version = "1.2.0-rc.58";
3
3
  //#endregion
4
4
  Object.defineProperty(exports, "version", {
5
5
  enumerable: true,
package/dist/package.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "1.2.0-rc.56";
2
+ var version = "1.2.0-rc.58";
3
3
  //#endregion
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/server",
3
- "version": "1.2.0-rc.56",
3
+ "version": "1.2.0-rc.58",
4
4
  "type": "module",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "sideEffects": false,
@@ -50,11 +50,11 @@
50
50
  "dependencies": {
51
51
  "rou3": "0.7.9",
52
52
  "verkit": "0.4.0",
53
- "@hot-updater/protocol": "1.2.0-rc.56",
54
- "@hot-updater/plugin-core": "1.2.0-rc.56",
55
- "@hot-updater/plugin-insights": "1.2.0-rc.56",
56
- "@hot-updater/plugin-remote-config": "1.2.0-rc.56",
57
- "@hot-updater/plugin-api-keys": "1.2.0-rc.56"
53
+ "@hot-updater/protocol": "1.2.0-rc.58",
54
+ "@hot-updater/plugin-core": "1.2.0-rc.58",
55
+ "@hot-updater/plugin-insights": "1.2.0-rc.58",
56
+ "@hot-updater/plugin-remote-config": "1.2.0-rc.58",
57
+ "@hot-updater/plugin-api-keys": "1.2.0-rc.58"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "@prisma/client": "*",