@xrystal/core 3.14.7 → 3.14.8

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Yusuf Yasir KAYGUSUZ",
3
3
  "name": "@xrystal/core",
4
- "version": "3.14.7",
4
+ "version": "3.14.8",
5
5
  "description": "Project core for xrystal",
6
6
  "publishConfig": {
7
7
  "access": "public",
@@ -1,7 +1,7 @@
1
1
  // => import dependencies
2
2
  import path from 'path';
3
3
  import { SystemService, ConfigsService, LoggerService, EventsService, LocalizationsService, ClientsService, ControllerService } from '../loader/index';
4
- import { packageName, x, kafkaBrokers, systemLoggerLayer, getTmp, ProtocolEnum, } from '../utils/index';
4
+ import { packageName, x, kafkaBrokers, systemLoggerLayer, getTmp, } from '../utils/index';
5
5
  //
6
6
  let coreHasRun = false;
7
7
  export const core = getTmp();
@@ -59,7 +59,7 @@ const coreLoader = async ({}) => {
59
59
  {
60
60
  service: ControllerService,
61
61
  props: {
62
- type: ProtocolEnum.HTTP
62
+ type: configs.loaders.controller.protocol,
63
63
  }
64
64
  },
65
65
  {
package/x/tmp.yml CHANGED
@@ -21,5 +21,8 @@ configs:
21
21
  - en
22
22
  - tr
23
23
 
24
+ controller:
25
+ protocol: http
26
+
24
27
  end:
25
28
  version: 1