@thzero/library_client_firebase 0.17.22 → 0.17.23

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 +2 -2
  2. package/service/index.js +1 -1
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@thzero/library_client_firebase",
3
- "version": "0.17.22",
3
+ "version": "0.17.23",
4
4
  "version_major": 0,
5
5
  "version_minor": 17,
6
- "version_patch": 22,
6
+ "version_patch": 23,
7
7
  "version_date": "01/20/2024",
8
8
  "author": "thZero",
9
9
  "license": "MIT",
package/service/index.js CHANGED
@@ -167,7 +167,7 @@ class FirebaseAuthService extends UserAuthService {
167
167
 
168
168
  async refreshTokenExpiration(correlationId, tokenResult, user) {
169
169
  const expired = LibraryMomentUtility.getDateParse(tokenResult.expirationTime);
170
- const now = LibraryMomentUtilityc.getDate();
170
+ const now = LibraryMomentUtility.getDate();
171
171
  const diff = expired.diff(now);
172
172
  const min = 5 * 60 * 1000;
173
173
  if (diff <= min) {