plac-micro-common 1.3.47 → 1.3.48

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.
@@ -7,9 +7,10 @@ export declare const REDIS_CACHE_KEYS: {
7
7
  readonly Occupation: "v1:general:dropdown:occupation";
8
8
  };
9
9
  readonly User: {
10
- readonly Info: (userId: number) => string;
10
+ readonly Info: (userId: string) => string;
11
11
  };
12
12
  };
13
13
  export declare const REDIS_CACHE_TTL: {
14
14
  Dropdown: number;
15
+ UserInfo: number;
15
16
  };
@@ -15,4 +15,5 @@ exports.REDIS_CACHE_KEYS = {
15
15
  };
16
16
  exports.REDIS_CACHE_TTL = {
17
17
  Dropdown: 60 * 60 * 6, // 6 hours
18
+ UserInfo: 60 * 15, // 15 minutes
18
19
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plac-micro-common",
3
- "version": "1.3.47",
3
+ "version": "1.3.48",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {