propro-utils 1.5.34 → 1.5.36

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.
@@ -2,6 +2,7 @@ require('dotenv').config();
2
2
  const axios = require('axios');
3
3
  const { getOrSetCache } = require('../utils/redis');
4
4
  const { checkIfUserExists } = require('./account_info');
5
+ const ServiceManager = require('../utils/serviceManager');
5
6
 
6
7
  /**
7
8
  * Middleware for authenticating and authorizing API requests.
@@ -2,6 +2,7 @@ require('dotenv').config();
2
2
  const axios = require('axios');
3
3
  const { getOrSetCache } = require('../utils/redis');
4
4
  const { v4: uuidv4 } = require('uuid');
5
+ const ServiceManager = require('../utils/serviceManager');
5
6
 
6
7
  /**
7
8
  * Retrieves the account profile data from the authentication server and caches it using Redis.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-utils",
3
- "version": "1.5.34",
3
+ "version": "1.5.36",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {