mnemosyne-core 2.1.1 → 2.1.3

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
@@ -201,7 +201,7 @@ function getVersion() {
201
201
  const pkg = JSON.parse(readFileSync6(resolve9(process.cwd(), "package.json"), "utf-8"));
202
202
  return pkg.version;
203
203
  } catch {
204
- return "2.1.0";
204
+ return "2.1.3";
205
205
  }
206
206
  }
207
207
  }
@@ -5401,7 +5401,7 @@ function getVersion2() {
5401
5401
  const pkg = JSON.parse(readFileSync6(resolve9(process.cwd(), "package.json"), "utf-8"));
5402
5402
  return pkg.version;
5403
5403
  } catch {
5404
- return "2.1.0";
5404
+ return "2.1.3";
5405
5405
  }
5406
5406
  }
5407
5407
  }
@@ -5984,7 +5984,7 @@ function getVersion3() {
5984
5984
  const pkg = JSON.parse(readFileSync6(resolve9(process.cwd(), "package.json"), "utf-8"));
5985
5985
  return pkg.version;
5986
5986
  } catch {
5987
- return "2.1.0";
5987
+ return "2.1.3";
5988
5988
  }
5989
5989
  }
5990
5990
  }
@@ -7150,7 +7150,7 @@ var PKG_VERSION = (() => {
7150
7150
  const pkg = JSON.parse(require("fs").readFileSync(require("path").resolve(__dirname, "../../package.json"), "utf-8"));
7151
7151
  return pkg.version;
7152
7152
  } catch {
7153
- return "2.1.0";
7153
+ return "2.1.3";
7154
7154
  }
7155
7155
  })();
7156
7156
  function handleHealth(store, pathname, method, res) {
@@ -7511,7 +7511,7 @@ var MnemosyneServer = class {
7511
7511
  const wss = new import_websocket_server.default({ server: this.httpServer });
7512
7512
  this.wsHandler = new WebSocketHandler(wss, this.store);
7513
7513
  }
7514
- const version = cfg?.server?.version || "2.1.0";
7514
+ const version = cfg?.server?.version || "2.1.3";
7515
7515
  this.httpServer.listen(port, () => {
7516
7516
  console.log(`Mnemosyne v${version} \u2014 port ${port}`);
7517
7517
  console.log(`Dashboard: http://${host}:${port}/dashboard`);