emilsoftware-utilities 1.3.54 → 1.3.55

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.
@@ -11,7 +11,7 @@ const AccessiModule_1 = require("./AccessiModule");
11
11
  const AccessiRoutes_1 = require("./AccessiRoutes");
12
12
  const container = new inversify_1.Container({ defaultScope: "Singleton" });
13
13
  exports.container = container;
14
- container.bind("AccessiOptions").toConstantValue({
14
+ const accessiOptions = {
15
15
  databaseOptions: {},
16
16
  mockDemoUser: false,
17
17
  encryptionKey: "",
@@ -25,7 +25,9 @@ container.bind("AccessiOptions").toConstantValue({
25
25
  port: 0,
26
26
  secure: false
27
27
  }
28
- });
28
+ };
29
+ console.log("AccessiOptions:", accessiOptions);
30
+ container.bind("AccessiOptions").toConstantValue(accessiOptions);
29
31
  container.bind("IUserService").to(UserService_1.UserService);
30
32
  container.bind("IAuthService").to(AuthService_1.AuthService);
31
33
  container.bind("IPermissionService").to(PermissionService_1.PermissionService);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emilsoftware-utilities",
3
- "version": "1.3.54",
3
+ "version": "1.3.55",
4
4
  "description": "Utilities for EmilSoftware",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",