@thzero/library_client_firebase 0.14.11 → 0.14.15
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.
- package/package.json +6 -6
- package/service/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thzero/library_client_firebase",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.15",
|
|
4
4
|
"version_major": 0,
|
|
5
5
|
"version_minor": 14,
|
|
6
|
-
"version_patch":
|
|
7
|
-
"version_date": "
|
|
6
|
+
"version_patch": 15,
|
|
7
|
+
"version_date": "10/12/2021",
|
|
8
8
|
"author": "thZero",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"firebase": "^9.1.
|
|
24
|
+
"firebase": "^9.1.2",
|
|
25
25
|
"@thzero/library_client": "^0.14",
|
|
26
|
-
"@thzero/library_common": "^0.
|
|
26
|
+
"@thzero/library_common": "^0.14"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@thzero/library_cli": "^0.13.
|
|
29
|
+
"@thzero/library_cli": "^0.13.20"
|
|
30
30
|
}
|
|
31
31
|
}
|
package/service/index.js
CHANGED
|
@@ -262,7 +262,7 @@ class FirebaseAuthService extends UserAuthService {
|
|
|
262
262
|
await this.refreshToken(correlationId, user);
|
|
263
263
|
const service = this._injector.getService(LibraryConstants.InjectorKeys.SERVICE_USER);
|
|
264
264
|
const response = await service.updateExternal(correlationId, user);
|
|
265
|
-
if (response
|
|
265
|
+
if (this._hasSucceeded(response)) {
|
|
266
266
|
await this._serviceUser.setUser(correlationId, response.results);
|
|
267
267
|
await this._serviceUser.setLoggedIn(correlationId, true);
|
|
268
268
|
}
|