@semiont/gateway 0.5.32 → 0.5.33

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.js CHANGED
@@ -10346,7 +10346,7 @@ healthRouter.get("/api/health", async (c) => {
10346
10346
  const response = {
10347
10347
  status: "operational",
10348
10348
  message: "Semiont API is running",
10349
- version: "0.5.32",
10349
+ version: "0.5.33",
10350
10350
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
10351
10351
  database: dbStatus ? "connected" : "disconnected",
10352
10352
  environment: nodeEnv
@@ -11100,7 +11100,7 @@ statusRouter.get("/api/status", async (c) => {
11100
11100
  const did = kbDid(siteDomain);
11101
11101
  const response = {
11102
11102
  status: "operational",
11103
- version: "0.5.32",
11103
+ version: "0.5.33",
11104
11104
  features: {
11105
11105
  semanticContent: "planned",
11106
11106
  collaboration: "planned",
@@ -12246,7 +12246,7 @@ app.get("/api/openapi.json", (c) => {
12246
12246
  const openApiPath = fs.existsSync(distPath) ? distPath : path.join(__dirname$1, "../../../specs/openapi.json");
12247
12247
  const openApiContent = fs.readFileSync(openApiPath, "utf-8");
12248
12248
  const openApiSpec = JSON.parse(openApiContent);
12249
- openApiSpec.info = { ...openApiSpec.info, version: "0.5.32" };
12249
+ openApiSpec.info = { ...openApiSpec.info, version: "0.5.33" };
12250
12250
  const port2 = gatewayService.port || 4e3;
12251
12251
  const apiUrl = gatewayService.publicURL || `http://localhost:${port2}`;
12252
12252
  if (apiUrl) {
@@ -12289,6 +12289,8 @@ var port = gatewayService.port || 4e3;
12289
12289
  if (config.env?.NODE_ENV !== "test") {
12290
12290
  const { initObservabilityNode } = await import('@semiont/observability/node');
12291
12291
  initObservabilityNode({ serviceName: "semiont-gateway" });
12292
+ const { registerSupervisorRestartCount } = await import('@semiont/observability/node');
12293
+ registerSupervisorRestartCount();
12292
12294
  const { JWTService: JWTService2 } = await Promise.resolve().then(() => (init_jwt(), jwt_exports));
12293
12295
  JWTService2.initialize({ site: { domain: effectiveDomain, oauthAllowedDomains: effectiveOAuthAllowedDomains } });
12294
12296
  const server = serve({