@semiont/gateway 0.5.30 → 0.5.31
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/openapi.json +44 -19
- package/package.json +5 -5
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.
|
|
10349
|
+
version: "0.5.31",
|
|
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.
|
|
11103
|
+
version: "0.5.31",
|
|
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.
|
|
12249
|
+
openApiSpec.info = { ...openApiSpec.info, version: "0.5.31" };
|
|
12250
12250
|
const port2 = gatewayService.port || 4e3;
|
|
12251
12251
|
const apiUrl = gatewayService.publicURL || `http://localhost:${port2}`;
|
|
12252
12252
|
if (apiUrl) {
|