@thzero/library_server_firebase 0.13.16 → 0.13.20
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/auth/index.js +3 -3
- package/package.json +9 -8
- package/pushversion.bat +1 -1
package/auth/index.js
CHANGED
|
@@ -130,11 +130,11 @@ class FirebaseAuthAdminService extends Service {
|
|
|
130
130
|
// const claims = user.customClaims;
|
|
131
131
|
|
|
132
132
|
const userResponse = await this._serviceUsers.fetchByExternalId(correlationId, uid);
|
|
133
|
-
if (
|
|
133
|
+
if (this._hasFailed(userResponse) || (this._hasSucceeded(userResponse) && !userResponse.results)) {
|
|
134
134
|
const userUpdateResponse = this._serviceUsers.update(correlationId, {
|
|
135
135
|
id: uid
|
|
136
|
-
})
|
|
137
|
-
if (
|
|
136
|
+
});
|
|
137
|
+
if (this._hasFailed(userUpdateResponse) || (this._hasSucceeded(userUpdateResponse) && !userUpdateResponse.results))
|
|
138
138
|
return results;
|
|
139
139
|
}
|
|
140
140
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thzero/library_server_firebase",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.20",
|
|
4
4
|
"version_major": 0,
|
|
5
5
|
"version_minor": 13,
|
|
6
|
-
"version_patch":
|
|
7
|
-
"version_date": "
|
|
6
|
+
"version_patch": 20,
|
|
7
|
+
"version_date": "10/02/2021",
|
|
8
8
|
"author": "thZero",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
@@ -20,17 +20,18 @@
|
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"cli-update": "./node_modules/.bin/library-cli --updateversion --pi",
|
|
23
|
+
"@thzero/library_common": "^0.13",
|
|
23
24
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"firebase-admin": "^9.
|
|
27
|
+
"firebase-admin": "^9.12.0"
|
|
27
28
|
},
|
|
28
29
|
"peerDependencies": {
|
|
29
|
-
"@thzero/library_common": "^0.
|
|
30
|
-
"@thzero/library_common_service": "^0.
|
|
31
|
-
"@thzero/library_server": "^0.
|
|
30
|
+
"@thzero/library_common": "^0.14",
|
|
31
|
+
"@thzero/library_common_service": "^0.14",
|
|
32
|
+
"@thzero/library_server": "^0.14"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
|
-
"@thzero/library_cli": "^0.13"
|
|
35
|
+
"@thzero/library_cli": "^0.13.19"
|
|
35
36
|
}
|
|
36
37
|
}
|
package/pushversion.bat
CHANGED