@dnax/core 0.6.4 → 0.7.0

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.
Files changed (2) hide show
  1. package/app/index.ts +2 -1
  2. package/package.json +1 -1
package/app/index.ts CHANGED
@@ -19,7 +19,7 @@ type configRunApp = {
19
19
  async function runApp(config?: configRunApp, clb?: Function) {
20
20
  hookDatabase.cb = config?.dbSync || [];
21
21
  await loadCfg(); // Load Config
22
- const HonoApp = HonoInstance();
22
+
23
23
  const PORT = Cfg.server?.port || process.env?.PORT || 4000;
24
24
  const PORT_SOCKET = Cfg.server?.socket?.port || 9000;
25
25
 
@@ -38,6 +38,7 @@ async function runApp(config?: configRunApp, clb?: Function) {
38
38
  if (available) {
39
39
  // Load all ressouce
40
40
  await init();
41
+ const HonoApp = HonoInstance();
41
42
  //BeforeStart
42
43
  if (config?.beforeStart) {
43
44
  for (const fn of config?.beforeStart) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.6.4",
3
+ "version": "0.7.0",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {