propro-utils 1.7.39 → 1.7.40

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/package.json +1 -1
  2. package/src/index.js +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-utils",
3
- "version": "1.7.39",
3
+ "version": "1.7.40",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "private": false,
package/src/index.js CHANGED
@@ -90,6 +90,8 @@ class ProProAuthMiddleware {
90
90
  }
91
91
 
92
92
  initializeServerAuth() {
93
+ console.log("INITIALIZE SERVER AUTH: Entered", this.serverAuth);
94
+
93
95
  if (!this.serverAuth) {
94
96
  this.serverAuth = new ServerAuth(
95
97
  this.options.serverOptions,
@@ -100,12 +102,17 @@ class ProProAuthMiddleware {
100
102
  this.redisClient
101
103
  );
102
104
  }
103
-
105
+ console.log("INITIALIZE SERVER AUTH: UserSchema", this.serverAuth);
104
106
  ServiceManager.registerService('UserSchema', this.userSchema);
107
+ console.log('INITIALIZE SERVER AUTH: UserStyleSchema', this.userStyleSchema);
105
108
  ServiceManager.registerService('UserStyleSchema', this.userStyleSchema);
109
+ console.log('INITIALIZE SERVER AUTH: RedisClient', this.redisClient);
106
110
  ServiceManager.registerService('RedisClient', this.redisClient);
111
+ console.log('INITIALIZE SERVER AUTH: FolderSchema', this.folderSchema);
107
112
  ServiceManager.registerService('FolderSchema', this.folderSchema);
113
+ console.log('INITIALIZE SERVER AUTH: ThemeSchema', this.themeSchema);
108
114
  ServiceManager.registerService('ThemeSchema', this.themeSchema);
115
+ console.log('INITIALIZE SERVER AUTH: Exited');
109
116
  return this.serverAuth.middleware();
110
117
  }
111
118