@dnax/core 0.52.1 → 0.52.2

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/app/hono.ts CHANGED
@@ -720,7 +720,7 @@ function HonoInstance(): typeof app {
720
720
  };
721
721
  if (Cfg?.api?.onError && typeof Cfg?.api?.onError == "function") {
722
722
  try {
723
- await Cfg.api?.onError(errorFormated);
723
+ await Cfg?.api?.onError(errorFormated);
724
724
  } catch (e) {}
725
725
  }
726
726
  return c.json(errorFormated);
package/config/index.ts CHANGED
@@ -38,6 +38,7 @@ async function setCfg(config: Config) {
38
38
  ...Cfg.server,
39
39
  ...config.server,
40
40
  };
41
+
41
42
  Cfg.tenants = config?.tenants;
42
43
  Cfg.email = config?.email;
43
44
  Cfg.api = config?.api || {};
@@ -79,8 +80,6 @@ async function setCfg(config: Config) {
79
80
  t.enabled = true;
80
81
  }
81
82
  });
82
-
83
- console.log(Cfg.api);
84
83
  }
85
84
 
86
85
  async function loadCfg() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.52.1",
3
+ "version": "0.52.2",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {