@cosmotech/core 1.9.2 → 1.10.0
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/CHANGELOG.md +6 -0
- package/dist/index.cjs.js +9 -0
- package/dist/index.esm.js +9 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## **1.10.0** <sub><sup>2022-10-12 (b1db393...b1db393)</sup></sub>
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- add user email in auth data ([b1db393](https://github.com/Cosmo-Tech/webapp-component-core/commit/b1db393))
|
|
6
|
+
|
|
1
7
|
## **1.9.2** <sub><sup>2022-09-16 (7a56f6f...7a56f6f)</sup></sub>
|
|
2
8
|
|
|
3
9
|
- update dependencies
|
package/dist/index.cjs.js
CHANGED
|
@@ -34269,6 +34269,14 @@ function isUserSignedIn$1(callback) {
|
|
|
34269
34269
|
return currentProvider.isUserSignedIn(callback);
|
|
34270
34270
|
}
|
|
34271
34271
|
|
|
34272
|
+
function getUserEmail() {
|
|
34273
|
+
if (currentProvider === undefined) {
|
|
34274
|
+
return undefined;
|
|
34275
|
+
}
|
|
34276
|
+
|
|
34277
|
+
return currentProvider.getUserEmail();
|
|
34278
|
+
}
|
|
34279
|
+
|
|
34272
34280
|
function getUserName$1() {
|
|
34273
34281
|
if (currentProvider === undefined) {
|
|
34274
34282
|
return undefined;
|
|
@@ -34308,6 +34316,7 @@ var Auth = {
|
|
|
34308
34316
|
signOut: signOut$1,
|
|
34309
34317
|
onAuthStateChanged,
|
|
34310
34318
|
isUserSignedIn: isUserSignedIn$1,
|
|
34319
|
+
getUserEmail,
|
|
34311
34320
|
getUserName: getUserName$1,
|
|
34312
34321
|
getUserId: getUserId$1,
|
|
34313
34322
|
getUserRoles: getUserRoles$1,
|
package/dist/index.esm.js
CHANGED
|
@@ -34261,6 +34261,14 @@ function isUserSignedIn$1(callback) {
|
|
|
34261
34261
|
return currentProvider.isUserSignedIn(callback);
|
|
34262
34262
|
}
|
|
34263
34263
|
|
|
34264
|
+
function getUserEmail() {
|
|
34265
|
+
if (currentProvider === undefined) {
|
|
34266
|
+
return undefined;
|
|
34267
|
+
}
|
|
34268
|
+
|
|
34269
|
+
return currentProvider.getUserEmail();
|
|
34270
|
+
}
|
|
34271
|
+
|
|
34264
34272
|
function getUserName$1() {
|
|
34265
34273
|
if (currentProvider === undefined) {
|
|
34266
34274
|
return undefined;
|
|
@@ -34300,6 +34308,7 @@ var Auth = {
|
|
|
34300
34308
|
signOut: signOut$1,
|
|
34301
34309
|
onAuthStateChanged,
|
|
34302
34310
|
isUserSignedIn: isUserSignedIn$1,
|
|
34311
|
+
getUserEmail,
|
|
34303
34312
|
getUserName: getUserName$1,
|
|
34304
34313
|
getUserId: getUserId$1,
|
|
34305
34314
|
getUserRoles: getUserRoles$1,
|