web-manager 4.1.19 → 4.1.21
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 +1 -1
- package/dist/index.js +6 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -438,6 +438,12 @@ class Manager {
|
|
|
438
438
|
|
|
439
439
|
// Let auth module handle everything including DOM updates
|
|
440
440
|
this._auth._handleAuthStateChange(user);
|
|
441
|
+
|
|
442
|
+
// Update Chatsy with current user
|
|
443
|
+
if (this._chatsy) {
|
|
444
|
+
const resolved = this._auth.getUser();
|
|
445
|
+
this._chatsy.setUser(resolved ? { id: resolved.uid, email: resolved.email, firstName: resolved.displayName, photoURL: resolved.photoURL } : null);
|
|
446
|
+
}
|
|
441
447
|
});
|
|
442
448
|
}
|
|
443
449
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-manager",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.21",
|
|
4
4
|
"description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "src/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@sentry/browser": "^10.43.0",
|
|
46
|
-
"chatsy": "^2.0.
|
|
46
|
+
"chatsy": "^2.0.4",
|
|
47
47
|
"firebase": "^12.10.0",
|
|
48
48
|
"itwcw-package-analytics": "^1.0.8",
|
|
49
49
|
"lodash": "^4.17.23"
|